• 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
alias broker
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

alias broker


  • Subject: alias broker
  • From: <email@hidden>
  • Date: Tue, 27 Nov 2001 13:16:37 +1300

I find broken alias properties and their weird behavior trying so I enlisted
Tanaka's 'MT Resolve Alias' in search of reliable check...
------------------
property x : ""

if x = "" then getPath()
try
set x to (MT Resolve Alias file ("" & x))
on error m number n
if n = -2763 then --no result
display dialog "broke"
getPath()
else
error {n, m}
end if
return
end try

on getPath()
set x to choose file
return x
end getPath
-----------------------
This should be reliable yes?
no defaulting to root?
other ways of doing this reliably?

_________sorry about the doublish post and buttons:( Andy


  • Prev by Date: RE: OS 9.1 Bug workaround
  • Next by Date: Automating droplets
  • Previous by thread: Green Fill?!!
  • Next by thread: alias broker
  • Index(es):
    • Date
    • Thread