lee321987 Posted January 2, 2020 Posted January 2, 2020 Hello. Is there any way that at execution time I can assign a string to variable that will be visible in Windows Task Manager when right-click my program and select "Properties"? It's fine If I have to use Sysinternals Process Explorer to view the string. (also, if anyone has a better idea for the title of this thread, please message me or share it here)
Subz Posted January 2, 2020 Posted January 2, 2020 Why not just use Compile and set the file properties example: #Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Res_Comment=comment #AutoIt3Wrapper_Res_Description=description #AutoIt3Wrapper_Res_Fileversion=2020.1.3.0 #AutoIt3Wrapper_Res_LegalCopyright=My Company #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
lee321987 Posted January 2, 2020 Author Posted January 2, 2020 @Subz I need to be able to change the string at execution time.
Subz Posted January 2, 2020 Posted January 2, 2020 Can you explain what you're trying to do, it sounds like you want to update file properties which you can do with something like resource hacker or lookup reshacker on the forums. Unfortunately your description is a little vague, i.e. do you want to use this variable/string or is it suppose to be written somewhere?
lee321987 Posted January 2, 2020 Author Posted January 2, 2020 I want to do this: --Program starts --InputBox pops up and I type in a string --I open Task Manager (or Process Explorer) and I can find my InputBox string somewhere in the properties of the .exe.
Danp2 Posted January 2, 2020 Posted January 2, 2020 40 minutes ago, lee321987 said: I want to do this Why? What's the point of being able to do this? P.S. Does giving each instance an unique title work? Latest Webdriver UDF Release Webdriver Wiki FAQs
lee321987 Posted January 3, 2020 Author Posted January 3, 2020 An alternative solution has come to me, so only read on if you really want to know why I asked... I wrote a timer program. Often I'll have several instances running simultaneously. Sometimes I'll want to know when the timer started. Process Explorer has a "Start Time" column, but I couldn't match that start time to a specific instances because they all have the same process name. I was hoping I could put "timer purpose" somewhere visible to Task Manager. The alternative solution is to put the start time in TraySetToolTip() Thanks for helping.
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