Mike68k
Member
Hi all,
I've been developing an app for these old Macs called MacDock (on GitHub, feel free to fork or contribute or comment!) - It's like the Dock in modern Macs but for 68k.
It's been great but I'm trying to add features like on modern macOS where you Cmd+click on an app and it will show the app in the Finder. I'm trying to use the AppleEvents from the Finder to make this happen but I'm having trouble getting what I think is the best apple event to do this to work.
Here's a screenshot from Resourcerer which I was using to try to find and learn the syntax of the best one:
But I can't seem to get the syntax right in my C code. I got it to the point where when I try it, it will switch to Finder but I just get a complaint message from the finder saying it couldn't find the item.
//Note for anyone on TinkerDifferent, yes I'm the same guy over there who got hung up and was pointed in the direction of 68kMLA for deeper expertise.
Here's that thread if interested (see pg 4).
If anyone has any resources or old books that explain the syntax for this Finder AppleEvent, I'd really appreciate it. I'll stop here, short of posting code. But if you're inclined here's the direct link to a post where I shared the code.
I've been developing an app for these old Macs called MacDock (on GitHub, feel free to fork or contribute or comment!) - It's like the Dock in modern Macs but for 68k.
It's been great but I'm trying to add features like on modern macOS where you Cmd+click on an app and it will show the app in the Finder. I'm trying to use the AppleEvents from the Finder to make this happen but I'm having trouble getting what I think is the best apple event to do this to work.
Here's a screenshot from Resourcerer which I was using to try to find and learn the syntax of the best one:
But I can't seem to get the syntax right in my C code. I got it to the point where when I try it, it will switch to Finder but I just get a complaint message from the finder saying it couldn't find the item.
//Note for anyone on TinkerDifferent, yes I'm the same guy over there who got hung up and was pointed in the direction of 68kMLA for deeper expertise.
Here's that thread if interested (see pg 4).
If anyone has any resources or old books that explain the syntax for this Finder AppleEvent, I'd really appreciate it. I'll stop here, short of posting code. But if you're inclined here's the direct link to a post where I shared the code.