Topic: Can we get some cross-project consistency on sharing plugins?  (Read 4987 times)

0 Members and 1 Guest are viewing this topic.

Can we get some cross-project consistency on sharing plugins?
« on: September 01, 2015, 05:05:18 AM »

JonF

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jan 2011
  • Posts: 286
It appears there's some significant differences interfering with the idea of having personal plugins stored in a separate directory. The nomenclature for where to get those scripts differs from project to project. When the closest source to "My Scripts Advanced" is selected, different projects use different directories.

ila_rendered

Plus I have two projects showing in the left of the WinBuilder window, MyPlugins and My Plugins Direct, and I have no idea what to do with them.  My Plugins Direct refers to a third folder, D:\WinBuilder\Projects\MyPlugins_Direct, which has Apps and Myapps and Utils subdirectories.

Do I have to maintain three copies of my plugins to make them available to each project?

Re: Can we get some cross-project consistency on sharing plugins?
« Reply #1 on: September 01, 2015, 05:18:31 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 6732
Hi JonF,

I have to go out now, but shortly:

There is something wrong on your table,

*
For your personal plugins to use on all projects,
You can use
MyPlugins_Direct

All projects adjusted that way..

*
In order not to use all personal plugins on all projects,
better use
MyPlugins
and share links to projects you want.

MyPlugins have "Share Plugins With"

http://theoven.org/index.php?topic=1208.0

*
To use plugins of projects between each other,
there is
Gena\Utils\"Share Plugins"
SE\"Share Plugins"
Yomi -> Its self a share plugin ...


After some practice, it is not much complicated  :wink:

I have to go now........... :turtle:





Re: Can we get some cross-project consistency on sharing plugins?
« Reply #2 on: September 01, 2015, 06:12:17 AM »

JonF

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jan 2011
  • Posts: 286
I was specifically referring to the case when "My Plugins Advanced" or its closest cousins is selected.  My table is correct.  The drop-downs are different, the nomenclature is different.

Quote
For your personal plugins to use on all projects,
You can use
MyPlugins_Direct

Pretty clumsy.  Why do I have to select each project, run, and then move on to another project? Even on my 8-core system at 3something GHz the reload takes minutes.

There is no "Win10" available in MyPlugins_Direct.  The only ways to share is to select "Custom project folder" in the Win10 project or "I presume without having tried is) manually filling in the "Custom Folder" box in MyPlugins_Direct.

All drop-downs inside projects should contain the same items and referring to the same folder.  Any plugin to manage multiple projects should include all projects or make it simple to add a project by browsing. That would be consistency.

Re: Can we get some cross-project consistency on sharing plugins?
« Reply #3 on: September 01, 2015, 07:16:06 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 6732
I was specifically referring to the case when "My Plugins Advanced" or its closest cousins is selected.  My table is correct.  The drop-downs are different, the nomenclature is different.

Well table is not correct since All projects use MyPlugins_Direct folder directly , there no need a table !

MyPlugins is a standalone folder to create link, which is valid to all projects

(MyScripts folder usage depricated loooong time ago, which still you can use to create link with all projects)

Since all things valid to all projects, there no need a table that shows difference on that case, since there is not.


Quote
For your personal plugins to use on all projects,
You can use
MyPlugins_Direct
Pretty clumsy.
Maybe, give me 10 programmers payed for a year, I will give you perfect simple  :smile:
Still it is to me simple after some practice.




  Why do I have to select each project, run, and then move on to another project? Even on my 8-core system at 3something GHz the reload takes minutes.
What are you reloading ???
all projects under same base folder, than single builder to all SE projects ok.


Maybe you are after running "all projects" with current builder at once,
 I guess it had been designed for this before me, but so far I now there is no such command....
  (still I maybe missing, if there is let me know, we can put a plugin on very end of a project to start next project  :wink:)
or:
put a plugin to very end of project which pop up a message,
 have an autoit that waits that message, than click OK, than click next project than click blue play,
   Let us know if you do that, this way you can run all SE projects with 1 start.

Still, with current builder log bug, build will slow down during such big build...

edit:
or -> I have another idea that we can use with current builder, to run all projects one by one, by using cmd arguments of builder...

There is no "Win10" available in MyPlugins_Direct.  The only ways to share is to select "Custom project folder" in the Win10 project or "I presume without having tried is) manually filling in the "Custom Folder" box in MyPlugins_Direct.
Sure, there will be Win11 Win12 .... I can't chase all plugins to add new value inside Scrollboxes,
 Instead I put custom option which anyone can easily figure out how to use, and if can't better not to build any pe project.



