forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


WAIT speed
Goto page Previous  1, 2
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Sun Dec 17, 2006 4:38 pm    Post subject: Reply with quote

vtol & Dave,
GadgetX has a Sleep command which takes time values in milliseconds. So you can do this Sleep 10 and GadgetX will pause the script for 10 milliseconds. When the time is up it fires an TIMER event.

_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Hooligan
VDS Developer
VDS Developer


Joined: 28 Oct 2003
Posts: 480
Location: California

PostPosted: Sun Dec 17, 2006 4:39 pm    Post subject: Reply with quote

GadgetX has a sleep command that is advertised to operate with millisecond resolution. I haven't tried it yet, though.

Hooligan

(Edit: I think DragonSphere posted about 1 millisecond faster than me...)

_________________
Hooligan

Why be normal?
Back to top
View user's profile Send private message
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Sun Dec 17, 2006 4:47 pm    Post subject: Reply with quote

Hi All,
You can see a demostration of the Sleep command in my VDSWmp.dsc demo. It uses the Sleep command so that the VDS dialog repaints faster after a user chages the Windows Media Player view.

_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Mon Dec 18, 2006 7:40 pm    Post subject: Reply with quote

hmm
Your sleep commad reminded me of the old DOS BATCH sleep(ping command), I think it will work in the place of the delay.dll, I'll try it later.

oh yeah, I'm gonna buy GadGet about May or June, I'm broke right now like most the time Embarassed

I've been real excited about buying it it for years, or it seems like years Laughing
Great job on GadGet, super nice VDS goodys.
Back to top
View user's profile Send private message Visit poster's website
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Mon Dec 18, 2006 8:27 pm    Post subject: Reply with quote

TimeDate.DLL also features a WAIT function - wait time specified in millisecs.

Greetz
Dread

_________________
~~ Alcohol and calculus don't mix... Don't drink and derive! ~~

String.DLL * advanced string processing
Back to top
View user's profile Send private message
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Mon Dec 18, 2006 10:37 pm    Post subject: Reply with quote

Awesome Dr Dread Surprised

The dreaded allways come thru Cool

Thanks a billion Doc, that will prolly be what i need right there.
Back to top
View user's profile Send private message Visit poster's website
SnarlingSheep
Professional Member
Professional Member


Joined: 13 Mar 2001
Posts: 759
Location: Michigan

PostPosted: Mon Dec 18, 2006 10:51 pm    Post subject: Reply with quote

Or the API solution?
Code:

LOADLIB kernel32.dll
info Waiting half a second until next 'INFO'
%%waitTime = 500
%P = @lib(kernel32,Sleep,INT:,%%waitTime)
info Now waiting 2 seconds until next 'INFO'
%%waitTime = 2000
%P = @lib(kernel32,Sleep,INT:,%%waitTime)
info Done waiting.

_________________
-Sheep
My pockets hurt...
Back to top
View user's profile Send private message Send e-mail
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Mon Dec 18, 2006 11:30 pm    Post subject: Reply with quote

Cool, cant wait to try that Shocked

I finally installed that keygen stuff Snarling, all works great. Cool
Back to top
View user's profile Send private message Visit poster's website
SnarlingSheep
Professional Member
Professional Member


Joined: 13 Mar 2001
Posts: 759
Location: Michigan

PostPosted: Tue Dec 19, 2006 1:13 am    Post subject: Reply with quote

Glad to hear it.
_________________
-Sheep
My pockets hurt...
Back to top
View user's profile Send private message Send e-mail
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Tue Dec 19, 2006 9:57 am    Post subject: Reply with quote

I haven't tested this but VDS has an OPTION SLEEPTIME in milliseconds and I think the WAIT command will sleep for one interval of this even if you put WAIT 0.
_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
DaveR
Valued Contributor
Valued Contributor


Joined: 03 Sep 2005
Posts: 413
Location: Australia

PostPosted: Tue Dec 19, 2006 1:47 pm    Post subject: Reply with quote

Timedate.dll was the one I was thinking of - no offense to GadgetX

vtol,

I just tried your example code with Jule's suggestion. I used OPTION SLEEPTIME,1 with WAIT 0.01 in place of your %x = @DELAY(12) and it works great! Faster than your example and with no errors. And you can see the difference between WAIT 0.01 and WAIT 0.02 now.

_________________
cheers

Dave
Back to top
View user's profile Send private message
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Tue Dec 19, 2006 3:02 pm    Post subject: Reply with quote

Dave,
No offense taken... The Sleep command in GadgetX was not designed to replace the general WAIT command in VDS. It was designed to replace the WAIT EVENT command in VDS.

_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Tue Dec 19, 2006 5:44 pm    Post subject: Reply with quote

Thank you TechPro Jules Very Happy , I figured VDS5 would not forget something like that, I'm just not good at finding things Embarassed

And thank you for working it all out Dave Smile

I tryed your Tech-Pro Partition Recovery software at your site Julian, very nice.

Now when I do need this, I will be ready next time Wink
Back to top
View user's profile Send private message Visit poster's website
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Wed Dec 20, 2006 10:44 am    Post subject: Reply with quote

It's not mine, unfortunately. I'm just a reseller.

If CR took my advice, we'll be able to resell VDS 6 too, if we want to. It would be an opportunity for those who are enthusiasts of VDS to take a role in promoting it. But at the moment, like the rest of you, I'm still waiting for Christmas. Smile

_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group