Guest bootleg Posted February 24, 2004 Share Posted February 24, 2004 OK, I'm new to this but when I run the script I want it to open nothing in the tray...I don't want it to tell me anything just run in the background, reason being it keeps killing the application that is open in fullscreen when it opens to the tray... Any ideas on what I need to do that make that happen? Thanks in advance... Link to comment Share on other sites More sharing options...
scriptkitty Posted February 24, 2004 Share Posted February 24, 2004 (edited) You can hide the tray icon, or you can open AutoIt before your application and use hotkeys to start and stop it. Example, if I open AutoIt after I have fantasy star online, it kills the application, so you can start up AutoIt with a hotkey to activate it once you want it to start. Do to , AutoIt will always pop an icon up for .5 seconds in the tray when you first activate it. The sourcecode is available, so you can remove the icon if you really want to. Example for ya: AutoItSetOption("TrayIconHide", 1);1 = Hide Icon $x=1 HotKeySet ("{pause}","start") While $x=1; this will loop until you hit the pause key. sleep(500) Wend MsgBox(1,"Information","Started") ; place your macro here Func start() $x="" EndFunc Edited February 24, 2004 by scriptkitty AutoIt3, the MACGYVER Pocket Knife for computers. 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