* TinkerDifferent *
Retro Computing Community
Home | Forums | What's New | Search | Settings
ThinkCMacDock dev progress -- Like today's macOS Dock but for System 7

Forums > Vintage Apple > Software & Operating Systems > Software | Development

Crutch
Tinkerer
Chicago
--------
Joined: Jul 10, 2022
Posts: 293
Likes: 228
Apr 28, 2023 - #21
It's lovely!

Liked by MacOfAllTrades

MacOfAllTrades
Tinkerer
--------
Joined: Oct 5, 2022
Posts: 169
Likes: 191
May 1, 2023 - #22
4/30 Update -- RELEASED!!:
  1. See Git page at this link for the source code etc.
  2. Download the .sit file directly from the Releases page (or direct download here)
Enjoy!!

v1.0 includes minor updates not shown before here.
  • tweaks on how the Auto Hide features works,
  • an additional option to show / not-show MacDock in the dock
  • Custom Icon for the application
  • Quits as it should in response to AppleEvent Quit (e.g. when you tell the computer to Shutdown).
Attachments:
MacDock ICN.png [View]

Liked by splorp,ericandretr01

retr01
Senior Tinkerer
Utah, USA
--------
Joined: Jun 6, 2022
Posts: 2,474
Likes: 810
May 1, 2023 - #23
Wow! SWEEET! :)


I have some suggestions:
  • Can you add an explanation about the "Update App List" under the MacDock's File menu? o_O
  • Make a dialog pop-up for the "About DockApp" under the Apple menu. :)
  • Oh yeah, change "DockApp" to MacDock." ;)
  • Can you call the "hide" function in the app switcher of System 7, and the MacDock can hide the front app via double-clicking or a keystroke? [nerd-face]
Attachments:
1682927649825.png [View]

Liked by MacOfAllTrades

MacOfAllTrades
Tinkerer
--------
Joined: Oct 5, 2022
Posts: 169
Likes: 191
May 1, 2023 - #24
>> retr01 said:
Wow! S W E E E T ! View attachment 12079 I have some suggestions: Can you add an explanation about the "Update App List" under the MacDock's File menu? Make a dialog pop-up for the "About DockApp" under the Apple menu. Oh yeah, change "DockApp" to MacDock." Can you call the "hide" function in the app switcher of System 7, and the MacDock can hide the front app via double-clicking or a keystroke? Click to expand...
Good ideas -- sounds like 1 .1 version is already needed!
Thanks so much for giving it a whirl!!!!
  • The Update App List I should have deleted (doh!) as it's just a manual call to updating what's shown on the dock [which normally gets called automatically by various means.
  • I didn't get to making the about box yet :-( ! Started it and added code but what can I say... Dialog Boxes are Chapter 6 in the text I'm using and I'm on ch. 5 haha. I'll add it very soon.
  • And yes I agree on references to "DockApp" the old working name should be changed to MacDock. I'll tidy those up as well -- was there one in particular that jumped out any you? Maybe the ThinkC project file?
  • The hide function is a nice idea. I'll play with that. I'm thinking a command click or option+click on an item could hide it... oh lo and behold, current macOS option+click does something similar!
    • Opt+click on the current running app hides itself
    • opt+click on another app hides the current app and jumps to that app
    • I may adopt some version of this behavior! Good suggestions!

Liked by rjkuciaandretr01

Crutch
Tinkerer
Chicago
--------
Joined: Jul 10, 2022
Posts: 293
Likes: 228
May 1, 2023 - #25
I don't think the Toolbox or OS offers a public API to hide an application (layer). To do it, you probably have to dive into the non public Layer Manager API and do some pretty heady stuff. (I hope I am wrong though -- I haven't looked deeply at the Layer Manager in probably 2 years.)

If I'm right, an easier alternative - but still tricky - would be to trick the OS into thinking the user chose "Hide Others" from the application menu.

Liked by MacOfAllTradesandretr01

retr01
Senior Tinkerer
Utah, USA
--------
Joined: Jun 6, 2022
Posts: 2,474
Likes: 810
May 1, 2023 - #26
>> MacOfAllTrades said:
Good ideas -- sounds like 1 .1 version is already needed! Thanks so much for giving it a whirl!!!! Click to expand...

Yes, it is practical and fun to have in System 7. :)

>> MacOfAllTrades said:
Maybe the ThinkC project file? Click to expand...

I will check it out.

>> MacOfAllTrades said:
The hide function is a nice idea. I'll play with that. I'm thinking a command click or option+click on an item could hide it... oh lo and behold, current macOS option+click does something similar! Opt+click on the current running app hides itself opt+click on another app hides the current app and jumps to that app I may adopt some version of this behavior! Good suggestions! Click to expand...

Wow, the opt+click is a fantastic approach! :)

Under System 7, the WindowShade feature stemmed from WindowShade, initially written for System 6.0.7 by Rob Johnson in 1992 before Apple purchased the rights to implement his WindowShade into System 7. Depending on the setting under that Control Panel, clicking twice or thrice hides that window leaving just the window bar. I would click twice or thrice to hide an app in the MacDock.



Either way, AWESOME! :)
Attachments:
1682949018666.png [View]
idea_windowshade_principle.gif [View]

retr01
Senior Tinkerer
Utah, USA
--------
Joined: Jun 6, 2022
Posts: 2,474
Likes: 810
May 1, 2023 - #27
Oh, hey @MacOfAllTrades, how about an option so the MacDock starts up when the Mac boots up and arrives at the desktop?

That option would put an alias of MacDock in the Startup Items folder in the System folder. Turning off that option would remove it. It would save the manual steps to make the alias and putting in the Startup Items folder.

WindowShade uses that option under the General Controls CDEV:

Attachments:
1682960270357.png [View]

Liked by MacOfAllTrades

kaoshonen
New Tinkerer
Kansas, USA
--------
Joined: Jul 4, 2022
Posts: 10
Likes: 10
May 1, 2023 - #28
What I neat app! Excellent work. Works good under 7.5.3 on my P575. However, the dock only hides half way.
Attachments:
IMG_2731.jpg [View]

Liked by MacOfAllTradesandretr01

retr01
Senior Tinkerer
Utah, USA
--------
Joined: Jun 6, 2022
Posts: 2,474
Likes: 810
May 1, 2023 - #29
>> kaoshonen said:
However, the dock only hides half way. Click to expand...

Yes, that is by design. If you read the README.md file in the MacDock folder, @MacOfAllTrades explains:



Here is an example. Notice it's easier to see? Then, when clicking on the dock itself, it brings the MacDock to the front.



I would like it to hide all the way, though. Maybe in a future version? :)
Attachments:
1682974695114.png [View]
1682975206259.png [View]
1682975262594.png [View]

kaoshonen
New Tinkerer
Kansas, USA
--------
Joined: Jul 4, 2022
Posts: 10
Likes: 10
May 2, 2023 - #30
>> retr01 said:
Yes, that is by design. If you read the README.md file in the MacDock folder, @MacOfAllTrades explains: View attachment 12084 Here is an example. Notice it's easier to see? Then, when clicking on the dock itself, it brings the MacDock to the front. DOH! I should have read the readme... Click to expand...

Liked by retr01

