• 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: I'm lost (as usual)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I'm lost (as usual)


  • Subject: Re: I'm lost (as usual)
  • From: Robert Poland <email@hidden>
  • Date: Sat, 12 Nov 2016 08:43:50 -0700
  • Z-usanet-msgid: XID748ukLPrz9424X33

> On Nov 11, 2016, at 5:14:PM, Stockly, Ed <email@hidden> wrote:
>
> You can specify which domain for the path to command.
>
> set UniversalScriptsFldr to (((path to library folder from system domain
> as alias) as text) & "Scripts:") as alias
>
> --Classic domain
> --local domain
> --network domain
> --system domain
> --user domain

A script to help clarify the domains;

set a to " System"
set b to " Local"
set c to " Classic"
set d to " Network"
set e to " User"

try
	set a to a & " - " & ((path to library folder from system domain as alias) as text)
end try
try
	set b to b & " - " & ((path to library folder from local domain as alias) as text)
end try
try
	set c to c & " - " & ((path to system folder from Classic domain as alias) as text)
on error
	set c to c & " - " & "Not Found"
end try
try
	set d to d & " - " & ((path to system folder from network domain as alias) as text)
end try
try
	set e to e & " - " & ((path to library folder from user domain as alias) as text)
end try
display dialog a & return & b & return & c & return & d & return & e

(*  System - Macintosh HD:System:Library:
 Local - Macintosh HD:Library:
 Classic - Not Found
 Network - Macintosh HD:System:
 User - Macintosh HD:Users:rpoland:Library:
*)

Robert Poland
Fort Collins, CO


 _______________________________________________
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


References: 
 >I'm lost (as usual) (From: Robert Poland <email@hidden>)
 >Re: I'm lost (as usual) (From: "Stockly, Ed" <email@hidden>)
 >Re: I'm lost (as usual) (From: Robert Poland <email@hidden>)
 >Re: I'm lost (as usual) (From: "Stockly, Ed" <email@hidden>)

  • Prev by Date: Re: I'm lost (as usual)
  • Next by Date: Re: I'm lost (as usual)
  • Previous by thread: Re: I'm lost (as usual)
  • Next by thread: Re: I'm lost (as usual)
  • Index(es):
    • Date
    • Thread