Re: Is there a problem with FordEvents and latest Sierra????
Re: Is there a problem with FordEvents and latest Sierra????
- Subject: Re: Is there a problem with FordEvents and latest Sierra????
- From: Shane Stanley <email@hidden>
- Date: Fri, 18 Aug 2017 22:10:28 +1000
On 18 Aug 2017, at 9:34 pm, Brian Christmas <email@hidden> wrote:
>
> I accordingly simplified my own code, but with the same error.
>
> testing Shane's script *** -[AppDelegate NSLog]: unrecognized selector sent
> to object <AppDelegate @0x61000022ff00: OSAID(4) ComponentInstance(0xdf0000)>
> error number -10000 p = 101
That means you're using the NSLog() function incorrectly.
>
> So, I believe it’s something to do with the way I’m setting up the myDict
> dictionary.
It's what's *in* myDict. Property lists can only store text, numbers, booleans,
dates and data, plus lists/arrays and records/dictionaries limited to the same
-- you can't include images in them.
> On looking at the log, my belief is that the variable for the Circle images
> might be to blame.
Correct.
> I cannot find anything in ‘Explored’ on saving variables representing images
Then you need to figure it out. This isn't something you just look up -- it's a
decision, and one you have to make. Stop looking for code, and think about what
needs to be done.
> I imagine I’d convert the variables to text, and reset on reading the .plist,
> but am following your suggestion not to guess what I’m doing.
That's not guessing -- that's thinking about things.
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>, <latenightsw.com>
_______________________________________________
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