Jump to content

Argus

Member
  • Posts

    4
  • Joined

  • Last visited

Posts posted by Argus

  1. I'm an AppleScript newb. I'm trying to make a workflow to open a new finder window.

     

    Here is my current script: 

    tell application "Finder"
    	make new window
    	activate
    end tell

     

    Calling it with my keyboard shortcut results in no behavior. I checked out the AppleScript finder documentation but I must be missing something. Could someone please help me out?

     

     

  2. Hello. I'm a newb to AppleScript and am trying to make a workflow to open a new TextEdit window, similar to this one made for Chrome: https://github.com/caiogondim/alfred-chrome-window-workflow .

     

    Here is my current script:

    on alfred_script(q)
    
    tell application "TextEdit"
        make new window
    	tell application "System Events" to set frontmost of process "TextEdit" to true
    	activate
    end tell
    
    end alfred_script

    Here's the workflow:image.png.8ec1cc6f26ffdcaa04af4fc281446da7.png

     

    Calling it in Alfred with "tw" results in no behavior. Could someone please help me out?

     

×
×
  • Create New...