TweetFollow Us on Twitter

WindowTalk
Volume Number:5
Issue Number:12
Column Tag:Kelly's Corner

ScriptEdit™ and WindowTalk

By Dave Kelly, MacTutor Editorial Board

HAPPY BIRTHDAY MACTUTOR

This issue begins another year of MacTutor! A hearty thanks to all of MacTutor’s advertisers and readers.

You have probably noticed that my column has taken a different twist over the past few issues. I’m looking through a pile of software to make your development efforts easier and I’ll try to keep you informed of some of these as time and space permits. The products that I mention here are not necessarily endorsed by MacTutor or myself (although some of them are on my best software list), and is not necessarily the only product of its kind, but each one has caught my attention for some reason or another.

ScriptEdit™

ScriptEdit™ is an ingenious way to make HyperCard script programming easier. Before I tell you about it, I’d like to tell you a few reasons why I don’t like HyperCard’s built-in editor. I’m sure that everyone that has ever done HyperCard script writing has some or all of the same complaints (maybe even other complaints too). Some things could have been better to begin with, but we all know that Apple always saves room in the commercial market for improvements. HyperCard’s editor consists of a large dialog with a text edit field in which you can type and edit text that comprises HyperTalk scripts. First complaint: the edit menu is not allowed from within the editor. This isn’t too bad since the keyboard equivalents for Cut, Copy, and Paste commands still work. Secondly, only one script may be open at a time. This is awkward when working with a complex stack. Thirdly, the find function is limited. You must position the insertion point to the beginning and then select cmd-F. There is no replace function for replacing text. If you don’t mind all of that, you probably are doing just fine with HyperCard’s built-in editor.

The ScriptEdit™ consists of three different parts: The ScriptEdit desk accessory; an XCMD that provides HyperCard-to-ScriptEdit communications; and two special HyperTalk scripts that link the desk accessory and XCMD together and correctly activate ScriptEdit when it is selected from the Apple menu. In addition, there is a set of sample scripts provided for starting up ScriptEdit™ in a variety of ways. My favorite is to use the pre-defined script which uses one of the function keys on the extended keyboard to open the ScriptEdit™ DA. These scripts and XCMD are installed by clicking a button in the ScriptEdit™ install stack. Of course the DA must be installed in the system (or via Suitcase II or Master Juggler). Once the ScriptEdit™ scripts are installed in the home stack, ScriptEdit™ may be invoked by sending messages to HyperCard by typing in the message window or implementing a script.

Examples:

ScriptEdit “background button Home”
ScriptEdit “card TheXCMD”
ScriptEdit “cd btn Test”, “cd btn About”
ScriptEdit Name1, Name2

The ScriptEdit™ object window opens and displays the objects available in the stack. You can use HyperCard’s menus or the object window’s navigation commands (left/right arrows) to navigate through different stacks while using ScriptEdit™. For convenience, the object window has filter buttons to select what types of objects to display.

Just about every feature in ScriptEdit™ is an improvement over the built-in editor. Here is a summary of the features:

• Now you can have more than one script window open at one time. The number of script windows is only limited by available memory. This enables you to edit scripts side by side.

• Each window can retain its own font and size information (one font and size per window).

• Find and Replace includes searches which “wrap around” to continue searching at the beginning of the script when it reaches the end. Find/Replace can be done on all open windows or on all scripts in the stack.

• The ScriptEdit™ XCMD provides a direct interface with HyperCard so that script commands may be used to customize the editing environment.

• Any standard text file can be opened with the ScriptEdit™ DA. This makes it easy to import a script from somewhere else to include in your stack.

• Each script window contains pop up menus with standard HyperCard messages, controls, commands, functions, properties, and constant that can be selected to be automatically inserted into your script. This can be a time saver for someone who is not fully familiar with all of the HyperCard statements. The info bar can be hidden if desired to display more of the script to edit.

I ran into only one problem in using ScriptEdit™ and this problem is only a problem for users of 32-bit Color Quickdraw. The problem is that ScriptEdit™’s hierarchical menus don’t work when 32-bit QD is installed. A quick call to Somak Software was answered by a helpful voice which told me that the problem is fixed with system version 6.0.4. If you don’t have 6.0.4 then I suggest that you don’t use 32-bit Color QD when using ScriptEdit™.

I fully recommend ScriptEdit™ to anyone who is sick of the HyperCard built-in script editor. There was only one thing that I disliked about it; when ScriptEdit™ is active, you can’t use the paint tools or otherwise change a card or background. This is only a minor annoyance and won’t keep anyone from producing better scripts.

ScriptEdit™ is available from:

Somak Software, Inc.

535 Encinitas Blvd., Suite 113

Encinitas, CA. 92024

(619) 942-2556

Price: $79

includes HyperCard version 1.2.2 and Font DA Mover 3.8.

NOT COPY PROTECTED!!

WindowTalk

