MVV
For L_isActive we need TCFS2Tools.dll, what won't be a quick solution for a beginner.
Still, I would like to understand why my command does not work? Something in this part (msg(1074,1000)*10?10:-10) wrong?
cm_100percent -- allow relative changes
Moderators: white, Hacker, petermad, Stefan2
Re: cm_100percent -- allow relative changes
Overquoting is evil! 👎
Re: cm_100percent -- allow relative changes
Well, TCFS2Tools is required for both set_separator(x) (which is equal to msg($0433, 65562, x)) and sepPos (which is equal to msg($0433, 65561)) anyway.
Hm, what should this expression do? You multiply 1 or 2 by 10 and check for zero, there is no sense to multiply. Anyway, if you want to get 10 or -10 depending on active panel, you should use msg($433, 1000) == 1 ? 10 : -10. But then you still need set_separator and sepPos.Still, I would like to understand why my command does not work? Something in this part (msg(1074,1000)*10?10:-10) wrong?
Re: cm_100percent -- allow relative changes
2MVV
Really. Then without TCFS2Tools no way.
I didn't know that the syntax with == is permissible. Thanks for the help!
Really. Then without TCFS2Tools no way.
I didn't know that the syntax with == is permissible. Thanks for the help!
Overquoting is evil! 👎
Re: cm_100percent -- allow relative changes
Code: Select all
28.09.22 Added: cm_50percent now accepts a parameter: It adds the value (in percent) to the width of the active panel. Example: cm_50percent -10 reduces active panel width by 10% (use cm_100percent with parameter for absolute values) (32/64)
As pointed out in https://www.ghisler.ch/board/viewtopic.php?p=421704#p421704, cm_50percent can not yet be used in combination with other commands (comma separated). Maybe this can be added/fixed...