All drop-downs inside projects should contain the same items and referring to the same folder.  Any plugin to manage multiple projects should include all projects or make it simple to add a project by browsing. That would be consistency.
And they are !!!!

You should remember, I am the one who start this shared folder management years ago, with shared plugins ;)


++
Options are there, but need practice to learn how to use.
 

*************************
Let's keep things short, I don't need to write long posts anymore for a while  :cool:

Maybe better you explain what you are after,
 by giving "simple" example with a plugin.

So I can explain how you can achive your goal.  :thumbsup:
« Last Edit: September 01, 2015, 07:17:58 AM by Lancelot »

Re: Can we get some cross-project consistency on sharing plugins?
« Reply #4 on: September 02, 2015, 02:15:03 AM »

JonF

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jan 2011
  • Posts: 286
OK, you are right, my table was wrong... I had some superseded plugins.  But...

Quote
Quote
hy do I have to select each project, run, and then move on to another project? Even on my 8-core system at 3something GHz the reload takes minutes.
What are you reloading ???
all projects under same base folder, than single builder to all SE projects ok.
As I wrote, in order to use MyScripts or MyScripts advanced I have to select a project with which to share, share to it, and wait for WinBuilder to  refresh.  very clumsy.

ila_rendered

Sheesh, the board on't let me add another attachment.  Continued on next rock...
« Last Edit: September 02, 2015, 02:35:38 AM by JonF »

Re: Can we get some cross-project consistency on sharing plugins?
« Reply #5 on: September 02, 2015, 02:33:30 AM »

JonF

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jan 2011
  • Posts: 286
ila_rendered

(somehow the screenshot did not pick up all the elements.  Alt=PrintScreen and the snipping tool both do the same.)

Please tell me the exact sequence of clicks how one shares with all projects without going through that long and slow process.

Quote
put a plugin to very end of project which pop up a message,
 have an autoit that waits that message, than click OK, than click next project than click blue play,
   Let us know if you do that, this way you can run all SE projects with 1 start.
i can do that.  i doubt I will.  It's really ugly. Or:

Instead of a drop-down in your plugins to select one project at a time, a column of checkboxes, one for each project and one or two for custom projects (each with a browse button) and then one button to do it.  Yeah, it would take a lot of time but I could walk away with no further user intervention  Maybe it could be done with only one WinBuilder refresh, by use of a batch file or something.

You have been developing plugins long enough to know that when a user needs to select a directory there should be a browse button.  Note in the screenshots above that there is no browse button for the custom folder.
« Last Edit: September 02, 2015, 02:36:58 AM by JonF »

Re: Can we get some cross-project consistency on sharing plugins?
« Reply #6 on: September 02, 2015, 08:49:20 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 6732
Hi Jonf,

I see There is a misunderstanding of usage with "MyPlugins Direct",

I will put better instruction to gui when I find time  :thumbsup:

Quote
Please tell me the exact sequence of clicks how one shares with all projects without going through that long and slow process.

"MyPlugins Direct"
Giving Example:
Put all your personal Application plugins to
\Projects\MyPlugins_Direct\Apps\

Start builder,
on builder interface,
You will see all your personal Application plugins under ALL projects. \Apps\

ps: See topic post here: http://theoven.org/index.php?topic=1208.0
I hope it is easy enough.

Let me know????
:turtle:

Re: Can we get some cross-project consistency on sharing plugins?
« Reply #7 on: September 03, 2015, 01:53:24 AM »

JonF

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jan 2011
  • Posts: 286
Niothing useful at that link.

I know where to put the plugins.

I wrote "Please tell me the exact sequence of clicks how one shares with all projects without going through that long and slow process." That is asking how to USE the projects, not how to set thm up.

I guess it can't be done.  I don't see any value whatsoever in the MyPlugins or MyPlugins_direct projects.  They do not do anything that the Share Plugins scripts in the projects do not do already.

Re: Can we get some cross-project consistency on sharing plugins?
« Reply #8 on: September 03, 2015, 02:44:50 AM »

ChrisR

  • Win7PE SE Baker
  • Grand Chef
  • *****
  • Date Registered: Mar 2011
  • Posts: 2786
