Page 1 of 1
"Copy Shortcut Target Item" doesn't work with unicode files
Posted: 29 Apr 2015 04:46
by physics-teacher
Hello,
just registered for this problem only.
"Shortcut Target" -> none of the following three commands work IF shortcut filename and or original file of shortcut includes unicode characters.
XYplorer returns with "This shortcut has no target to copy" or "... to go".
I'm running XP Prof SP3 in Japanese.
Would be very happy about a quick bug fixing.
Thank you
Michael
Re: "Copy Shortcut Target Item" doesn't work with unicode fi
Posted: 29 Apr 2015 11:08
by admin
Hi and welcome to the club,
yes, that was on my list for years. And, tada, I finally managed to make it work!
So, thanks for the kick,
Don
Re: "Copy Shortcut Target Item" doesn't work with unicode fi
Posted: 29 Apr 2015 13:35
by physics-teacher
Hello Don,
thank you very much for your ultra quick bug fixing.
Can't wait to download the latest working release.
Bye
Michael
Re: "Copy Shortcut Target Item" doesn't work with unicode fi
Posted: 29 Apr 2015 15:30
by physics-teacher
Hello Don,
thank you, finally i works.
BUT this function seems to be for -one file only-.
Could I ask you one more time?
It would be a very fine function if every original file of a bunch of selected shortcuts could be copied.
Michael
Re: "Copy Shortcut Target Item" doesn't work with unicode fi
Posted: 29 Apr 2015 18:50
by admin
What if not all of the selected items are shortcuts?
Re: "Copy Shortcut Target Item" doesn't work with unicode fi
Posted: 29 Apr 2015 20:14
by physics-teacher
They are all shortcuts.
It works not even for two shortcuts.
Re: "Copy Shortcut Target Item" doesn't work with unicode fi
Posted: 29 Apr 2015 20:32
by admin
I meant: How should the app behave if also non-shortcuts are among the selections. It's a question to all.
Re: "Copy Shortcut Target Item" doesn't work with unicode fi
Posted: 29 Apr 2015 20:38
by Marco
AFAICS, the function works on the selected and focused item, which seems to be less-than-standard behaviour for a multiple selection.
I think the "Link Target" menu should be available only when all selected items are links. Or, differently, greyed out when at least one item is not a link.
Re: "Copy Shortcut Target Item" doesn't work with unicode fi
Posted: 29 Apr 2015 20:58
by admin
I could live with this: only process the LNKs among the selections, ignore the others.
Re: "Copy Shortcut Target Item" doesn't work with unicode fi
Posted: 29 Apr 2015 20:59
by physics-teacher
Well, for non-shortcuts ... maybe the app could just ignore them and process all the others.
For Marco's greyed out option, the function wouldn't work at all in this case.
The function should do at least what it can do. This is what I would expect.
Re: "Copy Shortcut Target Item" doesn't work with unicode fi
Posted: 29 Apr 2015 21:44
by TheQwerty
If this is made to copy the data for all selected shortcuts (even if other items are selected) then shouldn't the same be done for these commands?
File | To Clipboard | Compact File Info
File | To Clipboard | Extended File Info
File | To Clipboard | Large Icon
File | To Clipboard | Small Icon
File | To Clipboard | Text
File | To Clipboard | Image
Which then begs the question how do you copy multiple images/icons?
To be frank, I'm not convinced this should be changed because:
1) The current behavior makes the most sense without having odd exceptions. (Microsoft's own
Pin to * commands also only work on the current item.)
2) The desired behavior can be achieved easily enough through scripting:
Code: Select all
::CopyText FormatList(Report("{Prop:#ShortcutTarget}<crlf>", 1), 'e', <crlf>);
Re: "Copy Shortcut Target Item" doesn't work with unicode fi
Posted: 29 Apr 2015 21:47
by admin
Too late. I changed it, and I think it can be useful.
BTW, I doubt that scripting is "easily enough" for the majority of my users.
Re: "Copy Shortcut Target Item" doesn't work with unicode fi
Posted: 30 Apr 2015 23:07
by physics-teacher
Thank you Don for you good job, works all very fine for me now.