Messages - r0bertdenir0 [ switch to compact view ]

Pages: prev1 [2] 3 4 5 6 7 ... 10next
6
I don't have the time 2 do it ryt now but this would be a small app in autohotkey that checks the size & position of the secondary monitor & overlays it with a black screen when you press yr hotkey.
Press again & the overlay wud go away - this wudn't turn off the monitor but give a similar effect.
If you wanna do a proper turn off that's a hardware thing (I think).
Maybe if yr secondary monitor is plugged into an X10 switch & then yr hotkey would use the X10 USB interface to toggle that monitor on/off.
But it's possible the Windows Power API's have some obscure method that allows you 2 turn individual monitors on/off rather than all monitors.
Think the AHK idea wud be the quickest to implement.
Maybe take skrommel's ghoster app & modify it a little.

7
Post New Requests Here / Re: Idea: Invert Volume
« on: September 29, 2009, 03:38 AM »
Wat about a cheat...
Let's say only this dial is changing the master volume.
Now what if you had a AHK script startup & save the current master volume as a baseline.
Then watch for the VKAF code. But let the default keyboard handler adjust volume.
Then compare new volume against previous volume & that difference is yr inversion value.
So if yr baseline is 50, and you adjust the volume to 70, take the difference of 20 & turn yr 50 to 30.
The set 30 as yr new baseline.
Voila inversion!

This could get ugly if the volume change is not low level & AHK gets the scancode b4 the default handler. Then you'd need a timer delay. But that's unlikely since this is probably driver behaviour & also if you turn off AHK's keyboard hook so it gets events last.

I also suspect this wud have a strange sound effect when you turn the dial continuously as the volume would see-saw between what Windows & you're trying 2 do with the volume :D  :D

8
Well now you're talking about making a pretty UI to control this thing & that's the tedious stuff. :-\
Cos thinking up a good UI & all the weird things a user can do 2 screw it up is the hardest bit of programming...

OK, here's what I'm thinking:
Instead of categories fixed in yr code, you need to actually save yr categories to disk & give the user some UI to modify them (add, remove, edit) & also select the categories.
Seems like you basically gonna create a custom categories manager.  :tellme:

I'll guide you on yr way & if you have any questions just ask back here.
Here's wat I wud do

1. Save the categories using either the registry or a file. You can find lotsa VB code on the net to save settings to an xml file & that's a gud way 2 go so you can move settings between machines. Otherwise use the registry (SaveSetting / GetSetting)

2. First get it working by copying yr categories to yr file/registry & see if you can read them properly each time.
3. On Outlook shutdown, delete the custom toolbar to ensure a clean startup.
4. On Outlook startup, recreate the toolbar, then read the settings & create the buttons for each item.
5. When you read the settings, I would suggest writing them to a VB Collection - by putting the category as an Item's collection Key & also into the Tag field of the related toolbar button, you can easily track which button the user is clicking & retrieve from the collection.

6. Now that you have it working from file/registry with fixed number of categories, you'll want to create a UI so users can add/remove their own categories.
7. Just make this with a simple UserForm & a listbox, with Add, Delete, OK buttons. This will allow users to modify the categories. When the user clicks OK, you'll have 2 delete the toolbar & recreate it just like at startup so user changes are implemented. But that will just be a simple matter to call yr Shutdown & Startup code you already implemented.
8. Perhaps instead of buttons 4 each category which can get cluttered, use the dialog you made to add/remove to also set the categories by using a checked-listbox?
This would be a non-modal form, and as the user moves between different mail items - the form would just show the categories for the active mail item. The checked-listbox would be used to add/remove categories from the active item & also add/remove global categories from the list.
This could be made a pretty slick interface.
If you do this then remember that besides adding yr categories to the listbox, you must also add any existing categories from that mail item which may have come from another person.

This shud set you off in the ryt direction - any questions or other ideas just ask.

9
I can think of workarounds tho.
Like if you a window group is already active, then hover does not reactivate the group but show the task menu.
In other words if you hover over an inactive group, they r activated & brought forward.
Once the are activated, hovering displays the menu 2 select which window you want.

Is that wat you were thinking or did you have sumthing else in mind?

10
The problem I see is with maximized windows.
What if you activate a group & the window that pops 2 the front of the group (based on z-order as you describe) is not the window you want, but is maximized?
Clicking the taskbar is not gonna work cos the button does it's auto-activate thing on hover.
So the only option you have is 2 de-maximize & move it outta the way so you can activate the window you want.

Pages: prev1 [2] 3 4 5 6 7 ... 10next
Go to full version