Sign in to follow this  
Followers 0
Coolw

Get application name from the PID

6 posts in this topic

You know how if you bring up Windows Task Manager, and you can right click on an application, and go to the process?

Is there a reverse way of doing it in Autoit?

So I can get the title of a process?

Thanks.


My ProgramsMy WIP'sSteam Server Restarter

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

@coolw

_ProcessGetName ?

Edit : Don't forget to add : #include <Process.au3>

Cheers, FireFox.

Edited by FireFox

 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites

@coolw

_ProcessGetName ?

Edit : Don't forget to add : #include <Process.au3>

Cheers, FireFox.

nope, justs returns the Process name. Such as srcds.exe (HL2 server) not the application name.


My ProgramsMy WIP'sSteam Server Restarter

Share this post


Link to post
Share on other sites

nope, justs returns the Process name. Such as srcds.exe (HL2 server) not the application name.

..and what should it return in your oppinion? in other words: what is your definition of an "Application name"?

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

Let me guess. You can't get the forum Search feature to work. That's why you didn't find any of these.

http://www.autoitscript.com/forum/index.ph...;hl=process+udf

http://www.autoitscript.com/forum/index.ph...;hl=process+udf

http://www.autoitscript.com/forum/index.ph...;hl=process+udf

I seem to recall that there are also others but I'm leaving those for you to find when you get Search working again.


George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

Let me guess. You can't get the forum Search feature to work. That's why you didn't find any of these.

http://www.autoitscript.com/forum/index.ph...;hl=process+udf

http://www.autoitscript.com/forum/index.ph...;hl=process+udf

http://www.autoitscript.com/forum/index.ph...;hl=process+udf

I seem to recall that there are also others but I'm leaving those for you to find when you get Search working again.

Sorry. I searched what I could, at least an hour, and I couldn't find any of these.

I will give these a try.

Edited by Coolw

My ProgramsMy WIP'sSteam Server Restarter

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