exec32 Scripting Language


exec32 Plus Page

Here are scripts, includes and plug-ins written by the author and others. This code is available to you when you register . You are welcome to submit your code and plug-ins for inclusion in this page.

Plug-in: exec32_backup
Description: The Backup plug-in is an application that will copy files from the current directory to a specified drive and path. It is designed to work in context with the current directory in exec32.

exec32_backup is so easy to use, there is no reason not to
backup your projects.

To use, navigate to a directory you wish to back up, and select Backup from the Edit pull-down menu, or right-click the file pane, and choose Backup from the context menu.

You can specify files to include in the backup, such as "*.*", or "*.bas". You can specify only one file inclusion mask. You can also specify wildcards not to back up, such as "*.r *.log *.tmp". You can specify up to 25 exclusions, each separated by a space. Note, if you specify a certain file mask to include, then file exclusions are disabled.

If you do not specify a Backup To directory, then no files will be backed up. You can use this feature to create a list of files that would be backed up (stored as filelist.txt in the exec32 installation directory). It can also be used to reset the archive attribute of the files matching the backup condidtions.

exec32_backup can optionally recurse into the directories below the base directory. It can backup all files, or just those that have been changed since that last backup, and optionally reset the file archive bit. It generates a log file, so you will always have a reference of your backed up files.

You can set the default Backup To directory in the exec32.ini file. This drive and path will be used as the base target directory for your backups. In practice, your current directory will be appended to this base. Example: Your default Backup to directory is M:\. In exec32, you browse to your project directory, C:\My Projects\Project 1234\, and select Backup from the Edit pull-down menu. exec32_backup will propose to backup this project to M:\ Project 1234. To override this behavior, just enter another target specification.

After running, a report will be displayed to the screen, and appended to exec32_backup.log in your exec32 installation directory.

If you would like to save certain settings in context with one of your projects, click the Save pull-down menu function. This will save the Backup To directory, the Recurse flag, and the file include and exclude masks. The next time you run exec32_backup from that directory, those settings will be used as the default.

Script: Attach vCard.e
Description: Paste a vCard into an eMail. vCards are handy to send to your new contacts, but you don't want to annoy people by sending them all the time (as part of your signature). Running this script will alt-tab to the window behind exec32 (which should be your email message window). At the current cursor position, it will insert the text "My vCard is attached...", and procede to insert your vCard file right below that.
Author: rps

Script: Edit File.e
Description: Open various txt files in your favorite editor. This is one of my most used scripts. I use it to pull up such things as project notes, configuration settings, web pages, log files, etc. It sure beats navigating the drive and opening the files 180 times a day.
Author: rps

Script: Boilerplate.e
Description: Pastes a paragraph or two of text into an email. Useful for those frequently asked questions you find yourself always typing out. This script works similar to the "Edit Text File.e" script.
Author: rps

Script: SnagIt.e
Description: Copies selected text in any application, and appends it to a certain text file. I use this to save off information from emails, web pages, etc, that I want to keep, but know I will loose if I don't save it in a predicable place. I can go that file, and search for keywords.
Notes: To install, place in your Scripts directory. Use the exec32 navigator to locate the file. Press enter on the file - this will open the file in the script pane. Select "Add to Menu" from the Scripts pull-down menu. Use the description of "&SnagIt". This will create the ALT, S, S hotkey for this function. To use, select some text in an application, and hotkey to exec32 (ALT-X), and select this function from the Scripts pull-down menu.
Author: rps

Script: Check for email.e
Description: Checks your Exchange mail server for unread email, and plays a sound file or displays a message box. This script is good for those who work remote, and it takes a year for Outlook to load. Notes: You can run this as an exec32 cron job.
Author: Lindsey Lewis.

Include: waitfor.bas
Description: The waitfor function waits for a certain window (name) to come into existance, or for an existing window (name) to change names to what we are looking for. If it does not happen before the specified timeout (in seconds), it returns false.
Author: rps

Include: webpagesupport.bas
Description: Provides functions for web page generation and manipulation.

Author: rps

Script: Snarf Gazette.e
Description: Snarf the Gazette local news website, convert to iSilo format and install on Palm Pilot. It also creates a website on your hard drive, for off-line viewing. This exec32 script demonstrates how to use the web clipping function in the exec32 Desktop Scripting Language to gather dynamic information from a website, striping out the "noise", and re-packaging the content for use on a handheld device.
Author: rps

Back...