Yes. Inside Macintosh’s QuickDraw book explains this “DeviceLoop” callback system. It seems to be the mechanism for an app to span multiple graphics devices even if tthey have different bit depth etc.
Wondering how to determine current color depth in System 6 and 7.
For example - if my app wants to know if it should show color or not - it should check something no doubt that tells it whether the current screen (GDevice likely) has color or not as well as what bit depth it's set to.
Best I...
Quick update -
With the great help of folks over at 68kmla, based upon the suggestion from Crutch on here, the AppleEvents thing was figured out.
Link to thread here but for continuity here's the deal:
Only a portion of scriptable calls are in the Finder (at least in as late as 7.5.5)...
Certain globals and functions are pulled in automatically and through the mac traps thing. Others know much more about this. But i know you do need to import certain libraries out right. Open up some of the mac libraries and you’ll see they include a lot of others so you also get a lot for...
It says “Alias for folder containing the items”. Then it says further down “List of aliases for items in the folder”
does this mean the parameter to the apple event should be a list of aliases the finder should open or do i first give it an alias of the folder containing the items..?
Hey all -- Life's kept me busy with unrelated projects but I spent some time on this this week.
I'm trying to work my way up to a few new features that involve MacDock getting the finder to do a few things:
Show the application in the finder (e.g. command click on the dock item and this should...
Ah yes -- Resourcerer!! Link included because took me a minute to find it and then a second to find it for 68k.
I'll work on this.
A decent book. Ultimate Mac Programming (1994) had IMHO a better quick intro to apple events than Inside Macintosh's interprocess comm. chapters. I'm noting it...
thx for these - but :-P I've already been looking through them and haven't found any sort of Finder apple events details - just lots of general how to set up apple events stuff.
Yes - thanks. I sew this but I don't know enough to be able to turn that into a proper setup for an AppleEvent call. For example what keywords to use.. do I have to add a parameter to specify the file location etc. etc. etc.
Is it possible to determine all of those nuances of setting up an...
Hmm -- from what you're saying, I'm not sure it would be useful. I'm looking for some reference that will allow me to build AppleEvents in C that the Finder would understand. Like so that I can build an apple event that tells the finder to open a folder or a reveal the location of an...
Does anyone know how to find the AppleEvents registry for the Finder?
I'm trying to use AE's to tell the finder to reveal a file (ie bring open the folder containing a program).
From what I can tell, apple had those monthly developer resource magazines and they'd include a CD with "Apple Event...
Thx for confirming the apple event part.
And yes - I saw / remembered your post from a while back mentioning the Layer Manager as an in to hack around this.. I couldn't find much on the layer manger -- is it covered at all in Inside Macintosh?
The other way I thought could be an option was if I...
Haha @retr01 you won't believe this--- but option+clicking on an app in MacDock will hide the current running app.
This is exactly how the standard Mac OS system 7 app switcher behaves (e.g. if you're in SimpleText and you use the menubar's app switcher to select Finder, holding the option key...
Only call BeginUpdate() and EndUpdate() in the in my update event handler so it's not triggered when the computer is idle.
I'll add the min. timer for updates also. It's high time.
And @retr01 I'll look into the option+click to hide other apps!