Tips
This section includes tips, suggestions, and anything else that belongs here. If you have something that you want to see here, just e-mail it to dantheox@aol.com.
Tip #1 - Assign shortcuts to New Property and Method
One of the most silly things about Realbasic is that it doesn't have keyboard shortcuts for New Property... and New Method... However, as everyone knows, you can add them with ResEdit. Doing it is simple.
Method 1-A resource editor
Just open up Realbasic in ResEdit or the far superior Resourcer,
and open the Edit MENU resource. Then, add the shortcuts Cmd-Opt-V (V=Variable),
and Cmd-Opt-M. They will appear as an accent and a check mark, but that's OK. They
still work. The only problem with this is that every time you get a new version of
RB, you have to do this again.
Method 2-A macro utility
This is a better method because you don't have to modify RB every single
time you download it. Any macro utility will do for this, though I personally think
that OneClick leaves everything else in the dust. Simply make two new macros that
choose the two menu items, and assign them shortcuts. Since the Realbasic application
is always called "REALBasic", you won't have to create these again every
time you get a new version.
Method 3-Write mail to geoff@realbasic.com
Using this method, everyone writes mail to geoff@realbasic.com, and
requests that he include shortcuts built in.
Tip #2 - Save before you run macro
Realbasic crashes a lot. A heck of a lot. More than any other app
I've ever used. And it crashes in such interesting ways…
Anyway, the point of this is that since it crashes a lot, you should
save your work a lot. The problem with this is that it seems that just before it
crashes, the save command stops working (Arggh...). What seems to work for me is
simply holding down Command and S. This saves it many times, and almost entirely
ensures that it works. Once again, OneClick or another utility can simplify this
whole thing. In OneClick, just use this script:
Repeat 10
SelectMenu "File", "Save"
End Repeat
SelectMenu "Debug", "Run"
If you assign this to be Cmd-R, then it will do it whenever you use the keyboard
shortcut to run. This is a big time saver.