Phenom Posted October 12, 2010 Share Posted October 12, 2010 Let's say in my script I start another script like this: ShellExecute("foo.au3") Then let's say later on I want to close this script. What's the code to do that? Link to comment Share on other sites More sharing options...
Mison Posted October 12, 2010 Share Posted October 12, 2010 $pid = Run (@AutoItExe&" foo.au3") Sleep(3000) ProcessClose($pid) Hi ;) Link to comment Share on other sites More sharing options...
Phenom Posted October 12, 2010 Author Share Posted October 12, 2010 $pid = Run (@AutoItExe&" foo.au3") Sleep(3000) ProcessClose($pid) That works, but the icon stays in the taskbar. Is there a way to make it go away without having to use the mouse? Link to comment Share on other sites More sharing options...
AlmarM Posted October 12, 2010 Share Posted October 12, 2010 (edited) Try searching the forums on System Tray Refresh.EDIT: http://www.autoitscript.com/forum/index.php?showtopic=94447&st=0&p=678483&hl=system%20tray%20refresh&fromsearch=1&#entry678483 Edited October 12, 2010 by AlmarM Minesweeper A minesweeper game created in autoit, source available. _Mouse_UDF An UDF for registering functions to mouse events, made in pure autoit. 2D Hitbox Editor A 2D hitbox editor for quick creation of 2D sphere and rectangle hitboxes. Link to comment Share on other sites More sharing options...
Juvigy Posted October 12, 2010 Share Posted October 12, 2010 Put #NoTrayIcon in the beginning of your script 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