LiveCode and HyperStudio

Want to talk about something that isn't covered by another category?

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9389
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: LiveCode and HyperStudio

Post by richmond62 » Mon Jan 22, 2024 11:20 am

A tear-off Layout palette
Could you please explain whay you mean by 'tear off' as I do not understand that?

Is that different from, say, clicking on a button to open a palettised subStack?

PaulDaMacMan
Posts: 627
Joined: Wed Apr 24, 2013 4:53 pm
Contact:

Re: LiveCode and HyperStudio

Post by PaulDaMacMan » Sat Jan 27, 2024 3:29 pm

richmond62 wrote:
Mon Jan 22, 2024 11:20 am
A tear-off Layout palette
Could you please explain whay you mean by 'tear off' as I do not understand that?

Is that different from, say, clicking on a button to open a palettised subStack?
In HyperCard there were some IDE menus that you could drag or 'tear' out of the menu to display it as a floating palette.
TearOffToolsMenuInHyperCard.png
TearOffToolsMenuInHyperCard.png (10.3 KiB) Viewed 1421 times
.
It's one of those unique UI ideas that got forgotten over time, like the 'wheel menus'.
My GitHub Repos: https://github.com/PaulMcClernan/
Related YouTube Videos: PlayList

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9389
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: LiveCode and HyperStudio

Post by richmond62 » Sat Jan 27, 2024 4:22 pm

Ah: it is amazing that I learnt that was a tear-off palette about 30 years after I first came across it in HyperCard.

Thank You.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9389
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: LiveCode and HyperStudio

Post by richmond62 » Sat Jan 27, 2024 5:00 pm

It would also be amazing to learn how to make a drop-down palette from the Mac menu bar, and then to learn how to make it into a tear-offable palette.

Unfortunately while my copy of 'The Complete HyperCard 2.2 Handbook Fourth Edition' has, on page 100, mention of the 2 tear-off palettes in the HyperCard menu, I can find nothing about how I might go about implementing my own.

That is page 93 in the version available here:

https://archive.org/download/The_Comple ... d_Handbook

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9389
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: LiveCode and HyperStudio

Post by richmond62 » Sun Jan 28, 2024 1:37 pm

Oddly enough, I have just spent 90 minutes fooling around with the HyperStudio 5 Trial on a 32-bit Polycarbonate iMac running macOS 10.6.8 without finding any TEAR-OFF palettes.

HyperStudio could be characterised as "Palettes go bananas": but tear-off they ain't.

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7238
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: LiveCode and HyperStudio

Post by jacque » Sun Jan 28, 2024 6:35 pm

I suspect that was a feature of OS 9. The HC team had access to the system source code as well.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9389
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: LiveCode and HyperStudio

Post by richmond62 » Sun Jan 28, 2024 8:13 pm

As HyperCard was an "outgrowth" of Apple, rather like Claris, it does not surprise me that they had access to all sorts of things that Apple would keep very close to their corporate chest re other companies.

And as Mac OS 9 and Mac OS 10.0, while looking, superficially similar, were totally different species, anything that may have been relevant to Mac OS 9 has probably no value whatsoever to MacOS 10.0 and subsequent versions.

PaulDaMacMan
Posts: 627
Joined: Wed Apr 24, 2013 4:53 pm
Contact:

Re: LiveCode and HyperStudio

Post by PaulDaMacMan » Tue Jan 30, 2024 4:55 am

jacque wrote:
Sun Jan 28, 2024 6:35 pm
I suspect that was a feature of OS 9. The HC team had access to the system source code as well.
Access? Heck, Bill Atkinson wrote bunches of it, you know like 'QuickDraw' was one of his other projects (along with the awesome and fun MacPaint).

This feature may have been in part of the Macintosh Toolbox, I'm not sure, but I'd bet this behavior could be emulated, like by using 'menuStack'.
My GitHub Repos: https://github.com/PaulMcClernan/
Related YouTube Videos: PlayList

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9842
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: LiveCode and HyperStudio

