Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Switch printer preset in AppleScript via the shell' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Switch printer preset in AppleScript via the shell
Authored by: ctierney on Mar 15, '07 06:36:43AM
Hi Rob,

FWIW, I discovered recently that the do shell script string can contain line breaks, which can help shorten long lines:
do shell script "
  defaults write com.apple.print.custompresets com.apple.print.lastPresetPref Preset1
"
--
Cole

[ Reply to This | # ]