BlackCat Posted September 16, 2009 Share Posted September 16, 2009 Hi all! Thank u every body help me check my tool: http://www.autoitscript.com/forum/index.php?showtopic=102420&view=&hl=&fromsearch=1 Now, I want add more code for my tool. Example: I want my tool working before at 09/17/2009 and not working after at 09/18/2009. Plz, help me code... Link to comment Share on other sites More sharing options...
bogQ Posted September 16, 2009 Share Posted September 16, 2009 I want my tool working before at 09/17/2009 and not working after at 09/18/2009. Plz, help me code... If @YEAR&@MON&@MDAY >= 20090918 Then MsgBox(0,"","Sry cant work now") Else MsgBox(0,"","I can work") EndIf 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...
BlackCat Posted September 19, 2009 Author Share Posted September 19, 2009 Sorry! The code has problem. I want make code for my tool Example: Before 12/12/2009, I can use tool. But, after 12/12/2009, I can't open(use) it Link to comment Share on other sites More sharing options...
BlackCat Posted September 19, 2009 Author Share Posted September 19, 2009 Help help help Link to comment Share on other sites More sharing options...
colafrysen Posted September 19, 2009 Share Posted September 19, 2009 Well, whats wrong with the code that bogQ posted? it does what you want right? If you wanted him to insert it into your script, I think you are asking for to much, however heres how to do it... Just add a Exit after the messagebox that says "Sry cant work now", and insert the rest of the script between the If and the Else [font="Impact"]Use the helpfile, It´s one of the best exlusive features of Autoit.[/font]http://support.microsoft.com/kb/q555375ALIBI Run - a replacement for the windows run promptPC Controller - an application for controlling other PCs[size="1"]Science flies us to the moon. Religion flies us into buildings.[/size][size="1"]http://bit.ly/cAMPZV[/size] 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