It is currently July 10th, 2020, 7:16 am

Shortcuts path won´t execute for normal programms

Help with creating, editing & fixing problems with skins
Tarimaru
Posts: 3
Joined: April 1st, 2020, 9:10 am

Shortcuts path won´t execute for normal programms

Post by Tarimaru »

The skin I am trying to make is a launcher that lets you drop in shortcuts with a plugin and automatically asigns the link to an inc file.
That is where the problem starts as I have it working that far, but the lnk path won´t launch for normal programms. Apps and url paths are working fine.
My skin so far (I am just testing right now so it isn´t very clean :Whistle ):

Code: Select all

[Rainmeter]
Update=1000
AccurateText=1

[Metadata]
Name=
Author=
Information=
Version=
License=Creative Commons Attribution - Non - Commercial - Share Alike 3.0

[Variables]
LinQ=[CalcLink]
Link="C:\Users\Ewige\OneDrive\Desktop\Adobe Animate 2020.lnk"
Quote="[""
Quote2="]
Name=
@includeIcon7=
@includeIcon16=
@includeIcon4=
@includeIcon25=
@includeIcon14=
@includeIcon6=C:\Users\Ewige\OneDrive\Documents\Rainmeter\Skins\Lua expriment\@Resources\Icons\Animate.inc
@includeIcon21=C:\Users\Ewige\OneDrive\Documents\Rainmeter\Skins\Lua expriment\@Resources\Icons\CSGO.inc

[CalcLink]
Measure=String
String=#Quote##Link##Quote2#

[DragNDropParent]
Measure=Plugin
Plugin=Drag&Drop

