B
B
Berry Moor2015-09-22 01:16:40
macOS
Berry Moor, 2015-09-22 01:16:40

How to substitute false time for applications?

Is there a utility or other way to run certain applications with a false date substitution?
A couple of applications crash after "trial expired", but if you rewind the system time a month ago, they work great.
But changing global time is problematic... is there any other way... selective..?
On Windows it's called something like Date Hack ....

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
Berry Moor, 2015-09-28
@Berrymoor

I found the solution myself ...
1. Run the Apple Script Editor (Script Editor - available in the standard set of Utilities)
2. Insert the following code:

do shell script "/usr/sbin/systemsetup -setusingnetworktime off " with administrator privileges
do shell script "/usr/sbin/systemsetup -setdate ' 04:07:15 '" with administrator privileges
tell application " Program name "
activate
end tell
do shell script "/usr/sbin/systemsetup -setusingnetworktime on" with administrator privileges

3. Compile the script and save it as "application"
4. Run what we saved...
As a result, you have a loader for the desired application with date substitution!
PS Bold is what you need to change at your discretion)

S
Sergey Savostin, 2015-09-22
@savostin

Well, you are an it-shnik (otherwise what are you doing here). Maybe even a little programmer. Write your own application that will do this. It's easy. You will like it, your friends will like it. You will definitely want to sell it. And then you will understand that it was not so easy to write and maintain it. Your work is no better than the work of a programmer of programs you like. And programmers are not greedy bags of money that are trying to fit into your pocket. Thank you.
PS So carried away by moralizing that I forgot about constructive. Find a free analogue if there is no money to buy.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question