(Example: +interarchy +wands) Advanced Search & Tips
GUI Goodies
Clocks iTunes Skins
Desktop Pictures App Makeovers
GUI Software Explorer Skins
Icons Propaganda Tiles
Interarchy Interfaces Themes

Throbbers
Home Page
Splash Screens
ATM Replacements
Application Splashes
Explorer Splashes
MacOS Startups (MOSS)
Netscape Splashes

MacOS X
MacOS X Mods
Login Panels
Boot Panels
Dock Poofs
Darwin
Boot Images
ResEdit
Classic ResEdit Mods
Getting Started
Download ResEdit
Resource/Template


Help Sections
User Forum
About Us!
Icon Help
Site Map
Submission Policy
Contact Us
In Addition...
REALbasic
Snapshots
Advertising
Linux Icebox
Applescript/Scripting
Links Page
Download Stats
Recent Articles...
By Date


By Category

3D
3D Photo Gallery Part 2 (12-06-01)
3D Photo Gallery Part 1 (11-29-01)

Audio
Laugh Track Machine
Audio Player with Reverb
Shepard Melody(11-08-01)
RB Phone Home (10-25-01)
Build a Drum Machine (10-04-01)

General RB
iTunes-style Listboxes
Virtual Volumes
Time Tracker
Software Distribution Part 4
Software Distribution Part 3
Software Distribution Part 2
Software Distribution Part 1
Exceptions
Custom Controls (8-2-01)
Living on the Edge (6-21-01)
Tips and Tricks (6-14-01)
Review of REALbasic 3.0 (2-19-01)
Text Clippings Made Easy (5-10-01)

Graphics
Lissajous Figures
Simple Screen Capture
Vector Graphics
Kaleidoscope Images
Stegonography
Spirals!
Image Table (11-15-01)
RB Magnifying Lens (10-11-01)
Screen Capture (8-9-01)
Color Picker Tutorial (6-7-01)

Hacks
Ghost Grab
Speedy Mouse Extension(11-01-01)
iTunes Plugins (8-23-01)
iTunes Skinner (7-26-01)

Internet
HTML IMG Tags
Version Tracking
Even Smarter Instant Messaging
Web Tiler
JavaScript and REALbasic (10-02-01)
Stock Ticker - Part II (9-06-01)
Stock Ticker - Part I (8-30-01)
AIM Mate (8-16-01)

Mac OS X
Build a Bundle Part 1
Build a Bundle Part 1
Dock Your Passwords
Mac OS X Debugging
REALbasic Mac OS X Icon Tutorial (12-13-01)
Animate Your Dock (5-17-01)
RB and the Command Line (5-3-01)

Novelty
Tile Mixer
Zip Code Finder
Happy Valentine's Day
Merlin Simulator Part 3 (01-24-02)
Merlin Simulator Part 2 (01-17-02)
Merlin Simulator Part 1 (01-10-02)
Buzzword Machine (10-18-01)
AppleSoft BASIC (9-20-01)

Resources
Picture Extractor 2 (5-31-01)
Picture Extractor 1 (5-24-01)

Serial
Caller ID Part 3 (7-12-01)
Caller ID Part 2 (7-5-01)
Caller ID Part 1 (6-28-01)

Speech
Speech Recognition (9-13-01)
Video
Big Brother Video Capture

Newest Dev Tools!

Book Alert !
REALbasic for Dummies
by Erick Tejkowski
$19.99 @ Amazon

Made with REALbasic!

Problems?
Downloads are in StuffIt 5 format (free download).
Tell me about a bad link (Thanks!).
Submission Policy

9-12-02

Simple Screen Capture for Jaguar by Erick Tejkowski

Mac OS X 10.2 added a new command line tool called screencapture. This handy command lets you take screenshots in all sorts of ways. The problem? There are so many options that it begins to become difficult to remember what everything does. REALbasic comes to the rescue! Today we'll build a simple 5-minute project that lets you add an interface to this powerful new command line tool.


Build the Interface

