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:
    6,069
    Likes Received:
    201
    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

Ask a Question

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.