Re: Can a Creation Date be Modified with ASObjC?
Re: Can a Creation Date be Modified with ASObjC?
- Subject: Re: Can a Creation Date be Modified with ASObjC?
- From: Shane Stanley <email@hidden>
- Date: Mon, 27 Jun 2016 15:56:12 +1000
On 27 Jun 2016, at 3:25 PM, Phil Stokes <email@hidden> wrote:
>
> I’ve only just figured out that you have to compile the script at least once with the appropriate ‘use’ statement calling the appropriate framework before that’ll work.
>
> Now that I know, it’s obvious why it works that way, but I kept thinking SD’s code suggestions were buggy until I made the connection.
You should try to compile after adding any use statements. The information garnered not only controls what frameworks are used for suggestions, but it does a couple of other things too:
* It lets Script Debugger filter some ASObjC suggestions based on the version in a "use AppleScript ..." statement if one is specified, to avoid using stuff newer than your intended target;
* For "use script" statements it makes any terminology they declare available to completion, and if they're not run-only, it also makes all their vanilla handlers available in completion;
* The presence or absence of "use scripting additions" is used to help determine where method parameters need to be escaped with pipes.
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>
_______________________________________________
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