Re: Can't tell an application to open
Re: Can't tell an application to open
- Subject: Re: Can't tell an application to open
- From: Shane Stanley <email@hidden>
- Date: Mon, 21 Feb 2011 13:23:13 +1100
- Thread-topic: Can't tell an application to open
On 21/2/11 12:47 PM, "Dave" <email@hidden> wrote:
> set theFile to POSIX file DebugLogPath
That's the problem line. You can't use POSIX file (or alias or file) as a
specifier like that in AppleScriptObjC -- it just returns a reference to the
script object. Change it to:
set theFile to DebugLogPath as POSIX file
--
Shane Stanley <email@hidden>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden