It is currently May 7th, 2024, 11:18 pm

Altering default enigma laucher skin

Get help with creating, editing & fixing problems with skins
Takuya
Posts: 5
Joined: August 20th, 2010, 9:37 am

Altering default enigma laucher skin

Post by Takuya »

Here is the code of the laucher skin
;------------------------------------------------------------------------------------------------
; ENIGMA LAUNCHER (1)
; Class: Normal

[Rainmeter]
Author=Kaelri.LCD@gmail.com
AppVersion=1001000
Update=1000
MiddleMouseDownAction=!RainmeterActivateConfig #CURRENTCONFIG# Launcher1-Mini.ini

[Metadata]
Name=Enigma Launcher (1)
Config=Enigma | Taskbar | Launcher | Launcher1
Description=A text button that launches one of your chosen favorite applications or URLs when clicked.
Instructions=Click and drag by the label to move this skin. | Set "App1" as the name of the application as it appears. | Set "App1Path" as the location of the app on your computer. | Set "App1Label" as a short description or subtitle for the app.
Version=2.6
Tags=Taskbar | Launcher
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Preview=#SKINSPATH#Enigma\Resources\Images\Preview.png
Credits=Inspired by the gorgeously cohesive and minimalist desktops of nh0j.
DynamicWindowSize=1

[Variables]
@include=#SKINSPATH#Enigma\Resources\Variables\UserVariables.inc

;------------------------------------------------------------------------------------------------
; STYLES

@include2=#SKINSPATH#Enigma\Resources\Styles\StyleTaskbar.inc

;------------------------------------------------------------------------------------------------
; METERS

[Background]
Meter=Image
MeterStyle=StyleBackground

[App]
Meter=STRING
MeterStyle=StyleText
Text="#App1#"
X=60
LeftMouseDownAction=!Execute [!RainmeterShowMeter AppActive][!RainmeterHideMeter App][!RainmeterRedraw]

[AppActive]
Meter=STRING
MeterStyle=StyleText
Text="#App1#"
X=60
FontColor=#ColorActive#
Hidden=1
LeftMouseUpAction=!Execute ["#App1Path#"][!RainmeterHideMeter AppActive][!RainmeterShowMeter App][!RainmeterRedraw]

[Label]
Meter=STRING
MeterStyle=StyleLabel
Text="#App1Label#"
X=60
I am planing to just use plain text for the launcher. can you give me example codes on how to enlarge the text without being cutoff, change text style, change text colour? and where should i insert the code?
for example. i tried add this
FontSize=18
section of code, copied from other other skin into the above code. but it didnt work.

thx
User avatar
JpsCrazy
Posts: 667
Joined: April 18th, 2010, 2:16 pm
Location: NY, USA

Re: Altering default enigma laucher skin

Post by JpsCrazy »

I believe it's because Enigma uses it's own Text Style which most likely already has a FontSize, so yours was ignored.
Try deleting MeterStyle=StyleText and then adding FontSize=18.
Warning: This will most likely greatly alter the way your individual launcher looks.
Takuya
Posts: 5
Joined: August 20th, 2010, 9:37 am

Re: Altering default enigma laucher skin

Post by Takuya »

lol when i did that thing when crazp so i am content with normal laucher now.

but i got a question. how do u add launcher 6 on enigma configure?
User avatar
JpsCrazy
Posts: 667
Joined: April 18th, 2010, 2:16 pm
Location: NY, USA

Re: Altering default enigma laucher skin

Post by JpsCrazy »

I believe you can go here: Skins\Enigma\Resources\Variables\DefaultVariables.inc and make the font sizes bigger by increasing Height1, Height2, Height3, and Height4. Although, I'm not 100% sure that the skins will still look okay with that. ALL Enigma skins with text will be affected if you change this.

And I honestly don't know that you can.
Here would be where to ask: Enigma Support
If I had to guess, edit Skins\Enigma\Resources\Variables\EnigmaConfigure.cfg (mine asks what program to use - whatever text editor you use for your .ini's should be fine.) and add this under the App5 ones after adding the App6 Variables to Skins\Enigma\Resources\Variables\DefaultVariables.inc:
App6
The name of your sixth favorite app.
App6Path
The location of your sixth favorite app.
App6Label
The label of your sixth favorite app.