Re: [Sikuli-driver] [Question #678869]: type() functions type incorrect characters

2019-03-05 Thread RaiMan
Question #678869 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/678869

Status: Answered => Solved

RaiMan changed the question status:
supposing the test with textedit worked.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #678869]: type() functions type incorrect characters

2019-03-05 Thread itsmetwenty
Question #678869 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/678869

itsmetwenty posted a new comment:
I think I found the cause for the incorrect character
it is due to the creation of instance of the app

here is the code:

import thread

global thread_end
thread_end = False

def thread1():
while thread_end == False:
AppTest = App("TextEdit")
print "END"

first_thread = threading.Thread(target=thread1)
first_thread.start()

switchApp("textedit")
for i in range(20):
type("/Users/AbCdEFGhij/a_b_c_1_2_3_4_5_6_7_8_9_0/!@#$%67890" + Key.ENTER)
thread_end

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #678869]: type() functions type incorrect characters

2019-03-04 Thread RaiMan
Question #678869 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/678869

RaiMan proposed the following answer:
Tried on my macOS 10.14: works as expected: (latest 1.1.4)

switchApp("textedit"); wait(1)
type("/Users/abc/Desktop/a_b_c/File1")

had to switch the keyboard though to "english ABC" (I have a german
environment).

So it might be a problem with your special textfield.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #678869]: type() functions type incorrect characters

2019-03-03 Thread Twenty Anderson
Question #678869 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/678869

Twenty Anderson posted a new comment:
I already tried the paste function.
However, the app under test does not support pasting in the text box

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #678869]: type() functions type incorrect characters

2019-03-01 Thread Asheru
Question #678869 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/678869

Status: Open => Answered

Asheru proposed the following answer:
Try with:

 paste("yourText")

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #678869]: type() functions type incorrect characters

2019-03-01 Thread Twenty Anderson
Question #678869 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/678869

Description changed to:
OS: Mac Mojave

When I used the following command in SikuliX, the outputted string is
incorrect.

Code:

type("/Users/abc/Desktop/a_b_c/File1")


Outputted:
"?Users/abc/DESKTOP/a_b_c?FILE!"

I already adjusted the typedelay but I still encountered the issue.
Type() function works perfectly in Sierra and High Sierra, I only encounter 
this issue in Mojave

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


[Sikuli-driver] [Question #678869]: type() functions type incorrect characters

2019-03-01 Thread Twenty Anderson
New question #678869 on Sikuli:
https://answers.launchpad.net/sikuli/+question/678869

OS: Mac Mojave

When I used the following command in SikuliX, the outputted string is incorrect.

Code:

type("/Users/abc/Desktop/a_b_c/File1")


Outputted:
"?Users/abc/DESKTOP/a_b_c?FILE!"

I already adjust the typedelay but I still encounter the issue.
I only encounter this issue in Mojave
It is OK in Sierra and HighSierra

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp