It is currently May 2nd, 2024, 12:38 pm

Passing a parm with a shortcut

General topics related to Rainmeter.
arsman
Posts: 3
Joined: August 25th, 2011, 10:45 pm

Passing a parm with a shortcut

Post by arsman »

In Windows I have shortcut "C:\Program Files (x86)\Snowflake Suite\bin\release\Launcher.exe" exclusive Viewer

I tried to use the same shortcut in an Omnimo UI - don't think that matters - but it will not work.

A standard shortcut like C:\Program Files (x86)\Snowflake Suite\bin\release\Launcher.exe works fine.

Any help would be greatly appreciated
User avatar
Kaelri
Developer
Posts: 1721
Joined: July 25th, 2009, 4:47 am

Re: Passing a parm with a shortcut

Post by Kaelri »

The Omnimo skin probably places the entire command in quotes, as such:

Code: Select all

!Execute ["#CommandPathVariable#"]
which resolves to

Code: Select all

!Execute [""C:\Program Files (x86)\Snowflake Suite\bin\release\Launcher.exe" exclusive Viewer"]
If this is the case, you'll need to edit the skin to remove the quotes around the variable. That should do the trick.
User avatar
smurfier
Moderator
Posts: 1931
Joined: January 29th, 2010, 1:43 am
Location: Willmar, MN

Re: Passing a parm with a shortcut

Post by smurfier »

Or you could try setting the variable to:

Code: Select all

C:\Program Files (x86)\Snowflake Suite\bin\release\Launcher.exe" "exclusive" "Viewer
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 . . .
arsman
Posts: 3
Joined: August 25th, 2011, 10:45 pm

Re: Passing a parm with a shortcut

Post by arsman »

You guys are right on!

Thanks

Arsman