Re: How to schedule an application
Re: How to schedule an application
- Subject: Re: How to schedule an application
- From: rethish <email@hidden>
- Date: Wed, 05 Aug 2009 11:33:35 +0530
- Thread-topic: How to schedule an application
I launched my application using an applescript.
Now I need to use methods in my application.
Is this possible using applescript?
On 7/20/09 5:48 PM, "Jerry Krinock" <email@hidden> wrote:
>
> On 2009 Jul 20, at 02:06, rethish wrote:
>
>> I had tried using a plist file and launchd to do it, but it always
>> opens in
>> a new application.
>
> Instead of launching your application directly, you need to have
> launchd launch a little process of some kind which will do what you
> want.
>
>> Is this can be done using applescript ?
>
> Actually, that might work. An AppleScript such as
>
> tell application "MyApp"
> ...[do what I want]...
> end tell
>
> will not launch a new instance of MyApp if MyApp is already running.
>
> But your app has to be scriptable -- the "do what I want" part
>
> If so, the "little process of some kind" could be an AppleScript
> application bundle.
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden