https://web.archive.org/web/19990427022305/http://www.seanet.com/~jonpugh/hyperstuff.html


This is my collection of public XCMDs and stacks. Enjoy.


Alias Utilities (31K), a set of XCMDs for dealing with alias files and resources. These allow you to create, resolve and query aliases in your stacks and alias files in the Finder.

Clipboard Commands (25K), a set of three functions for controlling the clipboard. There's toClip, fromClip and clipInfo. They allow you to find out what's on the clipboard and get and set it. Very useful stuff.

copyFile (12K) is an XCMD which copies files. I use it for automated backups between my home and work machines and my PowerBook and other things.

Dinosaurs (229K) is the first stack I ever made. It consists of a bunch of dinosaur pictures which I had gotten from somewhere in MacPaint format back in 1986. I turned them into a stack and I think it came out rather nice. This stack was featured in MacWorld many years ago.

Files (12K) is a pair of XFCNs which allow you to get all the files and directories in a directory. You can also get files only of a certain type. I also use these in my backup scripts.

FinderEvents (39K), an XCMD for communicating with the System 7 Finder. This allows you to open windows and move files around to some limited degree. If you have access to the Scriptable Finder (part of 7.5), you should use it and Hypercard 2.2+ instead of this XCMD.

ForgetWindow (22K) is an esoteric XCMD which I love. Hypercard has this feature where it saves the window location if you move a window. Since I use my stacks on multiple machines, all of which have different monitor configurations, I would like to have Hypercard forget it's saved window position so that stacks open in their default position over the home card. This XCMD does that. It simply zeros a stack's saved window position.

Hidden (14K) simply tells you if Hypercard is hidden, either by choosing the Hide Hypercard menu, the Hide Others menu or by option clicking on another program's window or the desktop. I use this to keep Hypercard from hitting the disk on my PowerBook while it's not being used.

Lights (23K) simply gives you control over the extended keyboard LEDs, i.e. num lock, caps lock & scroll lock. I don't really use this for anything, but it was kind of fun to write.

LoneRanger (221K) is a stack which allows you to change the type and creator of files easily. It has a ton of options and a bunch of preset and easily configurable settings which allow you to change files from one program to another, from unknown downloaded files to the proper types and creators and more. It's very useful and allows you to scan entire disks or individual folder trees.

ResourceList (35K) provides you with lists of resources, such as fonts and sounds. I used it simply to choose sounds from my vast collection of beeps.

ScreenList (39K) gives you a list of the current monitors and their characteristics. It's useful when you are moving windows around and it's also useful for determining which Macintosh you are on if you have several of the same type with different monitor configurations. I use this to determine where my Home window should be placed.

SysEnvirons (8K) provides some information about your Macintosh, specifically machine type, system version, processor type, whether it has an FPU, whether it has color QuickDraw, the AppleTalk version, keyboard type, and System Folder path. This has not been updated for the PPC but if people whine about it, I probably will do it since I already did it in Jon's Commands.

TextRez (7K) is a pair of XFCNs which allow you to store text into a resource, thereby avoiding the 30,000 character limitation of Hypercard fields. You still need to figure out a way to display it though.

thePrograms (38K) is an extension of Hypercard's built in command "the programs". Where "the programs" allows you to see what programs are running on the local machine "thePrograms" allows you to see what programs are running on any machine on the AppleTalk network. In both cases, these commands only see AppleEvent aware programs. Specifically, these commands use the IPCListPorts function.

Volume commands (5K) provide access to the system volume so that you can get and set it.

WakeUp (24K) allows you to tell your PowerBook when to wakeup, if it is capable of that. This enables you to turn your PowerBook into an alarm clock


Created on Sat, Sep 16, 1995 and last modified on Tue, Jun 17, 1997.