If I remember correctly, you can just call cmd_setup() inside the pageLoad_* function
-- aza | ɐzɐ -- On Sun, Feb 22, 2009 at 5:42 PM, Peter Lazarev <[email protected]>wrote: > > Thanks for the answer, but i have even a bigger problem figuring out how > to call the ubiquity:mouse "setup" command is it a method of certain > object > sorry for the dumb question, though > Peter > > Abimanyu Raja wrote: > > Hey Peter, > > > > All functions that start with "pageLoad_" will be run on page load. > > You can read more about this here: > > > https://wiki.mozilla.org/Labs/Ubiquity/Ubiquity_0.1_Author_Tutorial#Running_on_page_load_and_startup > > > > Cheers, > > Abi > > > > 2009/2/23 Peter Lazarev <[email protected] > > <mailto:[email protected]>> > > > > hello folks there must be an easy way to autotrigger the setup > > command every time a page is loaded. i'm so excited about > > ubiquity:mouse i really want to start using it, but its virtually > > useless unless i can get rid of the need to type "setup" on every > > page. > > i think i've figured out how to write commands. but how to call an > > existing command from insde my own and how to hook to the an event > > which is triggered when a page is fully loaded?... > > > > Thanks for your help Peter > > > > > > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ubiquity-firefox" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ubiquity-firefox?hl=en -~----------~----~----~----~------~----~------~--~---
