Jump to content

Smolenaars

Members
  • Posts

    7
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Smolenaars's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. I am using this script, it works with other setups but it doesn't work with the FreeOCR setup. Run("freeocr541.exe") WinWait("Setup - FreeOCR") controlSend("Setup - FreeOCR", "", "[CLASS:TNewButton; INSTANCE:1]", "&Next >") I also tried it with the controlclick but that didn't work just like this one doesn't.
  2. Removed the [] and inplemented the Sleep(), my problem is still the same though. It still gives the same Error: Error in expression. Any other ideas what might cause this?
  3. Thanks for the help but that didn't quite fix my problem. the new problem is that it gives an error when i try to run it. it also starts up the Setup twice. the script i am using is the following: Run("freeocr541.exe") Local $iPID = WinWait("[CLASS:TWizardForm]", "", 10) ControlClick ($iPID "Setup - FreeOCR", "Welcome to the FreeOCR Setup Wizard", controlID [, button = "left" [, clicks = 1[, 260 [, 170]]]]) It gives the following error: ControlClick ($iPID "Setup - FreeOCR", "Welcome to the FreeOCR Setup Wizard", controlID [, button = "left" [, clicks = 1[, 260 [, 170]]]]) ControlClick (^ERROR Error: Error in expression.
  4. i am using the send command to click on the next button yes.
  5. ow sorry, it starts without a problem but then doesnt go to the next wizard page. i tested a sleep 10000 but that didnt change anything. any ideas of how i could solve it.
  6. the FreeOCR software I used is found at http://www.paperfile.net/ if anyone is wondering
  7. Hello people, I have a problem with making the FreeOCR wizard unattended. so that's why i am asking for you help. this is the code i am using (theoretically it should work but it doesn't). Run("freeocr541.exe") WinWaitActive("Setup - FreeOCR") Send("!N") Send("!a") Send("!N") Send("!N") Send("!I") Hoping anyone can help me. -Smolenaars
×
×
  • Create New...