While we’re talking about HyperCard enhancements, I’d like to mention one more which adds 26 XCMDs and XFCNs that lets you build windows and windoids. WindowTalk when used with HyperCard scripts provide access to control modeless, inter- or intra stack windows created in ResEdit.

For a limited time, WindowTalk is available as a shareware product which includes documentation and sample windows and windoids. If you like WindowTalk and want to use it, you pay $39 (plus $5 for postage and handling) and they send you a special installer stack that can inject the necessary resource and the tutorial window into your own Home stack or into another stack. The shareware version requires you to replace your Home stack (by changing its name) and using a new home stack in which WindowTalk has been installed. The shareware stack is set up so that there is just enough bother in using it that the installer stack is needed, thus insuring that the shareware fee is paid.

Available from:

Third Wave Computing, Inc.

4412 Spicewood Springs Road, Suite F-1000

Austin, TX. 78759

1-800-284-0486

NOT COPY PROTECTED!!

 
AAPL
$98.15
Apple Inc.
-0.23
MSFT
$43.58
Microsoft Corpora
-0.31
GOOG
$587.42
Google Inc.
+1.81

MacTech Search:
Community Search:

Software Updates via MacUpdate

Knock 1.1.7 - Unlock your Mac by knockin...
Knock is a faster, safer way to sign in. You keep your iPhone with you all the time. Now you can use it as a password. You never have to open the app -- just knock on your phone twice, even when it's... Read more
Mellel 3.3.6 - Powerful word processor w...
Mellel is the leading word processor for OS X and has been widely considered the industry standard since its inception. Mellel focuses on writers and scholars for technical writing and multilingual... Read more
LibreOffice 4.3.0.4 - Free Open Source o...
LibreOffice is an office suite (word processor, spreadsheet, presentations, drawing tool) compatible with other major office suites. The Document Foundation is coordinating development and... Read more
Freeway Pro 7.0 - Drag-and-drop Web desi...
Freeway Pro lets you build websites with speed and precision... without writing a line of code! With it's user-oriented drag-and-drop interface, Freeway Pro helps you piece together the website of... Read more
Drive Genius 3.2.4 - Powerful system uti...
Drive Genius is an OS X utility designed to provide unsurpassed storage management. Featuring an easy-to-use interface, Drive Genius is packed with powerful tools such as a drive optimizer, a... Read more
Vitamin-R 2.15 - Personal productivity t...
Vitamin-R creates the optimal conditions for your brain to work at its best by structuring your work into short bursts of distraction-free, highly focused activity alternating with opportunities for... Read more
Toast Titanium 12.0 - The ultimate media...
Toast Titanium goes way beyond the very basic burning in the Mac OS and iLife software, and sets the standard for burning CDs, DVDs, and now Blu-ray discs on the Mac. Create superior sounding audio... Read more
OS X Yosemite Wallpaper 1.0 - Desktop im...
OS X Yosemite Wallpaper is the gorgeous new background image for Apple's upcoming OS X 10.10 Yosemite. This wallpaper is available for all screen resolutions with a source file that measures 5,418... Read more
Acorn 4.4 - Bitmap image editor. (Demo)
Acorn is a new image editor built with one goal in mind - simplicity. Fast, easy, and fluid, Acorn provides the options you'll need without any overhead. Acorn feels right, and won't drain your bank... Read more
Bartender 1.2.20 - Organize your menu ba...
Bartender lets you organize your menu bar apps. Features: Lets you tidy your menu bar apps how you want. See your menu bar apps when you want. Hide the apps you need to run, but do not need to... Read more

Latest Forum Discussions

See All

Empire Manager (Games)
Empire Manager 1.0 Device: iOS iPhone Category: Games Price: $3.99, Version: 1.0 (iTunes) Description: Become ruler of an empire. Manage your economy, develop technology, hire an army and conquer the world in this addictive turn-... | Read more »
Empire Manager HD (Games)
Empire Manager HD 1.0 Device: iOS Universal Category: Games Price: $7.99, Version: 1.0 (iTunes) Description: Become ruler of an empire. Manage your economy, develop technology, hire an army and conquer the world in this addictive... | Read more »
Star Admiral Review
Star Admiral Review By Rob Thomas on July 30th, 2014 Our Rating: :: ADMIRABLE ADMIRALSUniversal App - Designed for iPhone and iPad While this new digital CCG may feel a bit familiar, Star Admiral offers a sci-fi twist and galaxy’s... | Read more »
Zap! Pow! Become a Badass Wizard in Phan...
Zap! Pow! | Read more »
Urban Trial Freestyle Review
Urban Trial Freestyle Review By Blake Grundman on July 30th, 2014 Our Rating: :: RIDIN' DIRTYUniversal App - Designed for iPhone and iPad A rough ride that has trouble keeping its wheels on the track.   | Read more »
Take Note! Noteshelf Has Recieved a Big...
Take Note! Noteshelf Has Recieved a Big Update. Posted by Jessica Fisher on July 30th, 2014 [ permalink ] iPad Only App - Designed for the iPad | Read more »
Cubama Review
Cubama Review By Nadia Oxford on July 30th, 2014 Our Rating: :: TETRIIIIIS IIIIIN SPAAAAACE!Universal App - Designed for iPhone and iPad With its addictive challenge and interesting premise, Cubama is frantic screen-tapping fun.   | Read more »
Become a Guardians of Galactic Peace Wit...
Become a Guardians of Galactic Peace With the New Spacefaring Sim, Kairobotica. Posted by Jessica Fisher on July 30th, 2014 [ permalink ] | Read more »
Soul Guardians: Age of Midgard Review
Soul Guardians: Age of Midgard Review By George Fagundes on July 30th, 2014 Our Rating: :: SO MUCH GRIND IT CRUNCHESUniversal App - Designed for iPhone and iPad Swords and trading cards are fun, right? So is Soul Guardians: Age of... | Read more »
NFL Fantasy Football App Redesigned Ahea...
NFL Fantasy Football App Redesigned Ahead of Upcoming 2014 Season Posted by Ellis Spice on July 30th, 2014 [ permalink ] | Read more »

