It is currently April 28th, 2024, 10:14 am

iso someones help with rewriting the "script" for an app

Get help with creating, editing & fixing problems with skins
mcfatty90
Posts: 9
Joined: December 16th, 2011, 9:55 pm

iso someones help with rewriting the "script" for an app

Post by mcfatty90 »

script might be the wrong word, but I'm doing some editing to the steam wheel and need some help. I created an icon for a non steam game, but I cant get it to launch. Any ideas??

(Original Steam Wheel)
http://customize.org/rainmeter/skins/65475

(Simple modifications I did)

Image

Image
User avatar
smurfier
Moderator
Posts: 1931
Joined: January 29th, 2010, 1:43 am
Location: Willmar, MN

Re: iso someones help with rewriting the "script" for an app

Post by smurfier »

In order for us to help you, please post your modified skin code inside tags.
GitHub | DeviantArt | Tumblr
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
mcfatty90
Posts: 9
Joined: December 16th, 2011, 9:55 pm

Re: iso someones help with rewriting the "script" for an app

Post by mcfatty90 »

K, don't yell if this isnt what you want. Teh nub here but I think this is what you want.

Code: Select all

;
; Rainmeter configuration file
; "STEAM WHEEL" - App launcher
; Skin Version 1.06
;
; For more info, right-click the main button.

[Rainmeter]
BackgroundMode=1
Author=Ultra
Update=1000
AppVersion=1001

[Variables]
;--Edit these variables to customize the wheel.
;--Read the ReadMe file first!

;--Enter your steamapps folder path and Steam account name here.
SteamApps=C:\Program Files\Steam
AccountName=mcfatty90

;--To change the style, edit this variable.
;--Style folders should be placed in the 'styles' folder.
Style=Default

;--If you want to give your Wheel a custom caption, type it here.
;--You can also specify your own alpha value for the caption.
;--Set it to 0 to hide the caption.
CaptionText=Steam Wheel
CaptionAlpha=0

;--To change both the executed command and used image for each icon, edit these variables.
Icon3Exe="steam://open/main"
Icon3Img="icons\Steam.png"


Icon9Exe="steam://run/400"
Icon9Img="icons\Portal.png"

Icon4Exe="steam://run/600"
Icon4Img="icons\skyrim.png"

Icon10Exe="steam://run/440"
Icon10Img="icons\Team Fortress 2.png"

Icon14Exe="steam://run/4000"
Icon14Img="icons\Garry's Mod.png"

Icon1Exe="steam://run/240"
Icon1Img="icons\Counter-Strike Source.png"

;--STOP EDITING HERE!--


ToggleWheel="[!RainmeterToggleMeter MainWheel] [!RainmeterToggleMeter MainText] [!RainmeterToggleMeter Icon1] [!RainmeterToggleMeter Icon2] [!RainmeterToggleMeter Icon3] [!RainmeterToggleMeter Icon4] [!RainmeterToggleMeter Icon5] [!RainmeterToggleMeter Icon6] [!RainmeterToggleMeter Icon7] [!RainmeterToggleMeter Icon8] [!RainmeterToggleMeter Icon9] [!RainmeterToggleMeter Icon10] [!RainmeterToggleMeter Icon11] [!RainmeterToggleMeter Icon12] [!RainmeterToggleMeter Icon13] [!RainmeterToggleMeter Icon14] [!RainmeterToggleMeter Icon15] [!RainmeterToggleMeter Icon16]"
ToggleInfo="[!RainmeterToggleMeter InfoBox] [!RainmeterToggleMeter StyleInfoText] [!RainmeterToggleMeter SkinInfoText] [!RainmeterToggleMeter CloseButton]"


[MeasureSkinInfo]
Measure=Plugin
Plugin=Plugins\QuotePlugin.dll
PathName=#CURRENTPATH#Info.txt
Disabled=0
Separator=¶
#Subfolders=0
#FileFilter=*.txt

