On the grounds that some signal. no matter how lame, will move the signal to noise ratio of this list back off zero, I figured posting this script might be useful.
I recently converted my envelope printing away from AppleWorks database. My solution was to import all the addresses into Yojimbo (as just notes with plain text addresses), but I still needed to print the envelopes, so I created a simple template in Pages, and then use the following AppleScript in the Scripts folder to print the item.
-- "Enable access for assistive devices" must be on in the "Universal Access preferences -- set path to pre-existing Pages document set up as an envelope set templatePath to "/Users/WHOEVER/Documents/Templates/Envelope.pages" tell application "Yojimbo" set i to selection set p to properties of first item of i set c to contents of p end tell tell application "Pages" activate set f to open POSIX file templatePath set body text of f to c save f end tell tell application "System Events" keystroke "p" using command down end tell
Hopefully this is useful to someone (otherwise the StN ratio will remain zero).
Enjoy, Peter.
-- Keyboard Maestro 3 Now Available! Now With Multiple Clipboard History!
Keyboard Maestro <http://www.keyboardmaestro.com/> Macros for your Mac <http://www.stairways.com/> <http://download.stairways.com/>
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Yojimbo Talk" group. To post to this group, send email to yojimbo-talk@googlegroups.com To unsubscribe from this group, send email to yojimbo-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/yojimbo-talk?hl=en -~----------~----~----~----~------~----~------~--~-
This site manages and broadcasts several email lists pertaining to Lasso Programming and technologies related and used by Lasso developers. Sign up today!