hpwPlayAction

Questions about NeoBook PlugIns

Moderator: Neosoft Support

Guest

hpwPlayAction

Post by Guest »

Old topic is locked so start a new one.

Just released hpwPlayAction 1.07:

Added hpwPlayAction.ini/hpwEncode.ini in plugin-directory to be able to translate plugin comments.
This allow multilanguage use of the plugin in the NB-IDE.

http://hpwickern.homepage.t-online.de/a ... book8.html
User avatar
HPW
Posts: 2571
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany
Contact:

Post by HPW »

Just released hpwPlayAvtion 1.08, hpwEncode 1.04 and MyCustomPlugin 1.0:

http://www.hpwsoft.de/anmeldung/html1/n ... book8.html

Command wizards for all plugins.
Encrypted action is no more shown in debugger.
MyCustomPlugin allows to build custom plugins with neobooks scripting language.
Hans-Peter
AlfB
Posts: 132
Joined: Sun Apr 03, 2005 12:43 am

Post by AlfB »

hi Hans-Peter,
really a good idea for building own simple plugins quickly...

just one hickup: when running the example pub I'm getting several errors, for example

Cannot open file C:\Programme\Neobook5\Plugins\hpwPlayActio\MyCustomPlugin.cfw
etc.

Seems to think that my Neobook is installed in C: which is not the case

ALF
User avatar
HPW
Posts: 2571
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany
Contact:

Post by HPW »

Hello Alf,

Known problem with wish here:

http://www.neosoftware.com/forum/viewto ... mbedded%2A

So re-embed the files:
My1CustomCommandSec1.txt
My2CustomCommandSec1.txt
My3CustomCommandSec1.txt
MyCustomPlugin.cfp

Maybe it a future nb-version it will work!
;-)
Last edited by HPW on Thu Oct 05, 2006 12:25 am, edited 1 time in total.
Hans-Peter
User avatar
HPW
Posts: 2571
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany
Contact:

Post by HPW »

Just released MyCustomPlugin 1.01:

http://www.hpwsoft.de/anmeldung/html1/n ... book8.html

Custom Hints from INI-file for all free command parameters in command wizard dialog.
Hans-Peter
User avatar
HPW
Posts: 2571
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany
Contact:

Post by HPW »

Just released hpwPlayAction 1.09 / MyCustomPlugin 1.02:

http://www.hpwsoft.de/anmeldung/html1/n ... book8.html

hpwPlayAction/MyCustomPlugin: Action-Insert-hints now accept more than one line delimited with [CRLF]
hpwPlayAction supports now command wizards for custom commands
hpwPlayAction.cfp/cfr are now read from plugin directory
Hans-Peter
User avatar
HPW
Posts: 2571
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany
Contact:

Post by HPW »

Just released hpwPlayAction 1.10 / hpwEncode 1.05 / MyCustomPlugin 1.03 / MyEmbeddedPlugin 1.0:

http://www.hpwsoft.de/anmeldung/html1/n ... book8.html

MyEmbeddedPlugin allows to build custom plugins with completly embedded config and script-data.
Bugfix for TaskBarClickAndRestoreOnTop for About-dialog and command wizards
Bugfix: Free some more memory on initialization
Bugfix: Correct initialization of the parameter array for custom commands
Hans-Peter
User avatar
HPW
Posts: 2571
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany
Contact:

Post by HPW »

Just released MyEmbeddedPlugin 1.01:

http://www.hpwsoft.de/anmeldung/html1/n ... book8.html


Actioncode now stored in internal array and not in neobook variable.
Password only once stored in [MyPluginName_password] and not in each call
Optional custom parameter now up to 10 (Maximum in neobook)
Hans-Peter
User avatar
HPW
Posts: 2571
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany
Contact:

Post by HPW »

Forgot to mention: Now also compatibel with neobook 4
(For delivery with NB4 you should rename the NBR to NBP to get the small version)
Hans-Peter
User avatar
dpayer
Posts: 1394
Joined: Mon Apr 11, 2005 5:55 am
Location: Iowa - USA

