Jump to content

nimany

Members
  • Posts

    3
  • Joined

  • Last visited

nimany's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. I need to send a long string of input names to open dialog of a program. I've tried send() function but it can't do this completely. I think because of OS context switch send() function sends some part of the string to another program. following code is some part of my script: $ftmp = "" while 1 $fname = FileReadLine($file) if @error = -1 then ExitLoop $ftmp = $ftmp & $fname & " " WEnd send("^o") WinActivate("Open Image") sleep(100) send($fadrs) Sleep(200) send("{ENTER}") sleep(10) send($ftmp) Sleep(100) send("{ENTER}")
×
×
  • Create New...