I've set hotkeys to execute scripts and they work but they only open the application but the application is hidden and to see it I have to click its icon in the dock which completely defeats the hotkeys purpose. Heres one of the scripts I have can someone tell me what I have to add into it so that the application opens and comes to the front of my screen when I hit the hotkey
tell application "safari"
open (yes I know a tab goes before "open" but this site wouldnt let me type it)
end tell
tell application "safari"
open (yes I know a tab goes before "open" but this site wouldnt let me type it)
end tell