I wrote "Please tell me the exact sequence of clicks how one shares with all projects without going through that long and slow process." That is asking how to USE the projects, not how to set thm up.
you can do it as Lancelot noted previously with MyPlugins_Direct folder :wink:
Code: [Select]
1. Open File Explorer
2. Copy a plugin to %BaseDir%\Projects\MyPlugins_Direct\Apps\Subfolder
3. Start builder, the plugin is in Apps\Subfolder

That's All :smile:

If you prefer AppsMy instead of Apps in the builder tree view
Code: [Select]
1. Open File Explorer
2. Copy a plugin to %BaseDir%\Projects\MyPlugins_Direct\AppsMy\Subfolder
3. Start builder, the plugin is in AppsMy\Subfolder

Simple, NO :wink:

Re: Can we get some cross-project consistency on sharing plugins?
« Reply #9 on: September 03, 2015, 07:17:06 AM »

JonF

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jan 2011
  • Posts: 286
Is anyone here reading my messages?  I will try one more time...

Please tell me the exact sequence of clicks IN WINBUILDER how one shares with all projects AFTER THE APPROPRIATE FOLDERS EXIST AND ARE FILLED WITH SCRIPTS.

There are "Share Scripts" scripts in each project.  If I run one of them I have to wait until it finishes and then wait for WinBuilder to refresh. Then I have to go through the same process for each other project.

If I use MyPlugins or MyPlugins_direct then I have to choose a project, wait until it finishes, then wait for WinBuilder to refresh. Then I have to go through the same process for each other project.

What do the MyPlugins or MyPlugins_direct scripts do that the Share Scripts in each project don't?  Maybe they save a few seconds out of the several minutes it takes to update all projects; that is, the time saving is insignificant. I do not se any purpose in those two projects.

If there were a column of checkboxes, one for each known project and one or two custom ones with Browse buttons, and one Go button that updated all projects with only one WinBuilder refresh at the end that would be worthwhile.

If anyone posts instructions for how to copy custom scripts into a folder I am going to scream  and abandon the thread.
« Last Edit: September 03, 2015, 07:17:46 AM by JonF »

Re: Can we get some cross-project consistency on sharing plugins?
« Reply #10 on: September 03, 2015, 11:40:02 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 6732
Hi JonF,

exact sequence given but I feel you don't read or can't follow what is written to you by me and Chris.

If you can't follow what is written, there is nothing to do...

OR maybe there is something neither me nor Chris understand !

As I wrote previously, simplify what you ask with a plugin example.




I will try to make a last trial since I know you, I now give you plugin example, maybe this helps you !!!


You know using Builder CodeBox:

use this, hit CodeBox green play
Code: [Select]
[Process]
If,ExistFile,%API%,AddVariables,%API%,ApiVar,GLOBAL
Call,CreatePlugin,"%BaseDir%\Projects\MyPlugins_Direct\AppsMy\JonF Plugins\JonF Scream.Script"
System,RESCANSCRIPTS


Can you see under:
Gena\AppsMy\JonF Plugins\"JonF Scream"
Win10PE SE\AppsMy\JonF Plugins\"JonF Scream"
Win7PE SE\AppsMy\JonF Plugins\"JonF Scream"
Win8.1SE\AppsMy\JonF Plugins\"JonF Scream"
Win8PE SE\AppsMy\JonF Plugins\"JonF Scream"

YES /NO ???

Re: Can we get some cross-project consistency on sharing plugins?
« Reply #11 on: September 07, 2015, 12:07:29 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 6732
?

btw, I just updated ghost plugin to support ghost x64 ;)
Thanks to Atari800xl http://TheOven.org/index.php?topic=1141.msg15972#msg15972

I hope you could figure out folder organisation by now ???????

Re: Can we get some cross-project consistency on sharing plugins?
« Reply #12 on: September 17, 2015, 02:11:29 AM »

JonF

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jan 2011
  • Posts: 286

use this, hit CodeBox green play
Code: [Select]
[Process]
If,ExistFile,%API%,AddVariables,%API%,ApiVar,GLOBAL
Call,CreatePlugin,"%BaseDir%\Projects\MyPlugins_Direct\AppsMy\JonF Plugins\JonF Scream.Script"
System,RESCANSCRIPTS


Can you see under:
Gena\AppsMy\JonF Plugins\"JonF Scream"
Win10PE SE\AppsMy\JonF Plugins\"JonF Scream"
Win7PE SE\AppsMy\JonF Plugins\"JonF Scream"
Win8.1SE\AppsMy\JonF Plugins\"JonF Scream"
Win8PE SE\AppsMy\JonF Plugins\"JonF Scream"

