Jump to content

Using Script-Filter with external JSON file

Recommended Posts

Hello everybody,


I want to build a little workflow that reads a file containing JSON. The documentation does not really help me with that though, because the used example assumes that the content will be written within Alfred. I'm pretty sure there is a very simple solution to this, but I'm not really good with the Terminal etc. 


cat << EOB
{"items": [

		"uid": "desktop",
		"type": "file",
		"title": "Desktop",
		"subtitle": "~/Desktop",
		"arg": "~/Desktop",

##### Should be replaced with something like

cat << JSON.file ##### or something like that


I've attempted editing the .plist file that contains the JSON from within Alfred, but that results in encoding problems. 


I hope I could get my problem across. Otherwise, I'll gladly provide more information 

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...