YAV's RAD Tools

Tips!


This information is taken directly from the "Using YAV's RAD Tools" window of the YAV's RAD Tools installer project.

Click here to send me feedback (Christopher@yav.com).

Back to YAV's Home Page
Back to YAV's Downloadable Software Page
Back to the YRT main menu!



INSTALLATION TIPS:

Step 1:
 
With SuperCard 3.0, YAV's RAD Tools no longer needs to be in the SC Pouch but please don't rename it.
Step 2:
Read this screen if you haven't done so (and especially if you aren't doing so right now).
Step 3:
Read the "Frequently Asked Questions" if you haven't done so.
Step 4:
Go to the "Tools" window ("YAVtools 1 2 3")
Step 5:
Experiment with the tools using the two experimentation fields and the "Demo" button.
Step 6:
Create a "shell" project with a fully functional version of YAV's RAD Tools pre-installed by selecting "Install YAV's RAD Tools..." from the "Special" menu to access the built-in installer.
Step 7:
Quit this (the "YAV's RAD Tools") project and relaunch SuperCard by double-clicking on the "shell" project.

REMARKS: The main commands you need to know are:

For the initial loading:

Alternatively, registered users would use the following code to load YAV's RAD Tools (note that it is also necessary to install the "UgKp" registration resource in your project):

Removing YAV's RAD Tools:

Always pass the following when you quit.


GENERAL TIPS:


CONVENTIONS:

lpi() is a synonym for LastPathItem()
gf is a synonym for getFile
aq() means "add quotes"
cs means "compact and save"
ghm means "get hasMemory"
t= true
f= false
e= empty
c= character
w= word
i= item
s= set (occasionally "short")
g= get
r= replace
b= but (i.e., "all but")
f= first
l= last (occasionally "long" or "line")
x= exit (to SuperCard)
i or if = if
z = zero
ii = "if in"
n = "the number of"
s = short (occasionally "set")
a = abbreviated
l = long (occasionally "last" or "line")
m= my
-bf = background field
-bb = background button
-bg = background graphic
-cf = card field
-cb = card button
-cg = card graphic


As you can see from the chart above, the "3-char wonders" all follow a consistent and logical acronym system: for example, "ncb()" returns the number of card buttons. "iex(arg)" checks the contents of the argument and then if it's empty exits to SuperCard.

Example:
note: This would probably never happen in real life.

YRT:
if iit(gfc(glw("YAV's RAD Tools")),ln()) and izf(ncf()) then put slt((blc(rft((glw(sq(glw(mln())))),"C"))),"!")

OK, OK... I know that SuperCard is supposed to do away with such gobbledygook BUT... the above example would probably only occur in the bizarro world. If you check out the scripts in this project and also the YAV app Shell project, you'll see that the tools aren't really used like this very often.

Straight:

if (first char of last word of "YAV's RAD Tools" is in long name of this project) = true and (the num of card fields) is not 0 then
get the long name of the target
get last word of it
if first char of it = quote then delete first char of it
if last char of it = quote then delete last char of it
get last word of it
put "C" into first char of it
delete last char of it
put "!" after it
put it
end if


INFORMATION ABOUT THE YRT WINDOWS:


CREATING A SHELL PROJECT:

Whenever you type "MakeShell" (and return) a new shell project called YAV app Shell is placed in your SC Pouch folder. That's pretty simple. The shell project has ten fully-scripted menus (Apple, File, Edit, Special, Windows, and a Text menu with the submenus: Font, Size, Style, and Align... note that the Text menu appears only when the Text window is visible.) and seven windows.

The Shell project's seven windows are:


Here are some suggestions for using the YAV app Shell:


I'm convinced. Let me download YAV's RAD Tools and the documentation right now!


YRT HomePage and Download Area |YRT Command and Function List |YRT Tips |YRT FAQ |YRT Press Release
Return to www.yav.com



Graphics, text, sounds, etc. Copyright © Christopher Yavelow 1994 - 1998