Password request for file delete Mountain Lion Server

You seem to have two opposing goals. You would like that users can freely share and modify each others files, but preventing them from deleting them by mistake.

The probably best way to achieve this is to user ACLs (Access Control Lists). ACLs allow for additional, more fine-grained permissions,  see http://support.apple.com/kb/PH8010 for some official Apple docs. In this case you would have to turn off the ignore permissions on this volume setting.

Unfortunately this is rather technical, and probably requires you to at least initially set it up with the Terminal.app, although some of this can also be done in the Server.app, but it will allow you to set up so that everybody can read and write to a directory and it's files and to prevent non-admins from deleting a file. Note: it probably will not prevent someone from destroying the file reducing it's size to zero, thereby de facto deleting the file, so do not get fooled into a false sense of security.


This Apple page presents the steps to regain access to an iPhone that is otherwise out of reach because of an unknown passcode. You'll almost certainly lose whatever data is now stored on the phone.

Basically, you'll have to erase the phone using iTunes or Recovery Mode. If you didn't make (or have access to) a backup, all the phone's settings and data will be lost.

If neither works, you can contact Apple and obtain assistance. You'll undoubtedly have to demonstrate that you or your firm is the original owner of the device.

Good luck!


Can iOS 7 app get rejected due to custom popup?

I've seen various apps with their own system. I don't think they will decline or deny you app for having it customized as there are many different kinds of views around.

It's not your pop-up is doing something it shouldn't as just displaying info, with an option to click something, right?


Does reinstalling Lion from Recovery partition delete data?

No, Lion does not perform a format of the drive, it simply replaces the contents of your system with a default installation.

Once you install Lion again, all your files, your user information, account settings, installed programs, etc. will still be there.

Moreover, it does not leave a copy of your old system, like Snow Leopard before it.


Apple Numbers x-axis "Value Labels" can't be set to "Date & Time" or "Duration"

Make sure the source columns are formatted as the proper date/time format.


servermgrd certificate in Yosemite server chain of trust

servermgrd looks up the certificate it uses for port 311 via an identity preference named "com.apple.servermgrd". By default, the preference points to the self-signed "com.apple.servermgrd" identity cert. After you change the preference you can remove the old self-signed cert without causing any harm. But you must make sure that the access control list (ACL) on the private key of the certificate that you want servermgrd to use allows servermgrd access.

If servermgrd cannot access the private key, it will delete the preference and create a new self-signed identity and set a new preference to point to the newly created identity cert.


The Display section in Keyboard Shortcuts shows up when a third-party (non-Apple) keyboard is attached (I used a USB one, I don't have a wireless one to test). From there I was able to disable the shortcut keys.

Once I was able to disable them, I did some digging to find where the preferences are stored behind the scenes. Turns out that they live in ~Library/Preferences/com.apple.symbolichotkeys.plist.

Setting the enabled property to false for keys 53 through 56 of the AppleSymbolicHotKeys dictionary, will disable the F14/F15 brightness adjustments (this doesn't affect the F1/F2 keys on Apple keyboards).

/usr/libexec/PlistBuddy -c "Set :AppleSymbolicHotKeys:53:enabled false" ~/Library/Preferences/com.apple.symbolichotkeys.plist
/usr/libexec/PlistBuddy -c "Set :AppleSymbolicHotKeys:54:enabled false" ~/Library/Preferences/com.apple.symbolichotkeys.plist
/usr/libexec/PlistBuddy -c "Set :AppleSymbolicHotKeys:55:enabled false" ~/Library/Preferences/com.apple.symbolichotkeys.plist
/usr/libexec/PlistBuddy -c "Set :AppleSymbolicHotKeys:56:enabled false" ~/Library/Preferences/com.apple.symbolichotkeys.plist

The change will take place after a logout or restart. If you want to re-enable them, change false to true.


How to clear new Music app's cache of streaming music on iOS?

Easiest solution I have found so far is to disable the iCloud Music Library and open the Music app so that it can delete the cached files and/or release that storage to iOS to clear when needed.

Details: This solution is an adaptation of solutions I found for the same issue with iTunes Match. The clearing and rebuilding of your music library takes time, so I hope Apple adds a simple "clear Music cache" button to the settings in the future.

Settings>Music: Turn off iCloud Music Library
Open Music app: Your library should start to clear
Settings>Music: Turn on iCloud Music Library
Open Music app: Your library will be rebuilt

The process preserved my offline copies of songs previously synced to my iPhone prior to switching to the iCloud Music Library. I am not sure if it preserves offline Apple Music copies.


Distorted Audio from Speakers and Line-Out

So I swapped the original CPU back in and everything works fine. Oddly, audio in Ubuntu worked just fine with the original processor, but not in Mac OS X 10.10. Thanks for your help, Tetsujin.


Why my 2009 macbook pro is faster than my 2017 retina iMac?

Yes, the SSD is the main difference.

Your iMac has a 1TB 5400rpm SATA Hard Drive and this is what’s causing the bottleneck. The MacBook Pro, on the other hand, has a solid state drive that is multiple times faster. So, while the iMac may actually process things faster, loading apps and reading/writing data will be a lot slower. And, if it needs to use hard drive space when it needs more RAM, this will also significantly slow things down.

Achieving the same/better performance

Since your iMac has two Thunderbolt 3 (USB-C) ports that support speeds up to 40 Gbps (via Thunderbolt) and 10 Gbps (via USB 3.1 Gen 2), the easiest solution is to use an external SSD that’s connected via one of these ports and to install macOS instead. You would then use that drive as your main boot volume.

However, you would need to ensure that:

it’s definitely an external SSD (and not just a hard drive)
it supports either Thunderbolt or USB-C (i.e. USB 3.1) as its interface

Both of the above are critical if you’re wanting to improve speed. Thunderbolt models are still quite expensive, but you'll find USB-C / USB 3.1 models at reasonable prices.

NOTE:  Do not get confused by USB 3 - this is not the same as USB 3.1. And remember, it needs to connect to one of the two Thunderbolt ports (not one of the USB ports).

Some examples of the types of external drives I mean are:

Samsung T5
SanDisk Extreme 510
G-Technology G-DRIVE mobile SSD

Once you have the drive you want, you will need to install macOS onto it and migrate your data.


Apple’s enterprise distribution and management for iOS apps

Each client will need to have an enterprise account. If they want to, they can share their distribution key with you, and you can build an app for distribution within their organization. If the number of clients isn't large, this shouldn't be a big deal -- you can just set up a different target for each client, and then use an aggregate target to build them all at the same time.

Over the air distribution is definitely possible. One way is by making the app available for download on a restricted access web server; another is to install it directly on any managed devices using mobile device management.

I believe most of your questions are answered in the enterprise program agreement. Give that a careful reading if you haven't already. Questions about how to interpret a legal agreement are probably off topic for this forum, but I think you'll find the agreement to be fairly easy to understand as legal documents go.

Update: Another option that's been available for a while now (though possibly not when I wrote the answer above) is custom B2B distribution. You can offer your apps for sale through Apple's Volume Purchase Program directly to your clients. That is, your clients would purchase through the Volume Purchase Program (essentially the App Store, but multiple licenses) and then distribute your app via Mobile Device Management or redemption codes. The down side of this plan is that Apple would take the usual App Store cut of the selling price.


Thunderbolt Display does not recognize USB keyboard

I discovered that when I plug the USB cable of the keyboard into the short USB extender cable (that came with the keyboard) and then plug the extender cable into the Thunderbolt display, it works for me. Maybe it will work for you too.


No Wi-Fi connectivity after waking up from sleep on MacBook

Had very similar problem.  After wake up Wi-Fi icon shows "connected" status, but network does not work, i.e. even ping to my router does not work.  The connectivity usually resumes on its own after some time (dozens of seconds to couple of minutes), or after I do manual DHCP renew or turn Wi-Fi off and then back on.

The problem gone after I disabled DoS attack protection on my router.  It seems that my router treated Apple's rapid DHCP (https://cafbit.com/entry/rapid_dhcp_or_how_do) as DoS attack attempt.


How do I capture video in real time from a Canon 5D Mark II to iMac in Final Cut Pro?

You may be able to use the Log and Capture window (File>Log and Transfer):

However, this requires you to hook up the camera in such a way that Final Cut Pro recognizes. IIRC, the Canon 5D Mark II doesn't have a Firewire cable. The HDMI capture card might work, as long as FCP recognizes it.


Repeated "Safari wants to use the 'Local Items' keychain" alert

Mike,
It sound like you've got login data for at least one web site stored in Safari, and the browser is having a hard time accessing it.  Open up Safari Preferences and click on the "Passwords" icon, then delete everything in there, if that's what you want to do. That should keep Safari from accessing your keychain, but it also means you've lost all your stored passwords.


USB Ethernet to WiFi Internet sharing does not work

The crash obviously damaged something and it hasn't quite been resolved yet.
First try some simple tasks such as:

Go to System Preferences--> Sharing. Turn off the Internet Connection Sharing option.
Now go to Network. Then create a new location by choosing edit location and then new location.
Now add back in your USB Ethernet adapter interface and apply the settings. Then test your internet connectivity on your computer.
Go back to Sharing and turn your internet connection sharing back on after choosing the Share from choice (USB Ethernet) and Share to choice WiFi.

Besides that, turn off your internet connection sharing, then go back to Network. Try editing your DNS settings on the USB/Ethernet connection and use the public IP addresses for CloudFlare and Google. CloudFlare is: 1.1.1.1  in addition to 1.0.0.1
Google is: 8.8.8.8  in addition to 8.8.4.4
Once you have the DNS settings entered and applied, test your internet connection on the computer one more time, then try turning the internet connection sharing feature back on.
If it still doesn't work, it may be a much more involved fix.
You might have luck by going to Macintosh HD--> Library--> Preferences. Drag the SystemConfiguration folder to the trash (don't empty it as you might need it again), then reboot the computer.
Your network interfaces and bluetooth settings will probably be wiped out at that point and you can try setting things up fresh.


Folder in iCloud that stores files only in cloud but doesn't sync with Mac

It is possible to manage this - basically you have two options:
1) Let macOS handle this automatically
You enable this from System Preferences by clicking Apple ID, iCloud and then ensure that Optimise Mac Storage is checked.
This ensures that everything is stored in iCloud Drive, and as much as possible is also stored on the Mac. However as available space becomes low, the system might delete files from the Mac so that they're only stored in iCloud.
In this case you have no control over which files and folders macOS keeps on the computer and which are only available in iCloud.
2) Handle it manually yourself
In the Finder open iCloud and right-click the folder and select Remove Download. This removes the folder's contents on your Mac, but keeps it in iCloud Drive.


Why does changing "Open with" also change a files "Modification date"?

Some experimentation using the xattr command shows this:

Label information is stored in the com.apple.FinderInfo extended attribute, which every file should have by default.
Custom application associations are stored in the com.apple.ResourceFork attribute, which not every file has.
Updating the FinderInfo attribute does not cause the modification date to be modified.
Creating/updating the ResourceFork causes the modification date to be modified.

The resource fork historically had a special place in Mac file systems. I'm not sure if the com.apple.ResourceFork extended attribute is the same as a resource fork, if the latter was superseded by the former or how else they are connected.

If there's a technical difference between an extended attribute and a resource fork, it may be "necessary" for a file to be modified when the resource fork is updated, but not when the extended attribute is written.
It may be that the (legacy) API for updating resource forks updates the file modification date in the process, while the extended attribute API doesn't. The latter possibly in error, possibly because of different philosophies.

Vague information, but it might give a little more insight. In the end though you're right. Some meta information modification causes the modification date to be updated, others doesn't. Whether there's a reason behind this or if it's just an oversight… only a few guys at Apple may know. :)