Price Scanner via MacPrices.net

Save $50 on the 2.5GHz Mac mini, plus free sh...
B&H Photo has the 2.5GHz Mac mini on sale for $549.99 including free shipping. That’s $50 off MSRP, and B&H will also include a free copy of Parallels Desktop software. NY sales tax only. Read more
Save up to $140 on an iPad Air with Apple ref...
Apple is offering Certified Refurbished iPad Airs for up to $140 off MSRP. Apple’s one-year warranty is included with each model, and shipping is free. Stock tends to come and go with some of these... Read more
$250 price drop on leftover 15-inch Retina Ma...
B&H Photo has dropped prices on 2013 15″ Retina MacBook Pros by $250 off original MSRP. Shipping is free, and B&H charges NY sales tax only: - 15″ 2.3GHz Retina MacBook Pro: $2249, $250 off... Read more
More iPad Upgrade Musings – The ‘Book Mystiqu...
Much discussed recently, what with Apple reporting iPad sales shrinkage over two consecutive quarters, is that it had apparently been widely assumed that tablet users would follow a two-year hardware... Read more
13-inch 2.5GHz MacBook Pro on sale for $999,...
Best Buy has the 13″ 2.5GHz MacBook Pro available for $999.99 on their online store. Choose free shipping or free instant local store pickup (if available). Their price is $100 off MSRP. Price is... Read more
Save up to $300 on an iMac with Apple refurbi...
The Apple Store has Apple Certified Refurbished iMacs available for up to $300 off the cost of new models. Apple’s one-year warranty is standard, and shipping is free. These are the best prices on... Read more
WaterField Unveils 15″ Outback Solo & 13″...
Hard on the heels of Apple’s refreshed MacBook Pro Retina laptops announcement, WaterField Designs has unveiled a 15-inch version of the waxed-canvas and leather Outback Solo and a 13-inch version of... Read more
New Roxio Toast 12 Delivers Digital Media Pow...
Roxio Toast 12 is a hub for sharing digital media to virtually any platform or device. has introduced two new additions to its Roxio Toast product family – Roxio Toast 12 Titanium and Roxio Toast 12... Read more
The lowest prices on leftover Retina MacBook...
Best Buy has dropped prices on leftover 13″ and 15″ Retina MacBook Pros by up to $300 off original MSRP on their online store for a limited time. Choose free local store pickup (if available) or free... Read more
Apple Updates MacBook Pro with Retina Display...
Apple today updated its MacBook Pro with Retina display with faster processors and double the amount of memory in both entry-level configurations. MacBook Pro with Retina display features a Retina... Read more

Jobs Board

Sr Software Lead Engineer, *Apple* Online S...
Sr Software Lead Engineer, Apple Online Store Publishing Systems Keywords: Company: Apple Job Code: E3PCAK8MgYYkw Location (City or ZIP): Santa Clara Status: Full Read more
Sr Software Lead Engineer, *Apple* Online S...
Sr Software Lead Engineer, Apple Online Store Publishing Systems Keywords: Company: Apple Job Code: E3PCAK8MgYYkw Location (City or ZIP): Santa Clara Status: Full Read more
*Apple* Solutions Consultant (ASC) - Apple (...
**Job Summary** The ASC is an Apple employee who serves as an Apple brand ambassador and influencer in a Reseller's store. The ASC's role is to grow Apple Read more
Sr. Product Leader, *Apple* Store Apps - Ap...
**Job Summary** Imagine what you could do here. At Apple , great ideas have a way of becoming great products, services, and customer experiences very quickly. Bring Read more
*Apple* Solutions Consultant (ASC) - Apple (...
**Job Summary** The ASC is an Apple employee who serves as an Apple brand ambassador and influencer in a Reseller's store. The ASC's role is to grow Apple Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.