Re: 256 char limit on alias path?
Re: 256 char limit on alias path?
- Subject: Re: 256 char limit on alias path?
- From: Andy Wylie <email@hidden>
- Date: Tue, 02 Apr 2002 19:34:07 +1200
on 1/4/02 11:14 PM, Camilla at email@hidden wrote:
>
That's a nice handler for converting paths into file URLs tho...
>
:) thanks, I was inspired to add handles...
script tidMachine
property tidResult : ""
on tidStr(myStr, findStr, replaceStr, previousState)
set AppleScript's text item delimiters to {findStr}
set x to (myStr's text items)
set AppleScript's text item delimiters to {replaceStr}
set tidResult to x as string
set AppleScript's text item delimiters to previousState
end tidStr
end script
set myStr to (choose file) as string
tell tidMachine to {tidStr(myStr, ":", "/", ""), tidStr(it's tidResult, " ",
" ", "")}
tell tidMachine to (it's tidResult)
_____________________________ Andy
_______________________________________________
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.