Re: Help with apple script
Re: Help with apple script
- Subject: Re: Help with apple script
- From: Andrew Oliver <email@hidden>
- Date: Wed, 2 Aug 2006 11:07:59 -0700
On Aug 2, 2006, at 11:01 AM, Support Enfocus Software wrote:
Hey everyone,
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...
Thanks in advance!!!!
Simple:
property numTimesRun: 0
on run
set numTimesRun to numTimesRun + 1
end run
Save this as an application and you're done (of course, I'm assuming
you want more than that at the end of the day.
Andrew
:)
_______________________________________________
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