| Author |
Message |
Forum: Support Topic: Can anyone work out how to interact with the WIN+P window? |
| MiL0 |
|
Posted: July 11th, 2011, 9:32 pm
|
|
Replies: 7 Views: 235
|
| ah nevermind, I ended up scripting what I needed in VBS using Ultramon: Set sys = CreateObject("UltraMon.System") curHeight = 0 For i = 0 To 1 Set mon = sys.Monitors(CLng(i)) If mon.Primary = True Then curHeight = mon.Height Exit For End If Next For i = 0 To 1 Set m... |
|
 |
Forum: Support Topic: Can anyone work out how to interact with the WIN+P window? |
| MiL0 |
|
Posted: July 11th, 2011, 7:21 pm
|
|
Replies: 7 Views: 235
|
| BTW - what I'm trying to do is setup a hotkey that will toggle between two different screen modes. I need the script to be able to tell which mode is currently selected so that I can toggle between the two modes with just one hotkey (I want to use an HTPC remote control to switch between my LCD moni... |
|
 |
Forum: Support Topic: Can anyone work out how to interact with the WIN+P window? |
| MiL0 |
|
Posted: July 11th, 2011, 7:00 pm
|
|
Replies: 7 Views: 235
|
| I seem to always get "IsGrey" when I use your script... here's a screenshot: http://gyazo.com/a4f54085b1a21723d6d91e127b45f7f8.png Just to be clear, your script can detect which of the 4 display 'modes' is currently selected? Which mode is 'IsBlue' and which mode is 'IsGrey'? Thanks in adv... |
|
 |
Forum: Support Topic: Can anyone work out how to interact with the WIN+P window? |
| MiL0 |
|
Posted: July 10th, 2011, 11:08 pm
|
|
Replies: 7 Views: 235
|
| I'm trying to write a script that interacts with the WIN+P window/menu (allows you to choose which display you're using in Win7). Despite it clearly showing up in AutoIT Window Spy, I can't get AHK to recognise it properly. This is the script I'm using to test it: DetectHiddenWindows, on send #p Win... |
|
 |
Forum: Scripts Topic: ScreenMagnifier |
| MiL0 |
|
Posted: April 28th, 2011, 8:54 pm
|
|
Replies: 100 Views: 80434
|
| also looking for a method to rotate the cloned windows by 90/180 degress... feasible? |
|
 |
Forum: Offtopic Topic: Microsoft Kinect and AHK |
| MiL0 |
|
Posted: December 27th, 2010, 11:46 am
|
|
Replies: 14 Views: 1275
|
| if (No_human_body_infront_of_Camera()) { set_status("away", "MSN") set_status("away", "IRC") set_status("away", "Yahoo") } else { set_status("Available", "MSN"&... |
|
 |
Forum: Offtopic Topic: Microsoft Kinect and AHK |
| MiL0 |
|
Posted: December 26th, 2010, 6:06 pm
|
|
Replies: 14 Views: 1275
|
| I'm thinking something that tracks the head would be more useful (since hands are generally used for typing / using the mouse). What about moving your head towards/away from the screen to activate the zoom level in photoshop? |
|
 |
Forum: Offtopic Topic: Microsoft Kinect and AHK |
| MiL0 |
|
Posted: December 26th, 2010, 5:32 pm
|
|
Replies: 14 Views: 1275
|
ah that's a shame.
there must be a useful implementation... seems like the kinect has a lot of potential  |
|
 |
Forum: Offtopic Topic: Microsoft Kinect and AHK |
| MiL0 |
|
Posted: December 26th, 2010, 4:48 pm
|
|
Replies: 14 Views: 1275
|
| Did a search on the forums and not found anyone discussing the Kinect hacks. Anyone thought about how the Kinect could be used to interface with Windows with an AHK library/script? One immediate use I can think of would be to get the Kinect sensor bar to capture a users head location in relation to ... |
|
 |
Forum: Scripts Topic: Midi Input/Output combined - with System Exclusive! |
| MiL0 |
|
Posted: November 18th, 2010, 12:15 am
|
|
Replies: 97 Views: 12551
|
| I think the problem here is an issue of momentary button presses and continuously outputting data controllers (such as analogue sticks, mouse movement, etc). hotkeyTOmidi_1.ahk is designed so it contains a list of hotkeys that, when activated, will output certain midi data. If the hotkey has a loop ... |
|
 |
Forum: Scripts Topic: Midi Input/Output combined - with System Exclusive! |
| MiL0 |
|
Posted: November 18th, 2010, 12:01 am
|
|
Replies: 97 Views: 12551
|
| yeah, I tried the following: joyX_last := -1 ; initialize MsgBox is this line being read? SetTimer, loop, 100 ; run the loop every 100 ms return Loop: { MsgBox is the loop running? GetKeyState, JoyX, JoyX ; Get position of X axis. CCIntVal := JoyX ; assumes Joyx goes from 0...127, no idea wheth... |
|
 |
Forum: Scripts Topic: Midi Input/Output combined - with System Exclusive! |
| MiL0 |
|
Posted: November 17th, 2010, 9:36 pm
|
|
Replies: 97 Views: 12551
|
| that doesn't work unfortunately - as far as I can tell, the loop is never triggered. |
|
 |
Forum: Scripts Topic: Midi Input/Output combined - with System Exclusive! |
| MiL0 |
|
Posted: November 17th, 2010, 1:57 pm
|
|
Replies: 97 Views: 12551
|
| Thanks - that works fine... the only thing is, I'm trying to get the analogue sticks to work all the time (not when a hotkey is used). So, whilst pressing F10 to activate the loop is okay, it's not exactly practical if you're using loads of analogue outputs. What I need is a way for the loop to acti... |
|
 |
Forum: Scripts Topic: Midi Input/Output combined - with System Exclusive! |
| MiL0 |
|
Posted: November 17th, 2010, 12:07 am
|
|
Replies: 97 Views: 12551
|
| never done that, but sounds like you need a loop every 1/10 of a second or so that does 1. get the state of the USB analog stick 2. Translate into 0..127 value 3. If value = last value, return 4. last value = value 5. USB out(value) 6. return all but #1 is documented here. #1, I would search on the... |
|
 |
Forum: Scripts Topic: Midi Input/Output combined - with System Exclusive! |
| MiL0 |
|
Posted: November 15th, 2010, 10:22 pm
|
|
Replies: 97 Views: 12551
|
| was wondering if anyone can help me... I'm trying to modify hotkeyTOmidi_1.ahk so that it accepts input from a usb gamepad. I can get it to work with joypad buttons, for example: Joy8:: { cc_num = 7 CCIntVal := 1 midiOutShortMsg(h_midiout, (Channel+175), CCnum, CCIntVal) } ... |
|
 |
| Sort by: |