Hello,
I'm writing a super simple code like this
SetFocus>EML (B) Yen Price - Windows Internet Explorer
GetWindowTextEx>EML (B) Yen Price - Windows Internet Explorer,strText
message>strText
It works fine on my Desktop, but it just give me a blank message when I run it on my Tablet PC (Window XP). Most commands I tried on this Tablet worked fine, but the all the Text Capture functions don't seem like working.
Can you give me a hind?
Thank you
Text Capture funtions do not work on Tablet PC
Moderators: JRL, Dorian (MJT support)
Text Capture funtions do not work on Tablet PC
Yen N Price
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Try reinstalling Macro Scheduler on the tablet and confirm these files exist in the program folder:
ICall.dll
GetWordNT.dll
Then reboot.
ICall.dll
GetWordNT.dll
Then reboot.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
-
- Macro Veteran
- Posts: 260
- Joined: Fri Apr 15, 2005 8:32 am
Same issue here but using the GetTextInRect function. The command fails occasionally but works usually.
So I closed MS, and when I went to reinstall (per instructions above) I got this error during the uninstall through CP's Add/Remove Progs:
Reinstalled and will continue to test. So far so good. Added a small error checking routine to see if the Length of the result variable < 2.
So I closed MS, and when I went to reinstall (per instructions above) I got this error during the uninstall through CP's Add/Remove Progs:
The message goes on, but you get the gist.Notice
D:\Program Files\Macro Scheduler\GetWordNT.dll
This file is in use and cannot be deleted. Close the above file and click Retry to try again.
Reinstalled and will continue to test. So far so good. Added a small error checking routine to see if the Length of the result variable < 2.
-
- Macro Veteran
- Posts: 260
- Joined: Fri Apr 15, 2005 8:32 am
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
You may need to use these functions in a loop, because the app may not always be calling text out. Use a small loop that queries GetTextInRect several times until either you get some text or a predetermined amount of time passes. That's how the text capture sample macro works.
Also, feel free to download and try the latest version 3.2 of the text capture libraries: http://www.mjtnet.com/software/tclib32.zip
You may need to reboot before you can replace the DLLs as they may be in use, or cached, by the system, even if you exit Macro Scheduler.
Also, feel free to download and try the latest version 3.2 of the text capture libraries: http://www.mjtnet.com/software/tclib32.zip
You may need to reboot before you can replace the DLLs as they may be in use, or cached, by the system, even if you exit Macro Scheduler.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?