Sign in to follow this  
Followers 0
ezzetabi

Returns the number of ms that have elapsed since

7 posts in this topic

#1 ·  Posted (edited)

Once a UDF, now a DllCall.

$r = DllCall('kernel32','long','GetTickCount')
MsgBox(4096,'Time','Windows started ' & $r[0] & ' ms ago.')
Edited by ezzetabi

Share this post


Link to post
Share on other sites



Note: requires using the beta version of AutoIt. :)

Q: Did the UDF need the beta?


My Projects:DebugIt - Debug your AutoIt scripts with DebugIt!

Share this post


Link to post
Share on other sites

No.

Share this post


Link to post
Share on other sites

Once a UDF, now a DllCall.

$r = DllCall('kernel32','long','GetTickCount')
MsgBox(4096,'Time','Windows started ' & $r[0] & ' ms ago.')

<{POST_SNAPBACK}>

Great script, thanks! I wonder how you get all these dll-functions of windows... Is there an overview somewhere?

[quote name='d2hacker88' date='Jan 6 2005, 05:10 PM']Can someone please help me out with autoit like gimme a link on how to use it cause i have no experience with computer languages and i'd like to make a program with autoit in order to empress my computer teacher.[right][snapback]52215[/snapback][/right][/quote]

Share this post


Link to post
Share on other sites

For a not so updated, but easy list download:

http://users.chello.be/cr27630/3.7/agsetup.exe

For values of constants that VB understand while AutoIt don't download:

http://www.apiviewer.de/downloadstore/apv2004_v310.exe

http://www.activevb-archiv.de/downloadstor...ata08082004.zip

<{POST_SNAPBACK}>

Thank you a lot! I hope I can create my own real DllCalls now :)

[quote name='d2hacker88' date='Jan 6 2005, 05:10 PM']Can someone please help me out with autoit like gimme a link on how to use it cause i have no experience with computer languages and i'd like to make a program with autoit in order to empress my computer teacher.[right][snapback]52215[/snapback][/right][/quote]

Share this post


Link to post
Share on other sites

I hopes so, but AFAI saw the most interesting ones are already in Autoit. The other intersting ones are very hard or undoable.

(Thats why they are not in AutoIt yet, anyway :) )

Luckly some still are there for discovering. Good hunt.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0