hpwPlayAction question (mycustomplugin etc)

Post by dpayer »

Hans-Peter,

You did not describe this plugin in depth but I just now looked at it and it looks very interesting. I will take more time to look at it but after reading the Word Docs you include, I am still not clear.

Am I correct to say that I can create a series of actions (in essence a page on a NB app) that can be "compiled" as a plugin file that others can then install as a plugin and add parameters to the scripts via the NB Script Editor/IDE?

This script's contents can be encrypted and the plugin can then be distributed for others to use. Correct?

Essentially, this offers an alternative to the other plugin that allowed subroutines but required a 'player' application to be run.

As stated by Gaev:
... also, I have an outstanding request/suggestion to "convert Function library file(s)" into "stand-alone compiled/binary plug-ins" ... which would also enable "easy swapping of plug-ins" within an application/exe ... plug-ins created from your Function library files.
This was written before this new plugin was released. Do you believe you have accomplished this with your plugin to create plugins?

Thanks for your creative efforts shared generously to us all.

David P.[/quote]
User avatar
HPW
Posts: 2571
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany
Contact:

Post by HPW »

Am I correct to say that I can create a series of actions (in essence a page on a NB app) that can be "compiled" as a plugin file that others can then install as a plugin and add parameters to the scripts via the NB Script Editor/IDE?
Yes. You describe your commands (For the config dialog) in your INI-file and that gets delivered to your customer/developer. The final end user of the developer does not need/see that INI-file. Only the bare runtime info is stored in the resource-section.
This script's contents can be encrypted and the plugin can then be distributed for others to use. Correct?
Yes. Powerscripter's to the front!
Essentially, this offers an alternative to the other plugin that allowed subroutines but required a 'player' application to be run.
Yes, but there is still the difference in speed. Real native compiled plugin-commands are faster. The scripts are still interpreted as in native neobook. Of cource the renamed MyNewPlugin.nbr is distributed!
This was written before this new plugin was released. Do you believe you have accomplished this with your plugin to create plugins?
Not exatcly, but similar. Gaev has given ideas and whishes for this latest plugin. (the evolution from MyCustomPlugin to MyEmbeddedPlugin)

A final step could be, to get the resource binding process away from external toolchain to internal functions of hpwEncode. But since that is fairly complex and ResourceHacker serves fine on that, I think there might be other interesting stuff with higher priority.
Hans-Peter
User avatar
HPW
Posts: 2571
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany
Contact:

Post by HPW »

Just released hpwPlayAction 1.11 / MyCustomPlugin 1.04 / MyEmbeddedPlugin 1.02:

http://www.hpwsoft.de/anmeldung/html1/n ... book8.html

Fix: All 3 plugins no more publish [hpwNBVersion] on init.

It got obsolete by [NeoBookVersion] and show up in debugger even when the plugin is not used. This fix this.
Hans-Peter
User avatar
HPW
Posts: 2571
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany
Contact:

Post by HPW »

Just released hpwEncode 1.06:

http://www.hpwsoft.de/anmeldung/html1/n ... book8.html

Bugfix for hpwEncodeMacroStr: Third parameter is now of type VARIABLE.
Hans-Peter
User avatar
HPW
Posts: 2571
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany
Contact:

Post by HPW »

Just released a new ZIP:

http://www.hpwsoft.de/anmeldung/html1/n ... book8.html

MyEmbeddedPlugin.nbp renamed to MyEmbeddedPlugin.tnbp
MyEmbeddedPlugin.nbr renamed to MyEmbeddedPlugin.tnbr

The new extension reflect that they are template-files.

Please delete this files:
MyEmbeddedPlugin.nbp
MyEmbeddedPlugin.nbr

They crash neobook when accidently installed.
Hans-Peter
User avatar
dpayer
Posts: 1394
Joined: Mon Apr 11, 2005 5:55 am
Location: Iowa - USA

Post by dpayer »

HPW wrote:
They crash neobook when accidently installed.
Haha, yes I experienced that when I attempted to act before reading your instructions which clearly said not to do that.

Thanks for the update.

David P
Locked