• 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: Stay Open
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Stay Open


  • Subject: RE: Stay Open
  • From: "Bourque, Jason" <email@hidden>
  • Date: Thu, 11 Jan 2001 09:18:37 -0500

I don't think you need an implied or explicite run if it is a stay open app
it will recieve an idle from the finder as all apps do. then it would do the
stuff in the handler.


I don't think you can send it or have it return parameters.

I would use a global variable or a property to access the values you need.

Jason Bourque


> -----Original Message-----
> From: Xandra Lee [SMTP:email@hidden]
> Sent: Thursday, January 11, 2001 5:33 AM
> To: email@hidden
> Subject: Re: Stay Open
>
> Some really dumb idle questions:
> 1. Do scripts with idle routines always begin with a run statement
> ie:
> on Run
> idle
> end Run
>
> 2. Can you pass parameters to idle handlers
> ie:
> set x to 15
>
> on idle(x)
> set y to (x + 20)
> return y
> end idle
>
>
> 3. Can an idle handle return any variable besides the time it should idle?
>
> Thanks
> xandra
>
>
>
>
> >Stephen Swift wrote:
>
> >> So I would use a stay open script if I wanted to change my desktop
> picture
> >> every 15 min?
> >
> >Absolutely!
> >
> >on idle
> > [whatever your script does to change desktop pictures]
> > return (15 * minutes)
> >end idle
> >
> >Marc [1/2/01 10:44:52 PM]
> >_______________________________________________
> >applescript-users mailing list
> >email@hidden
> >http://www.lists.apple.com/mailman/listinfo/applescript-users
>
>
> Alixandra Leigh
> AceDesign
> email@hidden
> ------------------------------------------
> Furniture:
> ><http://home.rochester.rr.com/alexleighs/furniture/furniture.htm>
> Renderings:
> ><http://home.rochester.rr.com/alexleighs/interiors/interiors.htm>


  • Prev by Date: Re: Chevrons [getting OT] - and back on topic again
  • Next by Date: Re: problem with paths
  • Previous by thread: Re: Stay Open
  • Next by thread: Re: Stay Open
  • Index(es):
    • Date
    • Thread