R4z3r Posted March 20, 2013 Posted March 20, 2013 (edited) Hey Everyone, I just wanted to share my solution for using a keyword to modify an option. I added a config.json file to my workflow and require it in my script filter. This allows me easily access and modify the values. Hope it helps! See how I did it in my workflow: https://github.com/kkirsche/TVRage-Alfred_Workflow For mine, for time's sake, I did: $string = file_get_contents('config.json'); $decodedJSON = json_decode($string, true); $decodedJSON['12hrtimezone'] = true; $encodedJSON = json_encode($decodedJSON); file_put_contents('config.json', $encodedJSON); Edited March 21, 2013 by R4z3r Amoftcoorb and rice.shawn 2
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