Traitor Posted January 18, 2013 Share Posted January 18, 2013 Hey guys, so I just got my first duck today and I'm loving it. However, I'm wondering if and when commands like CTRL ALT DEL will be available (as currently only 2 simultaneous key presses are possible). I have a number of tasks i'd like to automate that require 3 and 4 keys to be pressed at once. I think in the meantime I'll install the firmware to allow it to be both a HID and USB storage device and then plop a couple of of AutoHotKey exe's on it that can be run by the ducky script. The only place I don't see this working is from a login/lock screen that requires a CTRL ALT DEL first. I know its fairly trivial to press these keys before inserting the duck, but it would be nice to streamline the process and have everything in the ducky script. Thanks in advance. -Traitor Quote Link to comment Share on other sites More sharing options...
no42 Posted January 18, 2013 Share Posted January 18, 2013 (edited) Dnucna found that 2x modifiers can be OR'd together, currently supported are CTRL-ALT and CTRL-SHIFT (as of Duck Encoder V2.2) this allows CTRL-ATL DEL, and CTRL-SHIFT Enter } else if (instruction[0].equals("CTRL-ALT")) { if (instruction.length != 1) { file.add(strInstrToByte(instruction[1])); file.add((byte) (strToByte(keyboardProps.getProperty("MODIFIERKEY_CTRL")) | strToByte(keyboardProps.getProperty("MODIFIERKEY_ALT")))); } else { continue; } } else if (instruction[0].equals("CTRL-SHIFT")) { if (instruction.length != 1) { file.add(strInstrToByte(instruction[1])); file.add((byte) (strToByte(keyboardProps.getProperty("MODIFIERKEY_CTRL")) | strToByte(keyboardProps.getProperty("MODIFIERKEY_SHIFT")))); } else { continue; } More research with a usb sniffer is needed for other combo's. Edited January 18, 2013 by midnitesnake Quote Link to comment Share on other sites More sharing options...
Traitor Posted January 18, 2013 Author Share Posted January 18, 2013 Thank you so much. This works perfectly. Is there a specific place to look for updates to the list of supported key combos like this? I would love to have combos like CTRL ALT SHIFT F6, but I'm not quite sure where to keep my eyes peeled for updates. Thanks again, -Traitor Quote Link to comment Share on other sites More sharing options...
no42 Posted January 18, 2013 Share Posted January 18, 2013 Just watch the ducky forum, and the Firmware/Encoder development on http://code.google.com/p/ducky-decode. I think for 4+ keystrokes we have to change the way the whole process works. Unsual combo, is that for DeepFreeze? Quote Link to comment Share on other sites More sharing options...
Traitor Posted January 20, 2013 Author Share Posted January 20, 2013 Yeah, that particular one is for Deep Freeze. There are a couple of non-domain labs that we have that are running independently in the field that we have to update every couple of months. The more I can automate the process the easier it makes life. That and I can think of a few other projects that ducks will come in handy for. Thanks again for all the work you guys have done. I'll keep my eyes open for updates. -Traitor Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.