Mac OS 9 Lives

Mac OS 9 Discussion => Development & Programming => Topic started by: IIO on November 13, 2024, 09:14:37 AM

Title: order for a little program
Post by: IIO on November 13, 2024, 09:14:37 AM
i have an order for a little program.

among the things which do not work in my favorite language is to launch applications under Mac OS 9, so i can“t do this myself.

the program should do about the following:

it displays a kind of table (like an excel sheet) full of information - and the user can then choose to launch other programs from within it by pressing a button or table cell.
these other programs would ship with it and will be found using relative paths to the main app.

...realbasic?
Title: Re: order for a little program
Post by: Knezzen on November 13, 2024, 09:21:07 AM
Hm.... Could you do a visual mockup of some sort or could you give an example from another OS that does the same thing? Should be fairly easy to do in Realbasic though.
Title: Re: order for a little program
Post by: OldMacDon on May 01, 2025, 08:43:35 PM

Hello

Not sure I make sense of what is being asked here.

I use a whole folder full of alias items to simply grab 'whatever app' I want... of all the apps on my machine.

How is what I'm doing significantly different than what is being asked.

Thanks
OldMacDon
Title: Re: order for a little program
Post by: joevt on May 01, 2025, 09:47:43 PM
What's your favorite language?

One would normally use LaunchApplication from the Process Manager.
 https://developer.apple.com/library/archive/documentation/mac/pdf/Processes/Process_Manager.pdf

You can add AppleEvents to open documents or perform other tasks in the other app.
Title: Re: order for a little program
Post by: IIO on May 02, 2025, 03:13:12 AM
Quote
How is what I'm doing significantly different than what is being asked.

you do not even need aliases, you could just use the finder to launch the originals. :)

the difference is that.... making a custom file browser gives you additional options such as adding filtering, download missing files or updates from the internet, have an overview which ones have been installed already, displaying the version number or the comment right beside the filename and so on.

What's your favorite language?

i normally do such things in maxmsp, and the task itself (creating a filebrowser) would be a nobrainer you would code in under 30 seconds.
the problem ist that it is simply not possible to launch apps and documents there.

in OSX you can use the shell, java or javascript to do that from max, in OS9 none of that is available, so you would probably want to lean on RB.

Title: Re: order for a little program
Post by: IIO on May 02, 2025, 03:25:47 AM
The message body was left empty.
Title: Re: order for a little program
Post by: Bolkonskij on May 03, 2025, 12:44:06 AM
A "launcher app" with text and buttons that will start other applications sounds like something that should be fairly easy to do with Hypercard. Did you have a look? I think you may be able to put it together (or at least a dummy application) without even having to dabble with scripts, just clicking it together.
Title: Re: order for a little program
Post by: IIO on May 03, 2025, 01:03:15 PM
i believe HC will be a bit too oldfashioned, but i might be wrong. :)

the apps needs to launch executables, copy files, and store its prefs in a text file. and i would like to include pictures everywhere.

a simple example for RB 5 would be great, i am too lazy to learn that stuff myself but from a working example i should find my way.
 
 
in conjunction with that project i also still have to solve creating custom installers (read: other than vise or alladdin) from multiple existing installers or files. the big hurdle here is the size limit for resourceforks.