Jump to content

help for script


MAN
 Share

Recommended Posts

hi

i have plugin for multimedia builder ( mmb) with the name of send.exe

this plugin has been created with autoit ver 2 and it use in combinitaion with mmb to automate the set up ( simulating keys strike)

but the problem is after the execution of this send.exe it only last 10 seconds and then exit from memory so sometimes befor the apps get to specified windows the send.exe exit so the key strike will not perform

this is the script of this send.exe file

HideAutoItWin, On

SetTitleMatchMode, 2

SetWinDelay,500

SetKeyDelay,1

Repeat, 20

IfWinExist,%2%,,GOTO, SEND

SLEEP,500

EndRepeat

GOTO, Exit

SEND:

WinRestore, %2%

WinActivate, %2%

Send, %1%

Exit:

REM SEND

how should i modify this script so after make it as send.exe it does not exit in 10 seconds for example it last for 1 min

thanks so much

one of the friends suggest raising the sleep or reapet but did not work still the send.exe exit after 10 sceonds

Link to comment
Share on other sites

hi

thanks

yes the loop is another problem

but is there any way for example to define 1 minutes for it and after that it exit not exit in 10 second?

P.S just try what you said still it exit after 10 second :shocked: but why?

Edited by MAN
Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...