Re: Help with apple script
Re: Help with apple script
- Subject: Re: Help with apple script
- From: Michelle Steiner <email@hidden>
- Date: Wed, 2 Aug 2006 11:09:19 -0700
On Aug 2, 2006, at 11:01 AM, Support Enfocus Software wrote:
I am a newbie to applescript and need to write a stand alone app
with it.
I need a script that will add 1 integer every time the script is run.
So if it starts at 1 the next time it is run it will show 2 etc...
You do that by making the number a property.
property increment : 1
display dialog increment
set increment to increment + 1
If you recompile the script, it will reset the number to 1; otherwise
it will keep adding 1 to the number forever--or until it exceeds the
maximum integer value, whichever comes first.
-- Michelle
--
"Our enemies are innovative and resourceful, and so are we. They
never stop thinking about new ways to harm our country and our
people, and neither do we." --George W. Bush, Aug 5, 2004.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden