List Info

Thread: K-Meleon macros




K-Meleon macros
country flaguser name
Brazil
2007-12-25 03:51:41
Hi!

I'm beginning to study K-Meleon's macros, but I'm still
pretty unsure 
about how they work.

For instance, how do I call a macro? Do I assign a F key or
something?

What can I put within a 'while'?

Also, is is possible to delete all cookies currently on the
browser 
using a macro?

For instance, say that I want to create a macro that loops 
continuously, until some key (for instance, Esc) is pressed,
that does this:

while (< not Esc>){

         1. Clear/delete all cookies
         2. Load an URL
         3. When the first URL is loaded, loads a second
URL
}
end while

I came to something like:

while( 1 ) &Loop;

     Loop {
                 myMacro{
                 kmeleon.plugins.privacy.clearCookies
                 open(<URL1>);
                 }
                
$On<Load>=$On<Load>."myMacro;";
                 open(<URL2>);
     }



(no problem if the first URL simply flashes on the screen,
as it 
would simply set some cookies; the second URL would have the
commands 
to display the cookies set by the first one)



Finally, is there an examples repository?

Thank you,

Alvaro Antunes  


------------------------------------------------------------
-------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Kmeleon-dev mailing list
Kmeleon-devlists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kmeleon-dev


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )