Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently December 23rd, 2024, 3:42 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Date countdown
PostPosted: February 27th, 2010, 10:31 am 
Offline

Joined: December 29th, 2004, 12:00 pm
Posts: 230
Location: Auckland NZ
Opus: v 7.04
OS: xp & win7
I want to put a flash banner on a website which counts down to a launch date.
I'm guessing I have to get the launch date which is the number of milliseconds that have passed since Midnight 1/1/1970.
then get system current date in the same format
then subtract one from the other
then convert that number of milliseconds into days.
I am only interested in days, not hours, seconds...

unfortunately I don't even know how to begin with this script...
any advice would be welcome

thanks in advance
Mac

_________________
Opus Pro 7.04 - win10


Top
 Profile  
 
 Post subject:
PostPosted: March 1st, 2010, 3:22 pm 
Offline

Joined: November 5th, 2004, 1:45 pm
Posts: 92
Location: Lancashire, UK
This is the script that I use, within Opus, to determine "how many days until..."

Code:
var EndDate = new Date(2010,6,30,0,0) // months are 0 to 11
var Today = new Date()
var x = EndDate.getTime()
var y = Today.getTime()
var z = (x - y)/86400000
DaysLeft = Math.floor(z)



Andrew

_________________
WinXPHome, Opus Pro 7, Presto 2


Top
 Profile  
 
 Post subject:
PostPosted: March 1st, 2010, 8:04 pm 
Offline

Joined: December 29th, 2004, 12:00 pm
Posts: 230
Location: Auckland NZ
Opus: v 7.04
OS: xp & win7
Thank you Andrew- I was gettng really bogged down there.
Good of you to help

_________________
Opus Pro 7.04 - win10


Top
 Profile  
 
 Post subject: Any doubts of script...
PostPosted: March 18th, 2010, 5:03 pm 
Offline

Joined: December 13th, 2008, 3:15 pm
Posts: 152
Location: Brasil
Opus: 7
OS: Windows 7 x64
System: Asus P5Q3 Deluxe, Core 2 Duo E8500, 8 Gb DDR3 1333 mhz, His IceQ5 5770 HD Graphic Card, Samsung T220 Monitor; Lenovo G550 T6600, 4 GB DDR3 - 15,6".
Andrewq, is how to adapt your script to act as a counter of days of software installed on the User Computer?

I would like to use this script to control an final expiration date of the software that I am creating, allowing it to expire in 180 days from the final activation, in the process allowed by Eval Key Gen of Opus 6.

The problem is how to make this script work if the User uninstall the software or format the computer and reinstall the software again. Another possible behavior is to change the date to install the software to bypass the computer data. Any suggestions?

_________________
"To the ignorant, old age is the winter of life, for the wise, is the season of harvest."
It is not easy to translate the world into a binary code of 0s and 1s, but in scripts, anything is possible!


Top
 Profile  
 
 Post subject:
PostPosted: March 18th, 2010, 11:04 pm 
Offline
Godlike
Godlike
User avatar

Joined: March 21st, 2007, 10:44 am
Posts: 3188
Location: UK
Opus: Evolution
Opus already has a built in system for this which can be accessed either through the Opus dialogue or custom scripted solution.

Anything else, requires a lot of more effort which has to be weighed against the 'true' value of the object you're protecting.

The easiest 'safe' method that will prevent most circumvention is an on-line unique key check.

Mack

_________________
When you have explored all avenues of possibilities, what ever remains, how ever improbable, must be the answer.

Interactive Solutions for Business & Education
Learn Anywhere. Learn Anytime.

www.interaktiv.co.uk
+44 (0) 1395 548057


Top
 Profile Visit website  
 
 Post subject: I need something more...
PostPosted: March 26th, 2010, 7:42 pm 
Offline

Joined: December 13th, 2008, 3:15 pm
Posts: 152
Location: Brasil
Opus: 7
OS: Windows 7 x64
System: Asus P5Q3 Deluxe, Core 2 Duo E8500, 8 Gb DDR3 1333 mhz, His IceQ5 5770 HD Graphic Card, Samsung T220 Monitor; Lenovo G550 T6600, 4 GB DDR3 - 15,6".
Mac, I do not know how to implement a protection through escripts therefore need to protect an entire software that needs to be installed on the computer User. Another problem is that most of these computers can not access the web to check the protection.

Some time ago I saw a recommendation here in the forum on a third-party software that would make this more effective protection. But I can no longer find that post.

Could you recommend some protection software that allows installation and checking of real-time protection in the PC User?

_________________
"To the ignorant, old age is the winter of life, for the wise, is the season of harvest."
It is not easy to translate the world into a binary code of 0s and 1s, but in scripts, anything is possible!


Top
 Profile  
 
 Post subject:
PostPosted: March 27th, 2010, 3:42 pm 
Offline
Godlike
Godlike

Joined: November 11th, 2004, 1:18 pm
Posts: 1213
Location: New York
Opus: Opus Pro 9.75
OS: Windows 10 Pro 64 bit
System: Core i7, 16G RAM, Nvidia 640GT (desktop), plus Windows 10 and Android tablets
Hi,

Is this what you are looking for?

http://www.EnigmaProtector.com

I've used this software. It works well with Opus executable pubs and provides many different advanced types of protection features.

However, for your needs, the hardware locking already available in Opus, when you set up an evaluation in the security tab, may be sufficient. Check out the Opus help files on security and evaluation versions.

HTH

Kind Regards,

_________________
Stephen


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 37 guests


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group