Re: Editable?
Re: Editable?
- Subject: Re: Editable?
- From: Daniel Jalkut <email@hidden>
- Date: Mon, 07 Nov 2005 18:48:03 -0500
Do you mean whether it's writeable? Or whether there's an application
the system that is capable of editing that file type?
If you just want to know whether it's writable you could use the "ls"
command and parse the permissions bits.
Daniel
On Nov 7, 2005, at 6:38 PM, Luther Fuller wrote:
I have an open handler that tests a dropped file to see if ...
1. It's an application. (easy)
2. It's an AppleScript (easy)
3. I am the owner (easy)
But I also need to test whether or not it's editable.
The only test I have found that works is to try to open it with an
editor and get an error if it's not editable, but this method is
not acceptable. And how does the editor know this?
Anybody have any ideas?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (Applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
40red-sweater.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
References: | |
| >Editable? (From: Luther Fuller <email@hidden>) |