Hotkey app to front

Im trying to get a shortcut which will bring a certain app to the front, assuming its open.

E.g. alt-f4 to bring firefox to the front - assuming its already opened.

How could i do this?


[code]DestroyFunc FuncRaiseFirefox
AddToFunc FuncRaiseFirefox

  • I Next (firefox*, CurrentDesk) Focus
  • I Next (firefox*) Raise[/code]
Key F4          A       M       FuncRaiseFirefox

Sweet thanks