Alright, I've done my introduction, So now its time to get down to business >:D
The enigma toggle is a very interesting thing, what interests me is how it works I will admit upfront, that I have absolutely no idea how rainmeter works. Now that we have established my incompetence, I make my proposal.
I monitored the system calls from rainmeter, got the state of the file that I believed controlled the on\off, and my plan was simple, I got the file while the state was on, and while it was off. Opened up Cygwin, ran a diff on them and came to the conclusion of this:
When toggle == hide
Code: Select all
State1=Show
State2=Hide
Code: Select all
State1=Hide
State2=Show
My attention now focuses on:
Code: Select all
LeftMouseUpAction=!Execute [!Rainmeter#State1#Group EnigmaSidebar][!RainmeterWriteKeyValue Variables State1 #State2#][!RainmeterWriteKeyValue Variables State2 #State1#][!RainmeterRefresh]
(Hold your skulls, your mind will be blown)
When you click the left mouse button, it executes a call to rainmeter to find state one in the group "Enigma Sidebar", then it writes the value of state1 in state2, and then state2 in state1 (hey.... wouldn't that mean one==two, so then two==one?) Then refreshes rainmeter...
So from that highly technical readout, I can see that I just did exactly what I did by hand to text it... and I ... well... I'm back at square one without learning anything.
So ... The Epic Purpose!
I want to learn what, if any, dll calls this makes, and if I can replicate its function in autohotkey (I can take care of that part, no worries)... So what I need to know, is EXACTLY what that string dose to hide rainmeter, and exactly what I did wrong when I tested my theory.
If I can get this working, I can make it so you can toggle enigma via a keyboard and/or mouse shortcut, and distribute an executable for this purpose, savy?
PS: How was my first post?