[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [PROGRAMMERING] Styre mozilla fra bash



On Wed, 31 Mar 2004, Ivar Madsen wrote:

> Jeg er igang med at lave et lille program der checker om en stribe
> URL er opdateret siden sidst, og hvis så, så starte et nyt vindue
> med en tab's pr. URL.

Er det ikke nemmest at finde de nye først, og så åbne dem?

wget -q -O - http://www.test.com > ny
DIFF=$(diff gl ny)
if [ -n "$DIFF" ]; then
	mozilla -remote ...
	rm -f gl
	mv ny gl
fi

> En anden ting, er det muligt at checke om brugeren har brugt
> tastertur/mus inden for en given tid inden checket?

hmmm, den er lidt Dirty-Harry den her, men /proc/interrupts ved om der 
er tastet på keyboard og mus. Men de kan jo være USB så...
Mousemeter kan finde ud af det, så umuligt er det vel ikke.

/hans
-- 
Hamletsgade 4 - 201, DK-2200 København N, Phone: +45 3582 9079
Schou Industries ApS      http://schou.dk/    CVR: 26 13 44 39
--------------------------------------------------------------
Unix: You probably don't need our advice.
			-- FAQ om Flac, www.livemetallica.com


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 22:43 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *