1
我試圖自動將Lotus Notes電子郵件導出到Microsoft XPS文檔,以便能夠搜索它們。如何選擇打印機並使用AutoHotKey進行打印
現在我想通過使用AutoHotKey打印並在打印機名稱列表中選擇「Microsoft XPS文檔」來自動導出。
我有以下腳本:
; F2 is my chosen HotKey that will trigger the script, starting with a CTRL-P
*F2::^p
; type 'm' to choose 'Microsoft XPS Document Printer'
Send m
{enter}
這將打開打印預覽窗口,但不會選擇打印機,雖然手動鍵入「M」
工作。我嘗試了睡眠,但也沒有工作。
非常好。有用。非常感謝你。 – tucson 2012-01-02 11:14:32