English
Source / code snippets

Counter plainer Shutdown Sleep Timer

 
Sleep-Timer - plainer Shutdown-Counter
CompileMarkSeparation
def $appTitle myShutdown 0.1
var h&=findWindow($appTitle)

if h&

    sendMessage(h&,16,0,0)
    end

endif

var endZeit&=&getTickCount+60000*30+59999
var m&=0

if %parCount

    h&=val(par$(%parCount))
    case h&>0 : endZeit&=&getTickCount+60000*h&+59999

endif

windowStyle 16 | 1 | 2 | 4 | 8
windowTitle $appTitle
window 40,40 - 350,150
useIcon knopf1
userMessages 16
setTimer 10000
mcls 40,12

while 1

    h&=(endZeit&-&getTickCount)*(1/60000)

    if h&<1

        exitWindows 6
        break

    endif

    startPaint -1
    cls 0
    useFont Courier,10,0,0,0,0,0
    textColor $BB0000,-1
    m&=h& mod 60
    case h& : h&=h&60
    drawText 0,0,format$(0#,h&)+:+format$(0#,m&)
    endPaint
    mCopySizedBmp 1,1 - 39,11 > 0,0 - width(%hWnd),height(%hWnd);0
    waitInput
    case (%key=27) or (%uMessage=16) : break
    case (%key=43) : endZeit&=endZeit&+60000
    case (%key=45) : endZeit&=endZeit&-60000

wend

killTimer
'./../../Function-References/XProfan/end/'>end
 
03/31/09  
 




Christian
Schneider
or:
CompileMarkSeparation
Path$ = $SysPath + \Shutdown.exe -s -t 15
Run Path
e>

at least as long as it only circa a Timer goes, without display etc.
 
XProfan 11| Vista(64) SP2
03/31/09  
 




E.T.
...or with surface and Zeiteinstellung, Snooze-time (if one still operates) and car-Start:



lying, if active, in the Tray:



...or my 1-Click-Ausschalter for Click-rotten (custom I do not first Start > terminate > what want I really?? ):


6 kB
Hochgeladen:04/01/09
Downloadcounter122
Download
7 kB
Hochgeladen:04/01/09
Downloadcounter162
Download
25 kB
Hochgeladen:04/01/09
Downloadcounter192
Download
 
Grüße aus Sachsen... Mario
WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte...
04/01/09  
 



Thä! or with surface pfff

Per Kommandozeile [...]  !

(what me over ands over again on it reminds the XP-Script beizubringen itself releases for single Scripts remember to.)
 
04/02/09  
 




E.T.
so much moreover... :



IF
Thä! or with surface pfff ...


Büst jo only neidüsch !!!

10 kB
Hochgeladen:04/03/09
Downloadcounter162
Download
 
Grüße aus Sachsen... Mario
WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte...
04/03/09  
 



Tjahaha you have Yes only time no XP-Script [...]  activate.
 
04/03/09  
 




E.T.
iF
Tjahaha you have Yes only time no XP-Script [...]  activate.


Should me the FF then not ask, I with the File make wants ??
this says Yes, the The File not found becomes...

Related to the XP-Script Have I already tested, however without nennenswerte Erfolge or benefit
 
Grüße aus Sachsen... Mario
WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte...
04/03/09  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

7.606 Views

Untitledvor 0 min.
ScanMaster06/20/24
Peter Max Müller11/26/17
RudiB.01/31/16
Ernst03/11/14
More...

Themeninformationen

this Topic has 3 subscriber:

iF (3x)
E.T. (3x)
Christian Schneider (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie