• 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: Resetting Hard Drive Names
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Resetting Hard Drive Names


  • Subject: Re: Resetting Hard Drive Names
  • From: "Andrew W. Johnson" <email@hidden>
  • Date: Thu, 10 Jan 2002 10:50:09 -0500

Hello,

(Please refer to my other post, as it was long and I don't want taking up
space in this reply.)

I had done what you said, I apologize if I did not explain that step. When
I ported the script over to the clone lab machine, I re-wrote the code to
match the volumes on that computer (see my code in my last post), and then
compiled it. Every time I change the name of the "Video HD" volume, it
renames the "Local HD" volume and leaves the "Video HD" partition alone.

Even if I change the "Local HD" name, and the "Video HD" name to some
gibberish, by order of execution of the code, it changes the "Local HD" back
to "Local HD", then changes "Local HD" to "Video HD" leaving the actual
"Video HD" alone to whatever gibberish I gave it.

If I change all my Volume names to gibberish, it does the same thing, it
changes the "Local HD" back to "Local HD", then changes "Local HD" to "Video
HD" leaving the actual "Video HD" alone to whatever gibberish I gave it,
then changes the "Documents" and "Admin" volumes back to what they are
supposed to be.

It is most Bizarre.

The same script set up on my computer with all its drives and partitions
(five total) works fine (when the script is compiled and modified to work on
my machine that is.)

Thanks,

Andrew W. Johnson
Assistant Macintosh Systems Administrator
Instructional Computing
080 Student Union
Stony Brook, NY 11794-3200
email@hidden


>
> The first time you run this script on any machine it should be newly
> compiled on that machine and the names of the volumes must match the
> volume names in the four properties at the top of the script. The way
> this script works, when it is compiled the aliases are replaced
> internally by absolute identifiers for the volumes that will find them
> even if they are renamed. By running a copy compiled on another machine
> you may not have those aliases pointing to the correct volumes or any
> volumes at all.
>
> Marc K. Myers <email@hidden>
> http://AppleScriptsToGo.com
> 4020 W.220th St.
> Fairview Park, OH 44126
> (440) 331-1074
>
> [1/9/02 4:30:27 PM]
> _______________________________________________
> applescript-users mailing list | email@hidden
> Help/Unsubscribe/Archives:
> http://www.lists.apple.com/mailman/listinfo/applescript-users
> Do not post admin requests to the list. They will be ignored.


References: 
 >Re: Resetting Hard Drive Names (From: "Marc K. Myers" <email@hidden>)

  • Prev by Date: Tell OS X Application...
  • Next by Date: Applescript over IP in OS X
  • Previous by thread: Re: Resetting Hard Drive Names
  • Next by thread: Re: Resetting Hard Drive Names
  • Index(es):
    • Date
    • Thread