Jump to content

Recommended Posts

Posted

Hi.  Been a while since I was here.

Trying to automate a clunky installation procedure for Microsoft Access database.  One of the steps requires launching an Access module with the bypass key (hold SHIFT while double-clicking the exe.)

So far I can't find another way to do this, as the official bypass method is to use the SHIFT key.  (https://support.office.com/en-us/article/bypass-startup-options-when-you-open-a-database-ba66917a-68b6-4fe6-8c23-33042953a5f9)

Is there a way to use the SEND function?  Is there a method that doesn't require sending mouse clicks?  Looking for an elegant solution.

 

 

  • Developers
Posted

Moved to the appropriate forum, as the Developer General Discussion forum very clearly states:

Quote

General development and scripting discussions. If it's super geeky and you don't know where to put it - it's probably here.


Do not create AutoIt-related topics here, use the AutoIt General Help and Support or AutoIt Technical Discussion forums.

Moderation Team

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted (edited)

Yes you can use the send function this way :

Send ("{LSHIFT down}")
; do something here
Send ("{LSHIFT up}")

As for the mouse clicks, I do not understand the question. You may want to elaborate...

If this for a software installation, have you tried silent install ?

Edited by Nine

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...