• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Can a Creation Date be Modified with ASObjC?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Can a Creation Date be Modified with ASObjC? (From: Christopher Stone <email@hidden>)
 >Re: Can a Creation Date be Modified with ASObjC? (From: Shane Stanley <email@hidden>)
 >Re: Can a Creation Date be Modified with ASObjC? (From: Christopher Stone <email@hidden>)
 >Re: Can a Creation Date be Modified with ASObjC? (From: Shane Stanley <email@hidden>)
 >Re: Can a Creation Date be Modified with ASObjC? (From: Phil Stokes <email@hidden>)

  • Prev by Date: Re: 10.11 additions to NSAppleEventDescriptor & Mac App Store
  • Next by Date: windows of app process & spaces
  • Previous by thread: Re: Can a Creation Date be Modified with ASObjC?
  • Next by thread: windows of app process & spaces
  • Index(es):
    • Date
    • Thread