Scripting FWB

History Key

  • New content
  • Removed content

Recent Versions

Choose two versions to compare, or click the link to view it.

  1. 34. almost 4 years by arst
  2. 33. almost 4 years by arst
  3. 32. almost 4 years by arst
  4. 31. almost 4 years by arst
  5. 30. almost 4 years by arst
  6. 29. almost 4 years by arst
  7. 28. almost 4 years by arst
  8. 27. almost 4 years by arst
  9. 26. almost 4 years by arst
  10. 25. almost 4 years by arst
  11. 24. almost 4 years by arst
  12. 23. almost 4 years by arst
  13. 22. almost 4 years by arst
  14. 21. almost 4 years by arst
  15. 20. almost 4 years by arst
  16. 19. almost 4 years by arst
  17. 18. almost 4 years by arst
  18. 17. almost 4 years by arst
  19. 16. almost 4 years by arst
  20. 15. almost 4 years by arst
  21. 14. almost 4 years by arst
  22. 13. almost 4 years by arst
  23. 12. almost 4 years by arst
  24. 11. almost 4 years by arst
  25. 10. almost 4 years by arst
  26. 9. almost 4 years by arst
  27. 8. almost 4 years by arst
  28. 7. almost 4 years by arst
  29. 6. almost 4 years by arst
  30. 5. almost 4 years by arst
  31. 4. almost 4 years by arst
  32. 3. almost 4 years by arst
  33. 2. almost 4 years by arst
  34. 1. almost 4 years by arst
 

Scripting pages:

  • The Squirrel Language – This page looks at the default scripting language used in FWB.
  • NSIS Text Editor Mode – A comprehensive example where we develop an FWB extension (a MiniAppMode) to work with Nullsoft Installer scripts (NSIS) in a File Workbench text editor. The extension is programmed 100% in script.
  • Scripting API:s – An overview of important classes and functions used in FWB scripting.

It is also possible to embed other script engines in File Workbench.

Introduction

Squirrel is a slightlight weight dynamic scripting language that is easy to learn. Since it has automatic memory management it is also safe.

Scripting FWB is straight forward. Many API:s in File Workbench are available for scripting:

  • Scripting file browsers
  • Scripting text editiors
  • Interacting with command prompts
  • Classes for easy access to text files of common encodings (Ascii, UTF8, UCS2. …)
  • Accessing regular expression engine from script (PCRE)
  • Creating new MiniApp windows
  • Programming extensions to any MiniAppType
  • Creating small tool bars and assigning keyboard shortcuts