To answer your first question.
Shell Execute will Execute an external application stored somewhere on your computer. An example is Microsoft Notepad or Microsoft Excel.... (Something that has a stationary exe location)
Executeable: Will copy the .exe file to the planswift plugin.... you would use this to incorporate a plugin you have created through a development platform outside of planswift. such as Visual Studio or Delphi.
Script: Will open the planswift internal scripting engine. and allow you to create a custom script.
The scripting reference is currently being updated. As of right now I would not recommend copy and paste the information from the reference to the scripter.
As of right now the scripter defaults to Pascal.... you can change this to vb (visual basic) by clicking on the advance button. then right clicking on the "Script Code" Property and choosing "Properties" in the properties change the syntax to vb.
then press ok. and press the "Edit" button at the end of the script code property.
an example below is how you would call the new form
- Code: Select all
form := newform(200,200,'Custom Form Name');
okbtn := newbutton(20,20,'Ok',mrok);
if form.showmodal <> mrok then exit;
Hope this helps.