Jump to content

About Hiding


Guest bootleg
 Share

Recommended Posts

Guest bootleg

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?

:whistle:

Thanks in advance...

Link to comment
Share on other sites

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 :whistle: , 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 by scriptkitty

AutoIt3, the MACGYVER Pocket Knife for computers.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...