Charles Yeomans schrieb dereinst (am 16.02.2007 20:06 Uhr) via [EMAIL PROTECTED]:
>> How would I go about determining if a given folderitem is an >> executable file? This only has to work on OSX (10.3+). > > It depends on what you mean. Other people have said how to tell > whether the file has execute permissions set. But those can be set > for any file. If, on the other hand, you want to know how to tell > whether a file consists of executable code, then that's a little more > difficult. It looks like it can be done via AppleScript: set my_object to choose file set my_object_info to info for my_object display dialog "Kind: " & kind of my_object_info Cheers, Knut _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
