Shirt Pocket Discussions  
    Home netTunes launchTunes SuperDuper! Buy Now Support Discussions About Shirt Pocket    

Go Back   Shirt Pocket Discussions > SuperDuper! > General

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-14-2005, 04:25 AM
snoopy67 snoopy67 is offline
Registered User
 
Join Date: Jul 2005
Location: Germany
Posts: 16
applescript help

Could some kind soul fluent in Applescript please translate the following csh-stylish statement for me?

I would like to write something like this in an applescript:

if ( date since this script was run last time is more than a week ago )
then
... do this
else
if ( this script was run today already )
then
... do that
else
... do that other
endif
endif

In addition, i would like to have a persistent counter which i can increment and reset (persistent across different runs of the script).
I suspect that's achieved by using a "property"?


I know it's a bit cheap to just ask here, and yes, i know you might be thinking that i should learn applescript, but i simply don't have the time, and i won't be using it often enough to justiy the time to learn it.

Many thanks in advance,
Gabriel.
Reply With Quote
 


Currently Active Users Viewing This Thread: 2 (0 members and 2 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
An (Applescript) hack to automate mounting and unmounting external volumes kbradnam General 12 07-30-2007 07:12 AM
Problems automating backups with applescript and crontab kbradnam General 4 01-20-2006 07:40 AM
Applescript says SuperDuper 1.5.3 not scriptable BudSimrin General 4 12-11-2004 07:52 AM
AppleScript bug? fixed! pzingg General 1 11-02-2004 06:37 PM
New netTunes shortly with AppleScript support! dnanian General 0 03-13-2003 07:17 PM


All times are GMT -4. The time now is 11:51 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.