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!!

 

Community Search:
MacTech Search:

Software Updates via MacUpdate

Black Hole Joyrider (Games)
Black Hole Joyrider 1.0 Device: iOS Universal Category: Games Price: $2.99, Version: 1.0 (iTunes) Description: Guide your spacecraft through the gravity well of a powerful black hole using only your retro-thrusters and dwindling fuel... | Read more »
My Koi (Games)
My Koi 1.0 Device: iOS iPhone Category: Games Price: $1.99, Version: 1.0 (iTunes) Description: My Koi is a beautiful and relaxing fish pond app. Customise and name each fish. Feed them daily. Watch them grow. Collect new fish.... | Read more »
Never Gone (Games)
Never Gone 1.0.2 Device: iOS Universal Category: Games Price: $2.99, Version: 1.0.2 (iTunes) Description: ###IMPPORTANT### Never Gone's HD art resources require devices with more than 1GB RAM, so please note that iPhone 4/4s, iPad 2/... | Read more »
INKS. (Games)
INKS. 1.0 Device: iOS Universal Category: Games Price: $1.99, Version: 1.0 (iTunes) Description: From the makers of BAFTA-winning Lumino City comes INKS. INKS updates pinball for a new generation. It combines the joy of pinball with... | Read more »
How to maximise your profits in Bakery B...
Running a bakery can be an expensive venture. You’ll need to continuously upgrade your oven, your kitchen supplies, and even your ingredients to keep customers happy. Most of these renovations in Bakery Blitz cost a pretty penny, but we have a few... | Read more »
How to manage your time in Bakery Blitz
It can be tricky, especially when you risk burning your kitchen to the ground if you forget a cake in the oven, so make sure to use these time management tricks to keep your bakery running smoothly. Don’t collect the money right away [Read more] | Read more »
Model 15 (Music)
Model 15 1.0 Device: iOS iPhone Category: Music Price: $29.99, Version: 1.0 (iTunes) Description: The Moog Model 15 App is the first Moog modular synthesizer and synthesis educational tool created exclusively for iPad, iPhone and... | Read more »
How to deal with wind in Angry Birds Act...
Angry Birds Action! is a physics-based puzzler in which you're tasked with dragging and launching birds around an obstacle-littered field to achieve a set objective. It's simple enough at first, but when wind gets introduced things can get pretty... | Read more »
How to get three stars in every level of...
Angry Birds Action! is, essentially, a pinball-style take on the pull-and-fling action of the original games. When you first boot it up, you'll likely be wondering exactly what it is you have to do to get a good score. Well, never fear as 148Apps... | Read more »
The beginner's guide to Warbits
Warbits is a turn-based strategy that's clearly inspired by Nintendo's Advance Wars series. Since turn-based strategy games can be kind of tricky to dive into, see below for a few tips to help you in the beginning. Positioning is crucial [Read... | Read more »

Price Scanner via MacPrices.net

12-inch 128GB iPad Pros on sale for up to $10...
B&H Photo has 12″ 128GB WiFi iPad Pros on sale for up to $100 off MSRP, each including free shipping. B&H charges sales tax in NY only: - 12″ Space Gray 128GB WiFi iPad Pro: $899 $50 off MSRP... Read more
Global Tablet Sales Slump Continues, iPad’s F...
Another miserable showing for the global slate tablet category in calendar Q1/16, with global tablet shipments falling another 1ten percent to 46.5 million units during the according to Strategy... Read more
Revel Systems to Showcase iPad POS Platform w...
Revel Systems, specialists in iPad Point of Sale management solution for brick-and-mortar retail, food businesses and more, today announced that it will showcase its innovative iPad Point of Sale... Read more
13-inch 2.5GHz MacBook Pro on sale for $999,...
B&H Photo has the 13″ 2.5GHz MacBook Pro on sale for $999 including free shipping plus NY sales tax only. Their price is $100 off MSRP. Read more
Apple refurbished 2015 iMacs available for up...
Apple now has a full line of Certified Refurbished 2015 21″ & 27″ iMacs available for up to $350 off MSRP. Apple’s one-year warranty is standard, and shipping is free. The following models are... Read more
Indian Smartphone Market Grows Annually by 12...
India’s smartphone market grew by 12 percent year-over-year, with 24.4 million units shipping in Q1 2016. The top five vendors stayed the same, with Samsung in the lead, followed by Micromax, Intex... Read more
Get Notifications When Your Friend’s Phone Ba...
Calgary, Canada based Stonelight Pictures has announced the release of Battery Share 1.0.1, its new utility for iOS 9 supported devices. The company notes that people are spending more time on their... Read more
11-inch 1.6GHz/128GB MacBook Air on sale for...
Amazon has the current-generation 11″ 1.6GHz/128GB MacBook Air (sku MJVM2LL/A) on sale for $749.99 for a limited time. Their price is $150 off MSRP, and it’s the lowest price available for this model... Read more
Price drops on clearance 2015 13-inch MacBook...
B&H Photo has dropped prices on clearance 2015 13″ MacBook Airs by up to $250. Shipping is free, and B&H charges NY sales tax only: - 13″ 1.6GHz/4GB/128GB MacBook Air (MJVE2LL/A): $799, $200... Read more
Mac minis on sale for up to $100 off MSRP
B&H Photo has Mac minis on sale for up to $100 off MSRP including free shipping plus NY sales tax only: - 1.4GHz Mac mini: $449 $50 off MSRP - 2.6GHz Mac mini: $649 $50 off MSRP - 2.8GHz Mac mini... Read more

Jobs Board

*Apple* Retail - Multiple Positions (US) - A...
Job Description: Sales Specialist - Retail Customer Service and Sales Transform Apple Store visitors into loyal Apple customers. When customers enter the store, Read more
Restaurant Manager (Neighborhood Captain) - A...
…in every aspect of daily operation. WHY YOU'LL LIKE IT: You'll be the Big Apple . You'll solve problems. You'll get to show your ability to handle the stress and Read more
Automotive Sales Consultant - Apple Ford Linc...
…you. The best candidates are smart, technologically savvy and are customer focused. Apple Ford Lincoln Apple Valley is different, because: $30,000 annual salary Read more
Restaurant Manager (Neighborhood Captain) - A...
…in every aspect of daily operation. WHY YOU'LL LIKE IT: You'll be the Big Apple . You'll solve problems. You'll get to show your ability to handle the stress and Read more
Simply Mac *Apple* Specialist- Service Repa...
Simply Mac is the largest premier retailer of Apple products in the nation. In order to support our growing customer base, we are currently looking for a driven Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.