Problem with "shortcut target => goto shortcut target"

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
xnmp
Posts: 88
Joined: 15 Mar 2013 04:46

Problem with "shortcut target => goto shortcut target"

Post by xnmp »

Hi, i have a problem when using "shortcut target => goto shortcut target" command after assign it to a keyboard shortcut
it only happens when i assign this command to a keyboard shortcut
(I'm using windows 7 32 bits, the latest xyplorer 16.10.0100 ,i also test with a "new fresh" install of xyplorer ,it has the same issue)

- I assign the keyboard shortcut Ctrl + alt +O to that command ( "shortcut target => goto shortcut target" command )
- For example ,i have a file
E:\test\test.jpg
I create a shortcut of it, (right click =>create shortcut) ,it creates the file e:\test\test.lnk in the same folder (which is "E:\test")
I test with Ctrl + alt + O and it works fine (It browse the target file)
Then i tried moving that shortcut file (.lnk file) to another folder (E:\test\New Folder)
and using hotkey ctrl + alt + O again (using hotkey, not using command through right click,if i use command through right click,it would work fine) .This time It notices me :

Code: Select all

"this is not a shortcut file,so it has no target to go to"
I tried refresh many times,but it not work
But it would work fine then if i do any of 3 follow methods

1. using xyplorer command : shortcut target => goto shortcut target) instead of using its keyboards shortcut ctrl + alt + O
(i have no idea why because they are the same command)
2. right click the shortcut file => properties => just close the properties window (makes no change )
and go back to try again => it works fine (the target field is already correct)
3. switch to another program (such as notepad++ for a while (about 10 second)and go back => it works fine


(And after it working, i try using ctrl + alt + O again and it works fine)
i also test with a "new fresh" install of xyplorer ,and assign it to another hotkey (ctrl+ u) it still has the same issue
I have no idea how to make it works immediately like usual shortcut file
Thanks alot

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Problem with "shortcut target => goto shortcut target"

Post by admin »

This is because the file was not the "current file" in this context: you did not actively select it by click or keyboard.

Anyway, I will change the code so that this little issue will disappear.

xnmp
Posts: 88
Joined: 15 Mar 2013 04:46

Re: Problem with "shortcut target => goto shortcut target"

Post by xnmp »

admin wrote:This is because the file was not the "current file" in this context: you did not actively select it by click or keyboard.

Anyway, I will change the code so that this little issue will disappear.
Thank you very much ,i see :)
when cut and paste the shortcut file ,it become "blue", looks like it selected,while actually it's not
Thank you so much

admin
Site Admin
Posts: 67271
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Problem with "shortcut target => goto shortcut target"

Post by admin »

FYI, there is a reason behind the subtle difference "actively selected" (= current item) and "auto-selected" (e.g. on select-on-paste): Only actively selected items will automatically fill the Info Panel and start the preview. Nobody wants to have a preview started in a select-on-paste context, therefore I had to introduce this difference.

xnmp
Posts: 88
Joined: 15 Mar 2013 04:46

Re: Problem with "shortcut target => goto shortcut target"

Post by xnmp »

admin wrote:FYI, there is a reason behind the subtle difference "actively selected" (= current item) and "auto-selected" (e.g. on select-on-paste): Only actively selected items will automatically fill the Info Panel and start the preview. Nobody wants to have a preview started in a select-on-paste context, therefore I had to introduce this difference.
Thank you very much, i see :)

Post Reply