Fwd: My first applescript studio app.
Fwd: My first applescript studio app.
- Subject: Fwd: My first applescript studio app.
- From: Bernardo Hoehl / Gessos Rutenium <email@hidden>
- Date: Tue, 27 Jul 2004 22:56:19 -0300
Thanks Dave!
It worked.
One amazing thing about this "English like language" is that my
original applet used "delay" before using "return", and in the case of
the applet, it caused the applet to hog the CPU.
Without your tip I would probably never try using the "delay" again.
Bernardo
==========================
Begin forwarded message:
>
From: Dave Balderstone <email@hidden>
>
Date: 27 July, 2004 6:27:19 PM GMT-03:00
>
To: AppleScript Users list <email@hidden>
>
Subject: Re: My first applescript studio app.
>
>
On Jul 27, 2004, at 1:15 PM, Bernardo Hoehl wrote:
>
>
> I thought this code would just repeat itself every 5 seconds after
>
> clicked, but it doesn't. I only get the text from one "ls" each time I
>
> manually click the function. Why?
>
>
Try "delay 5" rather than "return 5"
>
>
I suspect the "return" is causing your script to exit the repeat loop.
>
>
djb
>
_______________________________________________
>
applescript-users mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/applescript-users
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.