Keyboard shortcut to paste Windows shortcuts

Page 1 of 2 12 LastLast

  1. Posts : 25
    Windows 10 (1903)
       #1

    Keyboard shortcut to paste Windows shortcuts


    Hi,
    Everyday, I need to generate dozens of Windows shortcuts as it's an essential feature to me. My problem is that no keyboard shortcut currently exists, so the quickest way to paste Windows shortcuts remains the right-click context menu. It's kind of a waste of time if you're a keyboard-focused user like me.

    In other words, I want to copy a item with CTRL+C then paste its shortcut with another keyboard shortcut (for instance CTRL+B).

    Is there any workaround?

    Does someone have an easy script to execute in some automation application please?

    Thanks in advance!
    Last edited by Shenmue is life; 23 Jul 2019 at 08:41.
      My Computer


  2. Posts : 68,966
    64-bit Windows 11 Pro for Workstations
       #2

    Hello,

    Depending on your needs, you could create shortcuts of items you want to open on your desktop, taskbar, and/or Start menu, and assign a separate custom keyboard shortcut to each shortcut using an option in the tutorial below. You can use these keyboard shortcuts to open the shortcuts.

    Assign Keyboard Shortcut to Shortcuts in Windows 10
      My Computers


  3. Posts : 25
    Windows 10 (1903)
    Thread Starter
       #3

    Probably I was not clear enough.

    In other words, I want to copy an item with CTRL+C then paste its shortcut with another keyboard shortcut (for instance CTRL+B).
      My Computer


  4. Posts : 56,830
    Multi-boot Windows 10/11 - RTM, RP, Beta, and Insider
       #4

    I'm not familiar with how to actually do this, but it sounds like you are trying to map a CTRL-key sequence to do:

    shell:sendto combined with the Desktop Shortcut parameters found here.

    Keyboard shortcut to paste Windows shortcuts-2019-07-23_10h05_12.png

    This would be equivalent to a right-click>Send To>Desktop Shortcut in the context menu.

    Maybe this would work, but I don't know the way to create that. Somebody does, if it's possible. Maybe AutoHotKey app or something.
      My Computers


  5. Posts : 16
    Windows 10
       #5

    Shenmue is life said:
    Hi,
    Everyday, I need to generate dozens of Windows shortcuts as it's an essential feature to me. My problem is that no keyboard shortcut currently exists, so the quickest way to paste Windows shortcuts remains the right-click context menu. It's kind of a waste of time if you're a keyboard-focused user like me.

    In other words, I want to copy a item with CTRL+C then paste its shortcut with another keyboard shortcut (for instance CTRL+B).

    Is there any workaround?

    Does someone have an easy script to execute in some automation application please?

    Thanks in advance!



    done.

    select 1 or many (no limit?) and press ctrl+c
    use explorer (MUST) and go to directory you want links to appear, hit ctrl+b

    depending on what you are making shortcuts for, things like working directory and other parameters can potentially not work properly, if this is the case, the script will need more work and yeah... tested on python scripts, works fine


    LINK = ahkbin!
    VIDEO = Imgur
    btw.. you must compile this or get ahk and run it, not going to do everything for you.. you are lucky it's commented =()
    Last edited by Brink; 23 Jul 2019 at 14:55. Reason: extra info
      My Computer


  6. Posts : 25
    Windows 10 (1903)
    Thread Starter
       #6

    hAirypAulsAck said:

    select 1 or many (no limit?) and press ctrl+c
    use explorer (MUST) and go to directory you want links to appear, hit ctrl+b

    depending on what you are making shortcuts for, things like working directory and other parameters can potentially not work properly, if this is the case, the script will need more work and yeah... tested on python scripts, works fine


    LINK = ahkbin!
    VIDEO = Imgur
    btw.. you must compile this or get ahk and run it, not going to do everything for you.. you are lucky it's commented =()

    Thank you for your time!!!

    Unfortunately, I'm struggling to get it right.
    Keyboard shortcut to paste Windows shortcuts-2019-07-23_203316.jpg
    Last edited by Brink; 23 Jul 2019 at 14:55.
      My Computer


  7. Posts : 16
    Windows 10
       #7

    Shenmue is life said:
    Thank you for your time!!!

    Unfortunately, I'm struggling to get it right.
    Keyboard shortcut to paste Windows shortcuts-2019-07-23_203316.jpg
    To start, try commenting out #warn, make it ;#warn

    When does the error occur? When starting the script or pressing one of the hotkeys?

    What is your system local?

    Are you AHK 32 or 64, ascii or unicode mode? If you get scite4ahk you can test out all 4 with this.

    You downloaded AHK 1.x correct? Not 2.x?

    Keyboard shortcut to paste Windows shortcuts-image.png
    Also, I assume you are using windows 10? You're not trying to paste to your desktop are you? If you do, visit the desktop in explorer, or %USERPROFILE%\Desktop or $env:USERPROFILE\Desktop to be specific.
    Last edited by Brink; 23 Jul 2019 at 15:50. Reason: extra info
      My Computer


  8. Posts : 56,830
    Multi-boot Windows 10/11 - RTM, RP, Beta, and Insider
       #8

    @hAirypAulsAck

    Taking Tenforums help threads offline to another forum, email, or other venue, is, to my understanding, discouraged.
      My Computers


  9. Posts : 25
    Windows 10 (1903)
    Thread Starter
       #9

    hAirypAulsAck said:
    To start, try commenting out #warn, make it ;#warn

    When does the error occur? When starting the script or pressing one of the hotkeys?

    What is your system local?

    Are you AHK 32 or 64, ascii or unicode mode? If you get scite4ahk you can test out all 4 with this.

    You downloaded AHK 1.x correct? Not 2.x?

    Keyboard shortcut to paste Windows shortcuts-image.png
    Also, I assume you are using windows 10? You're not trying to paste to your desktop are you? If you do, visit the desktop in explorer, or %USERPROFILE%\Desktop or $env:USERPROFILE\Desktop to be specific.
    The message error stopped from occurring for obscure reason. But it doesn't still work as nothing happens when I do CTRL+B.
    Tested on AHK 1.x 32 and 64 last updated, on every modes and Windows 10. Other scripts like "<^>!0::Run whatever file" are working fine.
      My Computer


  10. Posts : 3,274
    Win10
       #10

    Just in case you didn't know , If you are still using the following line in your script, have a look in your AHK Scripts Directory for the Shortcuts:

    SetWorkingDir %A_ScriptDir%
      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 14:46.
Find Us




Windows 10 Forums