← Back to team overview

sikuli-driver team mailing list archive

[Question #296140]: For "select all" operation on MAC OS if the text field contains "@" then doesn't work

 

New question #296140 on Sikuli:
https://answers.launchpad.net/sikuli/+question/296140

I am working on MAC OS with sikuli. I have a text field which already has a string in it the format of the string is "XXXXXXXX@XXXXX". I am using the below code to select all the string

r.click(); 
// clicking on the text region

r.type('a',Key.CMD); 
//it is equal to select all in mac

As mentioned in the beginning if the text in the region contains "@" then it will not select all the text but It will select only right or left of "@".  
Now I have found a work around of going to edit and click on select all, but it would be very helpful if the above code works.


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