WimpieWindhoos Posted March 18, 2011 Share Posted March 18, 2011 Hello everyone,I'm using AutoIt for a few years now and I like the simplicity. But I've a question about the 'Sleep' function. I want to use a negative value by sleep, for example Sleep(-60000). I want to do that to make a time machine from my computer.I don't know if I should do that because I suppose it will destroy the earth.Does anybody know whether it's safe or not?Thanks in advance,WimpieWindhoos Yes! Windows is shutting down! Link to comment Share on other sites More sharing options...
trancexx Posted March 18, 2011 Share Posted March 18, 2011 Of course it's safe. Earth is like a rock. ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted March 18, 2011 Share Posted March 18, 2011 Sleep() doesn't change the time so asking if it's safe to use for time-traveling purposes doesn't really make sense. _Date_Time_SetSystemTime on the other hand.... .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
WimpieWindhoos Posted March 18, 2011 Author Share Posted March 18, 2011 Thank you guys for your reply. It didn't do what I wanted, but thanks again for your reply. WimpieWindhoos Yes! Windows is shutting down! Link to comment Share on other sites More sharing options...
trancexx Posted March 18, 2011 Share Posted March 18, 2011 Of course it's safe. Earth is like a rock. ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted March 18, 2011 Share Posted March 18, 2011 Sleep() doesn't change the time so asking if it's safe to use for time-traveling purposes doesn't really make sense. _Date_Time_SetSystemTime on the other hand.... .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
MHz Posted March 18, 2011 Share Posted March 18, 2011 Does anybody know whether it's safe or not?I have tried and failed many times so perhaps you can succeed. Link to comment Share on other sites More sharing options...
trancexx Posted March 18, 2011 Share Posted March 18, 2011 WOW! What happened? ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted March 18, 2011 Share Posted March 18, 2011 My cat keeps staring at me like something is wrong, what the hell? .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
willichan Posted March 18, 2011 Share Posted March 18, 2011 Whoa. Déjà vu. A black cat went past us, and then another that looked just like it. My UDFs: Barcode Libraries, Automate creation of any type of project folder, File Locking with Cooperative Semaphores, Inline binary files, Continue script after reboot, WinWaitMulti, Name Aggregator, Enigma, CornedBeef Hash Link to comment Share on other sites More sharing options...
bogQ Posted March 18, 2011 Share Posted March 18, 2011 Is it friday the 13 already TCP server and client - Learning about TCP servers and clients connectionAu3 oIrrlicht - Irrlicht projectAu3impact - Another 3D DLL game engine for autoit. (3impact 3Drad related) There are those that believe that the perfect heist lies in the preparation.Some say that it’s all in the timing, seizing the right opportunity. Others even say it’s the ability to leave no trace behind, be a ghost. Link to comment Share on other sites More sharing options...
MHz Posted March 18, 2011 Share Posted March 18, 2011 Whoa. Déjà vu. A black cat went past us, and then another that looked just like it.your sanity depends on whether you took the red pill. I am still having problems getting Sleep() to work with negative integers. The time/space thing is not computable by todays silicone transistor technology. Perhaps jelly fried tidbits may work better. Link to comment Share on other sites More sharing options...
trancexx Posted March 18, 2011 Share Posted March 18, 2011 My cat keeps staring at me like something is wrong, what the hell? Shoot her or something. ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
AppTux Posted March 19, 2011 Share Posted March 19, 2011 (edited) After you shot the cat you can use Sleep(negative value) again and shoot it again. And again. And again. And again. And so on. Edit: I think it's better to move this story to the Chat section Edited March 19, 2011 by AppTux PowerSlide2UnlockiPhone look-a-like program you can use to lock your pc, you can't access your desktop again until the password is entered and the slider slided to the right. (really proud of it)-- After a time AutoIt and Windows, I switched to Mac. Don't expect me to answer anymore. Link to comment Share on other sites More sharing options...
WimpieWindhoos Posted March 19, 2011 Author Share Posted March 19, 2011 (edited) After you shot the cat you can use Sleep(negative value) again and shoot it again. And again. And again. And again. And so on. After the fourth time, my computer crashed, and now I can't go back in time, and it's dead (yes, completely dead), so I've just buried it. Goodbye, sweet cat WimpieWindhoos Edited March 19, 2011 by WimpieWindhoos Yes! Windows is shutting down! Link to comment Share on other sites More sharing options...
AppTux Posted March 19, 2011 Share Posted March 19, 2011 My computer is still alive!!!! Maybe your cat in a few minutes also!! Cat: Help me, I'm buried alive!! PowerSlide2UnlockiPhone look-a-like program you can use to lock your pc, you can't access your desktop again until the password is entered and the slider slided to the right. (really proud of it)-- After a time AutoIt and Windows, I switched to Mac. Don't expect me to answer anymore. Link to comment Share on other sites More sharing options...
WimpieWindhoos Posted March 19, 2011 Author Share Posted March 19, 2011 My cat hates to be dead. Yes! Windows is shutting down! Link to comment Share on other sites More sharing options...
willichan Posted March 20, 2011 Share Posted March 20, 2011 Would you people stop using negative sleep, please? I had to eat that leftover meatloaf four times already!!! My UDFs: Barcode Libraries, Automate creation of any type of project folder, File Locking with Cooperative Semaphores, Inline binary files, Continue script after reboot, WinWaitMulti, Name Aggregator, Enigma, CornedBeef Hash Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now