Littlesnitch preferences has an option to allow GUI scripting access. I think that might be what you're looking for; you could try it and see if it works.
↧