• 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: Dismissing dialog box (location manager)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dismissing dialog box (location manager)


  • Subject: Re: Dismissing dialog box (location manager)
  • From: billp <email@hidden>
  • Date: Wed, 23 Jan 2002 17:22:56 -0600

Greg,

I cannot make your script compile.

The word "alerts" gets highlighted in Script Editor.
Does it require a scripting addition?

I need to automate the interaction with the dialog box, and,
contrary to another user's statement about the box going
away by itself after a few minutes, it does not.

Thanks!

Bill Planey

>> Message: 6
>> Date: Wed, 15 Aug 2001 10:40:15 -0500
>> Subject: Dismissing dialog box
>> From: Chris Armour <email@hidden>
>> To: <email@hidden>
>>
>> I have a script that toggles Location Manager locations. LM insists on
>> reporting its success with a dialog box. Is there any way to turn off user
>> interaction? Alternately, can I close this dialog box somehow? Thanks
>
>On run
> automate alerts after 0
> tell application "Location Manager"
> activate
> set current location to (location "Work(Wired)")
> quit
> end tell
> tell application "AirPort Scripting"
> set power of card 1 to false
> quit
> end tell
> automate alerts after -1
>End run


  • Prev by Date: Re: AS data types
  • Next by Date: QuarkXPress 5 Available
  • Previous by thread: Re: Recording in OSX
  • Next by thread: QuarkXPress 5 Available
  • Index(es):
    • Date
    • Thread