Converting original items...
Converting original items...
- Subject: Converting original items...
- From: mjn <email@hidden>
- Date: Wed, 13 Mar 2002 10:58:22 -0600
I am not quite sure how robust the regular expressions are in AS but here is
the problem I am trying to solve:
I have a script which acquires a list of alias files in a couple of
different directories and I would like to modify the "original item" values
of these aliases...
So if the alias's original item matches "My File Server" I'd like to modify
it and then if it matches "My File Server:Folder1" I want to change the
value to "Other File Server1:Folder1" and if it matches "My File
Server:Folder2" I'd like to change it to "Other File Server2:Folder2"...etc
My problem is pulling the text of the "original item" out and examining it.
I have dug through the Finder dictionary but I haven't found anything,
predictably, other than Finder commands...is there a good resource for
modifying and manipulating text and good ways to pull out these values,
search/replace certain parts/values, and then stuff them back in?
Pointers? Tips? Starting points? Ideas? Seems like this should be an
easy task to accomplish but I'm stuck...
Thanks again.
-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.