brandonm Posted August 17, 2005 Share Posted August 17, 2005 First, I hope this makes sence to someone. I would like to make a script that every time it is run, will check for a file-which is actualy an uncompiled autoit script, and will take its contents and run them as a script. Like I said, a wierd question, but any suggestions or ideas are apriciated. Thanks, brandonm Link to comment Share on other sites More sharing options...
herewasplato Posted August 17, 2005 Share Posted August 17, 2005 (edited) First, I hope this makes sence to someone. I would like to make a script that every time it is run, will check for a file-which is actualy an uncompiled autoit script, and will take its contents and run them as a script.Like I said, a wierd question, but any suggestions or ideas are apriciated.Thanks,brandonm<{POST_SNAPBACK}>lookup:FileExistsRunWait --- autoit3.exe au3 filenameorIf FileExists("C:\Temp\MessageWatcher.au3") ThenRun(@ComSpec & " /c" & "C:\Temp\MessageWatcher.au3","", @SW_HIDE)Else;;;;; error stuff hereEndIf Edited August 17, 2005 by herewasplato [size="1"][font="Arial"].[u].[/u][/font][/size] 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