xxfxx Posted June 19, 2007 Share Posted June 19, 2007 (edited) ok I can not get this to open a program Im sure i have it close but cant seem to get it and yes the spaces are temp as i have to put in anoter keystroke to start recording. CODE#cs ---------------------------------------------------------------------------- AutoIt Version: 3.2.2.0 Author: XxFxX Script Function: cam start up and rules #ce ---------------------------------------------------------------------------- ; Script Start - Add your code below here ;;;; Global Pause Start ;;;; Global $Paused ;;;; Global Pause End ;;;; ;;;; Hotkey Settings Start ;;;; HotKeySet("{HOME}", "TogglePause") HotKeySet("{END}", "Terminate") ;;;; Hotkey Settings End ;;;; ;;;; Script Global Sleep Start ;;;; While 1 Sleep(900) WEnd ;;;; Script Global Sleep End ;;;; ;;;; Toggle Pause and Splash On/Off Start ;;;; Func TogglePause() $counter=2 While mod($counter,2)=0 $counter =$counter +1 Sleep(7000) Execute ("C:\Program Files\CamStudio\Recorder.exe") Sleep(70000) Send("{enter}") Send("rules line 1}") Send("{enter}") Sleep(1000) Send("{enter}") Send("{rules line 2}") Send("{enter}") Sleep(1000) Send("{enter}") Send("{rules line 3}") Send("{enter}") Sleep(1000) Send("{enter}") Send("{rules line 4}") Send("{enter}") WEnd EndFunc ;;;; Toggle Pause and Splash On/Off End ;;;; ;;;; End/Close/Terminate Function Start ;;;; Func Terminate() Exit EndFunc ;;;; End/Close/Terminate Function End ;;;; Edited June 19, 2007 by xxfxx Link to comment Share on other sites More sharing options...
PsaltyDS Posted June 19, 2007 Share Posted June 19, 2007 ok I can not get this to open a program Im sure i have it close but cant seem to get it and yes the spaces are temp as i have to put in anoter keystroke to start recording.Change the following: ; Execute("C:\Program Files\CamStudio\Recorder.exe") ShellExecute("C:\Program Files\CamStudio\Recorder.exe")oÝ÷ ØL^rë^rïz»ljËkx-¡©ÀºÚµìië,Úׯj[µë"¶X¤y«¢+ØÀÌØíØõáÕÑ ÅÕ½ÐìÀÌØí¬ÄÅÕ½Ðì¤ ShellExecute() will run a program. 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...
xxfxx Posted June 23, 2007 Author Share Posted June 23, 2007 Change the following: ; Execute("C:\Program Files\CamStudio\Recorder.exe][ÝÊBÚ[^XÝ]J ][ÝÐÎÌLÔÙÜ[H[ÉÌLÐØ[TÝY[ÉÌLÔ6÷&FW"æWRgV÷C²oÝ÷ ØL^rë^rïz»ljËkx-¡©ÀºÚµìië,Úׯj[µë"¶X¤y«¢+ØÀÌØíØõáÕÑ ÅÕ½ÐìÀÌØí¬ÄÅÕ½Ðì¤ ShellExecute() will run a program. yup that was what i was looking for ty vm.. the sad part is I had already tryed that comand and had the string wrong lol now i feal like an ideot.. i had it right the first time lol.. Ty . 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