MACSCRPT Archives

October 2011

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Thu, 13 Oct 2011 00:11:47 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (32 lines)
On Oct 12, 2011, at 7:00 PM, MACSCRPT automatic digest system wrote:

>> 
> 
> This toggles it 
> 
> tell application "System Events"
> 	tell process "Safari"
> 		click menu item "Block Pop-up Windows" of menu "Safari" of menu bar 1
> 	end tell
> end tell
> 
> But I am having issues finding a way to read it.  
> 
> -Mark


> _______________________
> 
> tell application "System Events"
> tell process "Safari"
>   value of attribute "AXMenuItemMarkChar" of menu item "Block Pop-up Windows" of menu "Safari" of menu bar 1
> end tell
> end tell
> 

Mark and Christopher,

You guys are great, thank you.

Ed

ATOM RSS1 RSS2