Re: Applescript file extensions
Re: Applescript file extensions
- Subject: Re: Applescript file extensions
- From: Olivier Destrebecq <email@hidden>
- Date: Wed, 24 Apr 2002 10:03:44 -0500
When the app is recieving a drag it should be able to get pretty easily
the file creator and the file type within the drag recieving routine.
Use those and if none are present, then use the file extension as not
all file (and far from that hopefully) have a file extension.
Using the File creator and file type is much more robust than using file
extension for your purpose.
olivier
On Tuesday, April 23, 2002, at 03:06 PM, Brennan wrote:
Hi there,
Still working on this scriptable app. There's interest in having the
ability to drop scripts on the app, or on parts of its GUI. The lead
programmer is interested in accepting text files (containing
applescript text) as well as compiled scripts.
Actually the app already does this, but it's also going to be possible
and meaningful to drop text files onto the app, which will have some
other effect altogether than executing the contents as an applescript.
He's asking whether there's an existing filename extension, like .scr
or .as or some such, which would act as a flag to this kind of action.
My take is that the app should ONLY accept compiled scripts.
Does this sound reasonable?
_______________________________________________
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.
_______________________________________________
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.