Download iOS updates using a File and not from iTunes or have to connect to Internet

Yes, it's possible. Here's a good list of download links for all iOS versions for the iPhone:
http://www.iclarified.com/entry/index.php?enid=750

Note that you must download the version that fits your iPhone (3Gs, 4, 4s, ...).

You can find more of these lists by searching the web for something like "ios IPSW download links".
After downloading a so called IPSW file you can simply install it by following these steps:

Connect your iOS device to your Mac or PC
Select the device in iTunes
On a Mac, hold down the “Option” key and then click on
“Update”
On a Windows PC, hold down “SHIFT” key and then click on
“Update”
Select the IPSW file you just downloaded and click “Choose”

The update should then continue as usual.


can't get into encrypted .dmg files even though I could the day before and I am 100% certain the password is correct

Without backups, all you can do is try variations on your password.  The encryption system would be useless if it had a backdoor to circumvent your password.

  The password is absolutely, positively correct

I suspect that when you setup the DMG what you actually typed in the password field was not exactly what you thought you typed - and you repeated the error. It is possible to consistently type the wrong password - were you typing very quickly, or were you tired, for example?

Try opening TextEdit and typing in your password many times, see what kind of errors you make when typing quickly,  pressing/not pressing shift, variations with Caps Lock set, accidentally pressing two keys instead of one, vary how you were sitting with respect to the keyboard, etc. You can then copy each password variant from TextEdit into the DMG dialog password field to try to open the DMG. Good luck.


How can we unlock an iPhone backup file if we don't know the password?

The password used to encrypt the backup file might have been saved to the user's keychain.

from /Application/Utilities open the Keychain Access utility
make sure that on the left side "All items" is selected under categories
in the upper right search field enter "iphone" and then look for a keychain item named "iPhone Backup" of kind "application password". If there is no such item, you´re mostly out of luck
double click on the "iPhone Backup" entry and in the new window that will open, click on the "show password" checkbox
you will now be prompted to enter your password (the one your user has on your Mac) to show the iPhone backup password; click Allow (once). You should now see the iPhone Backup password in clear text.

I don't think windows has an equivalent store for saving the password. If not, you will have to try brute forcing it in iTunes - just me methodical - write down all sorts of passwords that may have been used - brainstorm a bit. Then try them one by one. Hopefully with the pressure off a bit you will stumble upon the pass phrase that was used.


If you have access to Photoshop, then I highly recommend Iconbuilder from Iconfactory. Back when I doing this, Iconbuilder made the creation of resources for a variety of platforms a snap.


How to make Alfred switch to currently open Chrome instead of opening a new window?

I had this same exact issue, and checked for a MacOS update and didn't have one. It turned to be fixed with a Chrome update.


Rather than using the native OS X scanner, I would recommend that you download the free trial of the commercial product Hamrick VueScan. I do a lot of scanning and I rely on it. It does very well in compressing text documents to small file size.

Aside from that, you should investigate what you can do with taking scans from the OS X native scanner and then running them (as TIFF, JPG or PDF) through Automator's image manipulation utilities for further compressing the images with Apple's Quartz Filters to make them smaller.


Looks like an issue with GPU drivers. I have such issues on other machines with other versions of OSX time to time. Most of them are likely addressed in next versions of OSX.

I would start with checking Console.app. Various subsystem might log some useful information.


Is MacKeeper a contoversial App that new Apple Users should be educated to stay away from?

It's certainly true that the app is controversial - search the Apple Discussions site for more on that - and while there were certainly issues with early versions current versions are reported better.

However, there are many with very significant reservations about the sales tactics the company uses - pop-ups, paid-for recommendations on review sites etc - and that its uninstaller didn't work for many versions, so users kept getting further advertisements, allied with the  facts that the things the app claims to do are either a: unnecessary or b: can be done with free or cheaper alternatives means that the app undeniably has a bad name with many Mac users.

And again, for citation: search the Apple Discussions site for much, much more about this app.


That means traceroute didn't get any responses to its probes. The way it works is that it sends out test packets set to expire after 1 hop, two hops, etc; then it listens for "sorry, but your packet expired before I could deliver it" and prints the addresses of the routers that sent those responses. The "*"s mean it didn't hear back.

You're getting all "*"s, which means that either there's no route to the destination, or there's a firewall blocking the probes and/or the responses, or something along those lines.


How do I disable App Store notifications when auto-updating software?

I don't have any apps installed to try this with, but this looked like it might work. The solution is for Mountain Lion, not Mavericks, so it may have changed.

How do I turn off App Store notifications in Mountain Lion

  I just discovered the missing solution here:
  http://osxdaily.com/2012/11/15/stop-software-update-mac-os-x/

  You can selectively disable notifications about specific software
  updates you don't care about (like useless App updates) by
  control-clicking the update inside the App Store to reveal a hidden
  "Hide Update" option.

  This is best for those who want to keep Notification Center active for
  all its other uses (calendar alarms, etc.) and who also want to be
  notified about critical software updates. It should permanently mute
  notifications about certain software updates (until that software
  comes out with a new update).


How to view a website as it appears on mobile safari from desktop safari?

From the Develop menu > Enter Responsive Design Mode  Cmd ⌘   Ctrl ⌃   R
You can then choose between a selection of devices…
Click for larger image

If you don't have that menu open already, it's in Safari Prefs > Advanced


It depends on your iPhone model. The iPhone 5S and later is equipped with a motion co-processor, such as the M7 in the 5S or the M8 in the iPhone 6 and iPhone 6 Plus. You can give Health permission to read data from the motion co-processor.

Also, any data from your Apple Watch (if you own one) is stored in Health. So heart rate, steps taken, walking + running distance, active calories, etc. are counted automatically.

Additionally, 3rd-party apps can use Health to log any appropriate info about your health and activity into the app, such as Nike Running or an app that can detect your pulse using the camera in your iPhone.

You can also log data into Heath and modify data yourself within the app.


How do I use only the external display with my MacBook Pro lid open on Lion?

I've taken up olivier's suggestion to arrange my monitors to eliminate a common border:

I chose the bottom right because I keep my dock on the left hand side of my screen, and I use my upper right as a hot corner to sleep the display. I also moved the menu bar to my desktop monitor and the MacBook screen is completely dimmed.

There was another option I heard about: using a magnet to make your MacBook think that the lid was closed. This does work - I placed a snippet of a refrigerator magnet near the bottom left side of my keyboard and sure enough my MacBook thought I had closed the display. Unfortunately, Mac OS X also disables keyboard and trackpad input when it thinks the display is closed, so this option didn't work for me.


Share favorites in Firefox using Bootcamp?

If you're running Firefox 4 or higher, you can use Firefox's built-in sync capabilities to keep multiple instances of Firefox in sync across different operating systems and machines.

C|Net has a nice video that shows you how to set it up.


Yosemite broke Dropbox toolbar shortcut to reveal files in Finder

Here is how I solved it:

Restart finder via terminal command or just reboot (copy/paste into Terminal: killall Finder && open /System/Library/CoreServices/Finder.app)
Finder >  Go tab > Go To Folder
Drag DropBox to the left favorite column

Works!


iPhone Case Manufactuerer - Unlabelled but have logo

I found out another way that this is Best Buy's house brand for phone accessories called RocketFish. Most of the phone items under this brand are now discontinued.


Make sure you type in your dates in the format dd/mm/yyyy. For example 01/01/2019 02/01/2019 03/01/2019

The right-click the column at the top and click Sort Ascending.

Then your dates should be sorted in ascending order:


Is there free, system-wide http/https proxy software for OS X?

