I was previously having this issue with the Enigma skin, but I attempted to create my own skin instead. The code is somewhat similar to Enigma, but all self-contained in my own folder with INIs and INCs that I wrote in VS Code.
The issue that I'm having is that EXEs will not launch when clicking on a meter. The Bang for opening Rainmeter Manage and Windows Explorer works just fine. I've attempted using the Environmental Variable for Program Files, and the direct path.
Here is an example meter:
Code: Select all
[Rainmeter]
AccurateText=1
SkinWidth=#AppWidth#
SkinHeight=#AppHeight#
Update=1000
OnRefreshAction=[!SnapEdges "1"]
[Metadata]
Name=App Shortcut 2
Author=AndyBlak
Information=Opens the application selected
Version=0.1
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
[Variables]
@Include1="#@#Variables.inc"
@Include2="#@#Styles.inc"
AppIconVar=AppIconStyleClosed
; =======================================
; Measures
; =======================================
[MeasureProcess]
Measure=Plugin
Plugin=Process
ProcessName=#App2PathName#
[MeasureAppIcon]
Measure=Calc
IfCondition=MeasureProcess > 0
IfTrueAction=[!SetVariable AppIconVar AppIconStyleRunning]
IfFalseAction=[!SetVariable AppIconVar AppIconStyleClosed]
; =======================================
; Meters
; =======================================
[Background]
Meter=Image
MeterStyle=AppBGStyle
LeftMouseUpAction=[#App2Path#][!Update]
[Border]
Meter=Shape
MeterStyle=AppBorder
[AppIconShadow]
Meter=Image
MeterStyle=AppIconShadowStyle
ImageName=#App2Icon#
LeftMouseUpAction=[#App2Path#][!Update]
[AppIcon]
Meter=Image
MeterStyle=#AppIconVar#
ImageName=#App2Icon#
ToolTipText=#App2Type#
LeftMouseUpAction=[#App2Path#][!Update]
[AppText]
Meter=String
MeterStyle=AppTextStyle
Text=#App2Name#
ToolTipText=#App2Type#
LeftMouseUpAction=[#App2Path#][!Update]
Code: Select all
; =======================================
; App Shortcuts
; =======================================
AppHeight=36
AppWidth=130
AppAlpha=100
AppBGColor=0,0,0
App1Name=Explorer
App1Path="explorer.exe"
App1PathName=explorer.exe
App1Type=Files
App1Icon=#@#Images\Start.png
App2Name=MusicBee
App2Path="%ProgramFiles%\MusicBee\MusicBee.exe"
App2PathName=MusicBee.exe
App2Type=Music
App2Icon=#@#Images\MusicBee.png
App3Name=Photoshop
App3Path="C:\Program Files\Adobe\Photoshop Elements 14\WelcomeScreen\Adobe Photoshop Elements 14.0.exe"
App3PathName=PhotoshopElementsEditor.exe
App3Type=Photo Editing
App3Icon=#@#Images\PS.png
App4Name=Rainmeter
App4Path=!Manage
App4PathName=
App4Type=Settings
App4Icon=#@#Images\Rainmeter.png
App5Name=Skype
App5Path="C:\Program Files (x86)\Skype\Phone\Skype.exe"
App5PathName=Skype.exe
App5Type=Communication
App5Icon=#@#Images\Skype.W.png
App6Name=TextPad
App6Path="C:\Program Files\TextPad 8\TextPad.exe"
App6PathName=TextPad.exe
App6Type=Editing
App6Icon=#@#Images\Text.W-2.png
App7Name=VS Code
App7Path="C:\Program Files (x86)\Microsoft VS Code\Code.exe"
App7PathName=Code.exe
App7Type=Coding
App7Icon=#@#Images\VSCode.png
Code: Select all
[AppIconStyleClosed]
DynamicVariables=1
AntiAlias=1
X=94
Y=5
ImageAlpha=100
H=26
W=26
Greyscale=1
[AppIconStyleRunning]
DynamicVariables=1
AntiAlias=1
X=94
Y=5
ImageAlpha=250
H=26
W=26
Greyscale=1
[AppIconShadowStyle]
DynamicVariables=1
AntiAlias=1
X=97
Y=7
ImageAlpha=100
H=26
W=26
Greyscale=1
ImageTint=000000aa
[AppBorder]
W=#AppWidth#-1
H=#AppHeight#-1
Shape=Rectangle 1,1,(#AppWidth#-2),(#AppHeight#-2) | Fill Color 0,0,0,0 | StrokeWidth 0.3 | Stroke Color #BorderColor#
-Andy