This works
[process]
AddInterface,%ProjectDir%\script.project,Interface_settings1,settings1
Echo,%settings1_pScrollBox6%
Message,%settings1_pScrollBox6%,information
This not
[process]
run,%scriptfile%,test
[test]
AddInterface,%ProjectDir%\script.project,Interface_settings1,settings1
Echo,%settings1_pScrollBox6%
Message,%settings1_pScrollBox6%,information
In short: AddInterface does not work when ued by run, works when called by exec...
BTW: Please also add info to wand that a prefix is separated with a _ by addinterface...this is more or less undocumented
[Fixed] AddInterface does not work when used with run
Started by
pecd.net
, Mar 08 2010 09:51 AM
3 replies to this topic
#1
Posted 08 March 2010 - 09:51 AM
#2
Posted 08 March 2010 - 10:08 AM
I confirm both bugs.
First one is clear from ctmag's example.
Second one is:
For AddInterface, wand says:
Since it is not used anywhere yet, I hope it will be fixed soon. Or does winbuilder knows better than what user want
Else in some future wb willl need a new escape for the ones who do not want _ in final variable.
........
First one is clear from ctmag's example.
Second one is:
For AddInterface, wand says:
AddInterface,Filenam[,Interface],Prefixfollowing ctmag's example, normally one expect
result withAddInterface,%ProjectDir%\script.project,Interface_settings1,settings1
NOT%settings1pScrollBox6%
%settings1_pScrollBox6%
Since it is not used anywhere yet, I hope it will be fixed soon. Or does winbuilder knows better than what user want
Else in some future wb willl need a new escape for the ones who do not want _ in final variable.
........
#3
Posted 08 March 2010 - 05:46 PM
Fixed, Syntax updated.
@Lancelot, in "your language":
As I told LOOOOONG time ago, there is only ONE prefix, neither none nor two ones:
EDIT: No entry to magic wand. It should be a short template for usable syntax, mostly usable w/o changes, but no explanations.
@Lancelot, in "your language":
As I told LOOOOONG time ago, there is only ONE prefix, neither none nor two ones:
PeterAddInterface,%ScriptFile%,mThen all components of the main interface are added as variables with the prefix 'm_', e.g. %m_pTextBox1%
EDIT: No entry to magic wand. It should be a short template for usable syntax, mostly usable w/o changes, but no explanations.
#4
Posted 09 March 2010 - 02:47 PM
also a minor spelling mistake
AddInterface,Filenam[,Interface],Prefixshould be
AddInterface,Filename[,Interface],Prefix
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users