Pomoci skriptu, ktere si napises nebo stahnes ze stranek PSpadu rozsirujes jeho funkcnost. Vetsinou se jedna o funkce, ktere jsou specificke pro par lidi.
Napr. na jedno kliknuti vytisknout vsevhny otevrene soubory je skript (VB Script) na par radku:
' it will print all open files to printer
const module_name = "PrintAll" 'this name must be unique !!!
const module_ver = "0.001a" 'version
sub PrintAll
set obj = NewEditor()
for i = 0 to editorsCount - 1
obj.assignEditorByIndex(i)
if i = 0 then 'for first file we call printer settings dialog
obj.printFile(True)
else 'all other files will be printed to selected printer
obj.printFile(False)
end if
next
end sub
' name "Init" is required, its called automatically during initialization to create menu items
sub Init
addMenuItem "&Print all files","", "PrintAll"
end sub