摘要
办公环境中经常需要打印大量文件。打印过程中需要根据文件格式、幅面大小来调用相关程序、选择打印机并设置打印参数,人工操作耗时耗力。为了解决以上问题,笔者采用AHK脚本语言编写了程序,通过AutoHotKey程序的自动化技术实现了批量打印功能。运行该脚本程序,可以自动打印指定目录下的所有文件。实际应用表明,该脚本程序能够极大地减少重复劳动,提高办公效率。
Printing a large number of files is often needed in the office work.Calling the relevant program, selecting a printer and setting printing parameters are needed in the printing process according to the file format and the size of the print area.The manual operation is time-consuming.In order to solve these problems,the author used the AHK script language to make a program,through the techniques of automation AutoHotKey procedures to achieve the batch print function.Running the script program,all files in the specified directory could be automatically printed.The actual application shows that the script can greatly reduce duplication of effort and enhance the office efficiency.
出处
《电子测试》
2014年第8期137-139,136,共4页
Electronic Test