It is currently May 21st, 2024, 8:00 am

How to place my icons in DOCK_IT_

Get help with creating, editing & fixing problems with skins
Dylazzz
Posts: 1
Joined: September 25th, 2010, 11:11 pm

How to place my icons in DOCK_IT_

Post by Dylazzz »

I really have no clue, just for one example, could someone tell me how to put my Google chrome icon in here?

The text:

Code: Select all

[Rainmeter]
Author=Ryan (Santa_ryan@yahoo.com)
Update=1000

;Metadata added by RainBrowser
;http://rainmeter.net/cms/Rainmeter101-EditingSkins

[Metadata]
Name=Dock IT! Application Shortcut Dock
Description=A Modular Shortcut dock. Has minor issues with large border thicknesses.
Instructions=Click icon to start it. Change Apps, Icons, and Spacers accordingly. Change Apps= and Spacers= to the correct values inside Configure.cfg.
Version=1.0
Tags=Dock | Apps | Modular |
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0

;End of added Metadata

[Variables]
@include=#SkinsPath#\Dock IT!\Configure.cfg

;--------------------------
;           Calculations
;--------------------------

BackgroundWidth=(#BorderThickness#+(#Apps#*#IconWidth#)+(#Spacers#*#SpacerThickness#))

BackgroundHeight=(#IconHeight#+(#IconHeight#*(1/12))+#BorderThickness#)

EqualWidthSpace=(#BackgroundWidth#*(1/363))

EqualHeightSpace=((#BackgroundHeight#-#IconHeight#)/2+#BorderThickness#)

BorderBottom=(#BackgroundHeight#)

SpacerCenter=((#BackgroundHeight#/2)-(#SpacerHeight#/2))

;END VARIABLES
;--------------------------

[IconFolder]
Measure=Calc
Formula=#UseIconFolder#=1 ? 1 : 0
Substitute="1":"icons\","0":"",".":""

[SpacerFullOrSpecificY]
Measure=Calc
Formula=#SetSpacerFull#=1 ? 0 : #SpacerCenter#

[SpacerFullOrSpecificH]
Measure=Calc
Formula=#SetSpacerFull#=1 ? #BackgroundHeight# : #SpacerHeight#

[AppStyle]
X=R
Y=#EqualHeightSpace#
W=#IconWidth#
H=#IconHeight#
AntiAlias=1
DynamicVariables=1

[SpacerStyle]
Solidcolor=#LineColor#
X=R
Y=[SpacerFullOrSpecificY]
H=[SpacerFullOrSpecificH]
W=#SpacerThickness#
AntiAlias=1
DynamicVariables=1

;--------------------------
; Background And Borders
;--------------------------

[Background]
Meter=IMAGE
SolidColor=#BarColor#
H=#BackgroundHeight#
W=#BackgroundWidth#
Clipstring=1
MouseOverAction=!execute [!RainmeterZPos -1][!RainmeterRedraw]

[BorderTop]
METER=IMAGE
Solidcolor=#LineColor#
H=#BorderThickness#
W=#BackgroundWidth#

[BorderBottom]
METER=IMAGE
Solidcolor=#LineColor#
H=#BorderThickness#
W=#BackgroundWidth#
Y=#BorderBottom#

[BorderLeft]
METER=IMAGE
Solidcolor=#LineColor#
H=#BackgroundHeight#
W=#BorderThickness#

[BorderRight]
METER=IMAGE
Solidcolor=#LineColor#
H=#BackgroundHeight#
W=#BorderThickness#
X=(#BackgroundWidth#-2)

;--------------------------
;                  Apps
;--------------------------
;Left To Right

[App1]
Meter=IMAGE
MeterStyle=AppStyle
ImageName=[IconFolder]#Icon1#
x=#EqualWidthSpace#
LeftMouseUpAction=!execute [#App1#]

[App2]
Meter=IMAGE
MeterStyle=AppStyle
ImageName=[IconFolder]#Icon2#
LeftMouseUpAction=!execute [#App2#]

[Spacer]
METER=IMAGE
MeterStyle=SpacerStyle

[App3]
Meter=IMAGE
MeterStyle=AppStyle
ImageName=[IconFolder]#Icon3#
LeftMouseUpAction=!execute [#App3#]

[App4]
Meter=IMAGE
MeterStyle=AppStyle
ImageName=[IconFolder]#Icon4#
LeftMouseUpAction=!execute [#App4#]

[App5]
Meter=IMAGE
MeterStyle=AppStyle
ImageName=[IconFolder]#Icon5#
LeftMouseUpAction=!execute [#App5#]

[App6]
Meter=IMAGE
MeterStyle=AppStyle
ImageName=[IconFolder]#Icon6#
LeftMouseUpAction=!execute [#App6#]

[App7]
Meter=IMAGE
MeterStyle=AppStyle
ImageName=[IconFolder]#Icon7#
LeftMouseUpAction=!execute [#App7#]

[Spacer2]
METER=IMAGE
MeterStyle=SpacerStyle

[App8]
Meter=IMAGE
MeterStyle=AppStyle
ImageName=[IconFolder]#Icon8#
LeftMouseUpAction=!execute [#App8#]

[App9]
Meter=IMAGE
MeterStyle=AppStyle
ImageName=[IconFolder]#Icon9#
LeftMouseUpAction=!execute [#App9#]

[App10]
Meter=IMAGE
MeterStyle=AppStyle
ImageName=[IconFolder]#Icon10#
LeftMouseUpAction=!execute [#App10]

[App11]
Meter=IMAGE
MeterStyle=AppStyle
ImageName=[IconFolder]#Icon11#
LeftMouseUpAction=!execute [#App11#]

[App12]
Meter=IMAGE
MeterStyle=AppStyle
ImageName=[IconFolder]#Icon12#
LeftMouseUpAction=!execute [#App12#]
Last edited by Alex2539 on September 26th, 2010, 2:35 am, edited 1 time in total.
Reason: Please use the [code][/code] tags for large amounts of code.
poiru
Developer
Posts: 2872
Joined: April 17th, 2009, 12:18 pm

Re: How to place my icons in DOCK_IT_

Post by poiru »

Did you read Instructions= below [Metadata]?