Re: can’t make current application into type string
Re: can’t make current application into type string
- Subject: Re: can’t make current application into type string
- From: "Stockly, Ed" <email@hidden>
- Date: Thu, 08 Oct 2015 18:51:43 +0000
- Thread-topic: can’t make current application into type string
What context is the script being run in? From an application, or a menu?
It may be that it's executing within an application, that doesn't recognize the shell script command (it's an OSAX).
If so this might work:
set s to (my do shell script I)
Hi folks, I have a script that works fine locally, but one of my users reports the error
"can’t make current application into type string” when they try to run it.
I’m guessing the error is coming from the ‘do shell script’ line but I’m struggling to see why or how to resolve it.
Any thoughts much appreciated on the cause or resolution.
Here’s the script (some strings are pseudo-code; take it as read that it compiles and runs without issue on my own mac):
|
_______________________________________________
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