Sign in to follow this  
Followers 0
kiboost

Processus description

6 posts in this topic

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

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

#5 ·  Posted (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 by kiboost

Win7 pro x64. scripts compiled to x64. - Autoit v3.3.6.1 | Scite 1.79

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0