• 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
RE: Retrieving properties
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: Quark ps-file
  • Next by Date: Re: Folder Actions
  • Previous by thread: Re: Retrieving properties
  • Next by thread: Re: Retrieving properties
  • Index(es):
    • Date
    • Thread