| PLEX86 | ||
|
Firefox keep alive extensionOn Fri, 10 Feb 2006 16:59:28 +0000, Roy Schestowitz staggered into the Black Sun and said: The free ones are delayed at least 15 minutes. The pay ones can be much faster. ? What's worryingly insecure about that? Lots of people have wanted that sort of thing since GUIs were invented. There are even X extensions designed to make this easier, like Xtrap and Xrecord and Xtest. Wrong keywords. If all you need to do is move the mouse to a specific point and issue a button 1 up-down event, xmacroplay will do that. Put that in a loop with "while true ; do xmacroscript.sh ; sleep 300 ; done" , bingo. xmacroscript could contain this: #!-bin-bash echo -e "MotionNotify X Y-nButtonPress 1-nButtonRelease 1" xmacroplay # end of script ...replace X and Y with the X,Y coords of whatever it is you want to click. The main problem is that these coords are absolute, which can cause a lot of pain unless you always position your Firefox in the same place. xmacroplay can also do keypress-key release events, which can be Quick and dirty system recovery: Is this method OKAY In a message on Fri, 10 Feb 2006 12:08:15 -0500, wrote : So far everything is golden. Not really much different from how I installed WBL 3.0 on my... Note that if you use virtual desktops, you'll have to switch to the virtual desktop containing your Firefox before doing that xmacroplay. This is sort of outside the scope of the question, but see the bits about DCOP and look at the output of "dcop kwin KWinInterface" for some info on how to do that in KDE. Question about nvidia video card On 10 Feb 2006 10:24:50 -0800, Vilmos Soti staggered into the Black Sun and said... That's not what he asked for, though. Er... Xtest doesn't require any kernel bits at all. Then again, a Firefox extension probably can't call external programs. argv getting corrupt because of getenv issues Hello, Trying to debug a weird problem here. When I run this program many times over, at some point argc gets corrupted and... If you were using Konqueror instead of Firefox, you could probably do it using DCOP, which may be a bit more elegant. Sort of like so: (buttumes you have the site loaded in a Konq process called 'konqueror-8173') dcop konqueror-8173 konqueror-mainwindow#1 reload ...does "refresh" on window #1 of that process. Firefox is of course not scriptable with DCOP. DCOP is a nice idea, but from my fiddling around with kdcop, many KDE apps don't expose all their functions to the DCOP interface, which limits its utility. Ah well, HTH anyway, -- Matt GThere is no Darkness in Eternity-But only Light too dim for us to see Brainbench MVP for Linux Admin mail: TRAP + SPAN don't belong ----------------------------- penguins, is Tux." --MegaHAL
|
||||
Quick and dirty system recovery: Is this method OKAY Linux groups from Newsgroups The #1 Usenet Provider on the Internet
|
||||