1)
Code: Select all
000001 := A example
000002 := B example
000003 := C example
000004 := D example
000005 := E example
F2::
Random, randNum, 0, 5
formattedNum := Format("{:06}", randNum)
Clipboard := formattedNum
sleep, 250
send, %formattedNum%
sleep, 250
Code: Select all
F3::
{
filePath := "C:\Users\W11\Desktop\x\000005\readme.txt"
FileRead, fileContent, %filePath%
Clipboard := fileContent
}
Return
Code: Select all
filePath := "C:\Users\W11\Desktop\x\%formattedNum%\readme.txt"
Thanks