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

Tunnelblick 3.8.2a - GUI for OpenVPN.
Tunnelblick is a free, open source graphic user interface for OpenVPN on OS X. It provides easy control of OpenVPN client and/or server connections. It comes as a ready-to-use application with all... Read more
calibre 4.17.0 - Complete e-book library...
Calibre is a complete e-book library manager. Organize your collection, convert your books to multiple formats, and sync with all of your devices. Let Calibre be your multi-tasking digital librarian... Read more
MacPilot 11.1.4 - $15.96
MacPilot gives you the power of UNIX and the simplicity of Macintosh, which means a phenomenal amount of untapped power in your hands! Use MacPilot to unlock over 1,200 features, and access them all... Read more
Transmission 3.00 - Popular BitTorrent c...
Transmission is a fast, easy, and free multi-platform BitTorrent client. Transmission sets initial preferences so things "just work", while advanced features like watch directories, bad peer blocking... Read more
Doom 3 1.3.1 - First-person shooter acti...
A massive demonic invasion has overwhelmed the Union Aerospace Corporation's (UAC) Mars Research Facility, leaving only chaos and horror in its wake. As one of only a few survivors, you must fight... Read more
Box Sync 4.0.8004 - Online synchronizati...
Box Sync gives you a hard-drive in the Cloud for online storage. Note: You must first sign up to use Box. What if the files you need are on your laptop -- but you're on the road with your iPhone? No... Read more
LibreOffice 6.4.4.2 - Free, open-source...
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
Day One 4.14 - Maintain a daily journal.
Day One is an easy, great-looking way to use a journal / diary / text-logging application. Day One is well designed and extremely focused to encourage you to write more through quick Menu Bar entry,... Read more
MenuMeters 2.0.7 - CPU, memory, disk, an...
MenuMeters is a set of CPU, memory, disk, and network monitoring tools for Mac OS X. Although there are numerous other programs which do the same thing, none had quite the feature set I was looking... Read more
Doxie 2.12.2 - Scan, share, and store do...
Introducing Doxie, the new, modern paper scanner that's so simple, it'll revolutionize the way you think about sharing and storing docs and photos forever. Doxie is ultra-portable, fully automatic,... Read more

Latest Forum Discussions

See All

