Jump to content

.exe ?


Marmota
 Share

Recommended Posts

Ok, I'm new at AutoIt and should want to learn to do something by myself. But now I'm stuck with .exe things...

So, is there any way how I could find.. let's say Firefox's ".exe name" (don't know what I should say it).

Sorry for my bad English :)

Link to comment
Share on other sites

Ok, I'm new at AutoIt and should want to learn to do something by myself. But now I'm stuck with .exe things...

So, is there any way how I could find.. let's say Firefox's ".exe name" (don't know what I should say it).

Sorry for my bad English :)

I really dont understand what you're talking about ..

Without the filename , you cant really do anything..

Link to comment
Share on other sites

Ok, I'm new at AutoIt and should want to learn to do something by myself. But now I'm stuck with .exe things...

So, is there any way how I could find.. let's say Firefox's ".exe name" (don't know what I should say it).

Sorry for my bad English :)

Welcome to AutoIt forums :)

Have a look at _ProcessGetName in the help file. The example might tell you what you want.

Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script.
Link to comment
Share on other sites

RegRead ("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\firefox.exe", "")

Edit 1: And

RegRead ("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Mozilla Firefox (2.0.0.7)", "InstallLocation")

Edit 2: And...

MsgBox (0, "", _GetMozillaInstallPath ())
Func _GetMozillaInstallPath ()
    $ver = RegRead ("HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Mozilla Firefox", "CurrentVersion")
    $ret = RegRead ("HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Mozilla Firefox\" & $ver & "\Main", "PathToExe")
    Return $ret
EndFunc
Edited by Bert
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...