It is currently May 3rd, 2024, 1:00 am
Get help with creating, editing & fixing problems with skins
Adishatz
Posts: 2 Joined: April 7th, 2018, 1:45 pm
Post
by Adishatz » April 7th, 2018, 2:54 pm
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.
Thanks
eclectic-tech
Rainmeter Sage
Posts: 5407 Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA
Post
by eclectic-tech » April 7th, 2018, 3:21 pm
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"
jsmorley
Developer
Posts: 22631 Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA
Post
by jsmorley » April 7th, 2018, 3:25 pm
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
Post
by Adishatz » April 7th, 2018, 3:45 pm
Yes !
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.
jsmorley
Developer
Posts: 22631 Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA
Post
by jsmorley » April 7th, 2018, 3:49 pm
Adishatz wrote: Yes !
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.
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]
balala
Rainmeter Sage
Posts: 16195 Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania
Post
by balala » April 7th, 2018, 5:53 pm
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.
jsmorley
Developer
Posts: 22631 Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA
Post
by jsmorley » April 7th, 2018, 8:17 pm
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...
balala
Rainmeter Sage
Posts: 16195 Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania
Post
by balala » April 7th, 2018, 8:19 pm
jsmorley wrote: Technically speaking though, they DO contain spaces...
In your example definitely. But I spoke generally.
jsmorley
Developer
Posts: 22631 Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA
Post
by jsmorley » April 7th, 2018, 8:20 pm
balala wrote: In your example definitely. But I spoke generally.
So generally technically speaking...
balala
Rainmeter Sage
Posts: 16195 Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania
Post
by balala » April 7th, 2018, 8:21 pm
jsmorley wrote: So generally technically speaking...
Ok, sorry for my not extremely good English...