Trigger Cortana search result event for "Turn Systems Icon on or Off"?


  1. Posts : 18
    Windows 10 Pro 1909 10.0.18363.836 64-bit
       #1

    Trigger Cortana search result event for "Turn Systems Icon on or Off"?


    I've described this issue here.

    I want to create programmatically trigger whatever's triggered when, upon searching with Cortana, I click the "Turn Systems Icon on or Off" item, so that I can use this in a shortcut. The URI that will get me closest to this is ms-settings:taskbar, but won't quite get me there.

    If Cortana does it, surely I can as well?
    Well, in the link, the replier says it's impossible because it only works in the Settings app environment; I made this post to check if it's truly impossible.
    I have AHK, but if this is true, I could only use it to make a script that would search and click for me - that wouldn't make for a particularly fast shortcut.

    Pardon if it's in the wrong section. I'm unsure if this should've been in Customization or somewhere else.

    Windows 10 Pro 1909 10.0.18363.778 64-bit
    Last edited by Unknow0059; 17 Apr 2020 at 05:40. Reason: Clarification for post creation
      My Computer


  2. Posts : 43,003
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #2

    I'd agree with the answer posted. You can use the URI, then navigate the dialogue using Send (tab and enter) using AHK.


    A more interesting approach with AHK might be (as you suggest I think)

    Send Win key + S
    Send string "Turn Systems Icon on or Off" enter

    (Sorry, that's just indicative of course).
      My Computers


  3. Posts : 18
    Windows 10 Pro 1909 10.0.18363.836 64-bit
    Thread Starter
       #3

    Yeah, I ended up doing that the day I posted. Thanks a lot, though!

    I can't seem to mark the thread a solved.

    Wait, why is "How to..." not an appropriate question?
    Last edited by Unknow0059; 17 Apr 2020 at 22:05. Reason: ninja
      My Computer


  4. Posts : 43,003
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #4

    Would native speakers ask

    "How to get to the bus station?"

    How to get to the bus station
    (no ?)
    is used as a header for a piece of text containing directions to the bus station.

    Compare the indirect question:
    Could you tell me how to get to the bus station?

    You can see that "how to get to the bus station" is part of the indirect question. A direct question is grammatically different.

    A typical native speaker might ask (informally):
    How do you get to the bus station?

    or if one were awfully posh (and no one uses this these days)
    How does one get to the bus station?

    "How to " used as a question could sometimes be use reflectively by someone as an exception.

    Used by foreign speakers, it might be borrowed from their L1 (native language) where the syntax of their own language is carried over. This is what happens in Chinese- I used to give my camera to a student, then go into the class and ask the student to take a photo. The student would look, puzzled, at the camera, then always 'David, how to use this camera?'
      My Computers


 

  Related Discussions
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 03:09.
Find Us




Windows 10 Forums