我是autohotkey(AHK)的新手。我需要自动创建一些手动步骤,例如当我上传CSV时,自动脚本将在上载CSV读取后运行并从CSV获取帐号并在数据库中搜索该用户并从数据库获取所有数据也搜索该用户的文件夹这将在一个PDF中打印所有数据,并将新PDF保存在一个位置。
Here is the process :
1 : Upload one CSV with multiple users like account #0001,#0002,#0003 etc
2 : After upload CSV automation script will run and start search user by account number one by one and get all record from folder and print on the PDF
3 : create pdf for every user and store in my set location like user_0001.pdf , user_0002.pdf etc....
我有用户下面的代码并阅读CSV但是下一步我被卡住了。让我知道。
Loop, read, path/csv_read.csv
{
LineNumber = %A_Index%
Loop, parse, A_LoopReadLine, CSV
{
field%a_index%=%A_LoopField%
;listvars
; MsgBox, 4, , Field %LineNumber%-%A_Index% is:`n%A_LoopField%`n`nContinue?
; IfMsgBox, No
; return
}
msgbox %field1% %field2% %field3% %field4% %field5% %field6%
}
提前致谢。