Topic: Request: ChangeInterface replacement  (Read 278 times)

0 Members and 1 Guest are viewing this topic.

Request: ChangeInterface replacement
« on: December 16, 2017, 04:23:16 AM »

Lancelot

  • Moderator, Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 7756
Hi ied206,

You know wb have very limited feature for interface
-> Visibility and Set,...,Permanent and only with current plugin and does not include other interface elements ....

We use ChangeInterface Macro 6 years now
http://theoven.org/index.php?topic=140.0

It is used on some plugins, but slow compared to builder speed.
So we only use rarely on Build plugins to avoid speed down of total build.

It will be good to have a replacement with PEBakery
ex:
Code: [Select]
EditInterface,....

Get test package at ChangeInterface topic which will clear things about syntax.
http://theoven.org/index.php?topic=140.0

+
" cause compatibility troubles with wb versions,
So we update all plugins with ' on interface instead of " in the past.
Test Package includes some interface elements with " , so you can also check all fine with PEBakery.

+
If we have syntax similar to ChangeInterface
We can make a quick Macro Library update to use PEBakery with ChangeInterface.
Other way will take a lot more time
--->
ChangeInterface command created with the idea for a future builder and stability,
 providing most popular, most required commands used on plugins out of box
 and
 providing expansion slot for future.
   I hope it is enough to create a very same command for PEBakery.
   so I can update Macro Library to use PEBakery quickly at transition period on getting rid of winbuilder.

*
Not having free time these days, I will catch up as quick as I can.  :great:
Thanks again for PEBakery.
:turtle:
« Last Edit: December 31, 2017, 12:46:28 PM by Lancelot »

Re: Request: ChangeInterface replacement
« Reply #1 on: December 16, 2017, 09:10:23 AM »

Homes32

  • Code Baker
  • Chef
  • ***
  • Date Registered: Dec 2010
  • Posts: 147
I agree. This is definitely something that would be much better off "baked in" to PEBakery then in a macro.  :great:

Re: Request: ChangeInterface replacement
« Reply #2 on: December 16, 2017, 01:47:22 PM »

ied206

  • Moderator,
  • Chef
  • *****
  • Location: South Korea
  • Date Registered: Jan 2014
  • Posts: 203
I wondered why WB082 does not have a command to get/set property of plugin interface.

Supporting this directly in PEBakery will be much effecient.

EDIT
Personally I do not like Set,...,Permanent command being able to change interface values, since Set command doing so many jobs confuses developers. For example, Set,...Permanent writes into script.project when setting variables, but the exact same command does not when setting interface. I was not able to notice this until being told.
After implementing ChangeInterface-compatible command, can Set,...,Permanent to change interface deprecated?
« Last Edit: December 16, 2017, 02:00:43 PM by ied206 »

Re: Request: ChangeInterface replacement
« Reply #3 on: December 16, 2017, 03:46:18 PM »

Lancelot

  • Moderator, Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 7756
I wondered why WB082 does not have a command to get/set property of plugin interface.

Supporting this directly in PEBakery will be much effecient.

EDIT
Personally I do not like Set,...,Permanent command being able to change interface values, since Set command doing so many jobs confuses developers. For example, Set,...Permanent writes into script.project when setting variables, but the exact same command does not when setting interface. I was not able to notice this until being told.
Because winbuilder developers always deaf at that times we ask for such command .....
and later totally deaf.
and still deaf with some deaf supporters.

Human nature.  :wink:

*
After implementing ChangeInterface-compatible command, can Set,...,Permanent to change interface deprecated?
With Great Pleasure.  :ymca: :band:

Re: Request: ChangeInterface replacement
« Reply #4 on: December 16, 2017, 04:02:48 PM »

Homes32

  • Code Baker
  • Chef
  • ***
  • Date Registered: Dec 2010
  • Posts: 147
After implementing ChangeInterface-compatible command, can Set,...,Permanent to change interface deprecated?
Absolutely!  :great:

Re: Request: ChangeInterface replacement
« Reply #5 on: December 31, 2017, 12:51:02 PM »

Lancelot

  • Moderator, Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 7756
Hi ied206,

If you are still interested in subject:
Added following to first post:

--------------------------------------------------------
+
If we have syntax similar to ChangeInterface
We can make a quick Macro Library update to use PEBakery with ChangeInterface.
Other way will take a lot more time
--->
ChangeInterface command created with the idea for a future builder and stability,
 providing most popular, most required commands used on plugins out of box
 and
 providing expansion slot for future.
   I hope it is enough to create a very same command for PEBakery.
   so I can update Macro Library to use PEBakery quickly at transition period on getting rid of winbuilder.
--------------------------------------------------------



******
One more thing:
So after quickly updating Macro Library -> ChangeInterface to use PEBakery => which will quickly update many plugins using ChangeInterface
-->
I can work on replacing
Set,...Permanent
Visibile,
on plugins one by one, which will require another weekend free time ....

Happy New Year.  :xmas-beer:
:turtle:

Re: Request: ChangeInterface replacement
« Reply #6 on: December 31, 2017, 07:52:47 PM »

Homes32

  • Code Baker
  • Chef
  • ***
  • Date Registered: Dec 2010
  • Posts: 147
Hi lancelot.

the new syntax is as follows:
Code: [Select]
ReadInterface,<Property>,<PluginFile>,<Interface>,<ControlName>,<%DestVar%>
WriteInterface,<Property>,<PluginFile>,<Interface>,<ControlName>,<Value>

Valid Properties at the time of this writing are
  • Text - Text value of an control.
  • Visible - True/False - Show or Hide the control.
  • PosX - Horizontal Position measured from the control's top left corner.
  • PosY - Vertical Position measured from the control's top left corner.
  • Width - Width of the control.
  • Height - Height of the control.
  • Value - Value of the control.

full documentation (with examples) will be available as soon.

Happy New Year!  :yahoo:

Re: Request: ChangeInterface replacement
« Reply #7 on: January 01, 2018, 03:49:30 AM »

Lancelot

  • Moderator, Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 7756
Hi homes32,

Looks very same with ChangeInterface, good. It will be easy to implement.  :thumbsup:

*
On help file better:
Code: [Select]
ReadInterface,<Property>,<PluginFile>,<Interface>,<ControlName>,<%DestVar%>
WriteInterface,<Property>,<PluginFile>,<Interface>,<ControlName>,<Value>
--->
Code: [Select]
ReadInterface,<Property>,<File>,<Interface>,<ControlName>,<%DestVar%>
WriteInterface,<Property>,<File>,<Interface>,<ControlName>,<Value>

See:
Request: PEBakery Batch - http://theoven.org/index.php?topic=2350.0

:turtle:

 

Powered by EzPortal