wondimuf Posted September 16, 2008 Share Posted September 16, 2008 I am using AutoIt3 version 3.2.12.1 and Windows XP SP3. I compiled my AutoIt3 script (changed .au3 to .exe) and run it. The custom icon appeared on the system tray. When I removed the script from Windows Task Manager (by right-clicking it from Task Manager and clicking "End Process"), the icon was not removed from the system tray. When I put the mouse cursor over it, it disappears. Please tell me how I can remove the icon without putting the cursor over it. Link to comment Share on other sites More sharing options...
BillLuvsU Posted September 16, 2008 Share Posted September 16, 2008 Don't close it by using the Task Manager. Create a function to close the script using the Exit command and a way for the user to call it. [center][/center]Working on the next big thing.Currently Playing: Halo 4, League of LegendsXBL GT: iRememberYhslaw Link to comment Share on other sites More sharing options...
Uriziel01 Posted September 16, 2008 Share Posted September 16, 2008 Just put an Exit(0) on end of your script, and close it by HotKey or some button(if you have GUI) Link to comment Share on other sites More sharing options...
ChromeFan Posted September 16, 2008 Share Posted September 16, 2008 Read the HelpFile for Opt("TraySetState", ?) and use it before closing the script. like While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE TraySetState(2) Sleep(100) Exit EndSwitch WEnd just a example and trying to help! Website: www.cerescode.comForum: www.forum.cerescode.comIRC: irc.freenode.net , Channel: #Ceres--------------------Autoit Wrappers, Great additions to your script (Must See) (By: Valuater)Read It Befor Asking Question Click Here...--------------------Join Monoceres's Forums http://www.monoceres.se--------------------There are three kinds of people: Those who make things happen, those who watch things happen, and those who ask, What happened? Casey Stengel 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