Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7008181
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T21:42:07+00:00 2026-05-27T21:42:07+00:00

I am trying to automate export of Lotus Notes emails to Microsoft XPS documents

  • 0

I am trying to automate export of Lotus Notes emails to Microsoft XPS documents so that I’ll be able to search through them.

Now I would like to automate the export by using AutoHotKey to print and select ‘Microsoft XPS document’ in the printer name list.

I have the following script:

; 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}

which opens the print view window, but does not select the printer, although manually typing ‘m’ works. I tried a sleep but did not work either.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T21:42:08+00:00Added an answer on May 27, 2026 at 9:42 pm

    First of all, your second command is never executed. When you place a command at the same line as your initiating code. Even when the second command was executed it could be too fast. try this:

    F2:: ; Use the F2 key (I would use F1 as I never use the help key)
    Send, ^p ; Send Control P to print
    Sleep, 1000 ; wait 1 second (or less) for print dialoguebox
    Send, m ; Select printer type
    Sleep, 100 ; Wait 0.1 sec. before pressing enter
    Send, {Enter} ; Press enter
    Return ; End this command
    

    Regards,

    Robert Ilbrink

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to automate my trigger process so that I don't have to
I've been trying to automate tests on asynchronous requests but I haven't been able
I am trying to automate Delphi Environment regeneration we have bunch of bpl-s that
I'm trying to automate the Google Docs login process, but the methods that I
I am trying to automate the download and installation of a large application that
I am trying to automate my deployment process and am now thoroughly confused. I
I'm trying to automate some stuff in SVN, and part of that is copying
trying to automate using perl scripts on windows server using MediaWiki::Bot and Mediawiki::API taken
I'm trying to automate Mac OS X package building via command line interface of
Hello I´m trying to automate AZURE VM management like Amazon EC2. Is there any

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.