[DragNDropChild1]
Measure=Plugin
Plugin=Drag&Drop
Parent=DragNDropParent
Bounds=0,0,1920,50
Action=Path
OnDropAction=[!WriteKeyValue Variables Link """"$File$""""][!WriteKeyValue Variables Name "$Name$"][!Refresh]

[String]
Measure=String
DynamicVariables=1
String=#Name#
IfMatch="35mm"
IfMatchAction=[!WriteKeyValue Variables @includeIcon2 "#@#Icons\35mm.inc"][!WriteKeyValue 35mm LeftMouseUpAction "#LinQ#""#@#Icons\35mm.inc"][!WriteKeyValue Variables Name ""][!Refresh]
IfMatch2="3Dmark"
IfMatchAction2=[!WriteKeyValue Variables @includeIcon1 "#@#Icons\3Dmark.inc"][!WriteKeyValue 3Dmark LeftMouseUpAction "#LinQ#" "#@#Icons\3Dmark.inc"][!WriteKeyValue Variables Name ""][!Refresh]
IfMatch3="Access"
IfMatchAction3=[!WriteKeyValue Variables @includeIcon3 "#@#Icons\Access.inc"][!WriteKeyValue Access LeftMouseUpAction "#LinQ#" "#@#Icons\Access.inc"][!WriteKeyValue Variables Name ""][!Refresh]
IfMatch4="Adobe Creative Cloud"
IfMatchAction4=[!WriteKeyValue Variables @includeIcon4 "#@#Icons\AdobeCC.inc"][!WriteKeyValue AdobeCC LeftMouseUpAction "#LinQ#" "#@#Icons\AdobeCC.inc"][!WriteKeyValue Variables Name ""][!Refresh]
IfMatch5="After Effects"
IfMatchAction5=[!WriteKeyValue Variables @includeIcon5 "#@#Icons\AfterEffects.inc"][!WriteKeyValue AfterEffects LeftMouseUpAction "#LinQ#" "#@#Icons\AfterEffects.inc"][!WriteKeyValue Variables Name ""][!Refresh]
IfMatch6="Animate"
IfMatchAction6=[!WriteKeyValue Variables @includeIcon6 "#@#Icons\Animate.inc"][!WriteKeyValue Animate LeftMouseUpAction "#LinQ#" "#@#Icons\Animate.inc"][!WriteKeyValue Variables Name ""][!Refresh]
IfMatch7="r5apex"
IfMatchAction7=[!WriteKeyValue Variables @includeIcon7 "#@#Icons\ApexLegends.inc"][!WriteKeyValue ApexLegends LeftMouseUpAction "#LinQ#" "#@#Icons\ApexLegends.inc"][!WriteKeyValue Variables Name ""][!Refresh]
IfMatch8="Arma 2"
IfMatchAction8=[!WriteKeyValue Variables @includeIcon8 "#@#Icons\Arma2.inc"][!WriteKeyValue Arma2 LeftMouseUpAction "#LinQ#" "#@#Icons\Arma2.inc"][!WriteKeyValue Variables Name ""][!Refresh]
IfMatch9="Arma 3"
IfMatchAction9=[!WriteKeyValue Variables @includeIcon9 "#@#Icons\Arma3.inc"][!WriteKeyValue Arma3 LeftMouseUpAction "#LinQ#" "#@#Icons\Arma3.inc"][!WriteKeyValue Variables Name ""][!Refresh]
IfMatch10="Assetto Corsa"
IfMatchAction10=[!WriteKeyValue Variables @includeIcon10 "#@#Icons\AssettoCorsa.inc"][!WriteKeyValue AssettoCorsa LeftMouseUpAction "#LinQ#" "#@#Icons\AssettoCorsa.inc"][!WriteKeyValue Variables Name ""][!Refresh]
IfMatch11="Astroneer"
IfMatchAction11=[!WriteKeyValue Variables @includeIcon11 "#@#Icons\Astroneer.inc"][!WriteKeyValue Astroneer LeftMouseUpAction "#LinQ#" "#@#Icons\Astroneer.inc"][!WriteKeyValue Variables Name ""][!Refresh]
IfMatch12="Audacity"
IfMatchAction12=[!WriteKeyValue Variables @includeIcon12 "#@#Icons\Audacity.inc"][!WriteKeyValue Audacity LeftMouseUpAction "#LinQ#" "#@#Icons\Audacity.inc"][!WriteKeyValue Variables Name ""][!Refresh]
IfMatch13="Audition"
IfMatchAction13=[!WriteKeyValue Variables @includeIcon13 "#@#Icons\Audition.inc"][!WriteKeyValue Audition LeftMouseUpAction "#LinQ#" "#@#Icons\Audition.inc"][!WriteKeyValue Variables Name ""][!Refresh]
IfMatch14="Battle.net"
IfMatchAction14=[!WriteKeyValue Variables @includeIcon14 "#@#Icons\BattleNet.inc"][!WriteKeyValue BattleNet LeftMouseUpAction "#LinQ#" "#@#Icons\BattleNet.inc"][!WriteKeyValue Variables Name ""][!Refresh]
IfMatch15="Besiege"
IfMatchAction15=[!WriteKeyValue Variables @includeIcon15 "#@#Icons\Besiege.inc"][!WriteKeyValue Besiege LeftMouseUpAction "#LinQ#" "#@#Icons\Besiege.inc"][!WriteKeyValue Variables Name ""][!Refresh]
IfMatch16="blender"
IfMatchAction16=[!WriteKeyValue Variables @includeIcon16 "#@#Icons\Blender.inc"][!WriteKeyValue Blender LeftMouseUpAction "#LinQ#" "#@#Icons\Blender.inc"][!WriteKeyValue Variables Name ""][!Refresh]
IfMatch17="Cinema 4d"
IfMatchAction17=[!WriteKeyValue Variables @includeIcon17 "#@#Icons\Cinema4d.inc"][!WriteKeyValue Cinema4d LeftMouseUpAction "#LinQ#" "#@#Icons\Cinema4d.inc"][!WriteKeyValue Variables Name ""][!Refresh]
IfMatch18="Cities Skylines"
IfMatchAction18=[!WriteKeyValue Variables @includeIcon18 "#@#Icons\CitiesSkylines.inc"][!WriteKeyValue CitiesSkylines LeftMouseUpAction "#LinQ#" "#@#Icons\CitiesSkylines.inc"][!WriteKeyValue Variables Name ""][!Refresh]
IfMatch19="Civilizations V"
IfMatchAction19=[!WriteKeyValue Variables @includeIcon19 "#@#Icons\CivilizationsV.inc"][!WriteKeyValue CivilizationsV LeftMouseUpAction "#LinQ#" "#@#Icons\CivilizationsV.inc"][!WriteKeyValue Variables Name ""][!Refresh]
IfMatch20="CPUz"
IfMatchAction20=[!WriteKeyValue Variables @includeIcon20 "#@#Icons\CPUz.inc"][!WriteKeyValue CPUz LeftMouseUpAction "#LinQ#" "#@#Icons\CPUz.inc"][!WriteKeyValue Variables Name ""][!Refresh]
IfMatch21="Counter-Strike Global Offensive"
IfMatchAction21=[!WriteKeyValue Variables @includeIcon21 "#@#Icons\CSGO.inc"][!WriteKeyValue CSGO LeftMouseUpAction "#LinQ#" "#@#Icons\CSGO.inc"][!WriteKeyValue Variables Name ""][!Refresh]
IfMatch22="Cuphead"
IfMatchAction22=[!WriteKeyValue Variables @includeIcon22 "#@#Icons\Cuphead.inc"][!WriteKeyValue Cuphead LeftMouseUpAction "#LinQ#" "#@#Icons\Cuphead.inc"][!WriteKeyValue Variables Name ""][!Refresh]
IfMatch23="Dashlane"
IfMatchAction23=[!WriteKeyValue Variables @includeIcon23 "#@#Icons\Dashlane.inc"][!WriteKeyValue Dashlane LeftMouseUpAction "#LinQ#" "#@#Icons\Dashlane.inc"][!WriteKeyValue Variables Name ""][!Refresh]
IfMatch24="Destiny 2"
IfMatchAction24=[!WriteKeyValue Variables @includeIcon24 "#@#Icons\Destiny2.inc"][!WriteKeyValue Destiny2 LeftMouseUpAction "#LinQ#" "#@#Icons\Destiny2.inc"][!WriteKeyValue Variables Name ""][!Refresh]
IfMatch25="Discord"
IfMatchAction25=[!WriteKeyValue Variables @includeIcon25 "#@#Icons\Discord.inc"][!WriteKeyValue Discord LeftMouseUpAction "#LinQ#" "#@#Icons\Discord.inc"][!WriteKeyValue Variables Name ""][!Refresh]
IfMatch26="DOOM"
IfMatchAction26=[!WriteKeyValue Variables @includeIcon26 "#@#Icons\DOOM.inc"][!WriteKeyValue DOOM LeftMouseUpAction "#LinQ#" "#@#Icons\DOOM.inc"][!WriteKeyValue Variables Name ""][!Refresh]
IfMatch27="Dota 2"
IfMatchAction27=[!WriteKeyValue Variables @includeIcon27 "#@#Icons\Dota2.inc"][!WriteKeyValue Dota2 LeftMouseUpAction "#LinQ#" "#@#Icons\Dota2.inc"][!WriteKeyValue Variables Name ""][!Refresh]

[MeterTest]
Meter=String
Y=0R
W=1920
H=50
DynamicVariables=1
MeasureName=DragNDropChild1
Text=#LinQ#
DynamicVariables=1
FontSize=20
FontColor=#Text#
AntiAlias=1
SolidColor=0,0,0,158

[MeterName]
Meter=String
W=1920
H=50
Y=0R
MeasureName=DragNDropChild1
Text=#Name#
DynamicVariables=1
FontSize=20
FontColor=#Text#
AntiAlias=1
SolidColor=0,0,0,158
Is there either a possibility to make it work or a way to use the target path of the shortcut?