Actually, I'm looking for a very simple 7 day trial run code.
Eg. Each time the program is run, it goes online check the date, if the online date is between 24 Jun 2015 and 30 Jun 2015, the program then continue executing the rest of the code. If online date is outside 24 Jun 2015 and 30 Jun 2015, then it prompt trial expired.
There is any link or example I can use for the above?
Thanks.
Is there an example of a 7 day trial run code?
Moderators: Dorian (MJT support), JRL
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Re: Is there an example of a 7 day trial run code?
Hi,
Where do you want it to get the date from? This can be done using the HTTPRequest function to get it from a web service, or web page.
Where do you want it to get the date from? This can be done using the HTTPRequest function to get it from a web service, or web page.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
Re: Is there an example of a 7 day trial run code?
I just need a simple example to implement.
Currently looking at http://www.timeanddate.com/ and http://time.is/
Whichever is easier would be fine with me
Currently looking at http://www.timeanddate.com/ and http://time.is/
Whichever is easier would be fine with me
-
- Macro Veteran
- Posts: 252
- Joined: Fri Apr 15, 2005 8:32 am
Re: Is there an example of a 7 day trial run code?
Any simple way to do this: to get the date from online? Thanks!
Re: Is there an example of a 7 day trial run code?
Code: Select all
HTTPRequest>https://www.timeanddate.com,,GET,,Web_Page
RegEx>(?<=id="ij2">).*?(?=</span>),Web_Page,0,match,nm,0
MDL>Match_1
-
- Macro Veteran
- Posts: 252
- Joined: Fri Apr 15, 2005 8:32 am
Re: Is there an example of a 7 day trial run code?
Wow! Impressive! Thanks!
- CyberCitizen
- Automation Wizard
- Posts: 721
- Joined: Sun Jun 20, 2004 7:06 am
- Location: Adelaide, South Australia
Re: Is there an example of a 7 day trial run code?
Just make note you might want to have another check in place as well in case they block internet traffic.
FIREFIGHTER