It is currently April 18th, 2024, 11:47 pm

Editing shortcut

Get help with creating, editing & fixing problems with skins
Adishatz
Posts: 2
Joined: April 7th, 2018, 1:45 pm

Editing shortcut

Post by Adishatz »

Hello,

I am currently trying to modify the Spectrum launcher.
https://birdalliance.deviantart.com/art/SPECTRUM-Launcher-v2-for-Rainmeter-673534908

Unfortunately I have only one link that works, one for a game.
All others block at different stages, and I go around in circles for 2 days trying parentheses, .exe etc but nothing works.
If a charitable soul could help a little Frenchman completely lost.
Here is what I currently have.

  • ;Group 1

    ;Name and icon for the navbar

    Group1BarName=Applications
    Group1BarIcon=hexagons.png

    ;Launcher settings: action, name, icon and mouseover background

    Group1Launcher1Action=C:\Program Files (x86)\Microsoft Office\Office14\WINWORD
    Group1Launcher1Name=Word
    Group1Launcher1Icon=Word
    Group1Launcher1BG=Alphabet

    Group1Launcher2Action=D:\Photoshop Elements 12\PhotoshopElementsEditor.exe
    Group1Launcher2Name=Photoshop
    Group1Launcher2Icon=_c_photoshop.png
    Group1Launcher2BG=Photo

    Group1Launcher3Action=shell:ProgramFilesX86\yaDIS\yaDIS.exe
    Group1Launcher3Name=yaDIS
    Group1Launcher3Icon=
    Group1Launcher3BG=

    Group1Launcher4Action=D:\Program Files\Nox\bin\Nox
    Group1Launcher4Name=Nox
    Group1Launcher4Icon=
    Group1Launcher4BG=

    Group1Launcher5Action=D:\VLC\vlc
    Group1Launcher5Name=VLC
    Group1Launcher5Icon=
    Group1Launcher5BG=

    Group1Launcher6Action=C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Revo Uninstaller\Revo Uninstaller
    Group1Launcher6Name=Revo Uninstaller
    Group1Launcher6Icon=
    Group1Launcher6BG=
I tested several solutions for each but only VLC works. :17angry

Thanks
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5391
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: Editing shortcut

Post by eclectic-tech »

Try enclosing all of your 'ACTIONS' in quotation marks; they contain spaces...

VLC works because there are no spaces in the action.

Group1Launcher1Action="C:\Program Files (x86)\Microsoft Office\Office14\WINWORD"
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Editing shortcut

Post by jsmorley »

eclectic-tech wrote:Try enclosing all of your 'ACTIONS' in quotation marks; they contain spaces...

VLC works because there are no spaces in the action.

Group1Launcher1Action="C:\Program Files (x86)\Microsoft Office\Office14\WINWORD"
You are actually going to want:

Group1Launcher1Action=["C:\Program Files (x86)\Microsoft Office\Office14\WINWORD"][/quote]

Don't forget that beginning and ending "quotes" are stripped off of options (and variables) in Rainmeter.
Adishatz
Posts: 2
Joined: April 7th, 2018, 1:45 pm

Re: Editing shortcut

Post by Adishatz »

Yes ! :thumbup:
Thank you, I tried with quotation marks, with the .exe but not with the "hooks" :???: .

Now I hope everything will roll.

Another big thank you.
:17good
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Editing shortcut

Post by jsmorley »

Adishatz wrote:Yes ! :thumbup:
Thank you, I tried with quotation marks, with the .exe but not with the "hooks" :???: .

Now I hope everything will roll.

Another big thank you.
:17good
Brackets should really just ALWAYS be used on bangs. Don't listen to those who tell you sometimes they aren't needed. They are technically correct, but still wrong... ;-)

LeftMouseUpAction=C:\Program Files\MyApp\MyApp.exe : Fail
LeftMouseUpAction="C:\Program Files\MyApp\MyApp.exe" : Fail
LeftMouseUpAction=["C:\Program Files\MyApp\MyApp.exe"] : Success

You will have a lot less head-scratching if you just always enclose all bangs in [brackets].

LeftMouseUpAction=!HideMeter MeterOne : Works, but don't do it...
LeftMouseUpAction=[!HideMeter MeterOne] : Better...


P.S.

(parentheses)
{braces}
[brackets]
User avatar
balala
Rainmeter Sage
Posts: 16144
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Editing shortcut

Post by balala »

jsmorley wrote:LeftMouseUpAction=C:\Program Files\MyApp\MyApp.exe : Fail
LeftMouseUpAction="C:\Program Files\MyApp\MyApp.exe" : Fail
LeftMouseUpAction=["C:\Program Files\MyApp\MyApp.exe"] : Success
Technically speaking, the first two variants are also working, if the path doesn't contain space(s).
But obviously the best behavior is to use the brackets, especially to get used to use them.
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Editing shortcut

Post by jsmorley »

balala wrote:Technically speaking, the first two variants are also working, if the path doesn't contain space(s).
But obviously the best behavior is to use the brackets, especially to get used to use them.
Technically speaking though, they DO contain spaces...
User avatar
balala
Rainmeter Sage
Posts: 16144
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Editing shortcut

Post by balala »

jsmorley wrote:Technically speaking though, they DO contain spaces...
In your example definitely. But I spoke generally.
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Editing shortcut

Post by jsmorley »

balala wrote:In your example definitely. But I spoke generally.
So generally technically speaking... ;-)
User avatar
balala
Rainmeter Sage
Posts: 16144
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Editing shortcut

Post by balala »

jsmorley wrote:So generally technically speaking... ;-)
Ok, sorry for my not extremely good English...