New Desktop + open finder window

Discussion in 'AppleScript' started by alexisvx, Dec 10, 2015.

  1. alexisvx

    alexisvx New Member

    Joined:
    Dec 10, 2015
    Messages:
    2
    Likes Received:
    0
    I am trying to create a shortcut that allows me to go to my 3d Desktop then open a new finder window that goes to the desktop.

    My desktops are currently set up so that pressing Control + 1, goes to first desktop, control + 2 to second desktop etc..

    I am trying to create an Applescitp to do this but I am stumbling on the first command.

    I want to do the 'Command + 3' keystroke so that it takes me to the 3d desktop but it's not working.

    I use:

    tell app "System Events" keystroke "3" using command down end tell

    I am in OSX Yosemite.

    thank you for your help
     
    alexisvx, Dec 10, 2015
    #1
    1. Advertisements

  2. alexisvx

    Cory Cooper Moderator

    Joined:
    May 19, 2004
    Messages:
    4,631
    Likes Received:
    122
    Hello and welcome.

    I am not very familiar with AppleScript/Automator. The folks over at MacScripter can probably steer you in the right direction.

    C
     
    Cory Cooper, Dec 13, 2015
    #2
    1. Advertisements

  3. alexisvx

    alexisvx New Member

    Joined:
    Dec 10, 2015
    Messages:
    2
    Likes Received:
    0
    Thank you I will try there
     
    alexisvx, Dec 17, 2015
    #3
    1. Advertisements

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
  1. RxMeridian
    Replies:
    3
    Views:
    2,014
  2. Mats Weber
    Replies:
    4
    Views:
    387
    Bjorn Nitmo
    Jan 20, 2004
  3. nickravo@gmail.com
    Replies:
    1
    Views:
    228
    Erik Richard Sørensen
    Apr 2, 2006
  4. AES
    Replies:
    5
    Views:
    306
    Dave Balderstone
    Jun 12, 2008
  5. Mats Weber

    Safari open new tab instead of new window

    Mats Weber, Jan 16, 2004, in forum: Communication
    Replies:
    4
    Views:
    342
    Bjorn Nitmo
    Jan 20, 2004
  6. mhz
    Replies:
    6
    Views:
    1,348
    David Phillip Oster
    Dec 12, 2005
  7. fishfry

    Open in new finder window?

    fishfry, Aug 26, 2003, in forum: Mac
    Replies:
    1
    Views:
    243
    Frederick Cheung
    Aug 26, 2003
  8. Hotspur
    Replies:
    5
    Views:
    578
    Hotspur
    May 19, 2006
Loading...