YES /NO ???
No.

Code: [Select]
(Macro_Library_MyPlugins.Script) Run - Failed to find section [CallC_CreatePlugin] in file: [%BaseDir%\Projects\MyPlugins\Utils\Macro_Library_MyPlugins.Script]

      Warnings

 [Warning]  (Processing section: [process]) Unrecognized command: [[Process]]
 [Warning]  (Macro_Library_MyPlugins.Script) Halt

But it does not matter.  The MyPlugins and MyPlugins_direct scripts do not create links under multiple projects.  That is the entire issue. If you had a working example of doing that, why is it not implemented in those scripts?

Re: Can we get some cross-project consistency on sharing plugins?
« Reply #13 on: September 17, 2015, 02:20:26 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 6732
Hi JonF,

use codebox under one of SE or Gena,

I will respond other things later,

at work :turtle:

Re: Can we get some cross-project consistency on sharing plugins?
« Reply #14 on: September 19, 2015, 01:07:34 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 6732
Hi JonF,

update
Utils\"MyPlugins Project Add"
and hit
Utils\"MyPlugins Project Add" --> MyPlugins Direct
Utils\"MyPlugins Project Add" --> MyPlugins

buttons, this will update them, and make codebox operational out of box  :thumbsup:

If codebox fails or errorlog about MacroLibrary, I put a "Blue Pill" button to workaround this bugy builder  :wink:


**
Time to continue, since now codebox operational (or you already used codebox under one of SE or Gena)
having all SE and Gena projects at same base folder like D:\Oven\

back to "YES /NO ???" question step


use this, hit CodeBox green play
Code: [Select]
[Process]
If,ExistFile,%API%,AddVariables,%API%,ApiVar,GLOBAL
Call,CreatePlugin,"%BaseDir%\Projects\MyPlugins_Direct\AppsMy\JonF Plugins\JonF Scream.Script"
System,RESCANSCRIPTS


Can you see under:
Gena\AppsMy\JonF Plugins\"JonF Scream"
Win10PE SE\AppsMy\JonF Plugins\"JonF Scream"
Win7PE SE\AppsMy\JonF Plugins\"JonF Scream"
Win8.1SE\AppsMy\JonF Plugins\"JonF Scream"
Win8PE SE\AppsMy\JonF Plugins\"JonF Scream"

YES /NO ???

YES /NO ???
« Last Edit: November 25, 2015, 12:21:29 AM by Lancelot »

Re: Can we get some cross-project consistency on sharing plugins?
« Reply #15 on: October 25, 2015, 04:40:53 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 6732
Hi JonF

Bump ;)

Re: Can we get some cross-project consistency on sharing plugins?
« Reply #16 on: October 26, 2015, 02:15:30 AM »

JonF

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jan 2011
  • Posts: 286
I gave up.

Re: Can we get some cross-project consistency on sharing plugins?
« Reply #17 on: October 26, 2015, 03:13:36 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 6732
use this, hit CodeBox green play
Code: [Select]
[Process]
If,ExistFile,%API%,AddVariables,%API%,ApiVar,GLOBAL
Call,CreatePlugin,"%BaseDir%\Projects\MyPlugins_Direct\AppsMy\JonF Plugins\JonF Scream.Script"
System,RESCANSCRIPTS


Can you see under:
Gena\AppsMy\JonF Plugins\"JonF Scream"
Win10PE SE\AppsMy\JonF Plugins\"JonF Scream"
Win7PE SE\AppsMy\JonF Plugins\"JonF Scream"
Win8.1SE\AppsMy\JonF Plugins\"JonF Scream"
Win8PE SE\AppsMy\JonF Plugins\"JonF Scream"

YES /NO ???

Hi JonF,

before giving up, at least test above...
YES /NO ???

Re: Can we get some cross-project consistency on sharing plugins?
« Reply #18 on: October 26, 2015, 06:08:27 AM »

JonF

  • Code Baker
  • Chef
  • ***
  • Date Registered: Jan 2011
  • Posts: 286
Why?  That isn't what the scripts in question do.

Re: Can we get some cross-project consistency on sharing plugins?
« Reply #19 on: October 26, 2015, 07:18:59 AM »

Lancelot

  • Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 6732
and what is the answer of above 10 second test ?
( which was designed only to help you to figure out ..)

YES /NO ???

 

Powered by EzPortal