Re: [Pythonmac-SIG] appscript and Firefox

2008-06-19 Thread Bill Janssen
Thanks, this is what I needed to know -- I'm hoping to avoid diving into the source. I'll download FF 2 and try it out. > appscript.terminology.dump() Not sure what you mean here. appscript.terminology doesn't have a "dump" function... Bill ___ Pytho

Re: [Pythonmac-SIG] appscript and Firefox

2008-06-19 Thread Bill Janssen
> But you can enter raw apple events which is what you want to do. > See here for and explanation of the brackets and how to enter them: > http://developer.apple.com/documentation/AppleScript/Conceptual/AppleScriptLangGuide/conceptual/ASLR_raw_data.html Right, thanks, that's helpful. But how do I

Re: [Pythonmac-SIG] appscript and Firefox

2008-06-19 Thread Hengist Podd
Bill Janssen wrote:> But how do I write "<>" in appscript?You need to use the lower-level aem API to construct references/commands using raw AE codes. However, while both APIs are well documented in themselves, it's not currently explained to end users how to combine them in order to work around d

Re: [Pythonmac-SIG] appscript and Firefox

2008-06-18 Thread Daniel Lord
On Jun 18, 2008, at 20:18 PM, Bill Janssen wrote: Thanks, Daniel. It looks impossible from my perspective and knowledge, maybe someone smarter has it figured out. Apparently someone has, from the scrap of Applescript I pointed to before (OK, here it is again: https://bugzilla.mozilla.org/sh

Re: [Pythonmac-SIG] appscript and Firefox

2008-06-18 Thread Bill Janssen
Thanks, Daniel. > It looks impossible from my perspective and knowledge, maybe someone > smarter has it figured out. Apparently someone has, from the scrap of Applescript I pointed to before (OK, here it is again: https://bugzilla.mozilla.org/show_bug.cgi?id=427448). > Generally, the double an

Re: [Pythonmac-SIG] appscript and Firefox

2008-06-18 Thread Daniel Lord
On Jun 18, 2008, at 19:04 PM, Bill Janssen wrote: I'm finally trying to learn appscript, and I thought I'd write a little system monitor that goes around to my various open applications and logs what files/URLs I'm looking at. For Safari, this is easy: print app('Safari').windows.first.curre

[Pythonmac-SIG] appscript and Firefox

2008-06-18 Thread Bill Janssen
I'm finally trying to learn appscript, and I thought I'd write a little system monitor that goes around to my various open applications and logs what files/URLs I'm looking at. For Safari, this is easy: print app('Safari').windows.first.current_tab.URL() but I can't figure out how to get the c