When you install SongBeamer, a folder called 'SongBeamer' is created in your 'My Documents' folder. Inside it are three folders: "Backgrounds', 'Songs', and 'Scripts'.
What is the intended use of the Scripts folder?
What is the 'Scripts' folder for in SongBeamer
If you create a script using Tools->Macros, then it should be saved into that folder.
You can create pascal scripts like these:
Launch Windows Calculator:
Launch Paint or PowerPoint depending on what file is currently open:
Add a file to the schedule:
You can create pascal scripts like these:
Launch Windows Calculator:
Code: Select all
CreateProcess(getfolder_system+'calc.exe');
Code: Select all
var
Ext: String;
begin
Ext := AnsiLowerCase(ExtractFileExt(CurrentFileName));
if Ext = '.bmp' then
CreateProcess(GetFolder_System+'mspaint.exe', CurrentFileName)
else if Ext = '.ppt' then
CreateProcess(GetFolder_ProgramFiles+'Microsoft Office\OFFICE11\POWERPNT.EXE',
CurrentFileName)
else
MessageDlg('Please open an Bitmap image or a PowerPoint presentation first.', mtError, [mbOk], -1);
end.
Code: Select all
AddItem('sample song.sng', 'Sample caption');