RE: Stay Open
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>