Best4FREE Posted February 16, 2008 Share Posted February 16, 2008 Hi my question in this. anybody can help me autoit script the script must counter a programm example notepad.exe $notepad =notepad.exe + 1 if $notepad = 30 Run ( "A Exe file" ) endif How can i do this?? Link to comment Share on other sites More sharing options...
goldenix Posted February 16, 2008 Share Posted February 16, 2008 (edited) EDIT: This is a sample not real Code you can use!Simply put, you check if process is running if yes it adds +1 into ini file & waits till it will close. So put this into a loop$a = 1 While 1 if winactive ( ' notapad ' ) then iniwrite $a = +1 Wend or While 1 if processexists (' notepad.exe ') then iniwrite $a = +1 Wend Edited February 16, 2008 by goldenix My Projects:[list][*]Guide - ytube step by step tut for reading memory with autoitscript + samples[*]WinHide - tool to show hide windows, Skinned With GDI+[*]Virtualdub batch job list maker - Batch Process all files with same settings[*]Exp calc - Exp calculator for online games[*]Automated Microsoft SQL Server 2000 installer[*]Image sorter helper for IrfanView - 1 click opens img & move ur mouse to close opened img[/list] Link to comment Share on other sites More sharing options...
rasim Posted February 16, 2008 Share Posted February 16, 2008 goldenixHey man you testing yor code before posting? Check out!Best4FREEI don`t understand you completely, but mayb it this?Dim $aProc = ProcessList("notepad.exe") MsgBox(0, "Message", "Notepad runned a " & $aProc[0][0] & " times") 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