SINoALICE, Yoko Taro and Pokelabo's...
Yoko Taro and developer Pokelabo's SINoALICE has now opened for pre-registration over on the App Store. It's already amassed 1.5 million Android pre-registrations, and it's currently slated to launch on July 1st. [Read more] | Read more »
Masketeers: Idle Has Fallen's lates...
Masketeers: Idle Has Fallen is the latest endeavour from Appxplore, the folks behind Crab War, Thor: War of Tapnarok and Light A Way. It's an idle RPG that's currently available for Android in Early Access and will head to iOS at a later date. [... | Read more »
Evil Hunter Tycoon celebrates 2 million...
Evil Hunter Tycoon has proved to be quite the hit since launching back in March, with its most recent milestone being 2 million downloads. To celebrate the achievement, developer Super Planet has released a new updated called Darkness' Front Yard... | Read more »
Peak's Edge is an intriguing roguel...
Peak's Edge is an upcoming roguelike puzzle game from developer Kenny Sun that's heading for both iOS and Android on June 4th as a free-to-play title. It will see players rolling a pyramid shape through a variety of different levels. [Read more] | Read more »
Clash Royale: The Road to Legendary Aren...
Supercell recently celebrated its 10th anniversary and their best title, Clash Royale, is as good as it's ever been. Even for lapsed players, returning to the game is as easy as can be. If you want to join us in picking the game back up, we've put... | Read more »
The Magic Gladiator class arrives in MU...
The Magic Gladiator class is now available in MU Origin 2 following the most recent patch. It also marks the start of Abyss Season 11 and the introduction of Couple Skills and Couple Dungeons. [Read more] | Read more »
The 5 Best Racing Games
With KartRider Rush+ making a splash this past week, we figured it was high time we updated our list of the best mobile racing games out there. From realistic racing sims to futuristic arcade racers (and even racing management games!), check out... | Read more »
KartRider Rush+ Guide - Tips for new rac...
KartRider Rush+ continues to be a surprisingly refreshing and fun kart racer that's entirely free-to-play. The main reason for this is just how high its skill ceiling is. Check out the video above if you're curious to know what top level play looks... | Read more »
KartRider Rush+ might be good, actually?
It's hard to find good racing games on mobile. Most of them are free-to-play, and free-to-play racers generally suck. Even Nintendo couldn't put together a competent Mario Kart game, opting instead for a weird score chaser that resembles--but feels... | Read more »
LifeAfter, NetEase's popular surviv...
A new map will be making its way into NetEase's popular survival game LifeAfter. The map is set to arrive on May 28th and will introduce a volcano that's teetering on the verge of eruption, bringing a host of added challenges to the game. [Read... | Read more »

Price Scanner via MacPrices.net

Memorial Day Weekend Sale: Take $300 off thes...
Apple resellers are offering $300 discounts on select 16″ MacBook Pros as part of their Memorial Day Weekend 2020 sales. Prices start at $2099: – 16″ 2.6GHz 6-Core Space Gray MacBook Pro: $2099 at... Read more
Best Memorial Day Weekend 2020 Apple AirPods...
Apple resellers are offering discounts ranging up to $50 off MSRP on AirPods as part of their Memorial Day Weekend 2020 sales. These are the best deals today on various AirPods models. See our... Read more
Memorial Day Weekend Sale: 10″ Apple iPads fo...
Amazon is offering new 10.2″ iPads for $80-$100 off Apple’s MSRP as part of their Memorial Day Weekend 2020 sale, with prices starting at only $249. These are the same iPads sold by Apple in their... Read more
Memorial Day Weekend Sale: 2020 Apple iPhone...
Sprint is offering Apple’s new 2020 64GB iPhone SE for $0 per month for 18 months as part of their Memorial Day Weekend 2020 sale. New line of service and trade-in required. Offer is valid from 5/22/... Read more
Amazon’s popular $100 Apple Watch Series 5 di...
Amazon has Apple Watch Series 5 GPS + Cellular models on sale for up to $100 off Apple’s MSRP today. Shipping is free. These are the same Apple Watch models sold by Apple in their retail and online... Read more
2020 13″ 4-Core MacBook Air on sale for $949,...
Apple reseller Adorama has the new 2020 13″ 1.1GHz 4-Core Space Gray MacBook Air on sale today for $949 shipped. Their price is $50 off Apple’s MSRP, and it’s the lowest price currently available for... Read more
Apple Retail Chief Announces Staggered Reopen...
NEWS: 05.20.20 – In the midst of a global pandemic, after its retail outlets were shuttered temporarily in mid-March as a mitigation measure enacted by Apple during the peak of the spread of COVID-19... Read more
Apple’s Pro Display XDR models in stock today...
Abt Electronics has Apple’s new 32″ Pro Display XDR models in stock and on sale today for up to $305 off MSRP. Shipping is free. Their prices are currently the lowest available for these new models... Read more
Apple restocks refurbished iPhone 8 for $339
Apple has restocked Apple Certified Refurbished 64GB iPhone 8 models for only $339. Apple dropped their price on this phone last month by $160, from $499 to $339. Each refurbished iPhone comes with a... Read more
New at AT&T: 50% off iPhone 11 for new cu...
AT&T is offering a 50% off the 64GB iPhone 11 for new customers who switch to AT&T and open a new line of service. Discount applied over a 30 month period The fine print: “iPhone 11 64GB for... Read more

Jobs Board

Cub Foods - *Apple* Valley - Now Hiring Par...
Cub Foods - Apple Valley - Now Hiring Part Time! United States of America, Minnesota, Apple Valley New Retail Operations Post Date 5 days ago Requisition # Read more
Senior Data Engineer - *Apple* - Theorem, L...
Job Summary Apple is seeking an experienced, detail-minded data engineeringconsultant to join our worldwide business development and strategy team. If you are Read more
Cub Foods - *Apple* Valley - Now Hiring Par...
Cub Foods - Apple Valley - Now Hiring Part Time! United States of America, Minnesota, Apple Valley New Retail Operations Post Date 4 days ago Requisition # Read more
Medical Screener - *Apple* Hill - Evenings...
Medical Screener - Apple Hill - Evenings Tracking Code D-MS-AH-E Job Description Medical Screener - Temporary We Are Hiring: WellSpan Health has a temporary Medical Read more
*Apple* Systems Administrator - Solidus Tech...
Solidus is searching for an Apple Systems Engineer. The engineer will be responsible for desktop and server infrastructure. This includes support for operating Read more
All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.