AutoHotkey Community

It is currently May 27th, 2012, 1:42 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: January 10th, 2010, 1:39 pm 
Offline

Joined: April 4th, 2009, 9:59 am
Posts: 130
10January2010

Greetings.
I have found that scripts with the TrayIcons() & TaskButtons() functions
will not display TrayIcons. I would like it better if that was not the case.

Any helpful replies/insights appreciated.
Thank you.
Regards,
AEN
Æ


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 15th, 2010, 5:48 pm 
Offline

Joined: June 18th, 2008, 8:36 am
Posts: 4923
Location: AHK Forum
Example :?:

_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun :wink:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 16th, 2010, 10:58 am 
Offline

Joined: April 4th, 2009, 9:59 am
Posts: 130
16January2010

Greetings.
Thanks for the reply.

Example?
This is too simple to test.
Doesn't require an example.
Add
TIEE := TrayIcons("explorer.exe")
to any script that runs with
MENU, Tray, Icon, *.ico
and the script will lose the TrayIcon display.
At least that is what I find.

Any helpful replies/insights appreciated.
Thank you.
Regards,
AEN
Æ


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 16th, 2010, 10:44 pm 
Offline

Joined: June 18th, 2008, 8:36 am
Posts: 4923
Location: AHK Forum
So here you lose TrayIcon for your script?
Code:
DetectHiddenWindows, On
Menu,Tray,Icon,Shell32.dll,44
MsgBox % TrayIcons("explorer.exe")
Return

_________________
AHK_H (2alpha) AHF TT _Struct WatchDir Yaml _Input ObjTree RapidHotkey DynaRun :wink:


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 5th, 2010, 10:31 pm 
Offline

Joined: April 4th, 2009, 9:59 am
Posts: 130
5March2010

What's your point?

Code:
DetectHiddenWindows On
TIWLT := TrayIcons("WLTRAY.exe")
If (TIWLT <> "")
 {
  StringSplit, TBV, TIWLT,|
;   ahkcl :=  RegExReplace(TBV7, "class: ")
;   StringTrimRight, WLTcl, ahkcl, 1
  hWnd :=  RegExReplace(TBV6, "hWnd: ")
  StringTrimRight, WLThWnd, hWnd, 1
 }
else ExitApp

PostMessage, 1024, 3, 0x204, , ahk_id %WLThWnd%
PostMessage, 1024, 3, 0x205, , ahk_id %WLThWnd%
DetectHiddenWindows Off
WinWait, ahk_class #32768, , %Slmw%
If (ErrorLevel <> 0)
 Goto, ReStart


How would one use your code in a subroutine like above?


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

All times are UTC [ DST ]


Who is online

Users browsing this forum: Leef_me and 3 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