Re: Launching TextEdit with a TEXT document
Re: Launching TextEdit with a TEXT document
- Subject: Re: Launching TextEdit with a TEXT document
- From: Walter Ian Kaye <email@hidden>
- Date: Mon, 16 Feb 2004 17:41:09 -0800
At 05:11p -0800 02/16/2004, Craig Hoyt didst inscribe upon an
electronic papyrus:
Andrew, thank you for your reply. I tried your code without luck. I'm
calling this AppleScript from a compiled Application and am not getting any
error feedback. A slightly different script does work for a Classic run (it
launches SimpleText instead of TextEdit) but this script only launches
TextEdit with an Untitled document in an OSX run. Is there any way I can
display error codes or other info from the script so I can glean what this
problem is? Are there any other issues that are specific to OSX and
AppleScript that I should be aware of?
Well there's another way you could do it:
tell app "Finder" to open file filePath using application file id "text"
You did verify that 'filePath' contains the correct path to the file, yes?
-boo
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.