 |
AutoHotkey Community Wir helfen uns gegenseitig aus der Patsche
|
| Vorheriges Thema anzeigen :: Nächstes Thema anzeigen |
| Autor |
Nachricht |
dosenfleisch Gast
|
Verfasst am: Do Mai 04, 2006 10:42 pm Titel: just letters - screensaver |
|
|
kleiner screensaver, der natürlich nicht den screen savet, sondern der unterhaltung dient.
vorsicht, könnte auf dauer langweilig werden
| Code: |
#persistent
#notrayicon
#InstallKeybdHook
settitlematchmode, 2
detecthiddenwindows on
settimer, check, 10000
check:
if A_TimeIdle > 60000
ifwinnotexist, ahk_class FilterGraphWindow
{
ifwinnotexist, letters
run, C:\Programme\Internet Explorer\IEXPLORE.EXE -k http://www.lunchtimers.com/swf/letters/letters_720_450.swf?roomid=room1
if ( WaitForAnyKey( 100000000 ) )
send, {altdown}{f4}{altup}
else
soundbeep
WaitForAnyKey( p_timeout )
{
start := A_TickCount
loop,
{
if ( idle > A_TimeIdlePhysical )
return, true
else if ( A_TickCount-start >= p_timeout )
return, false
idle := A_TimeIdlePhysical
Sleep, 10
}
}
}
return
|
|
|
| Nach oben |
|
 |
dosenfleisch Gast
|
Verfasst am: So Mai 14, 2006 3:05 pm Titel: |
|
|
besser:
| Code: |
#persistent
#notrayicon
#InstallKeybdHook
#singleinstance force
settitlematchmode, 2
detecthiddenwindows on
settimer, check, 10000
check:
if A_TimeIdle > 60000
{
ifwinnotexist, ahk_class FilterGraphWindow
ifwinnotexist, lunchtimers
run, C:\Programme\Internet Explorer\IEXPLORE.EXE -k http://www.lunchtimers.com/swf/letters/letters_720_450.swf?roomid=room1
if ( WaitForAnyKey( 100000000 ) )
{
winclose, lunchtimers
winclose, lunchtimers
}
else
soundbeep
WaitForAnyKey( p_timeout )
{
start := A_TickCount
loop,
{
if ( idle > A_TimeIdlePhysical )
return, true
else if ( A_TickCount-start >= p_timeout )
return, false
idle := A_TimeIdlePhysical
Sleep, 10
}
}
}
return
|
|
|
| Nach oben |
|
 |
|
|
Du kannst Beiträge in dieses Forum schreiben. Du kannst auf Beiträge in diesem Forum antworten.
|
Powered by phpBB © 2001, 2005 phpBB Group Deutsche Übersetzung von phpBB.de
|