• 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: [OSX]path to modem scripts folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OSX]path to modem scripts folder


  • Subject: Re: [OSX]path to modem scripts folder
  • From: John W Baxter <email@hidden>
  • Date: Thu, 12 Jul 2001 10:08:12 -0700

At 20:14 +1000 7/12/2001, Peter Gort wrote:
>The AppleScript phrase "path to modem scripts folder", if executed by a
>user, returns "That folder doesn't exist and you don't have permission
>to create it." (blunt isn't it? <grin>)
>
>If logged in as root, executing this line in script editor creates a
>folder called "Modem Scripts", at /System/Library, and returns
>"Macintosh HD:System:Library:Modem Scripts:" ignoring the default modem
>scrips folder at "Macintosh HD:Library:Modem Scripts:" where all the
>factory installed ones go. I suggested to Mac OS X feedback that the
>call be implemented to return the globally availabe folder at
>/Library/Modem Scripts, and an additional item be added for "User Modem
>Scripts folder" to return ~/Library/Modem Scripts/ if that is necessary,
>though I don't see why it should be. As I understand it, the
>/System/Library/Modem Scripts/ should not be accessed by user level
>apps anyway, so there is no need to add a reference to it for
>AppleScript.

The problem is already taken care of, in a different way, as shown in the
path to dictionary entry. The pattern applies to any of the path to things
for which it makes sense. Try this:

display dialog ((path to modem scripts folder from local domain) as string)
try
display dialog ((path to modem scripts folder from network domain) as
string)
on error
display dialog "Network oops"
end try
display dialog ((path to modem scripts folder from user domain) as string)
try
display dialog ((path to modem scripts folder from System domain) as
string)
on error
display dialog "System oops"
end try

--John

--
John Baxter email@hidden Port Ludlow, WA, USA


References: 
 >[OSX]path to modem scripts folder (From: Peter Gort <email@hidden>)

  • Prev by Date: Is there any way to stop monitor refreshing
  • Next by Date: Watch Folder - Photoshop Action
  • Previous by thread: Re: [OSX]path to modem scripts folder
  • Next by thread: Re: [OSX]path to modem scripts folder
  • Index(es):
    • Date
    • Thread