[MeasureStyleInfo]
Measure=Plugin
Plugin=Plugins\QuotePlugin.dll
PathName=#CURRENTPATH#\styles\#Style#\Info.txt
Disabled=0
Separator=¶
#Subfolders=0
#FileFilter=*.txt


;-----------------------------------------------------------------------

[MainWheel]


[MainButton]
Meter=BUTTON
X=355
Y=20
ButtonImage=styles\#Style#\mainbutton.png
ButtonCommand=!Execute #ToggleWheel#
RightMouseDownAction=!Execute #ToggleInfo#

[MainText]
Meter=STRING
Hidden=1
x=300
y=375
Text=#CaptionText#
FontColor=130, 130, 130, #CaptionAlpha#
FontFace="Trebuchet MS"
FontSize=20
StringStyle=BOLD
StringAlign=CENTER
AntiAlias=1

[InfoBox]
Meter=IMAGE
Hidden=1
x=150
y=175
ImageName=styles\#Style#\info.png

[SkinInfoText]
Meter=STRING
Hidden=1
x=165
y=250
MeasureName=MeasureSkinInfo
MeasureName2=MeasureStyleInfo
FontColor=170, 170, 170, 200
FontFace="Trebuchet MS"
FontSize=10
FontEffectColor=0, 0, 0, 200
StringEffect=SHADOW
AntiAlias=1

[StyleInfoText]
Meter=STRING
Hidden=1
x=320
y=298
MeasureName=MeasureStyleInfo
FontColor=170, 170, 170, 200
FontFace="Trebuchet MS"
FontSize=10
FontEffectColor=0, 0, 0, 200
StringEffect=SHADOW
AntiAlias=1

[CloseButton]
Meter=BUTTON
Hidden=1
x=250
y=365
ButtonImage=styles\#Style#\closebutton.png
ButtonCommand=!Execute #ToggleInfo#


;-----------------------------------------------------------------------

[Icon1]
Meter=BUTTON
Hidden=1
x=350
y=145
ButtonImage=#Icon1Img#
ButtonCommand=!Execute #ToggleWheel# ["#Icon1Exe#"] [PLAY Skins\Steam Wheel\sounds\applaunch.wav]
RightMouseDownAction=!Execute ["#SteamApps#\#AccountName#\"]

[Icon2]
Meter=BUTTON
Hidden=1
x=366
y=32
ButtonImage=#Icon2Img#
ButtonCommand=!Execute #ToggleWheel# ["#Icon2Exe#"] [PLAY Skins\Steam Wheel\sounds\applaunch.wav]
RightMouseDownAction=!Execute ["#SteamApps#\#AccountName#\half-life 2\"]

[Icon3]
Meter=BUTTON
Hidden=1
x=350
y=70
ButtonImage=#Icon3Img#
ButtonCommand=!Execute #ToggleWheel# ["#Icon3Exe#"] [PLAY Skins\Steam Wheel\sounds\applaunch.wav]
RightMouseDownAction=!Execute ["#SteamApps#\#AccountName#\half-life 2 episode one\"]

[Icon4]
Meter=BUTTON
Hidden=1
x=350
y=220
ButtonImage=#Icon4Img#
ButtonCommand=!Execute #ToggleWheel# ["#Icon4Exe#"] [PLAY Skins\Steam Wheel\sounds\applaunch.wav]
RightMouseDownAction=!Execute ["#SteamApps#\#mcfatty90#\SkyrimLauncher\"]

; --- LOST COAST -> HL2 EP3 ---
[Icon5]
Meter=BUTTON
Hidden=1
x=518
y=268
ButtonImage=#Icon5Img#
ButtonCommand=!Execute #ToggleWheel# ["#Icon5Exe#"] [PLAY Skins\Steam Wheel\sounds\applaunch.wav]
RightMouseDownAction=!Execute ["#SteamApps#\#AccountName#\half-life 2 lostcoast\"]

[Icon6]
Meter=BUTTON
Hidden=1
x=504
y=366
ButtonImage=#Icon6Img#
ButtonCommand=!Execute #ToggleWheel# ["#Icon6Exe#"] [PLAY Skins\Steam Wheel\sounds\applaunch.wav]
RightMouseDownAction=!Execute ["#SteamApps#\#AccountName#\half-life\"]

[Icon7]
Meter=BUTTON
Hidden=1
x=448
y=448
ButtonImage=#Icon7Img#
ButtonCommand=!Execute #ToggleWheel# ["#Icon7Exe#"] [PLAY Skins\Steam Wheel\sounds\applaunch.wav]
RightMouseDownAction=!Execute ["#SteamApps#\#AccountName#\half-life blue shift"]

[Icon8]
Meter=BUTTON
Hidden=1
x=366
y=504
ButtonImage=#Icon8Img#
ButtonCommand=!Execute #ToggleWheel# ["#Icon8Exe#"] [PLAY Skins\Steam Wheel\sounds\applaunch.wav]
RightMouseDownAction=!Execute ["#SteamApps#\#AccountName#\opposing force\"]

[Icon9]
Meter=BUTTON
Hidden=1
x=350
y=370
ButtonImage=#Icon9Img#
ButtonCommand=!Execute #ToggleWheel# ["#Icon9Exe#"] [PLAY Skins\Steam Wheel\sounds\applaunch.wav]
RightMouseDownAction=!Execute ["#SteamApps#\#AccountName#\portal\"]

[Icon10]
Meter=BUTTON
Hidden=1
x=355
y=430
ButtonImage=#Icon10Img#
ButtonCommand=!Execute #ToggleWheel# ["#Icon10Exe#"] [PLAY Skins\Steam Wheel\sounds\applaunch.wav]
RightMouseDownAction=!Execute ["#SteamApps#\#AccountName#\team fortress 2\"]

[Icon11]
Meter=BUTTON
Hidden=1
x=84
y=448
ButtonImage=#Icon11Img#
ButtonCommand=!Execute #ToggleWheel# ["#Icon11Exe#"] [PLAY Skins\Steam Wheel\sounds\applaunch.wav]
RightMouseDownAction=!Execute ["#SteamApps#\common\left 4 dead\"]

; --- ORIGINAL L4D -> L4D2 ---
[Icon12]
Meter=BUTTON
Hidden=1
x=36
y=366
ButtonImage=#Icon12Img#
ButtonCommand=!Execute #ToggleWheel# ["#Icon12Exe#"] [PLAY Skins\Steam Wheel\sounds\applaunch.wav]
RightMouseDownAction=!Execute ["#SteamApps#\common\left 4 dead\"]

[Icon13]
Meter=BUTTON
Hidden=1
x=12
y=268
ButtonImage=#Icon13Img#
ButtonCommand=!Execute #ToggleWheel# ["#Icon13Exe#"] [PLAY Skins\Steam Wheel\sounds\applaunch.wav]
RightMouseDownAction=!Execute ["#SteamApps#\#AccountName#\garrysmod\"]

[Icon14]
Meter=BUTTON
Hidden=1
x=350
y=300
ButtonImage=#Icon14Img#
ButtonCommand=!Execute #ToggleWheel# ["#Icon14Exe#"] [PLAY Skins\Steam Wheel\sounds\applaunch.wav]
RightMouseDownAction=!Execute ["#SteamApps#\#AccountName#\counter-strike source\"]

[Icon15]
Meter=BUTTON
Hidden=1
x=84
y=84
ButtonImage=#Icon15Img#
ButtonCommand=!Execute #ToggleWheel# ["#Icon15Exe#"] [PLAY Skins\Steam Wheel\sounds\applaunch.wav]
RightMouseDownAction=!Execute ["#SteamApps#\#AccountName#\day of defeat source\"]

[Icon16]
Meter=BUTTON
Hidden=1
x=170
y=32
ButtonImage=#Icon16Img#
ButtonCommand=!Execute #ToggleWheel# ["#Icon16Exe#"] [PLAY Skins\Steam Wheel\sounds\applaunch.wav]
RightMouseDownAction=!Execute ["#SteamApps#\#AccountName#\sourcesdk_content\"]
Icon4 is the one I'm working on.
User avatar
smurfier
Moderator
Posts: 1931
Joined: January 29th, 2010, 1:43 am
Location: Willmar, MN

Re: iso someones help with rewriting the "script" for an app

Post by smurfier »

There's only one thing I see that's wrong:
you need to remove the # sign from around your name. They denote the use of a variable.

Code: Select all

[Icon4]
Meter=BUTTON
Hidden=1
x=350
y=220
ButtonImage=#Icon4Img#
ButtonCommand=!Execute #ToggleWheel# ["#Icon4Exe#"] [PLAY Skins\Steam Wheel\sounds\applaunch.wav]
RightMouseDownAction=!Execute ["#SteamApps#\mcfatty90\SkyrimLauncher\"]
Other than that, and assuming steam://run/600 is a valid command, I see nothing wrong.
GitHub | DeviantArt | Tumblr
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
mcfatty90
Posts: 9
Joined: December 16th, 2011, 9:55 pm

Re: iso someones help with rewriting the "script" for an app

Post by mcfatty90 »

smurfier wrote: Other than that, and assuming steam://run/600 is a valid command, I see nothing wrong.
That is actually my problem, that "steam://run/600" was just a copy from another game. What is that command and how do I figure out what should go there for a non steam game. ftw the game is in my steam games list, not in my documents but on the actual steam game menu.
User avatar
AlC
Posts: 329
Joined: June 9th, 2011, 6:46 pm

Re: iso someones help with rewriting the "script" for an app

Post by AlC »

(I don't have steam.)

But the game must be installed on your PC. !?
Just change the variable Icon4Exe.

Icon4Exe="C:\Program Files\Gamefolder\gamename.exe"

Change C:\Program Files\Gamefolder\gamename.exe to your path (including the .exe).
Rainmeter - You are only limited by your imagination and creativity.
mcfatty90
Posts: 9
Joined: December 16th, 2011, 9:55 pm

Re: iso someones help with rewriting the "script" for an app

Post by mcfatty90 »

AlC wrote:(I don't have steam.)

But the game must be installed on your PC. !?
Just change the variable Icon4Exe.

Icon4Exe="C:\Program Files\Gamefolder\gamename.exe"

C:\Program Files\Gamefolder\gamename.exe to your path (including the .exe).
I just try'd this, and it makes sense it should work..... but it seem that its not working.
User avatar
AlC
Posts: 329
Joined: June 9th, 2011, 6:46 pm

Re: iso someones help with rewriting the "script" for an app

Post by AlC »

Retrieve the Application ID for a Steam Game

This process can also be used for Demos, Media, and other products on Steam:

Login to the Steam account
Go to your Library
Right click the installed game and choose "Create desktop shortcut"
Go to your Desktop and locate the new shortcut
Right-click on the shortcut and select Properties
Look at the target path for the number following steam://rungameid/. This number is the Application ID for the game.
from: https://support.steampowered.com/kb_article.php?ref=3729-WFJZ-4175
with the help of google ...

If this don't help you, then use simply the new created shortcut as bang.
Rainmeter - You are only limited by your imagination and creativity.
mcfatty90
Posts: 9
Joined: December 16th, 2011, 9:55 pm

Re: iso someones help with rewriting the "script" for an app

Post by mcfatty90 »

Sir you are the master of google. thank you very much.
User avatar
AlC
Posts: 329
Joined: June 9th, 2011, 6:46 pm

Re: iso someones help with rewriting the "script" for an app

Post by AlC »

No prob :)
Rainmeter - You are only limited by your imagination and creativity.