sgp wrote (on 02.05.2007 23:55):
> My OP regarded changing icons of an active bar...
What about calling this from your Monitor (or Autorun with the target
=opera)
@Wrapper
Static lastwin
If(lastwin ne win.handle("active"))
[EMAIL PROTECTED](win.handle(lastwin),
"c:\Opera\Opera.exe", 0, 0)
if( index( win.exepath(win.handle("active")), ?"\Opera\Opera.exe" ) )do
[EMAIL PROTECTED](win.handle("active"),
"c:\windows\notepad.exe", 0, 0)
lastwin = win.handle("active")
endif
quit
It changes only the foreground Opera window's icon (which is reflected
to active buttons list, too) and if it's not the active window anymore,
it's changed back.
HTH