On 4/3/02 1:45 PM, Allen Watson <[EMAIL PROTECTED]>, wrote: >On or near 3/31/02 8:40 PM, Julian Vrieslander at [EMAIL PROTECTED] >observed: > >> But I am still curious to know if there is a way to set >> the text document creator type within Entourage. > >Not via Entourage, but with an AppleScript, yes. This script would save the >selected message and change the creator type to BBEdit: > >tell application "Microsoft Entourage 1822" > try > set theMsg to item 1 of (get current messages) > on error > return > end try > set newName to choose file name with prompt "Save message where?" > save theMsg in newName > set thePath to newName as text > display dialog thePath & " saved." >end tell >tell application "Finder" to set the creator type of newName to "R*ch"
Thanks, Allen. The script is clear enough for me to understand. But I'm curious about one item. Is there any significance for the "1822" in the first tell statement? Or did you just choose this to pick out one particular build of Entourage? -- Julian Vrieslander <mailto:[EMAIL PROTECTED]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> archives: <http://www.mail-archive.com/entourage-talk%40lists.letterrip.com/> old-archive: <http://www.mail-archive.com/entourage-talk%40lists.boingo.com/>
