• 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: Unusual calling script problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unusual calling script problem


  • Subject: Re: Unusual calling script problem
  • From: Brian Christmas <email@hidden>
  • Date: Tue, 23 Dec 2014 16:17:33 +1100

Shane, thank you very, very much.

Your statement that I had to use either a alloc()’s init() or a blue cube finally gelled everything I’d read in Explored. I’m using blue cubes. Concrete advice, great.

I seem to have the setPathToMMFolder() routine working, and have re-coded all the 6 handlers for OddsNSods.

I’m setting an OddsNSods property to all the handler variables that I want returned, as a list, then I set the matching variables in my AppDelegate to the OddsNSods's property list. I presume that’s the way to do it? Anyway, it’s working.

From AppDelegate...

on checkTheDisks()
OAS's checkTheDisks:{serverFolder, serverBackupState, theMailManagerErrorMessages, holding_folder}
set {my serverBackupState, my theMailManagerErrorMessages} to OAS's returnDiskFlags
my checkForAnnualReport()
end checkTheDisks


Regards


Brian



If I’m supposed to use a different method of calling setPathToMMFolderOAS:temp then I’m at a loss on how to understand what to do.

You have to address an instance of the OddsNSods, not the class itself. if you don't already have one, it means either creating one using alloc()'s init() and storing it in a property of the calling script, or doing it in the interface by dragging in a blue cube, changing its class to your class, and making a connection to a property that way. Whatever, there has to be an instance, and you need to talk to that instance.


 _______________________________________________
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

References: 
 >Re: Unusual calling script problem (From: Shane Stanley <email@hidden>)
 >Re: Unusual calling script problem (From: Brian Christmas <email@hidden>)
 >Re: Unusual calling script problem (From: Shane Stanley <email@hidden>)
 >Re: Unusual calling script problem (From: Brian Christmas <email@hidden>)
 >Re: Unusual calling script problem (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Unusual calling script problem
  • Next by Date: [ANN] ASObjC Explorer update
  • Previous by thread: Re: Unusual calling script problem
  • Next by thread: [ANN] ASObjC Explorer update
  • Index(es):
    • Date
    • Thread