It is currently July 15th, 2019, 9:07 pm

Issue with spaces with RunCommand?

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

Re: Issue with spaces with RunCommand?

soyelrafa » May 1st, 2019, 5:01 pm

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
jsmorley
Developer
Posts: 19287
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Issue with spaces with RunCommand?

jsmorley » May 1st, 2019, 5:03 pm

Great. Glad to help.