RE: Retrieving properties
RE: Retrieving properties
- Subject: RE: Retrieving properties
- From: "Goodman, Steve" <email@hidden>
- Date: Fri, 8 Jun 2001 08:34:27 -0500
>
So is the mounting script a stay-open script application that
>
is running?
yes it is and what you have given me looks great....however it has steered
me to this:
Is it then possible to retrieve the property without the handler in the stay
open app? In very quick testing it seems to work fine....just curious if
there is something I'm missing.
-- Script "Server Mounting"
property some_value : true
-- some other Script
tell application "Server Mounting"
if some_value of it = true then
instead of....
>
-- Script "Server Mounting"
>
>
property some_value : true
>
>
on IsSomeValue()
>
>
if some_value = true then
>
return true
>
>
else if some_value = false then
>
return false
>
>
end
>
end
>
>
>
-- some other Script
>
>
tell application "Server Mounting"
>
>
if IsSomeValue() of it = true then
>
>
...
Thanks for the help.
Steve Goodman
Digital Solutions Group
.......Before you criticize someone, you should walk a mile in their shoes.
That way, when you criticize them, you're a mile away and you have their
shoes.------Unknown