Marmota Posted February 10, 2008 Share Posted February 10, 2008 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 More sharing options...
Innovative Posted February 10, 2008 Share Posted February 10, 2008 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 More sharing options...
LIMITER Posted February 10, 2008 Share Posted February 10, 2008 I think he wants to know how to get the name of the firefox .exe (ex. firefox.exe) Link to comment Share on other sites More sharing options...
martin Posted February 10, 2008 Share Posted February 10, 2008 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 More sharing options...
BrettF Posted February 10, 2008 Share Posted February 10, 2008 (edited) RegRead ("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\firefox.exe", "")Edit 1: AndRegRead ("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 February 10, 2008 by Bert Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! 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