• 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
"as file specification" path syntax for a non-boot drive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"as file specification" path syntax for a non-boot drive


  • Subject: "as file specification" path syntax for a non-boot drive
  • From: Bob Majors <email@hidden>
  • Date: Thu, 7 Jun 2007 16:42:05 -0700

I have an old AppleScript I'm reviving.

The following worked fine:

tell application "Finder" to set startup_disk to startup disk as text
global theDir
set gTheDir to startup_disk & ":Library:QuickTimeStreaming:Movies:on_demand" as file specification


I need to change the location to another drive. Is the following the correct syntax?

set gTheDir to startup_disk & "Volumes:200GB:on_demand" as file specification

Or do I need :Volumes or /Volumes ? Thanks.

Bob
_______________________________________________
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: "as file specification" path syntax for a non-boot drive
      • From: Michelle Steiner <email@hidden>
  • Prev by Date: Re: Splash screen for AppleScript bundle Apps?
  • Next by Date: TextEdit print to PDF and Mail
  • Previous by thread: Selecting linked page items via their XML tag in InDesign CS
  • Next by thread: Re: "as file specification" path syntax for a non-boot drive
  • Index(es):
    • Date
    • Thread