The interface this week is really simple to create: one PushButton and two RadioButtons. When you add them to a window, leave their default names as is. (i.e. PushButton1, RadioButton1, and RadioButton2).

  • PushButton1 - Caption = "Capture"
  • RadioButton1 - Caption = "Clipboard"
  • RadioButton2 - Caption = "File on Desktop"

Arrange the interface any way you want. Mine looks like this:

09-12-02_interface.jpg (20k)

Source Code

Like the interface, the code this week is also simple. Double-click PushButton1 and add the following code to its Action event:

  
  Dim s As Shell
  dim d as date
  dim f as string 
  
  //NOTE: Mac OS X 10.2 or higher required
  s=New Shell
  If TargetCarbon then
    if radioButton1.value then
      //capture to the clipboard
      s.execute "screencapture -c"
    else 
      //capture to a file
      d=new date 
      f = str(d.totalSeconds)+".pdf"
      s.execute "screencapture ~/Desktop/" + f 
    end if
    If s.errorCode<>0 then
      MsgBox "Error Code: "+Str(s.errorCode)
    end if
  end if
  

Keep in mind that this project only covers a few options available to you with the new screencapture command. To learn about the other features, use the man command:

    man screencapture

With just a little effort, it wouldn't be too tough to add the rest of the options.

Conclusion

That's it for this week. Select Debug->Run to test your work. As usual, you can download the finished project. See you next week!


9-10-02

REALbasic News by Erick Tejkowski

Game Creation - MWRB
SilverNetworks has released a bug fix release for their free game creation program, SilverCreator, version 1.0.1. You can download SilverCreator v1.0.1 now for OS 7.5.5 - 9.2.2 and Mac OS X. All of the runtime packages are included for easy compiling.And, of course, SilverNetworks is Maade with REALbasic.

I Declare!
Kevin Ballard has updated the popular Carbon Declare Library. It includes a few new functions and some bug fixes. Check it out!

Apple GUI Guide
Apple has posted an informative piece for "switchers" (read: ex-Windows geeks) about the Mac OS interface. Despite being intended for the "switching" crowd, it serves as a nice introduction to some important GUI features of Mac OS X, which you can put to use in your everyday REALbasic activities.

Marc Zeedar Tutorial and Review
Marc Zeedar begins his coverage of the latest REALbasic release by looking at the many subtle improvements in REALbasic 4.5. While we're on the topic of Marc, you can also find a handy tutorial by him called SimplePaint

easyPalette
fracturedSoftware has announced the release of easyPalette preview1. easyPalette makes it fast and easy to add cross platform, customisable tearoff palettes to your REALbasic project ( win32 palettes will be available in the next release ).

PrintWindow
For those who would like to print things under RB (e.g. text, styled text or graphics) on Windows and Mac, Tony Barry has made available an RB project called PrintWindow. What does it do?

  • It provides a styled editField which you can type into, and print from.
  • It gets around the current dysfunctional StyledTextPrinter on Windows, which does not print styles at present.
  • It also provides a Print Preview window, to save paper and show what the printer will actually print.
  • No plugins are used in the project. It is being released as donationware, and the source code is ... well, all there.


GUI Goodies
Clocks iTunes Skins
Desktop Pictures App Makeovers
GUI Software Explorer Skins
Icons Propaganda Tiles
Interarchy Interfaces Themes

Throbbers
Home Page
Splash Screens
ATM Replacements
Application Splashes
Explorer Splashes
MacOS Startups (MOSS)
Netscape Splashes

MacOS X
MacOS X Mods
Login Panels
Boot Panels
Dock Poofs
Darwin
Boot Images
ResEdit
Classic ResEdit Mods
Getting Started
Download ResEdit
Resource/Template


Help Sections
User Forum
About Us!
Icon Help
Site Map
Submission Policy
Contact Us
In Addition...
REALbasic
Snapshots
Advertising
Linux Icebox
Applescript/Scripting
Links Page
Download Stats

Maintained by the Staff of ResExcellence. This entire site ©1997-2002 ResExcellence L.L.C.
Privacy Statement? Sure we gotta Privacy Statement.

194 on the ResEx LinuxPPC Server