Jump to content

fi3l2

Members
  • Posts

    6
  • Joined

  • Last visited

Everything posted by fi3l2

  1. very simple solution thank you
  2. I have a program that will kill certain processes when they run. This works really well, but there is one problem. The autoit icon is always visible in the taskbar. Is there anyway to "Hide" the icon so it is not visible? I need this feature because I need to hide this program from running so it will not be stopped unless someone cancels is through task manager(which I am not worried about). My younger brother basically takes control of the computer to play free online poker. Now this isnt as bad as some habits but he plays for almost 3-4 hrs a day. I just want to be able to limit the amount of time he plays by killing the process over and over when it is run. I need that feature so he wouldn't be able to cancel the script.(he doesnt know how to access task manager, so it is not a problem there.) Would this feature even be possible in win 98 also? Any leading in the right direction would be appreciated. Thanks
  3. ty ty runs great now awesome thanks again gotta get back to learning even more off the forums latez
  4. hey all, i am a definate noob to scripting here. I found this after I was messing with an Andy bot for diablo II and wanted to try my own tweaks. Below is my attempt to run any file (another .au3 script, or anything else) at a certain time that is specifed. the reason I did it this way is because from what I was seeing, the Run() command doesn't work with other scripts.... which is why I got into autoit in the first place basically to do things when I am not here :-D lemme know what you guys thing and post some major improvements to it if you wish (plz!) Thanks :-D ;Runs Anything at a certain time #include <Date.au3> $program = FileOpenDialog("Choose file...","My Computer","All") $time = InputBox("Time", "What time would you like it to run?" & @CRLF & "hh:mm:ss AM/PM", _NowTime(), "") $count = 0 while $time > 0 if $time = _NowTime() Then Send("#r") WinWaitActive("Run") Send($program & "{Enter}") $count = $count + 1 Sleep(1000) EndIf Wend One problem I have seen, the script does not end after the program runs, the autoit is still in a tray icon for the script, anyone shed some light as to what is keeping this script alive after the while loop is done?
  5. hey all, i am a definate noob to scripting here. I found this after I was messing with an Andy bot for diablo II and wanted to try my own tweaks. Below is my attempt to run any file (another .au3 script, or anything else) at a certain time that is specifed. the reason I did it this way is because from what I was seeing, the Run() command doesn't work with other scripts.... which is why I got into autoit in the first place basically to do things when I am not here :-D lemme know what you guys thing and post some major improvements to it if you wish (plz!) Thanks :-D ;Runs Anything at a certain time #include <Date.au3> $program = FileOpenDialog("Choose file...","My Computer","All") $time = InputBox("Time", "What time would you like it to run?" & @CRLF & "hh:mm:ss AM/PM", _NowTime(), "") $count = 0 while $time > 0 if $time = _NowTime() Then Send("#r") WinWaitActive("Run") Send($program & "{Enter}") $count = $count + 1 Sleep(1000) EndIf Wend One problem I have seen, the script does not end after the program runs, the autoit is still in a tray icon for the script, anyone shed some light as to what is keeping this script alive after the while loop is done?
  6. there is a way to run an .au3 script with another script instead of using the Run() function make the script goto start , run, enter in the path, then press enter it works for me example Send("#r") WinWaitActive("Run") Send($program & "{Enter}") this works for me, hopefully it will help you
×
×
  • Create New...