It is currently February 28th, 2020, 7:52 am

Issue with spaces with RunCommand?

Report bugs with the Rainmeter application and suggest features.
Posts: 80
Joined: March 1st, 2017, 3:09 pm

Re: Issue with spaces with RunCommand?

Post by soyelrafa »

jsmorley wrote:
May 1st, 2019, 4:48 pm
I would try:

SKIN:Bang('!SetOption', 'Test', 'Parameter', '\"\"%s\"\"'):format(testing)

I have no idea if the format() function can be used/passed to a SKIN:Bang() function that way, maybe, maybe not.
It seems not, but with your link I finally get it to work:

SKIN:Bang('!SetOption', 'Test', 'Parameter', '""' .. testing .. '""')

This works even with "This is a test" folder.

Thanks so much for helping me to solve this issue!! I were testing and testing since this morning to see where the issue were and I didn't found anything until you help me :thumbup:
User avatar
Posts: 20292
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Issue with spaces with RunCommand?

Post by jsmorley »

Great. Glad to help.