Opening AppleScript *.app files for editing
Opening AppleScript *.app files for editing
- Subject: Opening AppleScript *.app files for editing
- From: Doug McNutt <email@hidden>
- Date: Sun, 24 May 2009 18:09:43 -0600
I have a working version of an AppleScript drag and drop, saved as application, file that works. It accepts dragged files and uses a perl script that executes an ssh based scp command to copy the dropped files into a network enabled ubuntu box.
In my own space I can do the drag and drop just fine and when I drag the AppleScript app file and drop it onto an alias of "Script Editor" I can edit the source. What I actually do, in a BBEdit worksheet is this:
open -a "Script Editor" DropOntoMars.app
which works fine too. But I need to copy the script into another, unprivileged, user's $HOME/bin/ directory which will eventually lie miles away. It's easy to copy the file into the other user's directory but It then needs to have a line edited so that the do shell script will address his copy of the perl script.
After copying the AppleScript app to his space I can no longer edit it. Open from within "Script Editor", using the open -a "Script Editor" and dragging the file to an alias of "Script Editor" all produce the same error: Using sudo makes no difference and I have temporarily opened up the permissions on the files and directories.
"Can't open the executable because it has no dictionary."
Yes. I can make the changes in another copy and replicate that but I'd really like to make it possible for my less experienced user at the other end to make changes as required.
And. I'm on OS 10.3.9 because I really need AppleTalk over ethernet here. So my question:
Is it a bug that is fixed in newer versions? Is there a work around? When I copy the application file to a distant machine will the new user be able to open it for editing?
--
--> From the U S of A, the only socialist country that refuses to admit it. <--
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden