autohotkey - Eclipse window doesn't activate if it's minimized -


i'm using following code works fine; swaps front if it's behind other windows, opens if it's closed. doesn't swap front if it's been minimized.

!j::     if winexist("ahk_exe eclipse.exe")     {         winactivate     }     else     {         run, "c:\program files (x86)\eclipse\eclipse.exe"     }     return 

i have same code other programs works fine if window's been minimized. why isn't working eclipse , how can make work?

found working method:

!j::     wingettitle, title, ahk_class swt_window0     if instr(title, "eclipse") {         winactivate, ahk_class swt_window0     }     else     {         run, "c:\program files (x86)\eclipse\eclipse.exe"     }     return 

Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -