MAN Posted April 12, 2007 Share Posted April 12, 2007 hii 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 fileHideAutoItWin, OnSetTitleMatchMode, 2SetWinDelay,500SetKeyDelay,1Repeat, 20IfWinExist,%2%,,GOTO, SENDSLEEP,500EndRepeatGOTO, ExitSEND:WinRestore, %2%WinActivate, %2%Send, %1%Exit:REM SEND, #{ALTDOWN}#{PRINTSCREEN}#{ALTUP}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 minthanks so much Link to comment Share on other sites More sharing options...
evilertoaster Posted April 12, 2007 Share Posted April 12, 2007 http://www.autoitscript.com/forum/index.php?showforum=5Use v3 for the love of anything sacred Link to comment Share on other sites More sharing options...
MAN Posted April 12, 2007 Author Share Posted April 12, 2007 idont think it is something realated to the autoit version i am just asking for help on how to modify this script in away i have asked thanks Link to comment Share on other sites More sharing options...
someone Posted April 12, 2007 Share Posted April 12, 2007 I haven't used anything but V3 but I'm guess its this... Repeat, 20 IfWinExist,%2%,,GOTO, SEND SLEEP,500 repeating sleep(500) 20 times is 10000 which is 10 seconds. So depending on what you want increase the Repeat command or the sleep command. While ProcessExists('Andrews bad day.exe') BlockInput(1) SoundPlay('Music.wav') SoundSetWaveVolume('Louder') WEnd Link to comment Share on other sites More sharing options...
PsaltyDS Posted April 12, 2007 Share Posted April 12, 2007 idont think it is something realated to the autoit version i am just asking for help on how to modify this script in away i have asked thanks Try posting this in the AutoIt v2 Help and Support forum instead of AutoIt v3... maybe. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now