triken3 Posted May 2, 2014 Posted May 2, 2014 (edited) hello i am newbie in auto IT programming.. Any idea how to self activate or auto open an .au3 file if the condition is meet.. like for example i have a notepad file in desktop.. if the txt inside has been change, then .au3 file will be activated or will be opened.. let say that .au3 file will display a notepad that says " Notepad Content changed" any idea is a great help tnx.. Edited May 2, 2014 by triken3
JohnOne Posted May 2, 2014 Posted May 2, 2014 Cannot be done with AutoIt without a script already running. But if you want to monitor a file with AutoIt you should ask in the help forum. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
triken3 Posted May 2, 2014 Author Posted May 2, 2014 Cannot be done with AutoIt without a script already running. But if you want to monitor a file with AutoIt you should ask in the help forum. what if that .au3 script is alredy running, then waiting for a moment that the text inside sample1.txt will be changed.. and then it will open sample2.txt with a text showing " Notepad Content changed".. is it possible? any idea what function that i can use
jdelaney Posted May 2, 2014 Posted May 2, 2014 FileRead _FileCreate FileWrite Run IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.
somdcomputerguy Posted May 2, 2014 Posted May 2, 2014 (edited) FileGetSize and/or FileGetTimeWhile .. WEndIf .. ThenSleep or the Timer functionsShellExecute or Run Edited May 2, 2014 by somdcomputerguy - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change.
triken3 Posted May 4, 2014 Author Posted May 4, 2014 FileGetSize and/or FileGetTime While .. WEnd If .. Then Sleep or the Timer functions ShellExecute or Run Tnx a lot. i have been able to used all your recommendation and it works perfectly
somdcomputerguy Posted May 4, 2014 Posted May 4, 2014 You bet. Good luck with your project. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change.
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