Password reset and notification emails are now sending correctly.
If you recently requested a password reset, please check your inbox (and spam folder just in case).
You can now reset your password and log in as normal.
Welcome back to PCHF, and thank you for your patience during our migration process!
โ The PCHF Team
Welcome to PC Help Forum!
Youโre viewing our community as a guest.
That means you can browse posts, but canโt yet reply or start new topics.
Join us today โ it's completely free!
As a member, you'll be able to:
โ Get personalized tech support from trusted volunteers
๐ฆ Work one-on-one with our Malware Removal Specialists
How to paste shortcut to file by keystroke or command?
Hi!
I have new mouse with more buttons.
In mode 1 I added to two buttons functions Copy and Paste.
I want to use else one button to Paste shortcut to file.
This function is in Explorer and I donโt know keystroke, if any hasโฆ
No, this is normal, everybody knows these keystrokes Ctrl XCVโฆ
In File Explorer is button to Paste Shortcut (maybe incorrect translation from Slovak language9.
Working this:
Clipboard: C:\Program\test.exe
normal paste copies test.exe to new location
paste shortcut created link to test.exe in new location like: test.lnk
Is it now understandable?
You can press
[ICODE]Ctrl + Shift[/ICODE]
to create a shortcut while dragging. That will create an .Ink file. Is this what you want? If not you can do
[ICODE]Shift + F10[/ICODE]
and thatโll pull up the right-click menu and you can manually click โCreate Shortcutโ
No, for correction:
Each file in clipboard has also path where is stored.
I need to create command or any keystroke (without drag&drop) to paste for this threa - link to file.
Why command ?
Iโm using for remapping keyboard and mouse AHK scripting, I need to create anything like this:
Of course drag&drop with holding left Alt creates lnk.
I need it without drag&drop.
Miro
Hi,
For something like that, that will require scripting. That way, it does what YOU want. There is no keyboard command to paste a shortcut without triggering a D&D (Drag & Drop) or requiring another click. That requires scripting.
Hereโs script which created GEV in AHK community:
Code:
clipboard := clipboard ; convert clipboard to plain text (= copy the path of the copied file)
Sleep, 300
SplitPath, clipboard,,,, name_no_ext
IfWinActive, ahk_class Progman ; desktop
FileCreateShortcut, %clipboard%, %A_Desktop%\%name_no_ext%.lnk
else
IfWinActive, ahk_class CabinetWClass ; explorer
{
; get current explorer path:
for window in ComObjCreate("Shell.Application").Windows
try Fullpath := % window.Document.Folder.Self.Path
FileCreateShortcut, %clipboard%, %Fullpath%\%name_no_ext%.lnk
}
I mean can help anybody in this forum too. Itโs simple Paste shortcut script.
Thank you all for everything.
Miro
Hereโs script which created GEV in AHK community:
Code:
clipboard := clipboard ; convert clipboard to plain text (= copy the path of the copied file)
Sleep, 300
SplitPath, clipboard, name_no_ext
IfWinActive, ahk_class Progman ; desktop
FileCreateShortcut, %clipboard%, %A_Desktop%%name_no_ext%.lnk
else
IfWinActive, ahk_class CabinetWClass ; explorer
{
; get current explorer path:
for window in ComObjCreate(โShell.Applicationโ).Windows
try Fullpath := % window.Document.Folder.Self.Path
FileCreateShortcut, %clipboard%, %Fullpath%%name_no_ext%.lnk
}
I mean can help anybody in this forum too. Itโs simple Paste shortcut script.
Thank you all for everything.
Miro
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, personalize advertising, and to analyze site activity. We may share certain information about our users with our advertising and analytics partners. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment