Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Code:
set actionChoice to (choose from list {"FFplay", "VLC", "MPlayer"} with prompt "Select your media player" OK button name "OK" cancel button name "Cancel" default items "OK" without multiple selections allowed) as text
            end tell
           
           
            if actionChoice is "FFplay" then
                set cpu to ((do shell script "machine") as text)
                set actionChoice to (choose from list {"Yes", "No"} with prompt "Do you want videos to automatically start full screen?" OK button name "Yes" cancel button name "No" default items "Cancel" without multiple selections allowed) as text
                if actionChoice is "Yes" then
                    if cpu is "i486" then
                        do shell script "echo \"/Applications/PPCMC.app/bin/ffplay -loglevel quiet\" > /Applications/PPCMC.app/pref"
                    else if cpu is "ppc" or cpu is "ppc750" or cpu is "ppc7400" then
                        do shell script "echo \"/Applications/PPCMC.app/bin/ffplay -x 240 -vf scale=in_color_matrix=yuva420p,format=rgb32 -loglevel quiet -skip_frame 8 -skip_loop_filter 48 -fs\" > /Applications/PPCMC.app/pref"
                    else if cpu is "ppc7450" then
                        set actionChoice to (choose from list {"Yes (Slow PowerPC G4)", "No (Fast PowerPC G4)"} with prompt "Would you like to optimze FFplay for faster playback at a lesser quality?" OK button name "OK" cancel button name "Cancel" without multiple selections allowed) as text
                        if actionChoice is "Yes (Slow PowerPC G4)" then
                            do shell script "echo \"/Applications/PPCMC.app/bin/ffplay -x 240 -vf scale=in_color_matrix=yuva420p,format=rgb32 -loglevel quiet -skip_frame 8 -skip_loop_filter 48 -fs\" > /Applications/PPCMC.app/pref"
                        else if actionChoice is "No (Fast PowerPC G4)" then
                            do shell script "echo \"/Applications/PPCMC.app/bin/ffplay -vf scale=in_color_matrix=yuva420p,format=rgb32 -loglevel quiet -fs\" > /Applications/PPCMC.app/pref"
                        end if
                    else
                        do shell script "echo \"/Applications/PPCMC.app/bin/ffplay -vf scale=in_color_matrix=yuva420p,format=rgb32 -loglevel quiet -fs\" > /Applications/PPCMC.app/pref"
                       
                    end if
                else if actionChoice is "No" then
                    if cpu is "i486" then
                        do shell script "echo \"/Applications/PPCMC.app/bin/ffplay -loglevel quiet\" > /Applications/PPCMC.app/pref"
                    else if cpu is "ppc" or cpu is "ppc750" or cpu is "ppc7400" then
                        do shell script "echo \"/Applications/PPCMC.app/bin/ffplay -x 240 -vf scale=in_color_matrix=yuva420p,format=rgb32 -loglevel quiet -skip_frame 8 -skip_loop_filter 48\" > /Applications/PPCMC.app/pref"
                    else if cpu is "ppc7450" then
                        set actionChoice to (choose from list {"Yes (Slow PowerPC G4)", "No (Fast PowerPC G4)"} with prompt "Would you like to optimze FFplay for faster playback at a lesser quality?" OK button name "OK" cancel button name "Cancel" without multiple selections allowed) as text
                       
                        if actionChoice is "Yes (Slow PowerPC G4)" then
                            do shell script "echo \"/Applications/PPCMC.app/bin/ffplay -x 240 -vf scale=in_color_matrix=yuva420p,format=rgb32 -loglevel quiet -skip_frame 8 -skip_loop_filter 48\" > /Applications/PPCMC.app/pref"
                        else if actionChoice is "No (Fast PowerPC G4)" then
                            do shell script "echo \"/Applications/PPCMC.app/bin/ffplay -vf scale=in_color_matrix=yuva420p,format=rgb32 -loglevel quiet\" > /Applications/PPCMC.app/pref"
                        end if
                    else
                        do shell script "echo \"/Applications/PPCMC.app/bin/ffplay -vf scale=in_color_matrix=yuva420p,format=rgb32 -loglevel quiet\" > /Applications/PPCMC.app/pref"
                    end if
                end if
 
Last edited:
Code:
set actionChoice to (choose from list {"FFplay", "VLC", "MPlayer"} with prompt "Select your media player" OK button name "OK" cancel button name "Cancel" default items "OK" without multiple selections allowed) as text
            end tell
            
            
            if actionChoice is "FFplay" then
                set cpu to ((do shell script "machine") as text)
                set actionChoice to (choose from list {"Yes", "No"} with prompt "Do you want videos to automatically start full screen?" OK button name "Yes" cancel button name "No" default items "Cancel" without multiple selections allowed) as text
                if actionChoice is "Yes" then
                    if cpu is "i486" then
                        do shell script "echo \"/Applications/PPCMC.app/bin/ffplay -loglevel quiet\" > /Applications/PPCMC.app/pref"
                    else if cpu is "ppc" or cpu is "ppc750" or cpu is "ppc7400" then
                        do shell script "echo \"/Applications/PPCMC.app/bin/ffplay -x 240 -vf scale=in_color_matrix=yuva420p,format=rgb32 -loglevel quiet -skip_frame 8 -skip_loop_filter 48 -fs\" > /Applications/PPCMC.app/pref"
                    else if cpu is "ppc7450" then
                        set actionChoice to (choose from list {"Yes (Slow PowerPC G4)", "No (Fast PowerPC G4)"} with prompt "Would you like to optimze FFplay for faster playback at a lesser quality?" OK button name "OK" cancel button name "Cancel" without multiple selections allowed) as text
                        if actionChoice is "Yes (Slow PowerPC G4)" then
                            do shell script "echo \"/Applications/PPCMC.app/bin/ffplay -x 240 -vf scale=in_color_matrix=yuva420p,format=rgb32 -loglevel quiet -skip_frame 8 -skip_loop_filter 48 -fs\" > /Applications/PPCMC.app/pref"
                        else if actionChoice is "No (Fast PowerPC G4)" then
                            do shell script "echo \"/Applications/PPCMC.app/bin/ffplay -vf scale=in_color_matrix=yuva420p,format=rgb32 -loglevel quiet -fs\" > /Applications/PPCMC.app/pref"
                        end if
                    else
                        do shell script "echo \"/Applications/PPCMC.app/bin/ffplay -vf scale=in_color_matrix=yuva420p,format=rgb32 -loglevel quiet -fs\" > /Applications/PPCMC.app/pref"
                        
                    end if
                else if actionChoice is "No" then
                    if cpu is "i486" then
                        do shell script "echo \"/Applications/PPCMC.app/bin/ffplay -loglevel quiet\" > /Applications/PPCMC.app/pref"
                    else if cpu is "ppc" or cpu is "ppc750" or cpu is "ppc7400" then
                        do shell script "echo \"/Applications/PPCMC.app/bin/ffplay -x 240 -vf scale=in_color_matrix=yuva420p,format=rgb32 -loglevel quiet -skip_frame 8 -skip_loop_filter 48\" > /Applications/PPCMC.app/pref"
                    else if cpu is "ppc7450" then
                        set actionChoice to (choose from list {"Yes (Slow PowerPC G4)", "No (Fast PowerPC G4)"} with prompt "Would you like to optimze FFplay for faster playback at a lesser quality?" OK button name "OK" cancel button name "Cancel" without multiple selections allowed) as text
                        
                        if actionChoice is "Yes (Slow PowerPC G4)" then
                            do shell script "echo \"/Applications/PPCMC.app/bin/ffplay -x 240 -vf scale=in_color_matrix=yuva420p,format=rgb32 -loglevel quiet -skip_frame 8 -skip_loop_filter 48\" > /Applications/PPCMC.app/pref"
                        else if actionChoice is "No (Fast PowerPC G4)" then
                            do shell script "echo \"/Applications/PPCMC.app/bin/ffplay -vf scale=in_color_matrix=yuva420p,format=rgb32 -loglevel quiet\" > /Applications/PPCMC.app/pref"
                        end if
                    else
                        do shell script "echo \"/Applications/PPCMC.app/bin/ffplay -vf scale=in_color_matrix=yuva420p,format=rgb32 -loglevel quiet\" > /Applications/PPCMC.app/pref"
                    end if
                end if



@alex_free use [code] instead of [icode] for multi-line code.
 
Deviant Art, various Google searches, and this site.
I was looking for a few on DeviantArt but it seems like most of the icons aren’t in .icns format but .png instead which Candybar doesn’t seem to accept. Which one was it specifically?
Or maybe I should just rip them from a Big Sur installation myself :p
 
I was looking for a few on DeviantArt but it seems like most of the icons aren’t in .icns format but .png instead which Candybar doesn’t seem to accept. Which one was it specifically?
Or maybe I should just rip them from a Big Sur installation myself :p

You can always use img2icns to convert them. I used this to convert the pngs to icns for Tiger, Leopard, and Mountain Lion, and it should also work in later macOS with a later version. Look for version 0.5, which is still freeware.
 
You can always use img2icns to convert them. I used this to convert the pngs to icns for Tiger, Leopard, and Mountain Lion, and it should also work in later macOS with a later version. Look for version 0.5, which is still freeware.
For me, many icons don't work properly in 10.7.5 and 10.8.5 so I'll need to see what the differences are between icons that do work and icons that don't and then edit my icons.
I didn't use img2icns to make my icons. I made some scripts to extract their contents and to make new icons so I can use that to find what may make a working icon for 10.7.5 and 10.8.5.
 
Upgraded the RAM to 4GBs from 1GB and installed a 500GB SSD maxing out the Mac mini early 2007 C2D 2.0GHz. Installing Tiger now, and I think XP is a good fit for dual boot? I'm gonna put 7 on the Macbook Pro 17".

On a side note, Windows 7 32 bit ran absolutely terrible with the stock HDD and 1GBs of RAM. I'm sure it would be fine now with the upgrades but I don't need 2 win 7 installs.

Now on my todo list I need to upgrade the early 2009 Macbook Pro 17" to 8GBs of RAM and install the same kind of 500GB SSD, as well as put in the new battery.
 
You need a 2.33 GHz Core 2 Duo T7600 to really max it out :)
True, but 2.0 GHz is fine for me. It can play any 1080p content I've thrown at it that isn't H.265. With XP, I can run some 90s PC games as well, but nothing much newer because of the garbage GMA 950.

Eventually going to get an 09 mini with the Nvidia GPU and higher clock speed to complete the Mac mini tower.
 
  • Like
Reactions: Amethyst1
For me, many icons don't work properly in 10.7.5 and 10.8.5 so I'll need to see what the differences are between icons that do work and icons that don't and then edit my icons.
I didn't use img2icns to make my icons. I made some scripts to extract their contents and to make new icons so I can use that to find what may make a working icon for 10.7.5 and 10.8.5.
The problem with my icons was that the TOC had the icon types in a different order than they actually are in the file (the utility I made to add the missing it32 icons didn't sort the TOC correctly). TOC is new with 10.7. I guess Apple stopped caring about the order of the TOC in 10.9.
https://en.wikipedia.org/wiki/Apple_Icon_Image_format
 
To hell with USB 3. ;) A NVMe SSD, either in a Thunderbolt 3 enclosure attached to a powered TB3 dock and a TB3-to-TB1/2 adapter or in an M.2-to-PCIe adapter in a TB1/2 PCIe enclosure, is the fastest possible boot drive for that Mac with TRIM support.
I moved the Trebleet from the 2011 to the 2013 and get even better speeds with 12.1 I am very pleased with this enclosure.
Screen Shot 2021-12-14 at 7.20.31 PM.png
 
Got another one for the collection...
0772B31C-8FCF-4183-8BAB-3202000A8567_1_201_a.jpeg

An early 2008 "BlackBook!" It had just been sitting in a storage trailer at work, and so I popped a 300 GB SSD inside and maxed out the RAM to 4 GB.
1B3F7AB9-B680-4172-AB86-0C1C0331FAB5_1_201_a.jpeg

I got Mac OS X 10.7 Lion installed on it, the highest it'll support.

I've always liked the look of those black MacBooks, and now that I've been able to take up collecting older Apple stuff as part of my computer techie job, I thought "why not?" It's a neat piece of Apple history.
 
Got another one for the collection...
View attachment 1928615
An early 2008 "BlackBook!" It had just been sitting in a storage trailer at work, and so I popped a 300 GB SSD inside and maxed out the RAM to 4 GB.
View attachment 1928616
I got Mac OS X 10.7 Lion installed on it, the highest it'll support.

I've always liked the look of those black MacBooks, and now that I've been able to take up collecting older Apple stuff as part of my computer techie job, I thought "why not?" It's a neat piece of Apple history.
I have one of the white ones.

After I retired it, I installed Linux on it to play around with but the fans would ramp up to full speed in short order, with any sort of load. I took it apart and replaced the thermal paste, which made a big difference, but in the end I put 10.7.5 back on it. Linux is just too annoying on this machine. Now it sits in my Mac museum, although I do keep it charged up since the battery is good and I like firing it up occasionally. :)

That 2.4 GHz MacBook4,1 was my previous kitchen computer. After 10.7 became problematic for browsing, I replaced it with a 2.0 GHz MacBook5,1 which is still in active use for basic surfing and recipes. Too bad the MacBook5,1 doesn't have that 2.4 GHz C2D. The 2.0 feels really, really slow now. The 2.4 GHz isn't great, but it's better than 2.0.

BTW, I'm typing this on that newly acquired 2015 MacBook Pro Core i5 2.7 GHz MacBook12,1 that I mentioned earlier, that I got for my kid. I upgraded the stock 128 GB SSD for an OEM 256 GB SSD and just finished setting it up for the kid yesterday. I've been using it just for fun today and it feels like a race car in comparison. It's awesome for general surfing, and I never ever hear the fan with this type of usage. Now I'm looking for a 2015 MBP for the kitchen, although I'm also considering perhaps a 2013 or Retina 2012, since they're so much cheaper. Then my MacBook5,1, and also my MacBookPro5,5, will join that MacBook4,1 in the Mac museum. ;)
 
Last edited:
Yeah, it's pretty nice for running Mac OS X Lion on. But the SuperDrive won't read any discs; I slide one in, after a minute the disc just ejects. I tried doing it with an external disc drive and the same thing happened.
 
I love how Photo Booth looked in fullscreen mode back then, with the nice decorative user interface.
I agree. Looks very playful but still very tacky :p
Although I much prefer the cleaner look of pre-Lion or post-Mountain Lion instead of my calendar application looking like some granny's sofa!
 
I know this is not exactly OS X related, but it is what I have done with an early intel.

I have Windows XP and Tiger dual booted on my 2007 Mac Mini with a 500GB SSD and 4GB RAM. Both OSes fly, but both the latest Chrome and FireFox on any Windows version have 0 graphics acceleration because of the GMA 950. There is so much vsync tearing, espically in YouTube videos where it is most annoying. I can't help but be interested in a sister project to PPCMC7, for Windows XP?
 
  • Like
Reactions: MacFoxG4
I can't help but be interested in a sister project to PPCMC7, for Windows XP?
Could be interesting. However the basics are already covered with any FF based browser for XP. I use greasemonkey with the viewtube script to download & play videos, and twitchxp for watching twitch.tv streams on my eeepc 900a running MicroXP. It might not be worth the headache, but if you do it, i'd use it. ;)

hjo6xsqj7x161.jpg


Cheers
 
  • Like
Reactions: alex_free
The problem with my icons was that the TOC had the icon types in a different order than they actually are in the file (the utility I made to add the missing it32 icons didn't sort the TOC correctly). TOC is new with 10.7. I guess Apple stopped caring about the order of the TOC in 10.9.
https://en.wikipedia.org/wiki/Apple_Icon_Image_format
.VolumeIcon.icns requirements:
- 10.4: icons in an icns file cannot be 300KB or greater otherwise the icns is not used. 1024x1024 icons are usually too large. Some 512x512 icons are too large (depends on png compressibility).
- 10.5: The icns file cannot exceed 1MB-2B otherwise the icns is not used.
- 10.6: no limits that I've encountered
- 10.7: TOC must be ordered if it exists
- 10.8: TOC must be ordered if it exists
- 10.9 - 12.1: no limits that I've encountered
- Startup Manager on old Macs like my MacPro3,1 require it32 icons (at least for the 128x128 size - I haven't checked what icon types can be used)
- rEFInd doesn't do icons that have png or jpeg or ARGB data - it only does the RGB+8 icon types (it32 and it's smaller versions). I added support for png and ARGB to my RefindPlus fork (plus old 8bit, 4bit, 1bit icons! I tested these by converting all icons in a Mac OS 9 system file and ROM resources into icns files). I don't know where to get a jpeg 2000 library that can be ported to EFI to support icns files that have jpeg 2000 icons.
https://en.wikipedia.org/wiki/Apple_Icon_Image_format
https://github.com/joevt/RefindPlus...d5c41f228353c4a07ae8962b9263ab42748cd2356f482

I have a script at VolumeIconUtil.sh containing commands to dump the contents of an icon, check the compatibility of an icon, or build an icon from parts of another. Some of the features use my fork of osxiconutils .
 
Last edited:
Could be interesting. However the basics are already covered with any FF based browser for XP. I use greasemonkey with the viewtube script to download & play videos, and twitchxp for watching twitch.tv streams on my eeepc 900a running MicroXP. It might not be worth the headache, but if you do it, i'd use it. ;)

hjo6xsqj7x161.jpg


Cheers
Wow... streaming my first 720p YouTube video that is not a vsync tearing mess on XP. I figured out how to patch up the latest OpenSSL 1.1.1m and Python 3.6.15, and AFAIK i am the only person to get those running on XP at all. The highest Python on XP was 3.5.2 from 2016 with a patch set i based my mods off of.
 
Could be interesting. However the basics are already covered with any FF based browser for XP. I use greasemonkey with the viewtube script to download & play videos, and twitchxp for watching twitch.tv streams on my eeepc 900a running MicroXP. It might not be worth the headache, but if you do it, i'd use it. ;)

hjo6xsqj7x161.jpg


Cheers
Do you know of any good communites centered around older windows? I know about https://forums.macrumors.com/forums/windows-linux-others-on-the-mac.86/

Also... I even got pip working with Python 3.6.15 (extended support current release) on XP! Releasing a fork for this.
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.