At last, after 3 days, i can continue working
![Very Happy :D](./images/smilies/icon_biggrin.gif)
![Very Happy :D](./images/smilies/icon_biggrin.gif)
![Very Happy :D](./images/smilies/icon_biggrin.gif)
Thanks to all for your interest or care. (sorry for my basic english xD)
Moderators: Dorian (MJT support), JRL
Hi Marcus,pantik wrote:Yes , i know it Marcus. I already found the solution. I just had to change the regional setting to English (USA). Now all my scripts with "waitcursorchaged" run correctly.
Strange. I have no idea why the regional settings should have any effect. I just changed my regional settings and WaitCursorChanged continue to work. It is not dependent on regional settings. Has no bearing. Coincidence perhaps.pantik wrote:Yes , i know it Marcus. I already found the solution. I just had to changue the regional setting to English (USA). Now all my scripts with "waitcursorchaged" run correctly. Also in VM of VMware although i cannot see the cursor moves but this is no problem.
I wonder... pantik, can you confirm that if you change your regional settings, the script fails, but if you change them back, it works again? Does it behave that same way on all your machines or just one?mtettmar wrote:Strange. I have no idea why the regional settings should have any effect. I just changed my regional settings and WaitCursorChanged continue to work. It is not dependent on regional settings. Has no bearing. Coincidence perhaps.pantik wrote:Yes , i know it Marcus. I already found the solution. I just had to changue the regional setting to English (USA). Now all my scripts with "waitcursorchaged" run correctly. Also in VM of VMware although i cannot see the cursor moves but this is no problem.
Yes and Yes. I use windows XP sp2 and virtual machines of VMWare (also with windows XP sp2). When I change regional setting to spanish (Spain) the scripts fail and when i change them back to english (USA) it works correctly. I tested it in desktop, notebook and virtual machine.jpuziano wrote:I wonder... pantik, can you confirm that if you change your regional settings, the script fails, but if you change them back, it works again? Does it behave that same way on all your machines or just one?
Here a very simple code that i used for testing:jpuziano wrote:Perhaps you are OK with your fix now that things are working... but if you require that script to work with non-English (USA) regional settings... and you are still finding that it doesn't, please post an example of a full script that demonstrates the problem. The smallest possible full script that demonstrates the problem would be best...
Code: Select all
OnEvent>KEY_DOWN,1,3,mousemove
label>loop
Wait>0.1
goto>loop
srt>mousemove
MouseMoveRel>250,250
WaitCursorChanged>0.5
mdl>ok
end>mousemove
You don't. You can still use "." whatever your regional settings are set to. Just like every other programming language.Anyway it doesn't make sense that you have to use "," if you are going to run the scrip in some machines and "." if you are going to run it in anothers.
Fantastic - I love it when the hard-to-find bugs get found and fixed.mtettmar wrote:I'm sorry, I tell a lie. You are correct. "." is not always working as I thought. I will get this sorted in the next release.