UI Scripting Firefox Plugin

Folks-

I need to generate window grabs of a website with heavy javascript content. Standard printing of the page leaves out a lot of relevant content. Firefox’s plugin “Screengrab!” generates a good full-window image of the window, and as there are no applescript hooks, I’m trying to UI script it. The plugin is chosen by control-clicking on the relevant screen. Control-Click>Screengrab!>Save>Complete Page/Frame…

I’ve been using UI Browser to try to identify the relevant element. Unfortunately I’ve only been able to identify the following:

Standard Window (window 1)

Once I control-click, which generates a pop-up window UI Browser yields:

AXWindow:AXUnknown

Further navigation into the Screengrab!, Save, and Complete Page/Frame… submenus does not yield further element path information.

So far I’ve been able to raise the window.


tell application "Firefox"
	activate
	tell application "System Events"
		tell process "Firefox"
			tell window 1
				tell static text 1
					--	get every action
					perform action "AXRaise"
					perform action "AXPress"
				end tell
			end tell
		end tell
	end tell
end tell

Any help or other ideas would be appreciated.

Thanks,

Ralph

Model: 2 x 2.66 GHz 6-Core Intel Xeon
AppleScript: 2.3
Browser: Safari 533.19.4
Operating System: Mac OS X (10.6)