View Single Post
Old 04-05-2014, 04:21 PM   #9
Eradicatore
i void warranties
Eradicatore can extract oil from cheeseEradicatore can extract oil from cheeseEradicatore can extract oil from cheeseEradicatore can extract oil from cheeseEradicatore can extract oil from cheeseEradicatore can extract oil from cheeseEradicatore can extract oil from cheeseEradicatore can extract oil from cheese
 
Eradicatore's Avatar
 
Posts: 22
Karma: 1038
Join Date: Apr 2014
Location: Wisconsin
Device: Kindle PW2
Hi knc,
So I installed KUAL, and have it working (like I can toggle USBnet hack etc). Great advice on using that to run my scripts. I also installed the KUAL helper scripts and used that as an example for running my own shell scripts. Seemed like it was going to be a cakewalk. But then I got a synxtax error on the menu.json. I tried using template 1 from this KUAL help link also but that didn't work either.

So my issue is I see in the KUAL main menu "KUAL <big bold dot> 1 <submenu arrow>" as the first item. Then if I click in there I see a button second to last with the label "<big bold dot> Syntax quotes/menu.json"

I made a sub folder in extensions called "quotes" and in there I have menu.json, config.xml, and bin folder (with my sh scripts). So basically a copy of "helper".

My new menu.json looks like this:

Code:
{
	"items": [
	{
		"name": "QuoteRotation",
		"priority": 0,
		"items": [
		{
			"if": "\"KindleTouch\" -m \"KindlePaperWhite\" -m \"KindlePaperWhite2\" -m || ||",
			"name": "Start",
			"priority": 1,
			"action": "bin/wrap_ssloop.sh"
		},
		{
			"name": "Exit",
			"priority": 2,
			"action": "bin/rm_ssloop_lock.sh",
		}
		]
	}
	]
}

Any ideas? Are there logs somewhere from KUAL that will give more details on the syntax error perhaps?
Eradicatore is offline   Reply With Quote