• 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: Safari Status Bar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Safari Status Bar


  • Subject: Re: Safari Status Bar
  • From: Thomas Fischer <email@hidden>
  • Date: Wed, 12 Oct 2011 08:43:24 +0200

Hi Chris,

your script doesn't run on my machine either (Mac OS X 10.6.8 AppleScript Editor).
It gives the following errors:

get properties of static text 1 of group 3 of window 1 of process "Safari"
--> error number -1719 from «class sgrp» 3 of window 1 of «class prcs» "Safari"
keystroke "/" using command down

get properties of static text 1 of group 3 of window 1 of process "Safari"
--> error number -1719 from «class sttx» 1 of «class sgrp» 3 of window 1 of «class prcs» "Safari"
keystroke "/" using command down

But this one does (If you just want to know if the status line is on or off):

tell application "System Events"
set statusLineThere to true
tell process "Safari"
tell front window
try
properties of group 3
on error
set statusLineThere to false
end try
end tell
end tell
end tell
statusLineThere

Best
Thomas

Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: Archives: http://lists.apple.com/archives/applescript-users This email sent to email@hidden
References: 
 >Safari Status Bar (From: Robert Poland <email@hidden>)
 >Re: Safari Status Bar (From: Christopher Stone <email@hidden>)
 >Re: Safari Status Bar (From: Robert Poland <email@hidden>)
 >Re: Safari Status Bar (From: Christopher Stone <email@hidden>)

  • Prev by Date: Re: INDESIGN: Coercing a String to a Constant
  • Next by Date: Re: Safari Status Bar
  • Previous by thread: Re: Safari Status Bar
  • Next by thread: Re: Safari Status Bar
  • Index(es):
    • Date
    • Thread