Steve's script inspired me to do the following. I've always wanted to be able to name and tag PDFs when I do a "Print PDF to Yojimbo":

on open (theFile)
        
        set restoreDelimiters to AppleScript's text item delimiters
        
        set AppleScript's text item delimiters to ","
        
set theName to text returned of (display dialog "Name:" default answer "") set theTags to text returned of (display dialog "Tags:" default answer "")
        
        set the theTagList to every text item of theTags
        
        tell application "Yojimbo"
                set n to import theFile
                set name of n to theName
                add tags theTagList to n
        end tell
        
        set AppleScript's text item delimiters to restoreDelimiters
        
end open


--
------------------------------------------------------------------
This message is sent to you because you are subscribed to
 the mailing list <[email protected]>.
To unsubscribe, send mail to: <[EMAIL PROTECTED]>
List archives:  <http://www.listsearch.com/yojimbotalk.lasso>
Have a feature request, or not sure if the software's working correctly? Please send mail to: <[EMAIL PROTECTED]>

Reply via email to