Topic: Current Plugin Script Creation Documentation & Tutorial(s)  (Read 809 times)

Current Plugin Script Creation Documentation & Tutorial(s)
« on: March 29, 2019, 03:45:49 AM »

CyberTaco

  • Apprentice
  • *
  • Date Registered: Mar 2019
  • Posts: 9
Hello! (First time posting, I apologize in advance if I mess something up. :-) )

I was wondering, where can I find *current* documentation and tutorial(s) for creating plugin scripts from scratch? By "from scratch", I don't mean with using some sort of script creation utility or anything like that, I mean by opening a copy of Notepad and starting to type.

(Anything I've tried to Google is either out of date, very incomplete, or doesn't make a lot of sense unless you *already* know how the whole scripting system works, top to bottom.)

Re: Current Plugin Script Creation Documentation & Tutorial(s)
« Reply #1 on: March 29, 2019, 06:44:14 AM »

Lancelot

  • Moderator, Gena Baker
  • Grand Chef
  • *****
  • Date Registered: Sep 2010
  • Posts: 10350
First create a scratch.

Utils\PC Packed -> Plugin have very small "e" button at right-down of plugin UI --> click "e" button

You will see the new plugin at:
AppsMy\2Prepare\"New Plugin"

It is a scratch plugin template. ---> you can use the same file if you like notepad etc. to create your other New Plugins without Utils\PC Packed plugin.


****** Simple example :
1)
Under [Process] write:
Echo,"Hello World"
-->
Code: [Select]
[Process]
Echo,"Hello World"

******
2)
Click Small Green Play button on UI

******
3)
Click Log button at builder ui.


*************** Syntax:
Syntax is batch syntax with comma seperator.
cmd syntax use space seperator.

cmd:
Code: [Select]
Echo "Hello World"
exit

plugin:
Code: [Select]
[Process]
Echo,"Hello World"


eg2:
cmd:
Code: [Select]
Call :Test
exit

:Test
Echo "Hello World"
Goto :Eof
plugin:
Code: [Select]
[Process]
Run,%ScriptFile%,Test

[Test]
Echo "Hello World"


**********
unlike cmd batches you will find internet,
 Plugins are not standalone,
  %99 Plugins you will find on internet compatible to the projects it is written for.
  %99 cmd you will find on internet are standalone.

*
".script files" is generic naming and exist on different projects that are incompatible each other.
(I guess 8 active projects that use ".script files" , with inactive projects that use ".script files" number increase.
 , only 5 of them use Plugin )

We use Plugin naming to underline file that are compatible to Gena Win7PESE Win8PESE Win8.1SE Win10PESE. (today 5 , some more in future  :wink:)

Please follow the naming adjustment by projects.  :matrix:




******
No tutorial required since anyone who creates PE familiar with cmd files.
 Anyone who is familiar with cmd files can easily figure out syntax and the rest.

 That is the reason New users ask other syntax questions, not a Tutorial.
 That is the reason you can not find documentation. You should first spend some time.
   It is a simple self-learning road.


Advice:
 Use PC Packed to practice, even a very simple PC Packed create syntax to workaround some of winbuilder bugs which you will fail with scratch.

ps:
Ignore complaints on the internet, they were written to manipulate others views. ( Black Propaganda ) --> and it works to a degree.  :wink:
 Only some who start to create plugins figure out Black Propaganda.
  winbuilder is full of bugs, and current plugins workaround them to get projects to work without bugs.
-------> use plugins on projects for your self-learning practice.

:turtle:

Re: Current Plugin Script Creation Documentation & Tutorial(s)
« Reply #2 on: March 29, 2019, 05:29:39 PM »

CyberTaco

  • Apprentice
  • *
  • Date Registered: Mar 2019
  • Posts: 9
Gotcha. Ok, thank you. :-)

 

Powered by EzPortal