Variable Path Property
Variable Path Property
- Subject: Variable Path Property
- From: Andrew Wylie <email@hidden>
- Date: Fri, 02 Mar 2001 00:09:22 +1300
Can anyone offer an insight into the behavior of this check and handler in
these environments?
(OS 8.6 AS 1.3.7)
Apple Menu & Finderpop 1.9.2
# Property not retained
OSA Menu 1.2.3d7 & CMScript 1.3.3
#Check can fail on broken alias and defaults to root of startup disk
Applet & Smile OK
--------------------------
property sumThing : ""
try
if sumThing is "" then error
set sumThing to alias (sumThing as text)
on error
set sumThing to getThing()
if result is false then return 128
end try
on getThing()
try
set sumThing to choose file
return sumThing
on error m number n
return false
end try
end getThing
--------------------------
--Andy
----------------------------------------------------------------------------
"It takes a genius to whine appealingly."--F. Scott Fitzgerald
----------------------------------------------------------------------------