• 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
Getting this list item
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting this list item


  • Subject: Getting this list item
  • From: Gnarlodious <email@hidden>
  • Date: Sat, 15 Jun 2002 07:59:39 -0600

I am saying:

tell application "Network Setup Scripting"
open database
set theRAStatus to (status of Remote Access configuration 1)
close database
end tell

if ((activity of theRAStatus) = "connected") then

Problem is that here I get the error:
Can't get activity of {class:Remote Access status, activity:connected,

What is going on?
Ideally I want to upload a bunch of stuff if connected.
The script works if the line:

if ((activity of theRAStatus) = "connected") then

is inside the NSS tell block but I need to untell before continuing.
How to?

Thanks

Rachel http://www.gnarlodious.com
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Getting this list item
      • From: Michelle Steiner <email@hidden>
  • Prev by Date: Re: inculding and reading from files
  • Next by Date: Re: can I do this better?
  • Previous by thread: Re: inculding and reading from files
  • Next by thread: Re: Getting this list item
  • Index(es):
    • Date
    • Thread