• 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: Arthur J Knapp <email@hidden>
  • Date: Thu, 07 Jun 2001 19:02:47 -0400

> From: "Goodman, Steve" <email@hidden>
> Subject: Retrieving properties
> Date: Thu, 7 Jun 2001 13:22:11 -0500

> I have an AppleScript application that keeps the server volumes mounted on
> our script machines. If the network or server goes down then the script sets
> a property to true while it repeats through the list of volumes to remount.
> This works fine. However if the volumes cannot be mounted for a period of
> time then the scripts that depend on them start to time out. What I would
> like to do is have them check the mounting script property to see if it is
> busy trying to remount the volumes.
>
> How do I retrieve the property??


So is the mounting script a stay-open script application that
is running?

-- 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

...



Arthur J. Knapp
http://www.stellarvisions.com
mailto:email@hidden

Hey, check out:
http://www.latenightsw.com/freeware/JavaScriptOSA/


  • Prev by Date: Re: Scripting Quark libraries
  • Next by Date: Adding Icons to Scripts
  • Previous by thread: Retrieving properties
  • Next by thread: RE: Retrieving properties
  • Index(es):
    • Date
    • Thread