AutoHotkey Community

It is currently May 27th, 2012, 7:41 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Hide Icon
PostPosted: September 19th, 2006, 6:05 pm 
Offline

Joined: October 8th, 2005, 9:22 am
Posts: 29
Location: Sri Lanka
Hai..

Is there any method to hide the Icon shown in taskbar(right side) when a compiled script (exe) running
[I want to hide autohot key icon]

pls reply:o

Nuwan


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 19th, 2006, 6:24 pm 
Offline

Joined: July 26th, 2006, 8:50 pm
Posts: 68
Location: Wuppertal
RTFM

:roll:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 19th, 2006, 7:42 pm 
Offline

Joined: December 27th, 2005, 1:46 pm
Posts: 6837
Location: France (near Paris)
Read The Fine Manual, indeed, but I admit it is not always obvious to find a command when searching a task to do... This is true for AutoHotkey but also for the WinAPI and all docs in general.

_________________
Image vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 19th, 2006, 8:18 pm 
Offline

Joined: July 26th, 2006, 8:50 pm
Posts: 68
Location: Wuppertal
I agree with you PhiLho, but a simple search for icon in the fine manual would at least helped him on the right track, but nevermind :)


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Re: Hide Icon
PostPosted: September 19th, 2006, 8:40 pm 
Online
User avatar

Joined: December 26th, 2005, 4:40 pm
Posts: 8776
Nuwan wrote:
Is there any method to hide the Icon shown in taskbar(right side) when a compiled script (exe) running
[I want to hide autohot key icon]


Just add these lines to the beginning of the script:

Code:
#NoTrayIcon
IfNotEqual,A_IsCompiled,1, Menu,Tray,Icon


Regards, :)

_________________
URLGet - Internet Explorer based Downloader
StartEx - Portable Shortcut Link


Report this post
Top
 Profile  
Reply with quote  
PostPosted: May 30th, 2007, 1:11 pm 
Offline

Joined: May 11th, 2007, 1:08 pm
Posts: 26
I have a similar question. I want to hide the icon of a script, but I can't use #NoTrayIcon, becouse I want to use ballontips. What I want, is to hide again after each ballontip, also hide after I recompile and launch it through cmd. I tried to search after some kind of registry solution, but no difference. Any idea?

Ps.: Of course, when I say hide, I mean like when you set it in the taskbar properties.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 30th, 2007, 1:18 pm 
Again, RTFM.
#NoTrayIcon page wrote:
The tray icon can be made to disappear or reappear at any time during the execution of the script by using the command menu, tray, Icon or menu, tray, NoIcon.


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: May 30th, 2007, 1:24 pm 
Offline

Joined: May 11th, 2007, 1:08 pm
Posts: 26
Grumpy wrote:
Again, RTFM.
#NoTrayIcon page wrote:
The tray icon can be made to disappear or reappear at any time during the execution of the script by using the command menu, tray, Icon or menu, tray, NoIcon.

Yeah, my fault I wasn't exact. It's not jus AHK script. It also applies to other programs tray icons. So I still need a global solution.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 30th, 2007, 1:44 pm 
So search the forum for tray icon or notification area (the correct name).
I recall some solutions might have been given.


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: HotkeyStick, sjc1000, SKAN, tomL, Yahoo [Bot] and 71 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group