Telling spotlight to activate via AppleScript

Discussion in 'Mac Programming' started by alec6542, Jan 2, 2013.

  1. alec6542
    Expand Collapse
    macrumors regular

    Jan 16, 2012
    Hi guys,

    My ultimate goal is setup a hotkey so that when I press command twice it activates spotlight. I have Alfred's powerpack, which has a nice feature where you can create your own hotkeys and assign them to do certain things, including opening applications and running applescripts. Hitting command is a hotkey that Alfred supports, but, as far as I can tell, there is no "" that I can simply assign a hotkey to open. So my only option is to construct a simple applescript that does it. Any ideas?

    Thanks for your help!

  2. NovaScotian
    Expand Collapse
    macrumors newbie


    Jun 28, 2008
    Dartmouth, Nova Scotia
    Spotlight has a system preference pane in which you can set a hot key to open it.

Share This Page