Jump to content

qohelet

Member
  • Posts

    6
  • Joined

  • Last visited

Posts posted by qohelet

  1. You could add something like:

     

     

    try
        tell application "Finder"
            set input to the target of the front window as alias
        end tell
    on error
        set input to (path to home folder)
    end try
    tell application "Terminal"
        do script "cd " & quoted form of POSIX path of input & ";clear"
        activate
    end tell
     
    in order to open the current folder in terminal.
  2. Hello there! With this workflow you could either use cmd+alt+n or the keyword txt to create a new txt file in the front window of the Finder. If no window is open, the file will be created on the Desktop.

    Comment out the line (delete the --)

     

    -- tell application "Finder" to open theFile 

     

    to open the file after it has been created.

     

    textfile_alfred.png

     

    Download

×
×
  • Create New...