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

How to become the ultimate robot warrior...
Chrono Strike is a delightfully immersive beat ‘em up with a sense of humor (any game with a good Sims reference gets points in my book). [Read more] | Read more »
Tips and tricks to get a higher score in...
Snow Roll is a devilish endless runner very much in the vein of Flappy Bird. It revels in its dastardly level of difficulty, and doesn’t really care how angry you get at it as it knows you’ll keep coming back for more. [Read more] | Read more »
How to win big in Slots Deluxe
Cheating while gambling is illegal and morally wrong, and in some parts of the world it leads to men with names like Vinnie "Six Knuckles" Manchenzo beating you to a pulp in a dark alley. [Read more] | Read more »
How to take over the world in Dictator 2
Running a country isn't easy - especially when you're a dictator who wants to take over the world and crush everyone in your path while you do it. [Read more] | Read more »
Tips and tricks to get a higher score in...
Tank.iois - you guessed it! - another multiplayer arena battler likeAgar.io and Slither.io. It does differentiate itself by putting you in a tiny tank though, so it's not exactly the same. To help you get that all-important high score, we've got a... | Read more »
How to unlock characters in One Tap Tenn...
As the title suggests, One Tap Tennis requires only a single tap to play its particular brand of tennis, and rewards you with a ton of unlockable characters if you perform well. Fortunately for you, we at 148Apps have got a few tips and tricks to... | Read more »
Grab it now: Game Craft’s Legend of War...
The real time strategy game is now available for you to sink your teeth into, through the App Store and Google Play. Combining elements of skill, strategy and empire building, Legend of War is a real gamers’ game. [Read more] | Read more »
Skateboard Party 3 ft. Greg Lutzka (Gam...
Skateboard Party 3 ft. Greg Lutzka 1.0 Device: iOS Universal Category: Games Price: $1.99, Version: 1.0 (iTunes) Description: Skateboard Party is back! This third edition of the popular sports franchise features professional skater... | Read more »
Cubious (Games)
Cubious 1.0 Device: iOS Universal Category: Games Price: $.99, Version: 1.0 (iTunes) Description: Cubious – How smart are you? How high is your IQube? Solve the impossible puzzles to find out, and help a lost little cube find his... | Read more »
Goat Simulator Waste of Space (Games)
Goat Simulator Waste of Space 1.1 Device: iOS Universal Category: Games Price: $4.99, Version: 1.1 (iTunes) Description: ** IMPORTANT - SUPPORTED DEVICESiPhone 4S, iPad 2, iPod Touch 5 or better.** | Read more »

Price Scanner via MacPrices.net

12-inch 1.2GHz Space Gray Retina MacBook avai...
Amazon has the new 12″ 1.2GHz/512GB Space Gray Retina MacBook (Apple model #MLH82LL/A) available for $1549 including free shipping. Their price is $50 off MSRP. B&H has the 12″ 1.2GHz/512GB Space... Read more
Apple refurbished Mac Pros available for up t...
Apple has Certified Refurbished Mac Pros available for up to $600 off the cost of new models. An Apple one-year warranty is included with each Mac Pro, and shipping is free. The following... Read more
Enterprise Workers Pick Technology Over Perks...
New Adobe study shows surprising attitudes about office jobs and where the future of work is heading. Adobe has released survey findings revealing that a surprising 70 percent of U.S. office workers... Read more
Memorial Day Weekend Sale: $50-$100 off 11-in...
B&H Photo has 13″ and 11″ MacBook Airs with 256GB SSDs on sale for $50-$100 off MSRP. Shipping is free, and B&H charges NY sales tax only: - 11″ 1.6GHz/256GB MacBook Air: $999 $100 off MSRP... Read more
Memorial Day Weekend Sales: Apple MacBook Pro...
B&H Photo has 13″ and 15″ Retina MacBook Pros on sale for up to $210 off MSRP. Shipping is free, and B&H charges NY tax only: - 15″ 2.2GHz Retina MacBook Pro: $1799 $200 off MSRP - 15″ 2.5GHz... Read more
Memorial Day Weekend Sales: Apple iMacs and M...
Take up to $150 off the price of a new iMac or Mac mini at the following Apple resellers this Memorial Day weekend: iMacs: B&H Photo has 21″ and 27″ iMacs on sale for up to $150 off MSRP... Read more
Apple refurbished Retina MacBook Pros availab...
Apple has Certified Refurbished 2015 13″ and 15″ Retina MacBook Pros available for up to $380 off the cost of new models. An Apple one-year warranty is included with each model, and shipping is free... Read more
Apple refurbished 11-inch MacBook Airs availa...
Apple has Certified Refurbished 11″ MacBook Airs (the latest models), available for up to $170 off the cost of new models. An Apple one-year warranty is included with each MacBook, and shipping is... Read more
Goal Zero and OtterBox Partner to Expand iPh...
Goal Zero, specialists in portable power, have announced a partnership with OtterBox, brand smartphone case protection, to offer the Slide and Slide Plus Batteries as modules compatible with the new... Read more
15-inch Retina MacBook Pros on sale for up to...
B&H Photo has 15″ Retina MacBook Pros on sale for up to $210 off MSRP. Shipping is free, and B&H charges NY tax only: - 15″ 2.2GHz Retina MacBook Pro: $1799 $200 off MSRP - 15″ 2.5GHz Retina... Read more

Jobs Board

Senior *Apple* Engineer - Signature Technol...
One-year contract for an Apple consultant. The resource should be an Apple Certified Technical Coordinator or get the certification within 60 days of starting Read more
Senior *Apple* Engineer - Signature Technol...
One-year contract for an Apple consultant. The resource should be an Apple Certified Technical Coordinator or get the certification within 60 days of starting Read more
*Apple* Architect - AECOM (United States)
**Requisition/Vacancy No.** 132759BR **Position Title** Apple Architect **Job Category** Information Technology **Business Line** Government **Country** United Read more
*Apple* Solutions Consultant - APPLE (United...
Job Summary As an Apple Solutions Consultant, you'll be the link between our future customers and our products. You'll showcase your entrepreneurial spirit as you Read more
*Apple* Project Engineer - Smart Source Inc...
SmartSource is in need of an Apple Project Engineer for a 12 month contract opportunity in Pittsburg, PA. Role: Apple Project Engineer Location: Pittsburg, PA Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.