emendelson Posted November 23, 2022 Posted November 23, 2022 I have some compiled scripts that perform operations on files dropped on them. When I drag a file over the executable, Windows prompts with a box that says "Open in Aut2Exe." Is there any way to make Windows show the actual name of the executable? I've tried using the name of the executable in every available field in the Resource Update tab of the editor, with no success. I can't find the string "Aut2Exe" in the compiled scripts, so I'm completely baffled. Any help will be gratefully received.
Nine Posted November 23, 2022 Posted November 23, 2022 Probably somewhere in regedit (my first guest). “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy
KaFu Posted November 23, 2022 Posted November 23, 2022 Aut2exe is the name of the AutoIt compiler executable. How do you process the command line input? Show a reproducer. OS: Win10-22H2 - 64bit - German, AutoIt Version: 3.3.16.1, AutoIt Editor: SciTE, Website: https://funk.eu AMT - Auto-Movie-Thumbnailer (2024-Oct-13) BIC - Batch-Image-Cropper (2023-Apr-01) COP - Color Picker (2009-May-21) DCS - Dynamic Cursor Selector (2024-Oct-13) HMW - Hide my Windows (2024-Oct-19) HRC - HotKey Resolution Changer (2012-May-16) ICU - Icon Configuration Utility (2018-Sep-16) SMF - Search my Files (2024-Oct-20) - THE file info and duplicates search tool SSD - Set Sound Device (2017-Sep-16)
emendelson Posted November 23, 2022 Author Posted November 23, 2022 (edited) Thiis is is an example of how I process the command line: $cmln = $CmdLine[0] If $cmln >= 1 Then $editdoc = $CmdLine[1] Else MsgBox(0, $msgtitle, "Filename required.") Exit EndIf And here's an executable that shows the issue (though I think all AutoIt-compiled programs show the same behavior): https://www.dropbox.com/s/9gy5qpwpd86xibh/WPWDocX.exe?dl=1 Edited November 24, 2022 by emendelson Make link work.
Nine Posted November 24, 2022 Posted November 24, 2022 Link is broken, and code does not compile. Sigh... “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy
Danp2 Posted November 24, 2022 Posted November 24, 2022 Download link worked for me, but I don't get the message described in the OP. For me it says "Open with WPWDocX.exe". What OS are you using for testing? I'm running W11 v22H2. Latest Webdriver UDF Release Webdriver Wiki FAQs
emendelson Posted November 24, 2022 Author Posted November 24, 2022 6 hours ago, Danp2 said: Download link worked for me, but I don't get the message described in the OP. For me it says "Open with WPWDocX.exe". What OS are you using for testing? I'm running W11 v22H2. Thank you for this. When I restarted my machine, I got exactly the same result. It seems that the problem was that Windows cached the internal name of the executable when I ran it after compiling it with the Description and Comment fields blank in the Resource Update tab. Even after I compiled the exe with the correct name in the Description and Comment fields, Windows still showed Aut2Exe.exe in the popup - but eventually showed the correct name after I restarted. Lesson learned. Thank you. (And though it doesn't matter, I've made the download link active, as I should have done earlier, and of course the code I posted was in answer to the question, how do I process the command-line input; it wasn't meant to compile.)
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