Re: Modifying aliases...
Re: Modifying aliases...
- Subject: Re: Modifying aliases...
- From: mjn <email@hidden>
- Date: Wed, 20 Mar 2002 10:36:08 -0600
Revisiting...
I have an alias. I want to retarget that alias using Applescript.
Say I have "My Alias" which points to "startup disk:folder 1:myfile"
I want to be able to modify where that alias points to (and verify it is
attached?).
I would like to write something which would look at some pairs of values,
like these:
startup disk:folder 1:, startup disk:folder 2:
startup disk:folder 2:, volume 1:folder 1:
And examine and change an alias based on those pairs.
So "My Alias" points to "startup disk:folder 1:myfile" but I'd like the
script to change the target of "My Alias" to "startup disk:folder 2:myfile"
or, if "My Alias" pointed to "startup disk:folder 2:myfile", the script
would point it to "volume 1:folder 1:myfile", for example.
The problem I am having is I am trying to set a variable to my_file's
original item as (text|string|list) and it is not giving me the original
item's path like I want it too; my guess is I am trying to get the wrong
value or trying to get it incorrectly.
Someone suggested previously that I use some additions but the problem is
that this script will be run from a mounted volumne and on several different
OS versions so I need it to be self-contained.
Anyone have suggestions? Thanks mucho.
-mjn
_______________________________________________
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.