Source language: Translate to:

hpwPlayAction

Questions about NeoBook PlugIns

Moderator: Neosoft Support

Postby HPW » Sun Nov 22, 2009 1:31 am

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.
Hans-Peter
User avatar
HPW
 
Posts: 2510
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Postby HPW » Tue Jan 18, 2011 3:48 pm

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! ;-)
Hans-Peter
User avatar
HPW
 
Posts: 2510
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Postby HPW » Thu Jan 20, 2011 11:02 am

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.
Hans-Peter
User avatar
HPW
 
Posts: 2510
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Postby HPW » Wed Jan 26, 2011 11:51 am

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.
Hans-Peter
User avatar
HPW
 
Posts: 2510
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Postby HPW » Wed Feb 16, 2011 2:11 pm

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.
Hans-Peter
User avatar
HPW
 
Posts: 2510
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Postby HPW » Wed Jan 18, 2012 11:54 pm

I noticed that there was a update to the tool resource hacker.

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

Not tested it yet, but seems usefull.
Last edited by HPW on Thu Jan 19, 2012 4:18 am, edited 1 time in total.
Hans-Peter
User avatar
HPW
 
Posts: 2510
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Postby CN_Iceman » Thu Jan 19, 2012 4:17 am

Thanks for the info, and many thanks for your awesome plugins.

Greetings.
Greetings/Saludos, Jose.
www.icemansoft.es
User avatar
CN_Iceman
 
Posts: 297
Joined: Tue Mar 01, 2011 11:04 am
Location: España

Re: hpwPlayAction

Postby HPW » Thu Oct 25, 2012 4:16 pm

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.
Hans-Peter
User avatar
HPW
 
Posts: 2510
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Re: hpwPlayAction

Postby mishem » Tue Jun 25, 2013 12:05 am

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. :)
mishem
 
Posts: 574
Joined: Mon Oct 08, 2012 1:51 pm

Re: hpwPlayAction

Postby HPW » Tue Jun 25, 2013 1:08 am

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
Hans-Peter
User avatar
HPW
 
Posts: 2510
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Re: hpwPlayAction

Postby mishem » Tue Jun 25, 2013 1:32 am

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.
mishem
 
Posts: 574
Joined: Mon Oct 08, 2012 1:51 pm

Re: hpwPlayAction

Postby HPW » Tue Jun 25, 2013 3:29 am

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
Hans-Peter
User avatar
HPW
 
Posts: 2510
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Re: hpwPlayAction

Postby mishem » Tue Jun 25, 2013 3:52 am

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.
mishem
 
Posts: 574
Joined: Mon Oct 08, 2012 1:51 pm

Re: hpwPlayAction

Postby HPW » Tue Jun 25, 2013 7:35 am

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
Hans-Peter
User avatar
HPW
 
Posts: 2510
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Re: hpwPlayAction

Postby mishem » Tue Jun 25, 2013 8:07 am

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?
mishem
 
Posts: 574
Joined: Mon Oct 08, 2012 1:51 pm

PreviousNext

Return to PlugIn Discussions

Who is online

Users browsing this forum: No registered users and 1 guest