#!/usr/bin/swift | |
import Foundation | |
let path = URL(fileURLWithPath: NSString(string: "~/Library/Application Support/.ffuserdata").expandingTildeInPath) | |
let data = try! NSData(contentsOf: path) as Data | |
let dictionary = try! NSKeyedUnarchiver.unarchiveTopLevelObjectWithData(data) as! NSDictionary | |
let mutableDictionary = dictionary.mutableCopy() as! NSMutableDictionary | |
for (key, value) in mutableDictionary { | |
if value is NSDate { | |
mutableDictionary[key] = Date() | |
} | |
} | |
try! NSKeyedArchiver.archivedData(withRootObject: mutableDictionary, requiringSecureCoding: false).write(to: path) | |
print("You'd better buy it") |
@murfs0, this is the link for the 10.4.8 trial of Logic. This version works for High Sierra(10.13.6).
http://updates-http.cdn-apple.com/2020/macos/061-91615-20200326-7bf76b54-681e-4abb-94f6-d9db3ec445bc/LogicProXTrial.dmg
Thanks - I‘ve already bought it and have the right version. Thanks anyway
@tueng1 Ha-ha, nice
How to reset logic pro free trial??
mv -v ~/Library/Application\ Support/.ffuserdata ~/.Trash
mv: rename /Users/username/Library/Application Support/.ffuserdata to /Users/username/.Trash/.ffuserdata: No such file or directory
Added later:
Actually I need Logic Pro reset trial, not Final Cut.
Sorry, pirate brothers. Aaaarrrrgggghhhh!
Whenever I try running the command it spits out override rw-r--r-- user/staff for /Users/user/.Trash/.ffuserdata? (y/n [n])
Thank you so much @tueng1
I use your method and it is amazing! It works!
For anyone who keeps forgetting which is the correct command to use, I made a simple gist. Feel free to save it so that you can come back to it later. Find it here: https://gist.github.com/TehBrian/bf82c7505b647d423da6d5abbe2b95a3
Just copied and pasted the command from above into my terminal and it worked! Final Cut went from 46 days back to 90! Awesome! Is there a command we can use for Logic Pro?
Logic Pro X Trial reset:
mv -v ~/Library/Application\ Support/.lpxuserdata ~/.Trash
Does anyone have a Logic Pro 10.5 trial download link? I have Mojave, this version is the highest I can use.
@dannote the last comment looks like some kind of scam.
@notxcain Removed it, thnx
Hi guys, I'm trying to run the command on my M1, but it still give me the error message "no such file or directory". Ran it on my intel mac and worked. Can you help me?
Hello! I am trying to run this on my Intel Mac running Monterey and I keep getting the error code "zsh: event not found: /usr/bin/swift"
How do I solve this? This is running in Terminal, it seems that's how it needs to be done.
Hello! I am trying to run this on my Intel Mac running Monterey and I keep getting the error code "zsh: event not found: /usr/bin/swift"
How do I solve this? This is running in Terminal, it seems that's how it needs to be done.
@scriptivRED, try this script instead: https://gist.github.com/TehBrian/bf82c7505b647d423da6d5abbe2b95a3
Here's a one click solution for MacOS Monterey:
Run the Shortcuts App.
Click on the "+" to create new shortcut.
On the right search for "Run Shell Script" and create a new shortcut.
Paste in the command "rm ~/Library/Application\ Support/.ffuserdata". You can then press the "run" triangle to test it.
Under File menu (left upper screen) choose "Add to Dock" and close out.
You should now have a pink shortcut on your dock. ONE CLICK whenever you want to reset FCP (should also work for Logic Pro).
Note that clicking on the shortcut when FCP is already reset will give you an error that ".ffuserdata" is not found. Wait another day and it'll work.
BONUS: For the ultimate in laziness and convenience, edit this shortcut by ADDING the action "Open App" choosing FCP so one-click will reset FCP AND open FCP !!!