Category: GhostFill Scripts

Love Your GhostPad

GhostFill in its last version upgrade included a new feature called GhostPad. GhostPad is both a text editor with full GhostFill fillpoint support and full syntax coloring. It should become part of your arsenal of development tools to tackle problems.

GhostPad allows you to enjoy the same functions as Microsoft NotePad. It can be used as a Clipboard to copy snippets of text from a Template or Script and store it for reuse. But its real power lies in its support for syntax coloring and the ability to test scripts. Syntax coloring means that all the fillpoints display in blue, comment text in green, and text strings in brown. And, all paired codes are automatically displayed in bold, so that you can tell the KeepBlock and the corresponding EndBlock.

GhostPad allows you to test and manipulate text without endangering the template. For complex scripting, you can copy a paragraph from the template and lay it out based on logic decision points. In the GhostPad you can test the assembly. When the script works properly, simply remove the excess hard returns and tabs and paste the paragraph back into your template.

Invoking GhostPad From the Start-Menu, START -> ALL PROGRAMS -> GHOSTFILL -> GHOSTPAD

To create a desktop or quicklauch shortcut, point to C:/Program Files/GhostWare/GhostPad.exe

From GhostFill developer: Right-click to create a new text template. Then right-click on the template and Open the file for editing. We suggest you create a template folder called “~Test” or “~Development” for your text templates used for testing purposes

Useful Tip: Always remember to make a backup copy of your templates before making major text changes.

Ghostfill Create a progress bar

There are times where you wish to give the users information that progress is being made during an assembly, or some indication of where they are.  GhostFill has a progress bar utility. It can be invoked and then controlled by a script. That script is up to you.

%[x = dialogs.Utils.CreateProgressBar]
%[x.title = “This is my Title"]
%[x.show]

%[x.progress =0.1]
%[x.progress =0.2]
%[x.progress =0.3]
%[x.progress =0.4]
%[x.progress =0.5]
%[x.progress =0.6]
%[x.progress =0.7]
%[x.progress =0.8]
%[x.progress =0.9]
%[x.progress =1]
%[x.hide]

This code illustrates how to create and control the progress bar. It is up to you to create the rules for each of the progress codes. It could be a clock timer, or it could be just some condition.

Basha Search

Loading

Basha Network

Basha Product Sites