Jump to content


open/activate hiddion icons


  • Please log in to reply
5 replies to this topic

#1 CRAIGST

CRAIGST
  • Guests

Posted 23 April 2012 - 08:25 AM

i have a open program in task bar (where speakers are) and i need to open it up when i click a button in my gui,
so i can then run a script on it

but cant for the life of me get it to open even tryed running program again but just say already open

night:
SetTitleMatchMode, 1
	WinActivate, ahk_class NotifyIconOverflowWindow
	WinActivate, GM Dispatch
	sleep, 300
	msgbox, end
	
RETURN

program name / title is gm dispatch

where i going wrong ?

#2 CodeKiller

CodeKiller
  • Members
  • 2066 posts

Posted 23 April 2012 - 09:15 AM

An icon in the taskbar doesn't mean : the program have an hidden window.
Example : the "Intel® Graphics Properties" window.
There is an icon for this program, but when you click on "Graphic Properties" (after a right click on the icon) the icon run an other program.
If the window is really just hidden it should work.

Anyway, the easiest way is to automate the opening liek a user do.
Example, if you double-click on the icon to show the programme, then, just do a script that double-click on the icon (easiest way is ImageSearch).

#3 craigst

craigst
  • Guests

Posted 23 April 2012 - 09:28 AM

proplem is the icon is not always in same place :(

#4 CodeKiller

CodeKiller
  • Members
  • 2066 posts

Posted 23 April 2012 - 09:37 AM

>_>
Did you read my post ???

ImageSearch !!!

#5 craigst

craigst
  • Guests

Posted 23 April 2012 - 09:47 AM

sorry didnt know what image serch was but looks intresting :)

#6 CodeKiller

CodeKiller
  • Members
  • 2066 posts

Posted 23 April 2012 - 09:50 AM

Then when you do'nt know soemthing, just search it in the help file (you know, when you run a scritp, make a right click on it's icon, then "Help").