Hi Guys. I'm trying to create a dropdown menu linked to a folder: using fileview and folderinfo I have been trying to get the size of the dropdown to dynamicaly adjust to the number of files in the folder. Ive tried several ways:
/ this one returns 9 but the backgrond doesn't show, i've tried several alterations of the syntax. /
Any Ideas where im going wrong?
Last edited by balala on August 31st, 2020, 7:13 pm, edited 1 time in total.
Reason:Please use <code> tags whenever are posting code snippets. It's the </> button.
Further... #@# has trailing "\", as far as I know. If so, Folder=#@#Aplications", instead of Folder=#@#\Aplications, or in the case that your skin path includes spaces, Folder="#@#Aplications".
BTW, I didn't test your code actually as running skin, so I am not sure what is the exact solution, sorry.
mak_kawa wrote: ↑August 31st, 2020, 12:49 pm
Further... #@# has trailing "\", as far as I know.
Yes, but adding further backslashes is not a problem (see the PS here).
mak_kawa wrote: ↑August 31st, 2020, 12:49 pm
If so, Folder=#@#Aplications", instead of Folder=#@#\Aplications, or in the case that your skin path includes spaces, Folder="#@#Aplications".
Quotes are not needed, neither in options, nor in variables. They are simply ignored by Rainmeter: https://forum.rainmeter.net/viewtopic.php?f=5&t=27375&p=142041&p142041#p142041
However, the original Folder=#@#\Aplications" option ([FileCountMeasure] measure), doesn't look good, since it has a not matching final quote.
I assume it's because it's not consistent across the entire spectrum of scenarios (e.g. quotes ignored in options, but required in bangs, to give just one example). That's pretty much the main reason why I also try to "normalize" the code by using them everywhere, even where they are not really required.
Yincognito wrote: ↑September 1st, 2020, 9:53 am
I assume it's because it's not consistent across the entire spectrum of scenarios (e.g. quotes ignored in options, but required in bangs, to give just one example). That's pretty much the main reason why I also try to "normalize" the code by using them everywhere, even where they are not really required.