Re: Scripting in PiggyBank

From: David Huynh <dfhuynh_at_csail.mit.edu>
Date: Thu, 01 Dec 2005 07:17:26 -0500

Chung Le wrote:

> David Huynh wrote:
>
>> I'm afraid you are the first to attempt this. Try to see if you can
>> access the browser's chrome window from within Chickenfoot.
>> "document" or "top" might be the right object. From there, maybe you
>> can access Piggy Bank's script function hooked to the onclick event
>> of the data coin icon, or that of the Browse Tidbits on This Page
>> menu command. Let us know what you find.
>>
> With help from the Chickenfoot, especially Rob Miller, I was able to
> get Chickenfoot to recognize Piggybank's datacoin!

Awesome! Perhaps you could tell the rest of us how you did that!

> However, there seems to be a synchronization problem. PiggyBank's
> datacoin must wait until the new page has loaded before it can be
> invoked. Is there a way in PiggyBank to tell it to wait for the entire
> page to load before attempting to extracting data?

Yes, we can do that but it is probably very tricky. In any case, I don't
think we're going to fix that for now. Can your script do some polling
until the data coin icon appears?

David
Received on Thu Dec 01 2005 - 12:13:00 EST

This archive was generated by hypermail 2.3.0 : Thu Aug 09 2012 - 16:39:18 EDT