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: 2551 <email@hidden>
- Date: Fri, 09 Oct 2015 13:25:50 +0700
On 9 Oct 2015, at 01:51, Stockly, Ed <email@hidden> wrote:
What context is the script being run in? From an application, or a menu?
Thanks, Ed. It’s running from (a) script editor, which is why I didn’t think it necessary to include a ‘my’, as there’s no other target in the script for it to be confused by.
I think the error was actually that I was inadvertently reusing the same variable name ’s’.
In any case, I’ve simplified the commands to just
try do shell script i on error set licReply to licError end try
display dialog licReply with title “someApp" buttons "OK" default button “OK"
and that’s passed all my tests here. Waiting for the user to get back to me.
|
_______________________________________________
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