|
Post by band84 on Nov 9, 2019 13:13:03 GMT
Hello All
I'm dealing with my very basic work There is any reason why this not work?
If in the keypress i put directly the username and password it woks . Seems he don't store the variable or don't use it in the logging only keypres appear without any text I tried to write STRING and string and also used :: and | in the definition as I said use both in the documentation, but no changes.
I'm entering these data inside an open page on Chrome Canary to autenticate to a site.
Thaks in avance Beppe
insert code here 1 | 472 | 226 | 100 | RUN ACTION | DEFINE STRING VARIABLE | %string% |username 2 | 472 | 226 | 100 | RUN ACTION | DEFINE STRING VARIABLE | %string1%|password 3 | 774 | 803 | 3158 | Left Click Down
4 | 774 | 803 | 49 | Left Click Release
5 | 486 | 231 | 3362 | Left Click Down
6 | 486 | 231 | 58 | Left Click Release
7 | 486 | 231 | 1406 | Keypress %string%
8 | 486 | 231 | 932 | Keypress tab
9 | 486 | 231 | 2185 | Keypress %string1%
|
|
|
Post by band84 on Nov 10, 2019 7:17:36 GMT
Delete the thread i solved, thank you the right syntax to declare the string is :: strange it don't worked intially See ya
|
|
|
Post by zeak on Nov 10, 2019 22:22:14 GMT
Hi Band84,
Welcome to the forum, Glad to see you've worked out your issue.
If in doubt try right clicking on the macro list and using "Add Condition" I find these menus are very helpful and intuitive.
your code still does seem a little messy as RUN ACTION doesn't normally have mouse coordinates or time.
1 | RUN ACTION | DEFINE STRING VARIABLE | %STRING%::Username 2 | RUN ACTION | DEFINE STRING VARIABLE | %STRING1%::Password 3 | 774 | 803 | 3158 | Left Click Down 4 | 774 | 803 | 49 | Left Click Release 5 | 486 | 231 | 3362 | Left Click Down 6 | 486 | 231 | 58 | Left Click Release 7 | 486 | 231 | 1406 | Keypress %STRING% 8 | 486 | 231 | 932 | Keypress tab 9 | 486 | 231 | 2185 | Keypress %STRING1%
|
|
|
Post by band84 on Nov 17, 2019 5:18:46 GMT
Thank you very much Zaeak, You pointed out exactly my error and why after one or two tentative it ended to work Now work like a charm.
|
|