Page 3 of 6

PostPosted: Sun Nov 22, 2009 1:31 am
by HPW
Just upload a new ZIP hpwPlayAction 1.15 / hpwEncode 1.10 / MyCustomPlugin 1.08 / MyEmbeddedPlugin 1.06:

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

Updated ZIP with changed demo-pub of hpwPlayAction (Save button has now a ! in front of content-var [FinalMacro[X]] )

Code in Save-button is now:
Code: Select all
StrParse "[FinalMacro]" "[#13][#10]" "[FinalMacro]" "[FinalMacroCount]"
Loop "1" "[FinalMacroCount]" "[X]"
  If "[X]" "=" "1"
    FileWrite "[PubDir]MyMacro.txt" "All" "![FinalMacro[X]]"
  Else
    FileWrite "[PubDir]MyMacro.txt" "Append" "![FinalMacro[X]]"
  Endif
EndLoop
FileWrite "[PubDir]MyMacro.txt" "Append" ""


Thanks to Jim for pointing out this problem.

PostPosted: Tue Jan 18, 2011 3:48 pm
by HPW
Just released hpwPlayAction 1.15 / hpwEncode 1.10 / MyCustomPlugin 1.08 / MyEmbeddedPlugin 1.07:

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

MyEmbeddedPlugin-Action: [PluginName]PlayMacro does the same as hpwPlayMacro.
So no more the need to link hpwPlayAction when you want to use PlayMacro from inside your embedded scripts.

Edit: Do not use a command-ID 999 since this is used for the PlayMacro-command.
It is always registered after the embedded commands.
I think 1-998 will be enough! ;-)

PostPosted: Thu Jan 20, 2011 11:02 am
by HPW
Just released hpwPlayAction 1.15 / hpwEncode 1.10 / MyCustomPlugin 1.08 / MyEmbeddedPlugin 1.08:

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

[PluginName]PlayMacro now has also a neobook command wizard.

Adds a few KB to the NBP but NBR size remains unchanged.

PostPosted: Wed Jan 26, 2011 11:51 am
by HPW
Just released hpwPlayAction 1.15 / hpwEncode 1.10 / MyCustomPlugin 1.08 / MyEmbeddedPlugin 1.09:

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

[PluginName]PlayMacro changed to [PluginName]_PlayMacro (with underscore)
Demo-pub now show the use of commands with up to 10 parameter.
Bug-Fix for the command-wizard of the command with 5 parameters.

PostPosted: Wed Feb 16, 2011 2:11 pm
by HPW
Just released hpwPlayAction 1.15 / hpwEncode 1.10 / MyCustomPlugin 1.08 / MyEmbeddedPlugin 1.10:

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

Custom-PlayMacro-Name now completly free configurable in CFP-file.
In neobook 5.7 you can use the description 'HIDDEN' to make your own hidden commands.

PostPosted: Wed Jan 18, 2012 11:54 pm
by HPW
I noticed that there was a update to the tool resource hacker.

http://www.angusj.com/resourcehacker/

Not tested it yet, but seems usefull.

PostPosted: Thu Jan 19, 2012 4:17 am
by CN_Iceman
Thanks for the info, and many thanks for your awesome plugins.

Greetings.

Re: hpwPlayAction

PostPosted: Thu Oct 25, 2012 4:16 pm
by HPW
Just released hpwPlayAction 1.15 / hpwEncode 1.10 / MyCustomPlugin 1.08 / MyEmbeddedPlugin 1.11:

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

Bug-Fix for the init-process when running more than one MyEmbeddedPlugin-based plugins.
Added a test sample with a second MyEmbeddedPlugin-based plugin.

Re: hpwPlayAction

PostPosted: Tue Jun 25, 2013 12:05 am
by mishem
If you are using windows assistant brackets are replaced by the code [# 91] and [# 93]. After that NB gives an error that does not understand the command.

And interested in this question, you can plug-in will add a third-party plpginy or console program?

Just as in the Flag to enable [34] replacing is set to 0 or 1 there is no change.

Just decided to deal with this plugin. How many times have tried, but not enough, or crazy, or patience. :)

Re: hpwPlayAction

PostPosted: Tue Jun 25, 2013 1:08 am
by HPW
Hello,

You post about hpwPlayAction?
Use the action editor of the wizard and it produce working code.
Code: Select all
SetVar "[TestStr]" "BlaBla"
hpwPlayAction ".hpwPlayMacroSource ** Do not change this first line **[#13][#10]AlertBox [#34]Test[#34] [#34]This is a Action! Var TestStr=[#91]TestStr[#93][#34]" "0"


>>you can plug-in will add a third-party plpginy or console program?

I do not understand the question.

>>Just as in the Flag to enable [34] replacing is set to 0 or 1 there is no change.

Not remember the need/function for this. Would have to look into the code.

Regards

Hans-Peter

Re: hpwPlayAction

PostPosted: Tue Jun 25, 2013 1:32 am
by mishem
Now I do not understand everything, but still ...
I open the example
hpwPlayAction "[TextEntry1]" "0"
I click on it twice.
Wizard opens.
I click OK.
get:
hpwPlayAction "[# 91] TextEntry1 [# 93]" "0"
NB does not understand this command.
If one variable that can be corrected by hand. And if a lot?
Newbies will not be able to understand all that and where you need to correct.
I do not understand the question.

I do not yet fully understood. Just getting started. After you return to this question.

Re: hpwPlayAction

PostPosted: Tue Jun 25, 2013 3:29 am
by HPW
Ok, I see your problem now.

The problem is that the wizard should make a diffenrence between 'direkt source code=Action string' and 'code from variable'.

'hpwPlayAction "[TextEntry1]" "0" ' is used when code is taken from a variable and neobook evaluate the line and passes the code from variable as parameter.

But when the parameter-string does contain real neoscript we have to translate all brackets to build workable code after first evaluation.

So an idea would be a advanced wizard logic, which anylyse the string and when first and last letter is a pair of [] then leave it untouched.
Then it would assume that it is a variable holding the code.

Regards

Re: hpwPlayAction

PostPosted: Tue Jun 25, 2013 3:52 am
by mishem
I do not understand the question.


I come back to this issue.
For example, in my commands, NB is the reference to the external exe file.
Or another plugin.
When you create a plugin you can add these files to the plugin resources that will be created?

If you do not understand, I once again try to formulate a question. :)

When transferring the appeal goes to YOU.
But I mean the plug-in can add files to the new plugin.

Re: hpwPlayAction

PostPosted: Tue Jun 25, 2013 7:35 am
by HPW
Hello,

Not sure I understand right.

Do you refer to the process of using MyEmbeddedPlugin to create a own new plugin?
There is the resourcehacker tool used to embed resources into the template plugin.
The plugin has no function to extract a binary or any other file from the resource.

The MyEmbeddedPlugin is a proof of conzept, that it is possible to create a plugin with neoscript itself.
For more serious development with low-level access to OS/binary a full blown delphi enviroment is the better choice.

Regards

Re: hpwPlayAction

PostPosted: Tue Jun 25, 2013 8:07 am
by mishem
Thank you.
Properly understood.

Another question.

Can I get a variable path to the file?

In the variable [TextEntry1]

. hpwPlayMacroSource
FileOpenBox "Open" "All Files | *. *" "[LastDir]" "[$ My2CustomMacroSec1_1]" ""

Next I want to get the path of a file into a variable [TextEntry2]

setvar "[MyPlayPassword]" ""
My2CustomMacroSec1 "[TextEntry1]" "[MyPlayPassword]" "[TextEntry2]"

But this is not correct. (

How to do it?