Code: Select all
FileRead, Text, tmp.txt ; Text File Location
Msgbox % Words[(Words := StrSplit(Trim(Text), [" ", "`r", "`n"])).Length()]
Code: Select all
FileRead, Text, tmp.txt ; Text File Location
Msgbox % Words[(Words := StrSplit(Trim(Text), [" ", "`r", "`n"])).Length()]
Code: Select all
["99901","ak99901","58404","58404","11122","uh58404"]
Code: Select all
Send, % "for %i in (*.webm) do ffmpeg -i ""%i"" ""%~ni.mp3""`n"
Exactly as you see it, there is no function named Perform_Action in your code to call, the Try command wont try it until it exists.==> Call to nonexistent function.
Code: Select all
Send, % "for %i in (*.webm) do ffmpeg -i %i %~ni.mp3`n"
;------------------------------------------------------
Send, for `%i in (*.webm) do ffmpeg -i `%i `%~ni.mp3`n
Did you looked inside the compiled AHK executable?FileInstall
Includes the specified file inside the compiled version of the script.
Code: Select all
Msgbox % RegexReplace("&P7gf6f6 USft6D", "\P{Lu}")
[v1.0.90+]: Unicode character properties. Not supported on ANSI builds
Code: Select all
Msgbox % RegexReplace("&P7gf6f6 USft6D", "[^A-Z]", "")
Code: Select all
str := "&P7gf6f6 USft6D", match := ""
Loop, Parse, % str
{
If (A_LoopField ~= "[A-Z]")
match .= A_LoopField
}
Msgbox, % match
ExitApp
Code: Select all
Loop, Files, % "C:\*", D
{
ParentFolder := A_LoopFileFullPath
Loop, Files, % ParentFolder "\*", D
Msgbox % A_LoopFileFullPath
}
Code: Select all
OnMessage(0x08, "MyShellMessageFunction")