This is caused by the fact that, as you intuited, in the [mNameChildX] FileView plugin measures you've removed the .lnk extensions (by the Substitute=".lnk":"" option), then have added them back in the LeftMouseUpAction options of the [MeterPictureX] and [MeterNameX] meters (LeftMouseUpAction=["#vPath#\[&mNameChild1].lnk"]). If the file returned by the measure is a .lnk file, this cause no trouble, however if it is a .url file it does, because nothing is substituted by the Substitute options of the [mNameChildX] measures (the extension not being .lnk), but the .lnk extension is added to the name which already has a .url extension.Judian81 wrote: ↑December 3rd, 2021, 3:53 pm i hide the extensions and make a list of shortcuts. and when i click on any icon it will open a lnk file.
but the url file to some website it just does nothing.
so i created a duplicate so it will open url file or any other files. is this normal?! because i find it strange. when i have a hidden extention it will open lnk files automaticly.
The solution is pretty simple: remove the Substitute=".lnk":"" options of the [mNameChildX] measures AND the .lnk extensions from the LeftMouseUpAction=["#vPath#\[&mNameChildX].lnk"] options of the [MeterPictureX] and [MeterNameX] meters:
Code: Select all
[mNameChild1]
Measure=Plugin
Plugin=FileView
Path=[mFolderParent]
Type=FileName
Index=1
;Substitute=".lnk":""
Group=Children
DynamicVariables=1
...
[MeterPicture1]
Meter=Image
MeasureName=mIconChild1
X=12
Y=40
W=30
H=30
LeftMouseUpAction=["#vPath#\[&mNameChild1]"]
...
[MeterName1]
Meter=String
MeterStyle=styleLeftText
MeasureName=mNameChild1
X=50
Y=40
W=(#vWidth#-5)
H=30
LeftMouseUpAction=["#vPath#\[&mNameChild1]"]
DynamicVariables=1