SeanMay Posted September 1, 2016 Share Posted September 1, 2016 (edited) Update: Send("^!{ESC}") did indeed work as expected, and the correct shortcut was utilized within the application we were interacting with. This thread wouldn't even have been necessary if I had realized I was mistakenly confusing the expected functionality of Ctrl+Alt+Esc with Ctrl+Shift+Esc... /facepalm. Hi folks, I understand that sending a Ctrl+Alt+Del through AutoIT isn't possible, but what about Ctrl+Alt+Esc? I've tried the following with no luck: Send("^!{ESC}") Send("{CTRLDOWN}") Send("{ALTDOWN}") Send("{ESC}") Sleep(1000) Send("{CTRLUP}{ALTUP}") Send("{CTRLDOWN}{ALTDOWN}{ESC}") The first scenario seemed like it was the most direct method, however it basically ignores the Ctrl and just does an Alt+Esc. Any clarification on what I might be doing wrong, or confirmation that there's no way to get this to work, would be greatly appreciated. Edited September 8, 2016 by SeanMay Issue fixed Link to comment Share on other sites More sharing options...
AutoBert Posted September 1, 2016 Share Posted September 1, 2016 (edited) Isn't possible for security reasons , read helpfile. Or jsut use Shutdown to execute this action. Edited September 1, 2016 by AutoBert Link to comment Share on other sites More sharing options...
spudw2k Posted September 1, 2016 Share Posted September 1, 2016 14 minutes ago, AutoBert said: Isn't possible for security reasons , read helpfile. Where? I can't find where that limitation is mentioned in the help file (searched Send and Send Key List help topics). Also...help me understand...what does ctrl+alt+esc have to do with shutdown? Doesn't appear to do anything on my Win 7 machine. Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX Builder Misc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retrieve SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose Array Projects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalc Cool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF Link to comment Share on other sites More sharing options...
AutoBert Posted September 1, 2016 Share Posted September 1, 2016 (edited) Quote N.B. Windows does not allow the simulation of the "CTRL-ALT-DEL" combination! ... Table with codes ... To send the ASCII value A (same as pressing ALT+065 on the numeric keypad) Send("{ASC 065}") If you want to shutdown windows use ShutDown. Edited September 1, 2016 by AutoBert Link to comment Share on other sites More sharing options...
argumentum Posted September 2, 2016 Share Posted September 2, 2016 (edited) Edited September 2, 2016 by argumentum Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting. Link to comment Share on other sites More sharing options...
iamtheky Posted September 2, 2016 Share Posted September 2, 2016 ctrl+shift+esc to bring up taskmanager? But really, sending keystrokes is probably unnecessary if you would reveal the endgame. ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__) Link to comment Share on other sites More sharing options...
SadBunny Posted September 2, 2016 Share Posted September 2, 2016 Both ctrl+shift+esc and ctrl+alt+esc work perfectly fine for me under W10: ; ctrl-alt-esc Send("^!{ESC}") ; ctrl-shift-esc Send("^+{ESC}") Roses are FF0000, violets are 0000FF... All my base are belong to you. Link to comment Share on other sites More sharing options...
iamtheky Posted September 2, 2016 Share Posted September 2, 2016 what does ctrl+alt+esc do? on my win 10 (14905.rs_prerelease) it has no function. ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__) Link to comment Share on other sites More sharing options...
spudw2k Posted September 2, 2016 Share Posted September 2, 2016 @AutoBert The OP acknowledged Ctrl+Alt+Del is not permitted...he asked about Ctrl+Alt+Esc. 10 hours ago, iamtheky said: ctrl+shift+esc to bring up taskmanager? But really, sending keystrokes is probably unnecessary if you would reveal the endgame. Agreed, to both the former and latter Both ctrl+shift+esc and ctrl+alt+esc work perfectly fine for me under W10: What does Ctrl+Alt+Esc do on your machine? Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX Builder Misc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retrieve SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose Array Projects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalc Cool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF Link to comment Share on other sites More sharing options...
genius257 Posted September 3, 2016 Share Posted September 3, 2016 On my pc it seems Ctrl+Alt+Esc minimizes the currently selected windows? If that's the goal then i would suggest something like: WinSetState( $hWnd, "", @SW_MINIMIZE ) My highlighted topics: AutoIt Package Manager, AutoItObject Pure AutoIt, AutoIt extension for Visual Studio Code Github: AutoIt HTTP Server, AutoIt HTML Parser Link to comment Share on other sites More sharing options...
iamtheky Posted September 4, 2016 Share Posted September 4, 2016 or alt+m for most everything ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__) Link to comment Share on other sites More sharing options...
SeanMay Posted September 6, 2016 Author Share Posted September 6, 2016 Hi folks, Ctrl+Alt+Esc should bring up the task manager. If you're seeing behavior resulting in a minimized application, you're probably pressing Alt+Esc, or the Ctrl isn't being recognized, which is what happens to me when I try and use ^!{ESC}. In my case, a customer is opening a 3rd party remote control application (think VNC), but sometimes the Ctrl+Alt+Del screen is presented when the machine isn't already logged on. Ctrl+Alt+Esc is the keyboard shortcut to "send" a Ctrl+Alt+Del through the app according to the makers of the app. I find it a bit odd that they didn't choose some other unused combination of keys to trigger that action within their software, but that's another story. So, we're definitely not looking to minimize a screen, and we're definitely not trying to pass a Ctrl+Alt+Del. Thanks everyone for your replies (even those that thought this was about Ctrl+Alt+Del ). Link to comment Share on other sites More sharing options...
spudw2k Posted September 6, 2016 Share Posted September 6, 2016 For me, Ctrl+Shift+Esc has always been the reliable way to quickly launch task manager (unless disabled by policy). Is there a menu item to send Ctrl+Alt+Del in the 3rd party (VNC like) app? Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX Builder Misc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retrieve SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose Array Projects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalc Cool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF Link to comment Share on other sites More sharing options...
rcmaehl Posted September 6, 2016 Share Posted September 6, 2016 (edited) 2 hours ago, SeanMay said: Hi folks, Ctrl+Alt+Esc should bring up the task manager. If you're seeing behavior resulting in a minimized application, you're probably pressing Alt+Esc, or the Ctrl isn't being recognized, which is what happens to me when I try and use ^!{ESC}. In my case, a customer is opening a 3rd party remote control application (think VNC), but sometimes the Ctrl+Alt+Del screen is presented when the machine isn't already logged on. Ctrl+Alt+Esc is the keyboard shortcut to "send" a Ctrl+Alt+Del through the app according to the makers of the app. I find it a bit odd that they didn't choose some other unused combination of keys to trigger that action within their software, but that's another story. So, we're definitely not looking to minimize a screen, and we're definitely not trying to pass a Ctrl+Alt+Del. Thanks everyone for your replies (even those that thought this was about Ctrl+Alt+Del ). You could possibly bring up the on-screen keyboard on the remote machine, through accessibility or the like. Other than that Windows Remote Desktop isn't really that feature packed. Edited September 6, 2016 by rcmaehl My UDFs are generally for me. If they aren't updated for a while, it means I'm not using them myself. As soon as I start using them again, they'll get updated.My Projects WhyNotWin11Cisco Finesse, Github, IRC UDF, WindowEx UDF Link to comment Share on other sites More sharing options...
iamtheky Posted September 6, 2016 Share Posted September 6, 2016 (edited) Quote Hi folks, Ctrl+Alt+Esc should bring up the task manager. No, it shouldnt, unless you have an application or driver that has mapped this behavior. Its like saying "Ctrl+Alt+Down Arrow doesnt flip my screen 180 degrees!", the problem would not be the keystrokes, it would be your lack of a video driver that responds to that keystroke. Edited September 6, 2016 by iamtheky ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__) Link to comment Share on other sites More sharing options...
rcmaehl Posted September 6, 2016 Share Posted September 6, 2016 1 minute ago, iamtheky said: No, it shouldnt, unless you have an application or driver that has mapped this behavior. Its like saying "Ctrl+Alt+Down Arrow doesnt flip my screen 180 degrees!", the problem would not be the keystrokes, it would be your lack of a video driver that responds to that keystroke. If you read through the Description. He's using a Remote Desktop Client, in which Ctrl + Alt + Esc = Ctrl + Alt + Del. So based on that, Ctrl + Alt + Esc would give you an option to open up task manager. My UDFs are generally for me. If they aren't updated for a while, it means I'm not using them myself. As soon as I start using them again, they'll get updated.My Projects WhyNotWin11Cisco Finesse, Github, IRC UDF, WindowEx UDF Link to comment Share on other sites More sharing options...
iamtheky Posted September 6, 2016 Share Posted September 6, 2016 I did, but that first sentence prior tries to dismiss everybody elses explanation of what they are seeing. If the OP cant even reveal which flavor of RDP is being used, then this thread will be rather circular. rcmaehl 1 ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__) Link to comment Share on other sites More sharing options...
SeanMay Posted September 7, 2016 Author Share Posted September 7, 2016 Yup, sorry for the confusion - Ctrl+Shift+Esc brings up the Task Manager. Not sure why my brain confused the two since I've been using Ctrl+Shift+Esc to open the task manager for like 13 years, but there you have it... Ctrl+Alt+Esc appears to just minimize whatever the active window is, which is effectively the same thing as Alt+Esc. Either way though, at least now I know why my test AutoIT scripts weren't working the way I thought they would. Oi. So, even though the problem might be solved by that simple clarification, the application we're interacting with is called NetSupport. For the purposes of this thread that wasn't really relevant. We had already been in contact with them to see what keystrokes we might be able to use to leverage their built-in "Send Ctrl+Alt+Del" button/menu option, and Ctrl+Alt+Esc was what they gave us. Thanks for the input! Link to comment Share on other sites More sharing options...
spudw2k Posted September 7, 2016 Share Posted September 7, 2016 Sounds good. If you still can't get the Ctrl+Alt+Esc keystroke to work, you might be able to use the WinMenuSelectItem function to automate click the "Send Ctrl+Alt+Del" button/menu option. Ok, I'm done. Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX Builder Misc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retrieve SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose Array Projects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalc Cool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF Link to comment Share on other sites More sharing options...
iamtheky Posted September 7, 2016 Share Posted September 7, 2016 have you tried sending {LCtrl}+{LALT}+{ESC}? ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now