Re: Re Connection is invalid problem
Re: Re Connection is invalid problem
- Subject: Re: Re Connection is invalid problem
- From: Larry McMunn <email@hidden>
- Date: Mon, 05 Sep 2011 08:12:06 -0400
Thanks Dave.
I have put each of the script/program calling sections of the trafficking program into TRY statements, set the secDelay for the repeating interval to a fixed number and deleted those lines.
It is working as I expected with my call for the fauxIdle handler in either the applicationWillFinishLaunching_ or an applicationDidFinishLaunching_ handler.
I am new to Xcode, having only started working with it upon the release of Shane's book. I really appreciate all the help and responsiveness from you and the others on this list.
On Sep 4, 2011, at 8:17 PM, Dave wrote:
> When I comment out those two lines and move your display dialog in Hello Guy into a applicationDidFinishLaunching_ handler your two programs run fine. I am running Lion and using XCode 4.1.
>
> The AppleScript Language Guide (Table 7-1) shows the 'activate' command does not return a value, so your accessing 'result' is incorrect. If you want information from Hello Guy you need to invoke a handler in it that returns a value (or uses the default returned value of its last executed statement, which would also need to be something that returns a value.)
Thanks for this information, I have a lot to learn.
----------------------------------------
Happy Automation,
Larry McMunn, President
Mobile: (856) 393-4756 or Skype: wlarrymcmunn
McMunn Associates, Inc. • Collingswood, NJ • Seminole, FL
"If you look backward in this business, you'll be crushed. You have to look forward"
--Steve Jobs
_______________________________________________
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