kiboost Posted October 20, 2010 Share Posted October 20, 2010 Hi, In windows 7, when you look at the process list (ctrl+shift+esc), for each runing process it show a description field. Is there a way ro add such information for .exe compiled with autoit ? Another question, how can I set up a ctrl+start function ? Say I have my .exe finished, a shortcut on my desktop. And if I hold "ctrl" key while starting, it execute something (of course coded inside the exe). How can I know the script have been launch whith ctrl pressed ? Cheers, Kib Win7 pro x64. scripts compiled to x64. - Autoit v3.3.6.1 | Scite 1.79 Link to comment Share on other sites More sharing options...
PsaltyDS Posted October 20, 2010 Share Posted October 20, 2010 It's the "File description" field of the file's attributes. Right-click on the .exe file, select properties, and the Details tab. There are some functions posted around here that will read file attributes like that. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
kiboost Posted October 20, 2010 Author Share Posted October 20, 2010 I've tried these options While compiling from scite, and nothing appear in process list apart myscript.exe Kib Win7 pro x64. scripts compiled to x64. - Autoit v3.3.6.1 | Scite 1.79 Link to comment Share on other sites More sharing options...
PsaltyDS Posted October 20, 2010 Share Posted October 20, 2010 Ah, I thought you were trying to read another file, not set your own description. Add this to the top of your script: #AutoIt3Wrapper_Res_Description=This is my file description Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
kiboost Posted October 21, 2010 Author Share Posted October 21, 2010 (edited) Strange, I tested that yesterday and it didn't work. Redone it now, it does exactly what I want !! Thanks ;-) Any idea for ctrl+start ? will look at some sort of if keypressed(ctrl) then .. in the first lines of the script. Edited October 21, 2010 by kiboost Win7 pro x64. scripts compiled to x64. - Autoit v3.3.6.1 | Scite 1.79 Link to comment Share on other sites More sharing options...
PsaltyDS Posted October 22, 2010 Share Posted October 22, 2010 IsPressed(). See help file. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law 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