• 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
"Open for access weirdness"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"Open for access weirdness"


  • Subject: "Open for access weirdness"
  • From: Michelle Steiner <email@hidden>
  • Date: Sun, 24 Jan 2010 10:33:48 -0700

This script creates an AppleScript Editor text file (The icon shows the script icon with "TEXT" below it, and double-clicking it opens it in AppleScript Editor.)

Attachment: foo
Description: application/applefile


set bar to path to desktop as text
set foo to (open for access bar & "foo")
close access foo

This script creates a TextEdit text file:

set bar to path to desktop as text
set foo to (open for access bar & "foo.txt")
close access foo

-- Michelle

-- 
If you don't hit any bumps in the road, you're not moving.

 _______________________________________________
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: "Open for access weirdness"
      • From: Chris Page <email@hidden>
    • Re: "Open for access weirdness"
      • From: Steve Thompson <email@hidden>
  • Prev by Date: Re: Numerical scripting
  • Next by Date: Determining OS Version
  • Previous by thread: Scripting Finder view of folder (Laine Lee)
  • Next by thread: Re: "Open for access weirdness"
  • Index(es):
    • Date
    • Thread