Advertisement
James1337

Run from .txt File

Sep 9th, 2011
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.36 KB | None | 0 0
  1. #NoTrayIcon
  2. #Region ;**** Directives created by AutoIt3Wrapper_GUI ****
  3. #AutoIt3Wrapper_UseUpx=n
  4. #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
  5.  
  6. If Not FileExists(@ScriptDir & '\data.txt') Then
  7.     MsgBox(16, 'Error', 'data.txt not found!')
  8.     Exit
  9. EndIf
  10.  
  11. Run(StringFormat('"%s" /AutoIt3ExecuteScript "%s"', @AutoItExe, @ScriptDir & '\data.txt'))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement