It is currently May 3rd, 2024, 1:44 am

Shortcuts Do Not Work

Get help with installing and using Rainmeter.
User avatar
SuperCoolDude
Posts: 3
Joined: August 9th, 2012, 2:17 am
Location: Oregon

Shortcuts Do Not Work

Post by SuperCoolDude »

Hi. I recently installed the Uixx theme, and I noticed that some of the shortcuts do not work, even after editing them.

For example, to access Firefox, the shortcut default was:

Code: Select all

;-------shortcut1;
shortcutText1=Internet - Firefox
shortcutPath1=firefox.exe
I attempted to change the path to the actual .exe when it didn't work upon clicking on it, to no avail.


Also, for My Documents, the shortcut icon is listed as:

Code: Select all

;-------shortcut3;
shortcutText3=My Documents
shortcutPath3="C:\Users\%USERNAME%\Documents"
I replaced the "%USERNAME%" part, and it still doesn't work upon clicking on it.

Yes, I did Load\Unload the Skin. :) Not sure how to fix this.

Also, it has an outdated Accuweather skin in several places. The creator of the Skin said to post here to get details on how to change the Accuweather to something like Weatherbug (this is way beyond my simple knowledge of modding skins).
User avatar
MerlinTheRed
Rainmeter Sage
Posts: 889
Joined: September 6th, 2011, 6:34 am

Re: Shortcuts Do Not Work

Post by MerlinTheRed »

The problem might be in the way those links are executed. Can you post the entire skin's code in [code][/code] tags? Specifically meters with LeftMouseUp/DownAction are interesting.
Have more fun creating skins with Sublime Text 2 and the Rainmeter Package!
User avatar
SuperCoolDude
Posts: 3
Joined: August 9th, 2012, 2:17 am
Location: Oregon

Re: Shortcuts Do Not Work

Post by SuperCoolDude »

Here's the Shortcut part:

Code: Select all

[Rainmeter]
Author=Albinozz
Update=360000000
AppVersion=1000000

[Variables]
;===========SETTINGS===========;

;-_-_-_-_SHORTCUTS-_-_-_-_;

;-------shortcut1;
shortcutText1=Internet - Firefox
shortcutPath1=firefox.exe

;-------shortcut2;
shortcutText2=Deviantart - Albinozz
shortcutPath2=http://albinozz.deviantart.com/

;-------shortcut3;
shortcutText3=My Documents
shortcutPath3="C:\Users\%USERNAME%\Documents"

;-------shortcut4;
shortcutText4=Email - Outlook
shortcutPath4="outlook.exe"

;-------shortcut5;
shortcutText5=Task Manager
shortcutPath5="taskmgr.exe"

;-------shortcut6;
shortcutText6=AccuWeather
shortcutPath6="www.accuweather.com"

;======================;

FontName=Eurostile


;----Text Color----;
TextColor=255,255,255,225
TextHighlight=0,0,0,220
FontSize=12

;----Color BG Layout----;
;-----------color is set like this: red,gren,blue,transparent Allowed value are 0-255

BgColor=255,255,255,205

;===========END SETTINGS=======;
[backing]
Meter=IMAGE
SolidColor=0,0,0,1
X=0
Y=0
H=220
W=200
AntiAlias=0
Hidden=0
;------------------------;
;-----------BG-----------;
[BG]
Meter=IMAGE
SolidColor=#BgColor#
X=0
Y=0
H=220
W=10
AntiAlias=0
Hidden=0
LeftMouseDownAction=!Execute [!RainmeterRedraw]
LeftMouseUpAction=!Execute [!RainmeterHideMeter BG1][!RainmeterHideMeter shortcut1][!RainmeterHideMeter shortcut1H][!RainmeterHideMeter BG2][!RainmeterHideMeter shortcut2][!RainmeterHideMeter shortcut2H][!RainmeterHideMeter BG3][!RainmeterHideMeter shortcut3][!RainmeterHideMeter shortcut3H][!RainmeterHideMeter BG4][!RainmeterHideMeter shortcut4][!RainmeterHideMeter shortcut4H][!RainmeterHideMeter BG5][!RainmeterHideMeter shortcut5][!RainmeterHideMeter shortcut5H][!RainmeterHideMeter BG6][!RainmeterHideMeter shortcut6][!RainmeterHideMeter shortcut6H][!RainmeterShowMeter BG2][!RainmeterHideMeter BG][!RainmeterRedraw]

[BG2]
Meter=IMAGE
SolidColor=#BgColor#
X=r
Y=r
H=220
W=10
AntiAlias=0
Hidden=1
LeftMouseDownAction=!Execute [!RainmeterRedraw]
LeftMouseUpAction=!Execute [!RainmeterRefresh][!RainmeterRedraw]

[lEdge]
Meter=IMAGE
ImageName=rightedge.png
X=10
Y=195
W=45
H=25
AntiAlias=1

[Selected]
Meter=IMAGE
SolidColor=#BgColor#
X=10
Y=0
H=25
W=180
AntiAlias=0
Hidden=1

;--------------------SHORTCUTS-----------------;

[shortcut1]
Meter=STRING
X=25
Y=20
H=18
W=170
FontColor=#TextColor#
FontSize=#FontSize#
FontFace=#FontName#
StringAlign=LEFT
Prefix=#shortcutText1#
AntiAlias=1
ClipString=1
Hidden=0
MouseOverAction=!Execute [!RainmeterShowMeter shortcut1H][!RainmeterShowMeter Selected][!RainmeterMoveMeter 10 15 Selected][!RainmeterRedraw]
MouseLeaveAction=!Execute [!RainmeterHideMeter shortcut1H][!RainmeterHideMeter Selected][!RainmeterRedraw]
LeftMouseDownAction=!Execute [!RainmeterRedraw]
LeftMouseUpAction=!Execute [#shortcutPath1#][!RainmeterHideMeter shortcut1H[!RainmeterHideMeter Selected][!RainmeterRedraw]

[shortcut1H]
Meter=STRING
X=r
Y=r
H=18
W=170
FontColor=#TextHighlight#
FontSize=#FontSize#
FontFace=#FontName#
StringAlign=LEFT
Prefix=#shortcutText1#
ClipString=1
AntiAlias=1
Hidden=1

[shortcut2]
Meter=STRING
X=25
Y=30r
H=18
W=170
FontColor=#TextColor#
FontSize=#FontSize#
FontFace=#FontName#
StringAlign=LEFT
Prefix=#shortcutText2#
AntiAlias=1
ClipString=1
Hidden=0
MouseOverAction=!Execute [!RainmeterShowMeter shortcut2H][!RainmeterShowMeter Selected][!RainmeterMoveMeter 10 45 Selected][!RainmeterRedraw]
MouseLeaveAction=!Execute [!RainmeterHideMeter shortcut2H][!RainmeterHideMeter Selected][!RainmeterRedraw]
LeftMouseDownAction=!Execute [!RainmeterRedraw]
LeftMouseUpAction=!Execute [#shortcutPath2#][!RainmeterHideMeter shortcut2H[!RainmeterHideMeter Selected][!RainmeterRedraw]

[shortcut2H]
Meter=STRING
X=r
Y=r
H=18
W=170
FontColor=#TextHighlight#
FontSize=#FontSize#
FontFace=#FontName#
StringAlign=LEFT
Prefix=#shortcutText2#
ClipString=1
AntiAlias=1
Hidden=1

[shortcut3]
Meter=STRING
X=25
Y=30r
H=18
W=170
FontColor=#TextColor#
FontSize=#FontSize#
FontFace=#FontName#
StringAlign=LEFT
Prefix=#shortcutText3#
ClipString=1
AntiAlias=1
Hidden=0
MouseOverAction=!Execute [!RainmeterShowMeter shortcut3H][!RainmeterShowMeter Selected][!RainmeterMoveMeter 10 75 Selected][!RainmeterRedraw]
MouseLeaveAction=!Execute [!RainmeterHideMeter shortcut3H][!RainmeterHideMeter Selected][!RainmeterRedraw]
LeftMouseDownAction=!Execute [!RainmeterRedraw]
LeftMouseUpAction=!Execute [#shortcutPath3#][!RainmeterHideMeter shortcut3H[!RainmeterHideMeter Selected][!RainmeterRedraw]

[shortcut3H]
Meter=STRING
X=r
Y=r
H=18
W=170
FontColor=#TextHighlight#
FontSize=#FontSize#
FontFace=#FontName#
StringAlign=LEFT
Prefix=#shortcutText3#
ClipString=1
AntiAlias=1
Hidden=1

[shortcut4]
Meter=STRING
X=25
Y=30r
H=18
W=170
FontColor=#TextColor#
FontSize=#FontSize#
FontFace=#FontName#
StringAlign=LEFT
Prefix=#shortcutText4#
ClipString=1
AntiAlias=1
Hidden=0
MouseOverAction=!Execute [!RainmeterShowMeter shortcut4H][!RainmeterShowMeter Selected][!RainmeterMoveMeter 10 105 Selected][!RainmeterRedraw]
MouseLeaveAction=!Execute [!RainmeterHideMeter shortcut4H][!RainmeterHideMeter Selected][!RainmeterRedraw]
LeftMouseDownAction=!Execute [!RainmeterRedraw]
LeftMouseUpAction=!Execute [#shortcutPath4#][!RainmeterHideMeter shortcut4H[!RainmeterHideMeter Selected][!RainmeterRedraw]

[shortcut4H]
Meter=STRING
X=r
Y=r
H=18
W=170
FontColor=#TextHighlight#
FontSize=#FontSize#
FontFace=#FontName#
StringAlign=LEFT
Prefix=#shortcutText4#
ClipString=1
AntiAlias=1
Hidden=1

[shortcut5]
Meter=STRING
X=25
Y=30r
H=18
W=170
FontColor=#TextColor#
FontSize=#FontSize#
FontFace=#FontName#
StringAlign=LEFT
Prefix=#shortcutText5#
ClipString=1
AntiAlias=1
Hidden=0
MouseOverAction=!Execute [!RainmeterShowMeter shortcut5H][!RainmeterShowMeter Selected][!RainmeterMoveMeter 10 135 Selected][!RainmeterRedraw]
MouseLeaveAction=!Execute [!RainmeterHideMeter shortcut5H][!RainmeterHideMeter Selected][!RainmeterRedraw]
LeftMouseDownAction=!Execute [!RainmeterRedraw]
LeftMouseUpAction=!Execute [#shortcutPath5#][!RainmeterHideMeter shortcut5H[!RainmeterHideMeter Selected][!RainmeterRedraw]

[shortcut5H]
Meter=STRING
X=r
Y=r
H=18
W=170
FontColor=#TextHighlight#
FontSize=#FontSize#
FontFace=#FontName#
StringAlign=LEFT
Prefix=#shortcutText5#
ClipString=1
AntiAlias=1
Hidden=1

[shortcut6]
Meter=STRING
X=25
Y=30r
H=18
W=170
FontColor=#TextColor#
FontSize=#FontSize#
FontFace=#FontName#
StringAlign=LEFT
Prefix=#shortcutText6#
ClipString=1
AntiAlias=1
Hidden=0
MouseOverAction=!Execute [!RainmeterShowMeter shortcut6H][!RainmeterShowMeter Selected][!RainmeterMoveMeter 10 165 Selected][!RainmeterRedraw]
MouseLeaveAction=!Execute [!RainmeterHideMeter shortcut6H][!RainmeterHideMeter Selected][!RainmeterRedraw]
LeftMouseDownAction=!Execute [!RainmeterRedraw]
LeftMouseUpAction=!Execute [#shortcutPath6#][!RainmeterHideMeter shortcut6H[!RainmeterHideMeter Selected][!RainmeterRedraw]

[shortcut6H]
Meter=STRING
X=r
Y=r
H=18
W=170
FontColor=#TextHighlight#
FontSize=#FontSize#
FontFace=#FontName#
StringAlign=LEFT
Prefix=#shortcutText6#
ClipString=1
AntiAlias=1
Hidden=1
And here's the weather thing (not sure if anything can be done about this):

Code: Select all

[Rainmeter]
Author=Albinozz
Update=1000
AppVersion=1000000

[Variables]
;==============SETTINGS=================;

FontName=Eurostile

BarColor=5,180,50,255

TextColor=78,185,246,255
TextColor2=150,180,24,255

Destination=EUR|SE|USOR0118|JONKOPING
;--Find your destination code at "http://www.rainmeter.net/locate_code"
celsiusORfahrenheit=0
;--for celsius type "1"
;--for fahrenheit type "0"

;==============END=SETTINGS=============;

[bg]
Meter=IMAGE
SolidColor=0,0,0,1
X=0
Y=0
W=210
H=50
AntiAlias=1

[mWeather]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=900
Url=http://rainmeter.accu-weather.com/widget/rainmeter/weather-data.asp?location=#Destination#&metric=#celsiusORfahrenheit#
RegExp="(?siU).*<currentconditions>.*<temperature>(.*)</temperature>.*<weathertext>(.*)</weathertext>.*"
StringIndex=1

[mTemp]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[mWeather]
StringIndex=1

[mWText]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[mWeather]
StringIndex=2

[MeterTemp]
MeasureName=mTemp
Meter=STRING
X=120
Y=0
FontColor=#TextColor#
StringStyle=NORMAL
FontSize=38
StringAlign=Right
StringStyle=NORMAL
FontFace=#FontName#
Antialias=1
Postfix="°"
Hidden=0

[MeterWText]
MeasureName=mWText
Meter=STRING
X=100
Y=32r
FontColor=#TextColor2#
StringStyle=NORMAL
FontSize=10
StringAlign=Left
StringStyle=NORMAL
FontFace=#FontName#
Antialias=1
Hidden=0
User avatar
MerlinTheRed
Rainmeter Sage
Posts: 889
Joined: September 6th, 2011, 6:34 am

Re: Shortcuts Do Not Work

Post by MerlinTheRed »

The links work perfectly fine for me. Are you using the latest Rainmeter version (should work even if you aren't). Do none of the links work or only some of them?

As for the weather skin: Might actually be pretty easy to change this to another weather site. We'd have to see if it provides a textual description of the current conditions though.
Have more fun creating skins with Sublime Text 2 and the Rainmeter Package!
User avatar
SuperCoolDude
Posts: 3
Joined: August 9th, 2012, 2:17 am
Location: Oregon

Re: Shortcuts Do Not Work

Post by SuperCoolDude »

The Firefox and My Documents one don't work for me, not sure why. On the lastest version of Rain.
User avatar
thatsIch
Posts: 446
Joined: August 7th, 2012, 9:18 pm

Re: Shortcuts Do Not Work

Post by thatsIch »

Have you installed it on another partition besides C:/?

shortcutPath3="C:\Users\%USERNAME%\Documents"

change to

shortcutPath3="%USERNAME%\Documents"

or if you using different language you need to change the Documents eventually, but normally there is no need for

And for Firefox you need a shortcut in the "All Programms"-Folder or a setting in the path-variable in advanced config on your PC (right click your computer icon -> advanced > button bottom "pathvariable")