• 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
Requesting help with ObjC conversion, please
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Requesting help with ObjC conversion, please


  • Subject: Requesting help with ObjC conversion, please
  • From: Brian Christmas <email@hidden>
  • Date: Mon, 18 Aug 2014 10:11:24 +1000

G'day scripters

I really, really struggle with how to convert ObcC statements to Applescript's.

I cannot work out how to convert 

- (NSDate *)earlierDate:(NSDate *)anotherDate

I've tried this (amongst heaps of other things)..

if (earlierDate_(checkStartDateTimeNSDAte, my finishDateTimeNSDAte)) then
set my startDateTimeNSDAte to datePickerStart's dateValue()
else
my setMessagesList("NOTE: you cannot set the Start date to more than the Finish date.")
end if



which obviously doesn't work.

I'd appreciate a conversion please.

Regards

Santa
 _______________________________________________
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

  • Follow-Ups:
    • Re: Requesting help with ObjC conversion, please
      • From: Shane Stanley <email@hidden>
  • Prev by Date: please help with .plist variables
  • Next by Date: Re: Requesting help with ObjC conversion, please
  • Previous by thread: please help with .plist variables
  • Next by thread: Re: Requesting help with ObjC conversion, please
  • Index(es):
    • Date
    • Thread