dustinrue / ControlPlane

ControlPlane - context-sensitive computing for OS X
http://www.controlplaneapp.com
BSD 3-Clause "New" or "Revised" License
1.76k stars 180 forks source link

Values of different rules #121

Open Sheraff opened 12 years ago

Sheraff commented 12 years ago

Hi,

i love ControlPlane (this is my second post, but I can't say that enough), but I'd love it even more if I could get it to behave exactly the way I want !

And sometimes I think that just seeing actual values of the different rules could be very useful ! (what is the current light value ? where does it think core location is ? Is it at "sleep", "wake" or none of them ? what does my shellscript return ? ...)

Thanks ! Keep the good work !

djbe commented 12 years ago

That's not seeing the value of rules but what the sources are seeing.

Most of the rules already display their current "value", for example the device (usb, firewire) and wifi rules only populate their options with what they're currently seeing. Core location shows it's current location as a marker on the map if I'm not mistaken. This isn't something that's doable for every rule/source (shell script).

What we can do (and I suggest doing this in the rewrite) is putting a small indicator next to each rule to show wether it's matching or not.

Sheraff commented 12 years ago

That would be awesome ! Ah ah ! The ability to check whether our set of rules works or not, and why !

(though, core location doesn't show anything on my computer and i don't know why since it works fine with sidekick or even google maps, but that's another story)

Thanks for the interest and fast reply !

djbe commented 12 years ago

Not to put a damper on your enthusiasm, but seeing this feature might take a while, the rewrite is a WIP, and as I currently have exams I can't work on it. We'll see how fast it goes afterwards.

Sheraff commented 12 years ago

I wish I know something else than C# and AppleScript ! But I'm patient !

dustinrue commented 12 years ago

I really like this one and have thought the same thing. I'm going to squeeze this into the current series as a simple green/red icon next to each rule. It can be more elaborate in CP2 but a simple indicator of if a rule is matching or not would be useful.

Sheraff commented 12 years ago

sweet !