Post by FourthWorld » Tue Jan 30, 2024 6:22 am

In the few apps that used them, tear-off menus were custom code in an MDEF resource (Menu Definition). The OS Toolbox generally only provided direct support for GUI elements recommended in the HIG.

There was a old MacTech issue with a tutorial on how to code one. I ran that exercise through ThinkC back in the day. #GoodTimes
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9389
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: LiveCode and HyperStudio

Post by richmond62 » Tue Jan 30, 2024 8:52 pm

It would be wonderful if you could remember which copy of Mac Tech that was in:

http://preserve.mactech.com/articles/index.html

SparkOut
Posts: 2852
Joined: Sun Sep 23, 2007 4:58 pm

Re: LiveCode and HyperStudio

Post by SparkOut » Tue Jan 30, 2024 9:56 pm

Dunno, a google search revealed this, might be the requested one http://preserve.mactech.com/articles/ma ... index.html

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9842
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: LiveCode and HyperStudio

Post by FourthWorld » Wed Jan 31, 2024 12:33 am

SparkOut wrote:
Tue Jan 30, 2024 9:56 pm
Dunno, a google search revealed this, might be the requested one http://preserve.mactech.com/articles/ma ... index.html
Yep, that's the one.

I still remember typing the hex pattern for the accompanying WDEF palette, so grateful I would never do that again. :)
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

stam
Posts: 2686
Joined: Sun Jun 04, 2006 9:39 pm
Location: London, UK

Re: LiveCode and HyperStudio

Post by stam » Wed Jan 31, 2024 10:16 am

SparkOut wrote:
Tue Jan 30, 2024 9:56 pm
Dunno, a google search revealed this, might be the requested one http://preserve.mactech.com/articles/ma ... index.html
That’s an interesting read! (And a throwback to the good ole’ days…)

It seems likely we could actually emulate this in LiveCode (implemented as a test-off palette), but the question is: should we?

This isn’t really in any current interface guideline and may cause confusion. On the other hand it provides a very need way of giving access to palettes where space is limited, especially where desktop space is limited….

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9389
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: LiveCode and HyperStudio

Post by richmond62 » Wed Jan 31, 2024 12:13 pm

This isn’t really in any current interface guideline and may cause confusion.
As Apple, Microsoft and so on, ride rough shod over everyone else's aesthetics I would NOT loose too much sleep over that.

It would be wonderful if it could be implemented, and then there would be no harm in popping a notice in the right place stating something like: "Satya and Cookie may not like this."

The article itself points in a certain direction:

"User-Interface Thought Police on Patrol"

"Whew! And you thought Apple was stuffy in their "Human Interface Guidelines: The Apple Desktop Interface," a recent must-read publication from Addison-Wesley. If you've got a copy handy, turn to pages 90 through 92 and see how close our definitions match."

Obviously the person who wrote that had a healthy dose of humour ("If you've got a copy handy"). :D

Let's all give Cookie a big HUG. 8)

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9842
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: LiveCode and HyperStudio

Post by FourthWorld » Wed Jan 31, 2024 8:03 pm

stam wrote:
Wed Jan 31, 2024 10:16 am
It seems likely we could actually emulate this in LiveCode (implemented as a test-off palette), but the question is: should we?
I wouldn't bother. It would be challenging enough on Windows and Linux, and the global menu bar in macOS would require some clever Builder hooks to get it working. And with the old Mac Toolbox long since replaced with NeXTStep/Cocoa APIs, there's almost nothing in the old code that could help with a modem implementation.

Tear-off menus were a rarity even then, almost unseen in the decades since. Just as simple for the user, and MUCH simpler for the developer, to just provide access to palletes with an ordinary menu command.

Bonus: a menu item can be invoked with a keyboard shortcut which is also visible to the user right in the menu item. One could of course add a shortcut anyway, but most users are slow to pick up shortcuts even when they're spelled right in the context of use; hidden shortcuts are generally never learned by anyone but power users who enjoy sifting through docs.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply

Return to “Off-Topic”