1.    25 Jun 2017 #1
    Join Date : Jun 2017
    Posts : 1
    Windows 10

    Changing the default app when in tablet mode


    I'm new to these forums so my apologies if this is the wrong forum to post this in.

    What I am trying to figure out how to do is change the default program used to open pdf files when my convertible laptop is in tablet mode compared to when it is in regular laptop mode. I haven't been able to find anything from google searching but I thought perhaps some kind of macro could be programmed that runs when you convert to tablet and back?

    If anyone has any thoughts or solutions, it would be much appreciated.

      My ComputerSystem Spec
  2.    26 Jun 2017 #2
    Join Date : Jan 2015
    UK, Midlands
    Posts : 11,051
    Win 10 Pro (1703)

    Hi, I understand you want to automatically switch a file association when changing from normal to tablet mode & v. versa.

    You can start here:
    Change Default Program for file - Command line or Registry

    So you can change the association programmatically (bat file)

    But then you'd need some way to test whether your device is in tablet mode or not-
    someone has experimented with this using Autohotkey
    (a free scripting language with a good forum and help documents)
    Is it possible to autostart a program when in tablet mode? | TabletPCReview.com - Tablet PC Reviews, Discussion and News

    The above should get you started if you're prepared to work with Autohotkey.

    c# - How can I detect when Window 10 enters tablet mode in a Windows Forms application? - Stack Overflow
    says how to do that in c#
    Last edited by dalchina; 26 Jun 2017 at 02:11.
      My ComputerSystem Spec


Similar Threads
Thread Forum
General Tips Use Tablet Mode or Desktop Mode when you Sign in to Windows 10
How to Use Tablet Mode or Desktop Mode when you Sign in to Windows 10 Tablet mode makes Windows easier and more intuitive to use with touch on devices like 2-in-1s, or when you don't want to use a keyboard and mouse. You will see the desktop...
tablet mode
Why does my computer go into tablet mode without me putting it there.Help please.
General Support
Tablet mode doesn't get engaged when I undock my Windows tablet?
I have a Cherry Mobile Alpha Morph that works without problems aside from the fact that, when I undock it from the keyboard, it doesn't detect that it should now be in Tablet Mode. I have to manually go to the Action Center and toggle it there. Same...
General Support
Solved Are Moden Apps the same in desktop mode as tablet mode?
My apologies if this question seems basic, but I really am confused. I'm trying to understand why I would want to use tablet mode. Apart from the minimize, maximize and "x" buttons found in desktop mode. Aren't the modern tile apps that you can...
Software and Apps
Launch Chrome in Windows 8 Mode while in Tablet Mode?
I have an Asus Transformer Book, and when I pull the tablet part off the keyboard, Windows 10 automatically switches into tablet mode. I'm wondering if it's possible to have Chrome automatically open into WIndows 8 Mode when Windows 10 is in tablet...
Browsers and Email
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 13:44.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App

Windows 10 Forums