MacOfAllTrades
Tinkerer
--------
Joined: Oct 5, 2022
Posts: 169
Likes: 191
May 2, 2023 - #31
>> kaoshonen said:
What I neat app! Excellent work. Works good under 7.5.3 on my P575. However, the dock only hides half way. View attachment 12083 Click to expand...
Yes by design. Just a partial hide so its still useful even in a cluttered desktop.
i may add a full hide option (but id still leave a little nub or tab there that you could click on. Otherwise the only way back to it would be to use the traditional app switch menubar menu which if already there then youre probably able to switch to your destination app directly :p

Liked by kaoshonenandretr01

MacOfAllTrades
Tinkerer
--------
Joined: Oct 5, 2022
Posts: 169
Likes: 191
May 2, 2023 - #32
>> kaoshonen said:
What I neat app! Excellent work. Works good under 7.5.3 on my P575. However, the dock only hides half way. View attachment 12083 Click to expand...
Ah color screens!!! Where are my app's manners :). I need to add color support soon that is for sure.

MY GOODNESS IM SO PROUD AND HUMBLED THAT MULTIPLE PEOPLE HAVE TRIED OUT MY APP. <3[relieved-face]<3

Liked by rjkucia,kaoshonenandretr01

retr01
Senior Tinkerer
Utah, USA
--------
Joined: Jun 6, 2022
Posts: 2,474
Likes: 810
May 2, 2023 - #33
>> MacOfAllTrades said:
Yes by design. Just a partial hide so its still useful even in a cluttered desktop. i may add a full hide option (but id still leave a little nub or tab there that you could click on. Otherwise the only way back to it would be to use the traditional app switch menubar menu which if already there then youre probably able to switch to your destination app directly Click to expand...

Hotkeys via CDEV can be used to bring up entirely hidden MacDock. :)

Are there checks to ensure the hotkeys are not used by something else in the System or another CDEV?

retr01
Senior Tinkerer
Utah, USA
--------
Joined: Jun 6, 2022
Posts: 2,474
Likes: 810
May 2, 2023 - #34
>> MacOfAllTrades said:
Ah color screens!!! Where are my app's manners . I need to add color support soon that is for sure. Click to expand...

Yep. Need color! Even the SE/30 can do color. It just displays color in B/W unless a color video is provided.

Perhaps the program can detect by what monitor setting is chosen to determine B/W or color?

Crutch
Tinkerer
Chicago
--------
Joined: Jul 10, 2022
Posts: 293
Likes: 228
May 3, 2023 - #35
>> retr01 said:
Are there checks to ensure the hotkeys are not used by something else in the System or another CDEV? Click to expand...

There is really no way to do this, sadly. It's impossible for me to tell what keystrokes someone else's _SystemEvent patch is watching for.

Liked by MacOfAllTrades

retr01
Senior Tinkerer
Utah, USA
--------
Joined: Jun 6, 2022
Posts: 2,474
Likes: 810
May 3, 2023 - #36
>> Crutch said:
There is really no way to do this, sadly. It's impossible for me to tell what keystrokes someone else's _SystemEvent patch is watching for. Click to expand...

Drat. Maybe if it crashes, we will know. ;)

Attachments:
tumblr_m5a195jubT1r5hnvto1_400.gif [View]

Liked by MacOfAllTrades

eric
Administrator
MN
--------
Joined: Sep 2, 2021
Posts: 1,152
Likes: 1,936
May 4, 2023 - #37

Liked by retr01andMacOfAllTrades

retr01
Senior Tinkerer
Utah, USA
--------
Joined: Jun 6, 2022
Posts: 2,474
Likes: 810
May 4, 2023 - #38
DragThing is interesting as mentioned in that HN post:



MacDock is simpler and focused on app switching (and maybe launching favorite apps) on the dock. What do you think @MacOfAllTrades?

Liked by MacOfAllTrades

retr01
Senior Tinkerer
Utah, USA
--------
Joined: Jun 6, 2022
Posts: 2,474
Likes: 810
May 4, 2023 - #39
Keep it up, @MacOfAllTrades! You and your MacDock utility program should appear on HackADay and many other Retro sites and videos. :)

MacOfAllTrades
Tinkerer
--------
Joined: Oct 5, 2022
Posts: 169
Likes: 191
May 4, 2023 - #40
>> retr01 said:
DragThing is interesting as mentioned in that HN post: A Short History of DragThing https://macintoshgarden.org/apps/dragthing-29 MacDock is simpler and focused on app switching (and maybe launching favorite apps) on the dock. What do you think @MacOfAllTrades ? Click to expand...
I think im tickled pink and all the colors of the apple logo just for being mentioned in the same breath as dragThing.

Id have to try it to see what it does. I think it'd be best for MacDock to stay the minimalist route. Very curious to look at DT having spent tome tinkering and getting to know a little about the innards of Mac OS and wondering how it did what it does... or does what it did .. or.. you get it!

<< First | < Prev | Page 2 of 7 | Next > | Last >>

Home | Forums | What's New | Search | Bookmarks | RSS | Original | Settings
XenForo Retro Proxy by TinkerDifferent.com