To connect to a Proxy Server (which is what you're trying to do) you need no special Programm just tell your System to send all the Traffic over the Proxy.

You can do this inside of your Mac's System Preferences under Network

If you need more Information on how i suggest you to read the Official Apple Support Document: https://support.apple.com/kb/PH18553


Robust OCR / scanning software recommendations

Solved, with a great app called Prizmo. A few baffling interface problems (slides occasionally rearrange themselves or change their thumbnails to adjacent pages?!) but I managed to turn a set of low-light camera phone pictures of a textbook into a flat, curvature-corrected readable pdf. OCR didn't work at all but the images were so low quality that I was surprised at the few times it did; if I were more careful with the photography it could easily have read a page taken with an iPhone camera. Really great curvature correction, only a few interface adjustments would make this software perfect and efficient for a higher number of pages, like key shortcuts and some thought put into the curvature adjustment interface, or the ability to copy curvature correction settings over similar pages, or the somewhat obvious ability to pull 2 pages out of a picture/scan of a book. If they fire their current UX lead and replace him/her with a technology user the next update will be absolute gold.


How can I get my apps back after deleting all data?

Well, when they say "all your data will get deleted" that means apps too.

You can go to the Mac App Store, click on the Purchases tab, and re-install your apps.


How would I troubleshoot generic icons for apps showing in a third party app?

Well - it turns out LaunchBar was reporting things as they are and Finder and the rest of the systems started dropping the icons to match what this utility was showing.

I have recovered from the failure by rebuilding the launch services database.

The short command is lsregister -kill -seed and here's the full path

  /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -seed

This still hasn't figured out why they went wrong, but it's a rebuild step that can be taken once the number of "broken" icons become aggravating. This is very odd to me since the lsregister command used to be vey handy when duplicate open as records were present, but I didn't have that symptom here. Also, typically cleaning icon caches in /var/folders and then performing a safe boot. That's not something I ever liked contemplating and was very happy to not have to resort to trying that in this case.


I had to delete the duplicated playlists from my computer and then delete the same playlists on my iPhone in order to get rid of the duplicates. Still, I have duplicates on my Macbook


iPhone repeatedly asks me to sign in with old family Apple ID

Each application installed remembers the account that purchased it. The likely cause of this is one or more apps needing to update or to run and validate the purchase receipt (even free apps are purchased and get receipts).

Once you delete those apps - you have to re-download apps from a device signed into the App Store account you do want to enter the password as opposed to the one that originally was involved in the purchase.

If you're not sure - you can make a solid backup (perhaps to iTunes as well as iCloud) and then delete apps you know you can get back from your purchase history - then focus on the remaining apps to figure out which you can discard entirely.

Now you're left with just the uncertain ones to troubleshoot. Once you know each - wipe and restore from your main backup to get everything back and then surgically remove the offenders.

Lots of work, but that's how I've solved this in the past. This is how it works on the Mac App, iTunes, iBooks and iOS stores...

App Store asks for old Apple ID when installing updates


Where can i find the source code for the pfctl utility?

A path name embedded in the pfctl executable on my Mojave system:

/BuildRoot/Library/Caches/com.apple.xbs/Sources/PacketFilter/PacketFilter-85/pfctl/pfctl_optimize.c

suggests that it's part of a "PacketFilter" package which Apple hasn't released.

However, this filename suggests that the tool is very similar (if not identical) to the OpenBSD utility of the same name.


Finder Problem - USB drive opening in separate window for every folder

The following trick worked for me.

Focus the finder window from your external drive.
Select View -> Show Toolbar option

Now, the finder window will not open in new windows. But, I have to do this every time I open from the external hard drive. I'm still looking for a solution to this.


How can I see if RAM was failing after removing it from the Mac?

No, normally RAM failures such as the one you describe cannot be captured in system logs.

You should RMA the RAM modules as usual.


Default sender in Apple Mail when replying and more than one account

Lets differentiate between NEW massages send from and Reply to sender.

There are 2 settings in Mail for each of the purpose.

One is for new mails:

That is the setting to either use a specific account or current Mail box account.

The other is for Replay-To.

The Reply-To settings are in each individual account settings, there you choose which account is to be used in Replay-To.

Preferences- Accounts - Outgoing mail Server (SMTP)
set the Server there and check the box use only this server.

Make sure you use (set) different server setting there for each account.


Macbook Pro 2015 with El Capitan went black screen after login

Summarizing the answer after getting issue resolved.

It was a technical hardware failure of motherboard in my case.
So the whole motherboard set was replaced.

P.S. - But before going directly to hardware failure please go through the steps shared in question and the comments above by @J.C. and @Tetsujin


Contextual menu in Safari does not offer option to download PDF

You have a couple of options.

If you move the mouse to the bottom-center of the screen it will appear a menu where you have an option to save to disk. See image below.

Additionally, you use Print option, and there is an option in the bottom-left of that menu called PDF that you can use to save the document.


mdutil -s /Volumes/* will show you the indexing status of all available volumes.

mdutil -i on /Volumes/HD2;mdutil -i off /Volumes/HD1 should do what you're asking for.  might need to sudo based on ownership settings of each.


Can I avoid iCloud Family sharing if I upgrade to iOS 8?

I have upgraded and do not need the option.
The option is not forced upon me.

Under the iCloud settings there is a choice to turn it on.


WARNING: The version of Tcl/Tk (8.5.9) in use may be unstable

According to this Python Software Foundation page:

The Python for Mac OS X installers downloaded from this website dynamically link at runtime to Tcl/Tk macOS frameworks. The Tcl/Tk major version is determined when the installer is created and cannot be overridden. The Python 64-bit/32-bit Mac OS X installers for Python 3.6.x, 3.5.x, and 2.7.x dynamically link to Tcl/Tk 8.5 frameworks. 32-bit-only Python installers for Mac OS X dynamically link to Tcl/Tk 8.4 frameworks.
In either case, the dynamically linking occurs when tkinter (Python 3) or Tkinter (Python 2) is first imported (specifically, the internal _tkinter C extension module). By default, the macOS dynamic linker looks first in /Library/Frameworks for Tcl and Tk frameworks with the proper major version. This is the standard location for third-party or built from source frameworks, including the ActiveTcl releases. If frameworks of the proper major version are not found there, the dynamic linker looks for the same version in /System/Library/Frameworks, the location for Apple-supplied frameworks shipped with macOS. (Note, you should normally not modify or delete files in /System/Library.)

Source: Look for the How Python Chooses Which Tk Library To Use subheading on https://www.python.org/download/mac/tcltk/#activetcl-8-5-18-0
Because of this, I am 99.9% certain that now you have updated to Tcl/Tk 8.5.18.0, what you need to do is to re-install Python 2.7.13.
The reason I believe this will resolve your issue is that upon reading the info I quoted, it's clear the Tcl/Tk version used by Python is chosen during the installation process and cannot be changed without installing Python again.


Problems with extra Contact names in Emails

You can get more info from this Apple Support page.  If you follow these steps, you shouldn't have the problem of someone different showing-up in one of the fields.

Create a new email message to the group directly from Contacts.

Do one of the following:

Control-click a group in the sidebar, then choose Send Email. A new email opens in the Mail app, addressed to the group.
Drag a group from the sidebar to an address field in an email you’re writing.

In your email, either the group name or individual contact names are shown, depending on how Composing preferences are set in Mail.

If the group is shown in your email but you want to see the contacts instead, click the arrow next to the group name, then choose Expand Group.

Tip: When you’re addressing an email, you can see all the available addresses for a contact by clicking the arrow next to their name. To email the contact using more than one of their addresses, copy and paste their name, click the arrow, then choose another address.


Does iOS hide your Wifi SSID information from your apps?

As of iOS 5, Apple removed the public API for scanning networks.
As of iOS 7, Apple removed the ability of apps to access the MAC address of the user device.
As of iOS 11, apps can no longer access the MAC addresses of devices on the same Wi-Fi network.
As of iOS 13, apps require explicit access permission to Location, granted by the user, to obtain access to the name (SSID) and MAC address of the connected AP.
As of iOS 14, apps require explicit access permission to a new Local Network control, granted by the user, to find and communicate with devices on your local network, and:

Only apps that have already been granted user permission to access precise location data, that have been given permission to set up a virtual private network profile, or that have been given permission to configure a network on the system on the user’s behalf will be able to see the names of Wi-Fi networks the user is connected to.

P.S. The question as currently phrased reflects a misunderstanding of Apple's privacy policies and practices.


That file is explicitly protected by SIP.

ls -lO /System/Library/CoreServices/Finder.app/Contents/Info.plist

The "restricted" flag listed by the O (capital letter o) option to the ls command shows SIP status of the file.

To change that one file, you would need to disable System Integrity Protection. SIP is a security measure to prevent any User up to and including root (and thereby most malware) from modifying system files.

To disable:

Boot into Recovery Mode (Hold Command+R while turning on Mac).
Open Terminal (Click Utilities > Terminal).
Type: csrutil disable
Restart your computer, and SIP will be disabled.

You should now be able to modify Finder's info.plist file.


Planning to downgrade a brand new macmini to 10.6. How do I recover to mavericks if things go wrong?

No you won't be able to install Snow Leopard, it's not compatible.

But you'll be able to build app that a compatible with older OS X from XCode. But you won't be able to test it's behaviour on older platform from this mac. You'll need older macs.


iMac: Running Hot with iSight camera turned on?

It's normal that your laptop got heated that much. It's not because of the camera, actually. Even if you'll switch to external web-cam, you'll still have this effect.

The CPU is being heated because it has to process really heavy thread of video data, to encode and to process it on the flight.

I have this effect on my laptop as well, especially on long skype meetings or when using other video processing.


Configuring custom keys on bluetooth keyboard

Download and install KeyRemap4MacBook.
Open EventViewer:

open /Applications/KeyRemap4MacBook.app/Contents/Applications/EventViewer.app

Press the key that you wish to customise and note the KeyCode:::

Create a private.xml like this:

<?xml version="1.0"?>
<root>
  <item>
    <name>Modifier Remapping</name>
    <identifier>modremap</identifier>
    <autogen>__KeyToKey__ KeyCode::CONTROL_L, KeyCode::COMMAND_L</autogen>
  </item>
</root>

Replace KeyCode::CONTROL_L with the key that you wish to change and  KeyCode::COMMAND_L with the key that you wish to replace it with.


What you are experiencing is the haptic feedback from the Force Touch Trackpad available in your MacBook Pro. Starting 2015, the MacBook (Retina) and MacBook Pro Trackpads include a technology called Force Touch which can be configured to provide haptic feedback. Haptic feedback is experienced only when the MacBook Pro is powered on.

To learn more, refer to the Apple Support article, How to use the Force Touch trackpad.


You can use a Run AppleScript action to perform validation. Between actions 2 and 3 in your workflow, add a Run AppleScript action with the following:

on run {input, parameters}
    if input is {} then
        display notification "File already deleted"
        tell me to quit
    end if
    return input
end run

This checks if the input is empty (because the file can't be found), and if so, runs your desired code — you can customise display notification as you please, such as showing an alert. The use of tell me to quit if the input is empty will stop the workflow at this point.


How can I disable the "No Backups for x Days" from Time Machine?

Figured out the completely non-obvious solution. In the Time Machine preferences you have to right-click on the drive icon and then select "Stop Using {Drive Name} for Backup".

Extremely terrible UX, but at least it's doable!


Encrypted iphone backup file has 16gb, but cannot see any files on in

Does the backup have the Manifest.plist and Manifest.db files in it? Those contain the encryption-key data that's required to read an encrypted backup.

Sadly, since these files are written last during the backup, they're often missing in an incomplete encrypted backup, making whatever files are there useless due to the missing key data.

(Disclaimer: I'm a developer for one of these iPhone backup recovery programs, Decipher Backup Browser.)


Is there an Automator action to create Keynote presentation from text file?

Importing text into multiple Keynote slides directly

I finally found out how you can import text paragraphs directly into multiple Keynote slides. Here's a quick proof of concept that works with iWork '08 Keynote at least:

Open Keynote, select Black template or use your own subtitling template (the title component is what will hold the text on each slide)
Select View > Outline to show the presentation outline on the left
Click on the small icon of the first screen in the outline list
Paste in text -- each paragraph will go into the title of a new slide

Note that the selected slide's title will be replaced with the first pasted paragraph
All formatting (e.g. italics) seem to be lost at this stage, unfortunately

Select all slides in the outline list (cmd+A)
Select Format > Reapply master to slide to fix the font and text color of pasted text to the ones defined in the template

You can also use Edit > Paste and match style when pasting in text to avoid the last steps of fixing the font and color.

So Keynote does have some basic import text into multiple slides functionality.

To preserve the formatting (italics etc) you can still go the paste into Powerpoint, save and open PPT into Keynote route.

Original response: Subtitling with slideware works OK

I have done movie subtitling before with Powerpoint. Something similar probably will work with Keynote or you can use Powerpoint and import that into Keynote for better visual quality.

By experimenting I found out that importing RTF files into Powerpoint mapped each paragraph to one slide. All italics and formatting was preserved, too.

Thus I made a RTF files out of the subtitle text documents (using some editor that allowed finding and replacing paragraph marks etc) and imported the RTF into Powerpoint that had a template with just a few white lines of text at the bottom of the screen.

Before anyone asks: This can be really useful for movies that are only shown once or twice at a festival: Show the text somewhere using a video projector and someone times the subtitle slides by hand. Cheap and works well.

Other notes:

I found that adding the blank slide between each subtitle text slide really helped (i.e. two paragraph marks between subtitles):

To advance to the next text, quickly press -> -> producing a slight flicker that made people notice the text change.
Hide text for a while? -> ... wait and -> to show the next text item. Very flexible.

If you show the text over the movie image, you want to make a mask (think cardboard and duct tape ;-) for the video projector so that the edges of the video projector display area will be blurred -- otherwise they will be visible.
I would guess that some work by hand will be necessary to make the best results, as the source material is never uniform enough to automate completely.

Mac note: If you want to automate things that are not covered by Automator workflows, you can automate almost anything on a Mac with QuicKeys or other macro tools, even UNIX shell scripts or perl and the "osascript" command to integrate with AppleScript and GUI Applications...

Please let us know what solution you find that works with Keynote. Thanks.

Microsoft Office HOWTO (Added later)

I just tried this again with Mac Office 2004's Word and Powerpoint. Seemed to work OK still. Probably works with all Office versions.

What I did was:

Wrote some paragraphs of text in Word.
Saved the document as RTF (File > Save as > Format: RTF)
In Powerpoint, selected File > Open > the RTF text file. Sorry, earlier I remembered that I used some import command, it was open instead.
Powerpoint asked me if I wanted to open it with Powerpoint or Word, chose Powerpoint
The text was placed on multiple slides, one paragraph on each slide in as the slide title
Save in Powerpoint and open the PPT file in Keynote, should import OK
If you use suitable format for the slide(s) or suitable slide masters (white bold text on black and positioning) it should be good to go...

I think this process is pretty simple and could be automated with e.g. QuicKeys or AppleScript.


Does iOS 7 cellular tethering limit the number of WiFi clients?

The thing about these limits is that the carriers and iPhone models are all different. For instance, the iPhone 5 should theoretically be able to handle up to 14 connections, but both AT&T and Verizon limits it to 5. As far as I have understood, it is hardware-limited, and therefore it is not affected by iOS version.

I have started on a list which anyone may suggest an edit to if they come up with new information. Feel free to comment as well.

iPhone 3GS supports up to two peers combined through USB and Bluetooth-tethering. 1
iPhone 4: 1, 2

AT&T-version supports up to three Wi-Fi peers, three via Bluetooth, and one USB peer.
Verizon-version supports up to five Wi-Fi peers, three via Bluetooth, and one USB peer.

iPhone 4S supports up to five Wi-Fi peers. Unconfirmed
iPhone 5 supports up to five Wi-Fi peers. (AT&T and Verizon confirmed 3)
iPad 3rd gen is currently unknown.
iPad mini is currently unknown.
iPad 4th gen is currently unknown.

Please note that Apple have not disclosed any of these limitations, they simply state:

  The maximum number of supported connections may vary depending on your carrier or iPhone model.

Apple have also stated in an article about all iPhone-versions and the third-gen iPad that:

  Depending on your wireless carrier and, the maximum number of Wi-Fi connections may be limited to three at one time.


What is a trustworthy 2x4GB RAM for MacBook Pro 15" 2.4Mhz Core i5?

I’ve always brought memory from OWC with success.


If you want to know your data is secure and don’t trust the passcode to protect it when you sell it, connect to a computer and restore it.

Otherwise, power it off and then use any computer to remove the lock.

https://support.apple.com/en-us/HT201441


What can cause all my accounts (facebook, SO, gmail, ...) to be disconnected all at once?

A few possibilities I can think of:

Cleared Cookies

Cookies are the basis of how a site remembers your session details. If you clear the cookies the session details are forgotten and you won't be logged in automatically when you next visit the sites.
Using a different browswer

Probably not the problem, but if you switch from chrome to safari or similar the session information isn't transferred.
The cookies expired at the same time

Sessions usually have an expiration time. It is possible they have all expired since you last visited those sites.
Someone signed you out

Hopefully this isn't the case. Some services allow you to sign out other logged-in devices. If someone did have access to your account it may be possible for them to sign you out of the other devices.


In Grapher, can functions be used to define parametric curves?

Just define function a in terms of t rather than in terms of x. For example, the following

produces 3 turns of a helix


Lost mail from Outbox in Mail 7.1 (1827)

I, too, lost my Outbox, but for a different reason.

I composed 15 messages on an airplane and "sent" them, which put them in the 'Outbox'.  When I arrived home, I:

Cmd-A (to select all 15 messages from Outbox)
tried to send them (via Cmd-Shift-D)
answered 'Yes' to "Send all these messages?"
noticed that they were gone.  G-O-N-E.  Nowhere to be found.

I eventually found them in:
  ~/Library/Mail/V2/Mailboxes/Outbox.mbox/some-UUID-here/Data

By selecting a time that was an hour (or so) before their disappearance, I was able to restore them from my online backup service to a different location (e.g. ~/Desktop/mail_app_message_restore).  I'm betting that TimeMachine could do something similar.

The messages were distributed (hashed, actually) among many directories, but when I issued this command from the command line, I found all 15 missing messages:

$ cd ~/Desktop/mail_app_message_restore    # or where you restored them
$ find Outbox.mbox -type f
Outbox.mbox/14D01FAB-9E5D-420D-8507-240D11CEC6D4/Data/5/4/1/Messages/145098.emlx
[ 14 other files ... ]
$

Notice that the hash directories (e.g. Data/5/4/1) are just the reverse of the top few digits of the message filename.  All of mine were in this 5/4/1 directory, but your numbers will be different.  It's a big directory structure, but there were only a few messages sprinkled through it.

Best of luck!!!
Michael

P.S.  Notice the side benefits of automagic backups?  What a great feature!  I'm so glad that it got a snapshot as soon as I got online, but that there was time before I tried to send them.  I think TimeMachine would have been even better about taking offline backups before I reconnected to the network.


iphoto: deleting photos from iPhone doesn't work

On your phone, open the Photos app and select Albums from the bottom.  One of the albums is Recently Deleted.  Once you delete the photos from there, and sync your phone, they should all be off the phone.  The Recently Deleted album appears to work sort of like a trash can for deleted photos and videos, but with a 30 day expiration.  If a photo or video isn't recovered from Recently Deleted within 30 days, then it is removed from the phone.


Taking forever to move files to the trash

So, I took it to the Apple store, they weren't really any help. I held down option and reinstalled the OS in-place and that worked! Finally I can use Finder again .. whew! Let me know if this helped you.


Is Apple ID the publisher name for apps or books created with iBooks Author?

No - when you actually sign up with iTunes connect to sell (or distribute for free) a podcast, music track, iBook, iOS app or Mac app - you enter into a much more formal relationship with Apple.

The forms are fairly self-explanatory and allow for you to specify the name of the business in a separate form that the name of the person filling out the form on behalf of the business. Of course, you can sell things in your own name and enter the same information in multiple places (which isn't what you are asking, but it's possible in general).

As with any contract, lawyers and accountants are advisable if you wish to know the costs and advantages of doing something personally versus as a business or corporation. That's far above our scope here, but in your case, iBooks Author will guide you through this sign up process. I have had 4 acquaintances sign up and all of them completed the initial sign up process in less than an hour. One decided to not use their personal account and is in the process of forming an LLC to sell books, but the others are intending to sell under their real names.

At worst, you will have signed up and wasted time and can just close your account and open another if you determine you didn't do it correctly or can't change some critical piece of information. I've seen plenty of app developers change their selling names and presume it was without signing up again, but once you sign up, you will have Apple to field questions on how to use their service and modify certain information you submitted if it needs to change.


NTP not updating back to system time in macOS

"no server suitable for synchronization found" indicates that the time server time.asia.apple.com can't be found or in-bound ntp traffic is not allowed at some perimeter.

Your host either has no proper Internet connection or DNS resolution is wonky.

However, you can try to check your Internet connection (e.g. ping 8.8.8.8), repair the Internet if necessary (e.g. repair Internet local|global all) and repeat your ntpdate command or use one of the various IP addresses of time.asia.apple.com (17.253.52.125, 17.253.54.253, 17.253.54.125) directly:

sudo ntpdate 17.253.54.125

If the last command works DNS resolution is broken.

repair Internet local|global all shouldn't be taken literally.


Touch ID available only after sleep but not when starting the laptop

Yes this is normal behaviour.
Like on an iOS device, Touch ID is unavailable immediately after a restart.

  Note that you must type your password to log in after you start up, restart, or log out

  In some situations, you need to enter your password instead of using Touch ID:

  If you've just restarted your Mac
  If you've logged out of your user account
  If your fingerprint isn't recognized five times in a row
  If you haven't unlocked your Mac in more than 48 hours
  If you've just enrolled or deleted fingerprints

Use Touch ID on MacBook Pro


On older os, the periodic script was the culprit. You could see how it prunes the wtmp file by inspecting the source and by reading the manual page.

The actual archive of login data is stored in /var/log/monthly.out.  If that level of detail isn't sufficient, you could customize the daily or even weekly or the monthly script and extract the data you need in the form you need before the file gets truncated.

Some process is still generating the monthly log in data for each user, but it's summary data and not log in / log out data.

Why not enable parental controls for each user to be tracked and simply log the app usage. You'll know what apps are run when by what user.

If you really need console log in and don't have multiple user switching, that info is available, but I haven't done the research on how to retrieve it yet.


My mac keeps changing screenshot format to .tiff

Try using Terminal, type the following command into Terminal and press Enter. This changes the file format to TIFF:

defaults write com.apple.screencapture type tiff;killall SystemUIServer


Unfortunately I think you may be out of luck on this one. I tried hiding the toolbar, path bar, status bar, holding down modifier keys — nothing seems to change this behavior. You could check out some third-party utilities to change the zoom button's behavior, but I don't know of anything that will give you the exact behavior you want.


Terminal Command to Check Available USB Ports

By running

/usr/sbin/system_profiler SPUSBDataType

I get...

USB:

    USB Bus:

      Host Controller Driver: AppleUSBUHCIPCI
      PCI Device ID: 0x2688
      PCI Revision ID: 0x0009
      PCI Vendor ID: 0x8086

        Generic USB Hub:

          Product ID: 0x0008
          Vendor ID: 0x04fe  (PFU Limited)
          Version: 1.02
          Speed: Up to 12 Mb/sec
          Manufacturer: Chicony
          Location ID: 0x1d100000 / 1
          Current Available (mA): 1000
          Current Required (mA): 64
          Extra Operating Current (mA): 0

            PFU-65 USB Keyboard:

              Product ID: 0x0006
              Vendor ID: 0x04fe  (PFU Limited)
              Version: 1.02
              Speed: Up to 12 Mb/sec
              Manufacturer: Chicony
              Location ID: 0x1d110000 / 2
              Current Available (mA): 1000
              Current Required (mA): 36
              Extra Operating Current (mA): 0

    USB Bus:

      Host Controller Driver: AppleUSBUHCIPCI
      PCI Device ID: 0x268b
      PCI Revision ID: 0x0009
      PCI Vendor ID: 0x8086

    USB Bus:

      Host Controller Driver: AppleUSBUHCIPCI
      PCI Device ID: 0x2689
      PCI Revision ID: 0x0009
      PCI Vendor ID: 0x8086

        USB2.0-Serial:

          Product ID: 0x7523
          Vendor ID: 0x1a86
          Version: 2.54
          Speed: Up to 12 Mb/sec
          Location ID: 0x3d100000 / 1
          Current Available (mA): 1000
          Current Required (mA): 96
          Extra Operating Current (mA): 0

    USB Bus:

      Host Controller Driver: AppleUSBUHCIPCI
      PCI Device ID: 0x268a
      PCI Revision ID: 0x0009
      PCI Vendor ID: 0x8086

        Bluetooth HCI:

          Product ID: 0x8206
          Vendor ID: 0x05ac  (Apple Inc.)
          Version: 19.65
          Speed: Up to 12 Mb/sec
          Location ID: 0x5d200000 / 2
          Current Available (mA): 1000
          Current Required (mA): 0
          Extra Operating Current (mA): 0
          Built-In: Yes

    USB 2.0 Bus:

      Host Controller Driver: AppleUSBEHCIPCI
      PCI Device ID: 0x268c
      PCI Revision ID: 0x0009
      PCI Vendor ID: 0x8086

sed n' grep it to your heart's desire.


AppleScript Get HTML of Chrome Active Tab

Here is one way to grab the HTML of the active tab of the front window of Google Chrome using AppleScript:

tell application "Google Chrome" to set sourceHTML to ¬
    execute front window's active tab javascript "document.documentElement.outerHTML"

Note: The example AppleScript code is just that and does not contain any error handling as may be appropriate. The onus is upon the user to add any error handling as may be appropriate, needed or wanted. Have a look at the try statement and error statement in the AppleScript Language Guide. See also, Working with Errors.


Recently scrolling up and down gesture triggers page change gesture

If this is happening in Preview: when your pointer is on the titlebar/toolbar, using the 2-finger scroll will trigger the page up page down gesture. Make sure your pointer is on the document itself and not the titlebar.


Iphone 5s says storage is full when I have few images/videos or apps on it

Have you checked your "Recently deleted" album? Maybe it takes up your storage. Since iOS 8, the pics and videos you deleted are not actually gone. If you want to make them disappeared you need to go to the "Recently deleted" album and delete them again. Otherwise you need to wait for 30 days they will be deleted automatically. You should check it.

There are just too many things that require physical storage. That's why Apple chose to lump a lot of things into the "Other" category. it's seems like your phone is filled with cached files and data. That can include:

Documents & Data
Safari browsing data
Mail data
iTunes data, including files that have been streamed (which can be
BIG)...

Since iTunes categorizes cached files as Other, reported usage for Music or Videos might differ.

Deleting data, and then restoring is a good way, but you should back up first. or it will cause data lost.

In addition, you can try to clean up cache files frequently. This thread is for your reference.


Keyboard Shortcuts For Navigating Spotlight?

⌘R or ⌘↩ reveals an item in Finder
⌘I shows an information window
⌘Y shows a Quick Look window
⌘D selects a dictionary result
⌘B selects a web search result
⌘K selects a Wikipedia result
⌘T selects the top result
⌘, opens Spotlight preferences
Holding command shows a preview popover
Holding option and command shows the full path of a file in a preview popover
⌘↓ moves to the next section and ⌘↑ moves to the previous section
⌃↓, end, or page down selects the last item


Default signature per email address not email account

Based on several hours of research and digging around in .plist and other files, I feel confident that there is NOT a way to do what you (and I) are looking for in the Apple Mail macOS app. Sorry.

Here's another answer that helps confirm this.

This would be a handy feature that couldn't possibly be very hard for Apple to implement based on how they have already designed a very flexible UI for assigning signatures to accounts, and the structure of the underlying .plist files seems conducive to the concept, too, if the aliases just had account-like IDs. Too bad.


I solved the problem by updating Xcode to the latest version.


iPod nano 7th generation app development

The iPod nano uses a custom OS for which Apple has not made any documentation available, nor is there any way to load apps onto a nano. Only apps developed by Apple are available on the nano.


FaceTime with 2 Phones (work and private) & 1 Apple ID

Your Apple ID logins on an iOS device are completely independent for these services:

iTunes & App Store
iCloud
iMessage
FaceTime

You could sign into 4 different Apple IDs for these services on one device and that would work fine.

When you say you use the same Apple ID to not have to pay multiple times for iTunes content, that would suggest you would want to use the same Apple ID for iTunes & App Store, then use a different Apple ID between devices for the other three services.

You can find login/logout options for each of these services in Settings. When setting up a new device, you are given the option to use separate Apple IDs for iTunes & App Store by a small link on the iCloud login prompt.


Unable to start computer after using sudo crontab -e

What command did you put in the crontab file itself, shutdown -h now ?

Boot into single user mode (Command-S) to edit out the offending crontab entry and try the pmset method.

The command sudo pmset repeat shutdown mtwrfsu 12:00:00 (noon) or ...00:00:00 (midnight) will accomplish what you are looking for without using crontab.

To cancel this, execute the command sudo pmset repeat cancel


Run Software Update with the TB display connected, it may require a firmware update.  (edit: changed from comment to answer)


Can I create an Automator application to start Tomcat when I need?

When you run a shell command or script in Automator it is passed your system's default PATH, not the one in your bash profile. This is why bash cannot find the catalina command.

You should always specify the full path to the command in shell scripts. If it was installed via HomeBrew this is probably /usr/local/bin/catalina but you can confirm this by running which catalina in a terminal session.


Is too much charge time bad for your iPhone?

Nah. Electricity is PULLED to devices that use it, not PUSHED from the plug. The phone is smart enough to stop pulling when its battery is full.

EDIT: However, an adapter can provide incorrect voltage for a device. Don't take what I said there and wire your iphone power adapter to a 220 source, for instance. You can OVERDRIVE a device with too many volts, but you can't send it "too much" of the right voltage, because the amperage is a function of the device's draw. I know I just said that assuming that you understand the difference between volts and amps, but there it is; they're different.


The following is an example Automator workflow that achieves the stated goal of your question per its defined hierarchal folder structure.

NOTE: While the example bash code used in the Run Shell Script action completed successfully nonetheless, the onus is upon the user to ensure that proper backups exist before using it. I'd even suggest making a small sample copy of the target hierarchal folder structure to test with before running the workflow on the original target.

For the purpose of testing this workflow, the following hierarchal folder structure with its files was created:

$ tree ./Applications
./Applications
├── MCP19-00633 - Sport and Play at Br
│   └── Attachments
│       ├── barfoo.png
│       ├── filename.jpg
│       ├── filename.png
│       └── foobar.jpg
├── MCP19-00753 - Active Nabiac
│   └── Attachments
│       ├── barfoo.png
│       ├── filename.jpg
│       ├── filename.png
│       └── foobar.jpg
└── MCP19-00824 - A Family Friendly Ve
    └── Attachments
        ├── barfoo.jpg
        ├── barfoo.png
        ├── filename.jpg
        ├── filename.png
        ├── foobar.jpg
        ├── namefile.jpg
        └── namefile.png

6 directories, 15 files
$

The results of the Automator workflow run on the target above:

$ tree ./Applications
./Applications
├── MCP19-00633 - Sport and Play at Br
│   ├── MCP19-00633 - Sport and Play at Br (1).jpg
│   ├── MCP19-00633 - Sport and Play at Br (1).png
│   ├── MCP19-00633 - Sport and Play at Br.jpg
│   └── MCP19-00633 - Sport and Play at Br.png
├── MCP19-00753 - Active Nabiac
│   ├── MCP19-00753 - Active Nabiac (1).jpg
│   ├── MCP19-00753 - Active Nabiac (1).png
│   ├── MCP19-00753 - Active Nabiac.jpg
│   └── MCP19-00753 - Active Nabiac.png
└── MCP19-00824 - A Family Friendly Ve
    ├── MCP19-00824 - A Family Friendly Ve (1).jpg
    ├── MCP19-00824 - A Family Friendly Ve (1).png
    ├── MCP19-00824 - A Family Friendly Ve (2).jpg
    ├── MCP19-00824 - A Family Friendly Ve (2).png
    ├── MCP19-00824 - A Family Friendly Ve (3).jpg
    ├── MCP19-00824 - A Family Friendly Ve.jpg
    └── MCP19-00824 - A Family Friendly Ve.png

3 directories, 15 files
$

The image below of the example Automator workflow contains the actions used and their particular settings used from their defaults. Be sure to match the settings shown in the image. In particular, the Get Folder Contents action has the [√] Repeat for each subfolder found checked, and the Run Shell Script action has Pass input: set to as arguments.

Example bash code:

for f in "$@"; do

    [[ -f $f ]] || continue

        ext="${f##*.}"
        move_to_dir="$(dirname "$(dirname "$f")")"
        filename="$(basename "$move_to_dir")"

        cd "$move_to_dir" || exit

        if [[ ! -e ${filename}.${ext} ]]; then
            mv "$f" "${filename}.${ext}"
        else
            n=1
            for i in "${filename}" *".${ext}"; do
                if [[ "${filename} (${n}).${ext}" == "$i" ]]; then
                    n=$(( n + 1 ))
                fi
            done
            mv "$f" "${filename} (${n}).${ext}"
        fi
done

for d in "$@"; do
    [[ -d $d ]] || continue
    [[ $(basename "$d") == Attachments ]] || continue
    rmdir "$d"
done

Note: The example bash code is just that and only contains minimal error handling, and was checked using ShellCheck. However, it may not contain all appropriate needed/wanted error handling. The onus is upon the user to add any error handling as may be appropriate, needed or wanted.


A workaround could be to time machine backup the machine you want to migrate, and simply restore it to the new machine, then run OS updates.


From the Carrier.plist file - iOS does support NITZ. Here' the refference on theiphonewiki.com.

Network time sync
<key>SupportsNITZ</key>
<true/>

Enables time updates through the NITZ protocol.


Use AppleScript to append text to document without new line

set f to POSIX file "/path/to/mydocument.txt"
write "text to append" to f starting at eof

The write and get eof functions are both part of AppleScript's standard additions.  If the starting at parameter is omitted, it writes the text starting at the last write position (which in this case would be the beginning of the file) and overwrites characters as it goes.
eof denotes the end of the file.
EDIT (2020-10-26): Thanks to a comment, I should clarify that the file needs to exists prior to using the write command.  The POSIX file specifier is also superfluous.  A more complete version of the above example would look like this:
set f to "/path/to/mydocument.txt"
close access (open for access f)
write "text to append" to f as "utf8" starting at eof

The second line will create the file if it doesn't exist, and have no effect it already exists.  It's now recommended to declare the data type when writing out, for which "utf8" is a good choice if writing plain text.


Using webcam connected to MacBook inside a Docker container

According to https://docs.docker.com/docker-for-mac/faqs/#what-is-the-benefit-of-hyperkit this is not possible.

Similar question is https://stackoverflow.com/questions/41023827/accessing-usb-webcam-hosted-on-os-x-from-a-docker-container

And possible answer is stream the camera into the container using ffmpeg according to a comment in https://stackoverflow.com/questions/37960828/webcam-streaming-from-mac-using-ffmpeg


Bash script not working on Automator but working from terminal

In addition to specifying the full path to ffmpeg two additional problems needed to be solved:

The path to the output files are also needed.
The pass input option of the shell script action has to be set as arguments.

The final script is then this:

#!/bin/bash

for f in "$@"; do

  DIRNAME="$(dirname "$f")"

  filename=$(basename "$f")
  name="${filename%.*}"
  extension="${filename##*.}"

  /usr/local/bin/ffmpeg -i "$f" -filter_complex 'scale=1920:1080, pad=2134:1200:107:60' "$DIRNAME"/OUTPUT_"$name"."$extension"
  /usr/local/bin/ffmpeg -i "$DIRNAME"/OUTPUT_"$name"."$extension" -vf 'scale=1920:1080' "$DIRNAME"/FINAL_"$name"."$extension"

done

Notice how the path was added to ffmpeg and also that $DIRNAME was added to the output files, that was not mentioned by the other question.


Sharing iTunes account with separate game center accounts

You will need to check the settings app and sign out of the App Store for the account you don't want to purchase things. There are about 5 places you can enter an Apple ID in the settings so that you can mix one app for music and apps, another for home sharing, another for iMessage, another for iCloud and another for Game Center.


How to recover missing notes since Mavericks update?

The notes should be stored in your backup, at least. Check here

Solution is to navigate to ~/Library/Containers/com.apple.Notes/Data/Library/Notes and restore:

NotesV1.storedata
NotesV1.storedata-shm
NotesV1.storedata-wal

Where ~ is your home directory e.g. /Users/your_username

Refer macrumors
or apple discussions
for more info.


A few suggestions:

BigBlueButton

  BigBlueButton is an open source web conferencing system for on-line learning. BigBlueButton enables you to share documents (PDF and any office document), webcams, chat, audio and your desktop. It can also record sessions for later playback.

BigBlueButton is free and open source.

OpenMeetings

  Openmeetings provides video conferencing, instant messaging, white board, collaborative document editing and other groupware tools using API functions of the Red5 Streaming Server for Remoting and Streaming.

Openmeetings is free and open source.

WebHuddle

  Designed with the end-user in mind—as well as the realities of corporate information technology resources—WebHuddle is easy to use and flexible in delivery and installation. To create a meeting today, simply click the log in button, create a profile, and follow the instructions for uploading content and conducting your WebHuddle virtual meeting. During the beta period, there is no charge to use the WebHuddle service.

WebHuddle is free during the beta period.

RHUB Webinar Appliance

  R-HUB gives you 6-in-1 web/audio/video conferencing and remote support server that YOU own and YOU control. Forever.

RHUB Webinar Appliance is a commercial product.


Mac dualboot with Kali Linux: jack with red light

This is a long standing linux driver issue.  I installed linux on my first macbook back in 2008.  The optical audio light was never on before and it never went off after I ran linux.  Even after wipe and reload of OS on a new hard drive.  You can complain to the ALSA developers but you probably won't get anywhere.  I never had audio problems because of it, everything worked fine except that light was on.  You easiest solution is to ignore it or put a plastic plug in it.


The startup disk cannot be partitioned or restored to a single partition. Windows 10 and Mojave

This is a very common question. Again, here is the commands you need to enter in a Terminal application window.

sudo diskutil eraseVolume free none disk0s4
sudo diskutil eraseVolume free none disk0s3
sudo diskutil apfs resizeContainer disk0s2 0

These commands will have removed the Windows partitions and expanded the macOS partition to recover the free space. However, there will still be Windows boot files stored in the hidden EFI partition (disk0s1). These files can be removed by entering the commands given below.

  Note: If you have an legacy BIOS booting Windows, then these Windows boot files would normally not exist. In this case, the rm commands would produce an error message.

sudo diskutil mount disk0s1
cd /Volumes/EFI/EFI
rm -r Boot
rm -r Microsoft
cd ~
diskutil unmount disk0s1


You can add Audio Unit effects, which can be used by any AU-capable audio app. Example with Apple originals & third party additions…

Generally, you cannot plug these directly into the Mac's audio output, you need an app capable of accessing them. Apps such as SoundSource can do this for any app or all, at simple general consumer level, intercepting between app or system output & the intended hardware out.
There is, of course, already a large market for these effects as stand-alone processors, in the pro audio world. From free to expensive.
If you search "VST plugins" you'll find many of these that come in multi-format, VST, AU, etc. VST is a proprietary format from Steinberg, but the plugin API is available for developers. Once the effect is coded (waaay beyond my abilities) then they are often cross-ported to other formats.


Numbers: Find a cell in a table (lookup) using multiple criteria

I've gotten it working now, by extending techniques discussed elsewhere (which uses an extra column to contain an aggregate of the match criteria).

To handle the date ranges, I created an extra lookup table that assigns an arbitrary single value to each date range:

In the per-airline earnings lookup table, I added an extra column to hold the Date-Code for the date range, using VLOOKUP against the date-from column, with exact-match, since it finds the largest value that's smaller than the criterion:

And another extra column to hold a calculated lookup-string that's a concatenation of the airline, the booking codes, and the date range code:

Then, in the main table (that holds the flights taken), I added an extra column to contain the lookup string, which is a concatenation of the airline, the date range code only if applicable, and the booking code with asterisks on either side as wild cards, and another extra column to hold the calculated row of the per-airline lookup table:

(Of course, I could have avoided adding two extra columns in both tables by making the formulas more complex, but I opted for better readability.)

Then, the actual earnings columns in the main table uses the LOOKUP function with the calculated per-airline lookup table row and the applicable column, e.g.,:

= IF ( $PNR '1' = "", "",  ROUNDUP ( IF ( INDEX ( 'Per-Airline',  $Lookup Row '1', COLUMN ( 'RDM per $ (EXP)' ) ) > 0, INDEX ( 'Per-Airline',  $Lookup Row '1', COLUMN ( 'RDM per $ (EXP)' ) ) *


When upgrading from Sierra to High Sierra, the firmware on older Mac logic boards is also updated. This allows a Mac to boot the newer macOS versions (starting with High Sierra) from APFS container partitions. Sierra can not be installed to boot from a APFS container, but Sierra can recognize APFS and therefore allows the selection an APFS volume with Mojave as the startup disk. However, the firmware may not agree with the selection. Possible reasons for failure are given below.

The upgrade from Sierra to Mojave do not also update the firmware.
The firmware update did not occur because you used an external drive to upgrade macOS.

You could backup your important data to an external drive, then do a clean install of High Sierra to the internal drive. If High Sierra is not available, then select a newer version of macOS. Afterwards, you can do a clean install of Mojave to the external drive.

Update:

Back when High Sierra was first released, I remember many questions similar to your question were posted here a Ask Different. I believe the consensus was that the firmware can  only be upgraded from the internal drive. The update is written to the EFI partition on the drive before the firmware is instructed to update itself. The firmware is not capable of reading the update file from a USB drive. The firmware is capable of reading the update file from the first internal drive (disk0).


What could happen if I upgrade an iPod to iOS 5 and what is the likelihood it will happen?

Don’t worry about it, nothing will happen.

In the off chance that something does go wrong, you’ll always be able to reset the iPod to factory settings and start over with a fresh iOS 5 install.

It’s virtually impossible to break an iPod just by upgrading it the recommended way.


If you feel that your Launchpad is filled with apps, you can make folders in Launchpad by moving a app over another app.

How to do this shown at wikihow, this is done in Mac OS X Lion, but will work in Yosemite.

What the content of link describes is how to make folders in Launchpad, this is easily done by moving an app (inside Launchpad) over another app. This will make a folder with both apps in it.


Find all folders with rwx permissions for a certain user?

find "$DIR" -user "$WHO" -type d -perm +777 -print

where "$DIR" is the parent directory that you want to begin searching in, and "$WHO" is the username or user-id that you want to look for.

Use "$LOGNAME", "$USER", or "$UID" in place of "$WHO" to search for the current user.


How do I remove the "from iPhone" dock icon popping up, MacOS High Sierra

Turn off Handoff.  That's the phone handing off the mail to the Mac.


Wifi Won't Connect; Connection Timeout (Mac)

Been there, done that. I found the source to my problem, but not something that might be a general answer for all with this problem.

After exhausting the other answers here, I just started trying anything. What I discovered was that I have an external HD connected by firewire, and had it running when I rebooted after installing software. With the drive running, no connection. I shut off the drive and it immediately connected. Go figure! It runs fine of I start the drive after startup, but not during. (Mac Mini C2D 2.54, OS X 10.8.3)

Perhaps the wires acted as antenna or otherwise changed the power available to the Wi-Fi chipset, but I'm not seeing these timeouts after changing my connected devices and cables.


Mac not accepting Password even with Password Resets

I would make sure all the data is backed up and then make a new account.
Test that new account - one possibility that comes to mind is that there is a keyboard mismatch when entering the password at login.
If all is then well, install the data from the backup and proceed as normal.


IMAP files trashed and greyed out - can't recover in Mail.app

i took away the IMAP prefix in settings : imap.secureserver.net
left it blank and now it works again.


extract Apple ID's password from mavericks keychain?

Open up Keychain Access, located in /Applications/Utilities/.  A list of all your stored credentials are listed in categories on the left.  I typically search for a credential by either the application it is associated with, or by the username.

Double click on the credential you desire to obtain the password for.  A window pops up and there is a check box towards the bottom to Show the Password.  Check the box, you'll be required to type in admin credentials, and it'll show you the password it has saved.

These instructions can also be found here


iPhone 6 -random issue- callers can't hear me

This happened to me too on iPhone 6 plus for a while - I don't necessarily have a solution, but I do have a process that's slightly less annoying than a factory reset.

When you reboot - I assume you are just switching off & back on? Apologies if this is already how you're rebooting, but just in case it's not:

Instead, try quitting all your apps, then press the home & power buttons at the same time & hold down for about 10 seconds - it will reboot, but it's a hard reboot, and I found that this got rid of the problem for longer than a regular off & on reset.

I've also found that it comes & goes with software updates, and haven't had it for a while. Fingers crossed that today's IOS 10 doesn't have the issue!


Two different versions of Finder in OS X 10.8 after migrating from OS 10.3 Panther

The only way to fix this is to do a fresh erase and install to Mountain Lion and when you restore from the previous backup, do NOT transfer the settings.  FYI, if you made a "Time Machine" backup you had to be much newer than 10.3.

If this is the case then the backup should be fully compatible.  Just do not put a check mark in the settings box.  I often recommend you also leave out "Other files & folders", but that is your call.


Cannot create symbolic link inside different folder

You must use the full path for both the source and target.

ln -sF /Users/allan/Desktop/Explore /Users/allan/Desktop/folder/testExplore

Hint:

An easy way to expand out your path (if you are in it already) is to expand the variable PWD (use $PWD to reference it)

ln -sF $PWD/Explore $PWD/folder/testExplore

And if you hit the Tab key after referencing the PWD variable:

ln -sF $PWD Tab  gives you:

ln -SF /Users/allan/Desktop/


You should unmount the disk before you try to change the partitions.

That should work.


How to check the battery level of devices connected via Bluetooth in OS X

I hate to have to answer in the negative but the answer is: you can't.

I've done a lot of searching the web, testing utilities, playing with ioreg on the commandline, scrutinizing System Profile reports, and it appears to me that OS X has no way of displaying battery level of connected devices that don't automatically display battery status in their Bluetooth menu Device submenu, even if iOS devices display detailed level info for the same Bluetooth device when connected to them. OS X just appears to completely ignore this capability in all but a few default (Apple-manufactured, it appears to me) devices.


moving iMovie project to new Mac results in some sounds from same source missing

Updating to iMovie version 10.1.11 (on the second machine, to which the project was transferred) fixed the issue for me.


Delete unnecessary files in /System/Library for Mac OS X

Do not touch the System directory! Those are files that the system may or may not need in the future (or currently). OS X uses Python, so just because you may not need the module, that doesn't mean that OS X doesn't. Really, this is why they created SIP in the first place.


How may I see calendar all-day reminders on my iPhone?

What view are you using?
If you turn the phone sideways it will flip from the standard 'month with dots & details of today' view into week view, where all-day events are at the top of each day.
It doesn't show them as a list; you can only do that with the Today view, which lists everything.


How can I use cloud-based text-to-speech services as native voices in Mac OS?

https://cloud.google.com/text-to-speech/docs/quickstart-protocol
This article lists all the steps required.

Enabling the service's trial in Google Account.
Installing SDK

^ This is one time setup. The following is to be repeated.

Make the curl command that a shell can execute. This has three parts, two of which are fixed: voice type and audio config. The third one, input needs to be changed. *
Get the JSON response and save it to text file.
Decode the text file, to mp3 using

base64 synthesize-output-base64.txt --decode > synthesized-audio.mp3

Play it.
Bind all of this in a shortcut for the preferred app as a service.

Most of your shell task can be done via "run shell script" in automator.

* For changing the text part, you can find multiple questions, or even ask one to know how to get selected text in an automator variable. Another option would be to copy paste text in an Automator's app's popup.

Next, put that text variable in the shell script.

Then make a dedicated folder for all the text and audio files that will be made in an action. Save the received JSON response there. The command to decode it will be fixed, since the file location and name is the same.

All of this can be put in an Automator app which displays a popup that has a text field and a Submit/ Play button.


MacBook Pro experiencing ping spikes to local router

I'm posting this reply on a few threads to make it easier to find.  I chased the same issue and finally found the cause.

Locationd.  Open the console app and watch while you do a continuous ping.  Every time you see latency spike, you'll see entries for locationd.  Go to System Preferences -> Security & Privacy -> Location Services.  From there, you can disable and you'll likely see the problem disappear.  However, you lose the "find my mac" ability.

What made mine acceptable was going to system services (scroll down)->details->check show icon in menu bar when [...].  Then, take look at what is requesting location.  Disallowing Evernote helped a lot.  I pruned down to the minimum and the frequency of the spikes has gone down to an acceptable level for me.

edit: filed a bug with Apple because even when location services are disabled, locationd scans (verified in console), impacting latency. Apple marked it as a dupe, so hopefully fixed soon.


Can you trick Apple Music/iCloud Music Library by labeling music files as audiobooks?

Finally got around to trying it, and it works. Once I'd marked enough files as "Audiobook" to get the remaining music files under 25k, Apple synced the remaining files with no problem.

This seems like a much easier solution than the "two libraries" solution that other people are recommending...although it would make actual audiobooks more of a pain to deal with for people who use audiobooks.


How to send unknown callers directly to voicemail on iPhone (while allowing text and know callers through)

Thus far, an app called WideProtect seems to do what I want.  It allows you to block numbers per area code while still white-listing numbers in your contacts.  It's a bit annoying as

You can't just block out +1 (xxx)-xxx-xxxx, but most spam calls come from just a few area codes for me

You have to go into the app and have it re-whitelist every time you add or remove contacts.  A bit annoying, but I've received 20 robo-calls in a day, so probably worth the hassle.

Blocking just my area code dropped my daily robo-call count from 20 or more to 2-3.  Slowly adding area codes as I get robo-calls from them.  Was able to put my ringer back on.
PS: WideProtect can only block 40 million phone numbers.  This sounds like a lot, but when I'm trying to block every number except ones in my contact list it runs out of space fast.  Still happy with the product, but won't block everything out of the box.
NOTE: Apple has added "Silence Unkown Calls" which makes this moot


AppleScript to find and delete a folder inside an FCPX library

Add the following to your crontab (env EDITOR=nano crontab -e):

@daily /usr/bin/find /path/to/fcplibraries -name "Render Files" -type d -delete

Keep backups and make sure you've got the right path.


First I would note the day of that hint - April 2001 - so a very old version of OS X

Next look at man shutdown

-k      Kick everybody off.  The -k option does not actually halt the
        system, but leaves the system multi-user with logins disabled
        (for all but super-user).

This means that all users are kicked off but also that noone can login, which is as you saw. This means the only user still logged in is root. However in recent OS X root is not enabled.


How to control volume of music based on "Now Playing"?

I figured a simple solution. Saved this script & put it in user scripts folder.

tell application "System Events"
    set volume 0
    delay 30
    set volume 2
end tell


Can I redeem all my iTunes gift cards at once?

Yes - stacking gift cards is not an issue. You will just carry a larger balance and less risk of losing the cash value if you lose the redemption codes or physical cards.

You lose the flexibility to redeem them on another account. So if you’re not the family organizer, don’t redeem a balance or they will need to cut you from the family temporarily when you want to spend your credits.

Gifts do not redeem twice and you cannot transfer a balance to another Apple ID or get a cash refund.


macOS Server is keeping LDAP with no published plans for it to be removed. See:

Prepare for changes to macOS Server - Apple Support


Gatekeeper dialog on El Capitan is missing... localized strings?

I have no definite solution since I haven't seen this issue before, but a few ideas you could try:

Running "First Aid" on your drive in Disk Utility

If you have Time Machine enabled, revert to the latest viable backup

Find out what exactly you replaced and undo (parts of) that manually


changes to .bash_profile causing Terminal shell to not load but keep looping with PATH settings

You should remove the line:

source .bash_profile

from your .bash_profile. This line is causing the infinite loop by continuously loading the file. As you have discovered, repairing permissions will not solve this issue.

Since you can't access terminal, you can edit your .bash _profile in TextEdit. Here's how to do so:

Open TextEdit Application and select Open (under File).
Navigate to your home folder.
.bash_profile will not be shown by default, since it begins with a period and is
hidden. Type Cmd-Shift-. to view all hidden files.
Then, open up your .bash_profile and remove the source .bash_profile line.


need AppleScript to search a 2 column table, w/o Excel, Numbers, etc

You can use write a script to read your two column CSV file, and then convert it into a list where you'd have one list item for every row in your CSV file, and every list item would itself be a list (column A value, column B value). So, if your CSV file looked like this:

red,apple
yellow,banana
green,pickle
brown,desk
white,sock

It would be converted it to this:

{{red,apple},{yellow,banana},{green,pickle},{brown,desk},{white,sock}}

Then it is easy to loop through the list and find the first item whose first item matches the search term. For example if I'm searching for "brown" I would find "brown" in item 4 of the larger list, and then pick off item 2 of item 4 of the larger list, resulting in "desk."

Here is a script that asks you to choose a CSV file, then asks you for the search term (the thing you want to find in Column A). It then displays the Column B value in a dialog box. This may not completely solve your problem, but it does answer your question regarding searching a CSV file using AppleScript and not Excel or Numbers.

    tell application "Finder"
        set the_file to choose file
    end tell

    set my_data to read the_file
    set my_list to paragraphs of my_data as list
    -- we need to make a list of lists... each item in my_list needs to be a list of two items.
    set new_list to {}
    -- this is housekeeping
    set oldDelims to AppleScript's text item delimiters
    set AppleScript's text item delimiters to ","
    -- /housekeeping
    --
    --make the list look right
    repeat with an_item in my_list
    -- inserting "try" statement to catch blank lines
    try
        set x to text item 1 of an_item
        set y to text item 2 of an_item
        set component_list to {x, y}
        set end of new_list to component_list
    end try
    end repeat
    set AppleScript's text item delimiters to olddelims

    -- now you have a list with each item in the list
    -- being Columns A and B of one line in the CSV file
    --
    -- Bringing Finder to the front to make dialog boxes show more easily
    tell application "Finder"
      activate
      set the_search_term to display dialog "What are you looking for?" default answer "red"
      set the_search_term to text returned of the_search_term

      repeat with some_item in new_list
          if item 1 of some_item is the_search_term then
              display dialog "Column B value is: " & item 2 of some_item
              return
          end if
      end repeat
    end tell


s g,

One thing in your troubleshooting leads me to believe that this is not a sound card issue: headphones worked.  The sound card controls all audio, not just the speakers.

I see two possibilities(off the top of my head):

Your left speaker is damaged.
Your headphone jack has something in it that's causing electrical problems, or has a damaged connector.  Make sure there's no debris jammed in there or other damage.

Also, electrical feedback from the bad speaker (if that's the case) could cause the behavior you saw with the right speaker.  Again, I don't see this being an sound card issue at all.

Honestly, I would take it in and let Apple have a look at it.  If it is hardware issue, they can repair it.  If it's something in the software, they may have a solution.


MacBook Pro to external 24" HP Compaq at 1920x1200 using Mini DisplayPort to VGA adapter

I've had the same problems.

I think youre leaving the lid to your mac open.

If you are using an external keyboard, external mouse, and an external display, while your mac is powered, you can close the lid, hit the shift key a couple times to wake it up and I think you will see the desired resolution listed.

There is a command line solution

Get this

After you compile it by running:

./configure

make

sudo make install

you can do

$ screenresolution get
Display 0: 1280x800x32
$ screenresolution list
Available Modes on Display 0
  1280x800x8    1280x800x16     1280x800x32     1280x800x30
  1152x720x8    1152x720x16     1152x720x32     1152x720x30
  1024x768x8    1024x768x16     1024x768x32     1024x768x30
  1024x768x8    1024x768x16     1024x768x32     1024x768x30
  1024x640x8    1024x640x16     1024x640x32     1024x640x30
  800x600x8     800x600x16  800x600x32  800x600x30
  800x600x8     800x600x16  800x600x32  800x600x30
  800x500x8     800x500x16  800x500x32  800x500x30
  640x480x8     640x480x16  640x480x32  640x480x30
  640x480x8     640x480x16  640x480x32  640x480x30
  720x480x8     720x480x16  720x480x32  720x480x30
  720x480x8     720x480x16  720x480x32  720x480x30

$ screenresolution set 1280x800x32
Setting mode on display 0 to 1280x800x32


Have you tried using the Locations feature?

Go to System Preferences > Network,
Click on the "Location" dropdown menu,
Choose "Edit Locations",
Click on the add button and give the location a name.  I would suggest you give it a name that's related to the proxy,
Now that you've setup a new location, go through the networking configuration, ensuring you set the relevant proxy setting under the "Proxies" tab, which can be found under the Ethernet/WiFi adapter settings > Advanced.

Repeat steps 1-5 for each proxy.

Once you've finished, you can quickly switch between each proxy by clicking on the Apple icon (located at the top left of your screen) and going to "Location".  Once the Location menu expands, you should see all your different locations, which have the relevant proxy settings within them.  Clicking on the locations will change the proxy settings your Mac uses.


How to find MinimumOSVersion of all purchased iOS apps in iTunes?

I changed Walt Stoneburner's script that I used to answer here to list MimimumOSVersion of apps located in iTunes library. Run This script in terminal:

for f in ~/Music/iTunes/iTunes\ Media/Mobile\ Applications/*.ipa; do
    (echo "$f" ; unzip -Z1 "$f" | egrep -i ".app/Info.plist$" | \
        awk '{ print length($0) " " $0; }' | sort -n | cut -d ' ' -f 2- | head -n1 | \
        xargs -I file unzip -p "$f" file  | \
        plutil -p - | egrep -i "\"MinimumOSVersion\"" ) | \
        perl -e 'while (<>) { if (m!^/!) { chop; $fqn=$_; } if (m/"(.+)" => (".+")/) { $e{lc($1)}=$2; } } print "\"${fqn}\",$e{\"minimumosversion\"}\n";'; \
done

It will list apps like this:

"/Users/username/Music/iTunes/iTunes Media/Mobile Applications/app1.ipa","7.0"
"/Users/username/Music/iTunes/iTunes Media/Mobile Applications/app1.ipa","8.0"
"/Users/username/Music/iTunes/iTunes Media/Mobile Applications/app3.ipa","7.1"
...

If you want the output in a file you can save the script in a file (minimum.sh for example) then run this command in the terminal:

$ sh minimum.sh > output.csv

Then open output.csv with Apple Numbers and sort the table with second column. Minimum iOS versions required are now observable.


How to open a URL with Terminal through applescript by using mpg123?

Command line programs can be run using the do shell script "..." command in AppleScript.  You can generally write a command as you would in Terminal, keeping in mind that double quotes need to be escaped with a preceding backslash \.  The do shell script command returns the last output to stdout.

So, for example:

do shell script "myvar=hello world; echo \"$myvar\""

will return hello world as a string.

These commands are run without a terminal, so can't interact with the user, e.g. to receive user input.  If you need a terminal, you can tell application "Terminal" to tell the front window to tell the front tab to do script "...".

But, do shell script "..." is perfect for most situations where bash commands need to be employed.

If it's useful to know, iTunes can also play audio streams from the internet.  You can do this from the command line like this:

open -a itunes "http://ssl.gstatic.com/dictionary/static/sounds/20160317/pronunciation--_us_1.mp3"

From within AppleScript, this might look like:

do shell script "open -a itunes \"http://ssl.gstatic.com/dictionary/static/sounds/20160317/pronunciation--_us_1.mp3\""

or, using iTunes scriptability:

tell application "iTunes" to open location "http://ssl.gstatic.com/dictionary/static/sounds/20160317/pronunciation--_us_1.mp3"


If you want to do what you propose, then you are correct.

While using gdisk, you can the check GUID Partition Table (GPT) by entering the P command. After you enter the N command to change the Master Boot Record (MBR) table, you can again enter the P command. You will see the  GPT is unchanged. To see the changes to the MBR table, you will need to enter the following command before and after using gdisk.

sudo  fdisk  /dev/disk0

But, you do not want to do this for a 2010 MacBook Pro.

The 13-inch, mid 2010  MacBook Pro should install Windows 10 using the legacy BIOS boot method. The Windows Support Software for installing Windows 10 on your model Mac can be found at: Boot Camp Support Software 4.0.4033.

Apple does not officially support Windows on your model Mac beyond version 7. The drivers for 64 bit Windows 7 are in the Boot Camp Support Software 4.0.4033  download. Fortunately, Windows 10 is designed to accept older version drivers, when current drivers are unavailable. Unfortunately, these drivers are designed for the legacy BIOS boot method.

  Note: I am used the Boot Camp Support Software 4.0.4033 download to install 64 bit Windows 10 Pro on my 2007 iMac. Apple does not officially support any 64 bit versions of Windows on any 2007 Mac models. In spite of this, I am able to run 64 bit Windows 10 Pro on my 2007 iMac.


Is it possible to set the duration of a GrowlNotify notification?

You can kind of do this with Growl GUI, not the best approach, but should work:

With the Grown GUI you can set event duration per-style. You can also assign styles per application.

So, if you assign different styles to different applications, you can achieve the desired effect. But that would result in different visual styles for different applications, which may not be desired. You may also be able to duplicate styles (don't know how) and assign styles that are the same visually to different applications. Alternatively you may be able to create new styles based on existing ones.

Again, not the best solution but should works.


How do I disable this red warning appearing in every new conversation in iMessage?

Turns out that this is Apple internal messaging, intended for employees.

It appears that, if the machine has a directory named AppleInternal in the root directory, certain Apple-employee-specific features of the OS — including the above one — are silently enabled, without explanation.

I've no idea how this happened to my machine, but I rm -rf'd /AppleInternal, rebooted Messages.app, and the message has stopped appearing.


How do I instal OS X when boot combos don't work?

A long shot, but there should be a taskbar item that bootcamp installed on your Windows OS. If it's still there, you might be able to right click on it and get into options to change boot preference. From what I recall that does not show the recovery partition. I don't have a windows partition at this time so I can't help much there.

another thought I have is you might be able to install a third party bootloader like rEFIt or rEFind and get in from there with a tweak to the config file to choose the rescue partition on startup.

Does your 2013 macbook have a cd drive? If not can it boot from USB or external cd drive?

It should be possible to tell the bootloader which MBR to boot into before restarting. I think you can accomplish what you need to from a live cd or similar. Doing it from within windows would be difficult but not impossible. There are tools like Paragon's HFS+ that will let you access mac filesystem (system requirements says it supports Windows 7). But yeah, dealing with HFS+ from windows or linux is a nightmare. I think generally the first step is to disable journaling, but you don't have that luxury now.

Apple stores can now reformat apple computers over the network using proprietary tools not publicly available. If they can do that for your 2013 model, it might save you some grief. Although I imagine they would wipe your windows partition so you'd need to back that up before doing that.