• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Creating a script that can set its own modification date
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating a script that can set its own modification date


  • Subject: Re: Creating a script that can set its own modification date
  • From: Michelle Steiner <email@hidden>
  • Date: Wed, 28 Nov 2007 18:20:13 -0700

On Nov 28, 2007, at 5:50 PM, David A. Cox wrote:

Anyone know of a way to make a script set a false modification date on itself?


tell application "System Events"
set the modification date of (path to me) to ((current date) + 10 * days)
end tell


--
Whoever said the last man standing is the winner didn't invite the girl.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden
  • Follow-Ups:
    • Re: Creating a script that can set its own modification date
      • From: "Mark J. Reed" <email@hidden>
References: 
 >Creating a script that can set its own modification date (From: "David A. Cox" <email@hidden>)

  • Prev by Date: Creating a script that can set its own modification date
  • Next by Date: Re: Creating a script that can set its own modification date
  • Previous by thread: Creating a script that can set its own modification date
  • Next by thread: Re: Creating a script that can set its own modification date
  • Index(es):
    • Date
    • Thread