• 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
Say "What?"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Say "What?"


  • Subject: Say "What?"
  • From: Paul Skinner <email@hidden>
  • Date: Sun, 03 Jan 2010 11:39:31 -0500

set testFolder to "Mac HD:Users:paul:Desktop:testFolder"
tell application "Finder"
delete every file of folder testFolder
set file1 to (make new file at testFolder with properties {name:"file1"}) as alias
set file2 to (make new file at testFolder with properties {name:"file2"}) as alias
set names to {name of file1, name of file2}
-->{"file1", "file2"}
set the name of file1 to "tempName"
set names to {name of file1, name of file2}
--{"tempName", "file2"}
set the name of file2 to "file1"
set names to {name of file1, name of file2}
-->{"file1", "file1"}
set the name of file1 to "file2"
set names to {name of file1, name of file2}
-->{"tempName", "file2"}
say "What?"
end tell



 _______________________________________________
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: Say "What?"
      • From: Paul Skinner <email@hidden>
  • Prev by Date: Re: TextEdit Find/replace Caps
  • Next by Date: Re: Say "What?"
  • Previous by thread: Re: TextEdit Find/replace Caps
  • Next by thread: Re: Say "What?"
  • Index(es):
    • Date
    • Thread