Adele Posted September 15, 2020 Posted September 15, 2020 (edited) @AutoItExe gives the full path like C:\programs\Autoit.exe but i want only the process name Autoit.exe like old Autoit versions, it used to seperated as @AutoItFullPath and @AutoItExe. Yeah, i could use _PathSplit() or _WinAPI_GetProcessName() functions but there must be a simpler way instead of including bunch of libraries. Is this impossible? Thanks! Edited September 15, 2020 by Adele
Gianni Posted September 15, 2020 Posted September 15, 2020 ConsoleWrite(@ScriptFullPath & @CRLF) ConsoleWrite(@ScriptName & @CRLF) ConsoleWrite(@AutoItExe & @CRLF) ConsoleWrite(StringTrimLeft(@AutoItExe, StringInStr(@AutoItExe, '\', 0, -1)) & @CRLF) ; <--- this? Adele 1 Chimp small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt....
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