Programmatically hold shift key while starting Access.

Posted on 2009-05-01
Last Modified: 2012-05-06
Anyone know of a way to simulate a shift key press while starting Access? Via a batch file or scripting, etc? I tried the old keyfake.exe but it does not handle the shift key.

I use a tablet PC so holding down the shift key is inconvenient (open input panel, change to keyboard, click shift, click on database shortcut, wait for database to open, click shift, close input panel).


Question by:thenelson
    LVL 14

    Expert Comment

    Would a work around such as this be of help?

    LVL 39

    Author Comment

    Nope, that disables the shift bypass (makes the shift key not work). You can take a look at Shift Bypass Functions for more info.

    But thanks.

    LVL 28

    Accepted Solution

    You could try a keyboard macro processor, like KeyText.  I've never tried to launch an app this particular way (and wouldn't even know how to test it).

    An obvious question -- have you tried the /nostartup switch on the command line?  Don't know if this will stop the AutoExec macro or not...
    LVL 39

    Author Comment

    I found AutoHotkey  ( that allowed me to compile a script to do that. I have attached the script here.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
    Introduction: Recently, I got a requirement to zip all files individually with batch file script in Windows OS. I don't know much about scripting, but I searched Google and found a lot of examples and websites to complete my task. Finally, I was ab…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    758 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now