How do I safely eject or unplug an iPad, iPhone, or iPod when iTunes is not running? When I connect one of my many iOS devices to a computer for synchronization purposes, I have iTunes running. In the iTunes left-hand area, I see an eject button to the right of the device's name. I always use "eject" after a successful sync, before unplugging the device cable.  I'm presuming this is meant to be similar to Windows' "USB Device Safe Removal" feature (though iOS devices don't appear to show up there?) .. or when I choose "Eject" from the context menu of a USB-connected disk on my Mac's desktop.

Yet, sometimes I'm connecting my iOS device to a computer without having iTunes running.  For instance, when using the device for USB-based "Personal Hotspot" connections, I don't need iTunes running.  My questions are:

Is there a need to safely indicate removal of an iOS device from a computer, prior to removing the device cable?
If yes, must I fire up iTunes simply to access the "eject" button, or is there another easily accessible mechanism available?

I use both PCs and Macs so answers covering the two are appreciated. Good answers will also provide definitive supporting references.  Thanks!

In the Finder in Mac OS X, press Command-Shift-G to Go to folder. Type /Volumes. This will take you to the “Volumes” folder. If your iDevice is mounted as a drive, it will appear here. You can select it and press Command-E to eject it. If it does not appear here, it is not mounted as a drive, and you can simply unplug it. Note that it may or may not appear on your Desktop or in a Finder sidebar depending on your settings, but it should always appear in the /Volumes folder.

On Windows, in the system tray, there is an icon you can click to “Safely Remove Hardware and Eject Media.” Right-click the icon, find the name of your iOS device, and click it to eject it. If it does not appear on this list, it is not mounted as a drive and you can simply unplug it.

Go to Control Panel > Hardware and Sound
View Device and Printers
Select iPad from Portable Devices
Go to Properties
Click Disable

To connect iPad next time, connect the USB and come to this window and enable the iPad under Portable Device

Trust this is the safest way


iPhone - how to free up space when storage is completely full My mom has an iPhone 4 (or 4S) and she has taken so many photos that there are 0 Bytes space left.

I can't install apps to delete files on the phone directly.
I can't move files via USB.
I can't delete files via USB.

Windows 7 shows the "Deleting ..." window but nothing happens (not even on a single photo).

So how can I delete all those photos (backups done) or even better the whole phone including iOS?

If there are many apps installed from the Ap Store (or iTunes store) it may be possible to delete some of them to get enough extra space to be able to delete photos. After deleting photos any of the apps you deleted could then be reinstalled from their original store at no charge. (If this works, the only possible problem could be if any of the deleted apps aren't current since reinstalling them would bring in the current version which might work differently.)

If the problem with deleting photos is dependent on the app you are using to try to delete photos this may work; if it's a problem with lack of space for iOS itself then you'll probably just have the same problem trying to delete apps, too. It can't hurt to try. Hope this helps.

I had the same problem, the solution is very simple: sign out icloud account, and sign in again. That's all.


iPad apps transferring to iPhone through iCloud If I download any app on my iPad will it download itself to my iPhone? The iPhone & iPad share the same iCloud account.

In settings->Itunes & App Stores you can choose whether to enable automatic downloads for apps purchased on other devices.

Assuming the app is compatible on both this means if you turn it on for Apps on your phone, then it will download itself to the phone after purchasing on the iPad.

Your apple ID is Designed to synchronize all of your Devices together your Apple ID was meant for one person and one person only. You shouldn't really share your Apple ID with Anyone because it is supposed personalized for you only.


How do I delete useless Apple Apps on OSX? I tried using terminal with sudo or su, while I do rm -rf to Photos.app, Chess.app, Mail.app, DVD Player.app, iBooks.app, but it said Operation not permitted.

How can I delete these apps?

(OS X version is 10.11.1)

Being OS X El Capitan (10.11) has, from what I understand, the same System Integrity Protection as the current version, macOS High Sierra (10.13), I think the steps are the same. You can delete at least some of the applications. I haven't tried them all but I deleted Maps, Chess and DVD Player.

First, you need to boot into Recovery Mode. Hold CMD + R after the boot chime. From there you can go into the Terminal and type csrutil disable. Reboot. This disables System Integrity Protection and is not recommended to keep disabled. If you want to live on the edge though, go for it.

After booting back into OS X/macOS I was able to sudo rm -rf <Application Path> without any errors.

You can always re-enable SIP after you make your changes.

Note 1: I deleted iTunes once but a system update later put it back on.

Note 2: You cannot easily get deleted applications back because you cannot download them, to my knowledge.

Note 3: If you are just sick of looking at them in Finder, you can hide them by adding a hidden flag to the folder. SIP has to be disabled for this too. I used sudo chflags hidden /Applications/App\ Store.app/ to hide the App Store from Finder.

Note 4: Certain OS features may depend on apps being present so be wary of what you delete.

You don't.  You have no reason to.  SIP is stopping you.


Finder crashes permanently I bought an SSD for my Macbook Pro. I did a backup of my hdd disk (as I always do with Time Machine) and used the disk utility to restore that backup to my ssd disk. The restore worked perfectly, but Finder is always crashing and restarting and crashing... So I googled a lot and tried to create a second user account. There the problem does not occur. So it seems to be a account-specific problem. But how can I see where the problem is? I don't want to use the new account, because all settings and preferences are gone.

The crash report:

http://pastebin.com/qQjJedDD

You could just try reinstalling OS X from the recovery partition (see http://support.apple.com/kb/PH10763). It fixed a similar issue I had where different applications started crashing on launch. It keeps most user files and settings in place, so it might not fix account-specific issues though.

Or if you don't want to recreate settings, try copying directories like ~/Library/Preferences/ and ~/Library/Containers/ to the new account.

Same SSD change, same Finder crashes.

I solved my crash by one reboot in Safe mode.


Saving Xcode Project to the Desktop When I open the Desktop folder where I saved my Xcode project, only a "main" or "swift" file is there, not the whole project. I need to zip the whole project and upload it for homework assignments.

go to your project folder press right button and  compress your folder and upload your required mail.


Issue installing GCC using homebrew (scipy package dependency) I am attempting to install the scipy (Scientific Python, including matplotlib) package using homebrew, and I noticed that it fails when it needs to install a dependency (gcc version 4.9.0).

I attempted to install it on multiple OSX versions, and even a manual method, but the error always occurs at "make bootstrap" portion.

First method:

brew tap Homebrew/versions
brew install gcc49

Result:

make[4]: *** [all-multi] Error 2
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-stage1-target-libsanitizer] Error 2
make[1]: *** [stage-bubble] Error 2
make: *** [bootstrap] Error 2

Second Method:

wget ftp://ftp.gnu.org/gnu/gcc/gcc-4.9.1/gcc-4.9.1.tar.bz2
gunzip gcc*.bz2
tar -xf gcc*.tar
./configure --prefix=/usr/gcc-4.9.1 --with-gmp=/usr/local/Cellar/gmp/6.0.0a --with-mpr=/usr/local/Cellar/mpfr/3.1.2-p8 --with-mpc=/usr/local/Cellar/mpc/0.26 --program-suffix=4.9.1 --enable-languages=c,c++,fortran --with-system-zlib --enable-stage1-checking --enable-plugin --enable-lto --disable-multilib

Result:
Similar output to first one at the end of output.

Anyone know how to install this correctly, or do I need to use xcode?  Will that even work with the scipy package installed through homebrew?

---------- UPDATE -----------

Tried suggestions.  That is the "brew install gcc" and "brew install scipy"

It fails at installing gcc either way, after doing those commands I get the following.

==> Installing dependencies for scipy: gcc, numpy
==> Installing scipy dependency: gcc
==> Downloading http://ftpmirror.gnu.org/gcc/gcc-4.9.1/gcc-4.9.1.tar.bz2
Already downloaded: /Library/Caches/Homebrew/gcc-4.9.1.tar.bz2
==> ../configure --build=x86_64-apple-darwin14.0.0 --prefix=/usr/local/Cellar/gcc/4.9.1 --enable-languages=c,c++,objc,obj-c++,fortran -
==> make bootstrap
mkdir common
mkdir common/.deps
config.status: executing default commands
make[1]: *** [stage2-bubble] Error 2
make: *** [bootstrap] Error 2

READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting

These open issues may also help:
gcc: compatibility 10.10 (https://github.com/Homebrew/homebrew/pull/31466)
gcc 4.8.3 bottle has invalid omp.h header (https://github.com/Homebrew/homebrew/issues/29670)
MacOS.(gcc|clang|llvm)_version can return nil (https://github.com/Homebrew/homebrew/issues/18781)

It's caused by your new OS X Yosemite, try the following command to install gcc on Yosemite

    brew install https://raw.githubusercontent.com/denji/homebrew/gcc/Library/Formula/gcc.rb

Looks like I solved the problem partially by first installing freetype, then doing pip install matplotlib.  scipy still doesn't install though.

brew install freetype
pip install matplotlib

Now, when I type gcc --version in the console, I get a reference to Apple LLVM version 6.0 (clang-600.0.45.3).   Hopefully this works for what I need.


Mavericks calendar events longer than 3 hours I am using Mavericks.

I use Calendar in monthly mode and with times in 24 hour mode.

When I enter or edit an event in Calendar.app it seems to be limited to 3 hours.
First you have to deselect the whole day then the list of end times only goes to 3 hours, which I can live with. But if I close the drop down and try to edit the end time end time directly as if I put in a later time Calendar changes it to 3 hours. However only sometimes (about 50% success)

How do I enter an entry longer than 3 hours?

I use the + quick event button which is the same as Command-N to enter:

meeting from 10am to 5pm on thursday

It makes blocking specific times quite easy using Calendar app. I also often use the week or day view and create a default event and drag the bottom of the event to the end time.

Lastly, I select the hour when I mouse to raise the quick interval drop down and rather than use the mouse to change the end time, just type the hour and tab to the minutes field if necessary.

After you put the end time from the list (3 hours Max) then use Arrow up to add more hours.


Does anybody know an email client for iOS that is password protected? I am looking for an email client, that when opened, asks for a password before showing email messages. Is there such an app available for iOS?

I haven't seen an app like that, but if you have a Gmail account you can use 1Password (App Store Link) to access the web interface. The 1Password app is locked by default. This would work with any email account with a webmail interface.

If you are using Exchange ActiveSync - check out NitroDesk Touchdown for iOS. I've a feeling that has a passcode screen on launch/switch.


How do I get out of the "continuous pages" mode? How do I get out of the "continuous pages" mode?

It annoys me like hell! I want to see whole pages with a bit of space around them.

Is this another thing that iWork 13 can't do?

Just a one pixel line separating different pages in image below.

This is currently not possible. The gap between pages is not customisable and it is not possible to disable continuous scrolling.

You can provide feedback to Apple regarding this at the following page:

http://www.apple.com/feedback/pages.html

If you only want to view (not edit) you could do Print/PDF/Open PDF in Preview


iTunes artwork doesn't change I change the cover images for the songs in my iTunes library using:

Right Click > Get Info > Artwork > Drag-Drop > OK

and in most cases the artwork updates immediately. On some tracks, though, it doesn't.

I then tried removing the artwork (so nothing should appear in Cover Flow), but the track then keeps the image it had previously.

iTunes holds its data in an XML structure. On the surface what may appear to you to be a single Album file consisting of 10 separate tracks may, in fact, be 10 separate tracks, each with a separate link to the Album artwork. How this comes about I am not sure, but I think it's related to how the files were input to iTunes. For example, ripping your own CD may produce a different result from 'acquiring' the same album from - shall we say, a download sharing site.

Normally what I do is

(1) if an album has no artwork, I select all the tracks and drag'n'drop the artwork (from Amazon for example) into the box for Selected Item. Normally this will lock the artwork to EVERY track in the album. If, however, the structure isn't 'correct' the artwork will only be locked to a single track. You can check by clicking on several tracks in the same album.

(2)If the artwork isn't there for all the tracks, you can select all the tracks, then go to File>Get Info and drop the artwork into  the Artwork Box. You should then have artwork for every track

(3)Failing all this, as a last resort I drop the artwork in for each track separately.

One of these methods always works for me.

Bit tedious for a few albums, but for more than 1500 albums in my Library, I've only had to go the most tedious route a few times.

I should add that iTunes allows you to include several versions of the artwork for each track. If you replace artwork you may in fact simply be adding another version. Which one gets displayed is determined in the following way. Click a track. Go to File>Get Info>Artwork... here you will see all the versions of the artwork. Delete the ones you don't want. The one you are left with is the one that gets displayed.

I know.. it's confusing..

Some files might be write-protected. Go to the MP3 file, select all of them and untick the read only box.


Why is iBooks progress incorrect in my Siri Suggestions, and how is this fixed? In this case, Siri Suggestions implies that I have just started the book. I've actually been reading it for weeks and am on page 685/1985. Clicking the Siri Suggestion for the book brings me to the correct page. This is on iOS 9.1 (13B143).

Go to Settings>General>Spotlight Search. Turn off and on Siri Suggestions. It worked for me.


Phone is off / black when I plug it into charger, only the Apple logo is displayed My small nephew dropped my iPhone 4s. There is a small crack on the screen. Now the iPhone is off / black and when I plug it into a charger only the Apple logo is displayed.

How can I retrieve my photos & contact list from the mobile? Is it not repairable?

Give TinyUmbrella a try. It's a powerful tool to exit the recovery state of the iPhone without the data loss.

Make sure that your iPhone is on (showing the Apple logo in your case)
Connect your iPhone to your computer via USB
Download and install TinyUmbrella
Launch TinyUmbrella and wait until it recognises your iPhone
As iPhone gets recognised press exit recovery shown in the main menu

Try holding the home button and the power button for 10 seconds.  If it worked, the Apple logo will appear, then it should turn on.


Can I disable wifi on boot? System not booting That is, are there nvram boot-args to disable wifi or a startup key sequence that does?
Safe mode is said to PARTIALLY disable Wi-Fi on some Macs.

I googled and couldn't find an answer.

Haven't managed finding/searching the source code because that's hard to do from ths iPhone. My Mac is not booting normally... Even in safe mode. (Diagnostic running now. )
I'm getting an error about AWDL mode suspending and I recently enabled AirDrop and so I want to see if I can boot if I completely disable Wi-Fi.

I have a MacBook Pro (Retina, 15-inch, Early 2013) and tested the following on it.

With my Wi-Fi network adapter turned on and connected, I shutdown my MacBook Pro. (This was to ensure the change I was about to make did indeed disable my Wi-Fi network adapter when rebooted.)

With the MacBook Pro shutdown, I then started it in single-user mode.

  Start up in single-user mode or verbose mode

  Use these steps to start up your Mac in single-user mode or verbose
  mode:

  Shut down your Mac.
  Press the power button to start up your Mac.
  Immediately hold down the following keys:

  Hold down Command-S for single-user mode.
  Hold down Command-V for verbose mode.

  You've successfully entered single-user mode or verbose mode when you
  see white text appear on the screen.

If you can't enter single-user mode, see How to start up your Mac in single-user or verbose mode for additional details.

In single-user mode, run the following commands:

/sbin/fsck -fy
/sbin/mount -uw /

Once the filesystem has been checked and you've mounted the / volume as writable, use the following command to disable the Wi-Fi network service, which will turn off the power to the Wi-Fi network adapter when rebooted into normal mode.

networksetup -setnetworkserviceenabled Wi-Fi off

Now reboot using the reboot command, type reboot and press enter.

Once rebooted and in normal mode you can reenable the Wi-Fi network service, thus restoring power to the Wi-Fi network adapter, by doing the following.

In Terminal, use the following command:

networksetup -setnetworkserviceenabled Wi-Fi on

You'll be prompted for your password, as shown in the image below.

Type in your password and click the Modify Configuration button, or press enter.

Note: While in single-user mode, if your wireless network service is not named "Wi-Fi" then use the following command to determine what network services you have.

networksetup -listallnetworkservices

On my system, after using networksetup -setnetworkserviceenabled Wi-Fi off the output was:

An asterisk (*) denotes that a network service is disabled.
*Wi-Fi
Display Ethernet
USB Ethernet
Display FireWire
Bluetooth DUN
Thunderbolt Ethernet
Thunderbolt FireWire
iPhone USB
Bluetooth PAN

So, "Wi-Fi" was the right choice for me.

Note: I do not have FileVault enabled and if you do, you may have additional steps to take to access single-user mode.

Yes, there is a workaround.
I have a faulty wifi card and it is stopping my system from booting.
By inserting a non-bootable CD and holding 'c' while powering on the system, I'm able to boot from a USB drive after the CD boot fails.


Can I run iOS 5 Apps on my iOS 3.1.3 iPod touch? I have an iPod touch 1G running iOS 3.1.3, and I really want to get iOS 5 Apps on it. Is there a way to do this? Can I do it without using a computer?

You can't run applications made for newer versions of iOS on 3.1.3.  They rely on features, APIs, and potentially even hardware that do not exist on your old iPod.

Here is further discussion on why this is generally not possible - even when you jailbreak an iOS device.

The listing for the app in the iTunes store may say what iOS version is required...


Is it bad or unhealthy to put my Mac to sleep? I am wondering if it is bad or unhealthy to always put my Mac to sleep or should I shut it down instead? What I mean by putting it to sleep is that the display and hard drive are sleeping.

The reason for asking this question is I have heard from several computer literate people that sleeping the hard drive is not good for it.

Anecdotally, the drives of 5 to 15 years ago would run longer if you never spun them down. When I managed servers - the drives failed less rapidly than the inexpensive hard drives that were in workstations (which typically spun down). It's not clear if we would have seen similar failure rates if we placed the higher priced (and presumably better built for the long run) drives in the workstations.

I have seen no credible studies that show any drive from the last 5 years lasting longer by disabling sleep. It's hard to imagine a case where you wouldn't want to have a computer sleep even if it were going to decrease the useful life of an inexpensive storage drive due to other components failing over time and the waste of energy.

We don't yet have good data on SSD wearing out either as OEM parts ordered from Apple or aftermarket SSD, but it will be interesting to see how they wear out due to write failures and if sleep writing of large RAM images will add up to enough writes to shorten the life of an SSD that otherwise would be healthy in the absence of storing sleep images.

First off, the "sleep" of a Mac differs from those of most other computers; Macs don't write the content of the entire RAM to the disk when you put it to sleep, it rather deactivates power supply to almost every component of the computer, except the RAM, so that, when the Mac awakes again, it never erased the RAM and kept it's content.

So it depends on what you call "bad/unhealthy", because the Mac is still powered, just not consuming as much. Meaning that Macbooks will lose battery life while sleeping, but it still may take up to weeks until it runs dry, depending on how much life the battery had when you put the Macbook to sleep.

My guess is that those "computer literate" people only knew about the sleep function of most other computers; those write the content of the RAM onto the disk when putting to sleep, and read it from the disk into the RAM when they awake. First: this may cause massive fragmentation for the disk. Second: SSDs lose life when writing on them, so this in particular may indeed be not healthy for them. Third: There is a risk of damaging the HDD while it is writing and you bump the laptop (however, this is not sleep related, and there should be technics put into the laptop to prevent this anyway).

Personally, I never really shut down my Macbook, except when I know I'm not going to use it any time soon. So again, I never shut down my Macbook, only just closing it.

EDIT:
Just learned that portable Macs do both by default, that is keeping the RAM powered and saving the content to disk.

So yeah, the guys told you that technically are right, but as I see it, it's as unhealthy/bad for your drive as, well, using it for anything else.


How can I sync original photos from iCloud to a non-Apple computer? How can I automatically copy original-quality (e.g. HEIC) photos from iCloud to a non-Apple computer? I have two decades of photos from various cameras I’ve owned over the years organized on my computer and am trying to understand how to reliably add my Apple-held photos to it.

I’ve seen that I can download photos manually by using “Download: Unmodified Original” in the iCloud web interface, but this is tedious.
I tried using the iCloud app for Windows, but that apparently only exposes reduced-quality JPEG exports. My iPhone has a setting for “Transfer to Mac or PC: Keep Originals” but I don’t see an analogous setting in the iCloud app.

I’m ready to do substantial initial work to set this up (e.g. custom scripting, running a VM, etc.) but at this point I’m not sure what to even try next.

There are multiple ways of doing this I suggest the simplest one .
First you need to download iMazing app on your windows .
Download iMazing for PC
Download iMazing for MacOS
Launch iMazing and connect your device to your Mac or PC.
Select your device in the sidebar, then select "Photos".
Click "Import from Folder", and select the music you want to import.
Transfer your Photos.


Group by subject in iOS Mail app How do I make the default Mail app on iOS group by subject? I've enabled "Organize By Thread" but that doesn't help.

On my Mac (OS X 10.9.4):

On my iPhone (iOS 7.1.2):

Mail on iOS, like on OS X, uses multiple factors to determine whether two or more emails are part of a thread. By not relying solely on the subject, Mail is able to keep a thread together even when other email programs/servers modify the subject (for example, adding "RE:"). This is seen by Apple as a feature and is not able to be modified.

Enabling Organise by Thread is the best you can do. If the emails still don't group together, then Mail is determining that the emails are not part of the same thread and this can't be changed.

You can use outlook. I had the same problem, but outlook does better grouping. Even in iOs9


How to disable accentuated char suggestion on long click on mac? When pushing a key for a long time, you expect to print a lot of times the same char.
Instead of that, I now have a popup suggesting all accentuated chars.

How to disable that and come back to a classic keybaord function?

As given in the link by Tom Gewecke, you can disable the Character Picker by typing the following in a terminal :

defaults write -g ApplePressAndHoldEnabled -bool false

Pop-over menu also won't appear when the Key Repeat slider is set to Off in the Keyboard pane of System Preferences.


Switch between instances of apps in full screen? I can use command tab to switch between apps, and command tilde to switch between windows of the same app (for example, a regular window and an incognito window of Chrome).

However, when I full screen a window of Chrome, I lose the ability to switch between windows of the same app with command tilde. I also cannot switch back to it with command tab.

What I want is to be able to full screen all windows in all apps, and still be able to switch between apps and windows with the keyboard. How can I do this?

A bonus method if you want to do this entirely with trackpad instead: I forgot to mention that HyperSwitch also adds this functionality into the mac's built in CMD+Tab app switcher.

You need to enable the setting in HyperSwitch to display window previews on the app switcher.

Again, using BetterTouchTool, I used a trackpad gesture to trigger the application switcher. This BetterTouchTool gesture makes the switcher stay open until you click on something, so you can switch windows entirely with trackpad.

System Preferences > Trackpad > More gestures
Tick App Expose
Swipe down with three fingers


Isn't XCode meant to be free? I have a Mac running 10.7 Lion. I have the lastest compatible XCode installed but it isn't able to work with my iOS 10 iPad. It will work with my old iOS 6 iPod. I wrote an extremely basic app which compiled successfully and ran fine in the virtual device, however the system won't let me run or install the app on my iPod. I see I have a certificate issue and to obtain one I need to be part of the Apple Developer Programme.

I'm guessing that in the latest release of XCode this won't be an issue, and I can make apps and run them on my iPad for free as long as its for personal use. I know my Mac can't run Sierra but if I got hold of one which could would this be the case?

I don't want to have to pay a £99 per year Apple Dev Prog fee.

The actual problem is that side loading of apps without needing an Apple signed certificate was added to iOS 8. You'll want to upgrade your iOS and Mac OS to get to the level where Xcode can self-sign and self run based on your free AppleID instead of a paid and signed developer certificate.

It that fails, you would have to get a newer device to use the free entitlement of running code you self-sign and side load from Xcode.

XCode as an application is free. A developer account is £/$99/year.


App Store receipt email, forwarded as attachment, won't open New user--just switched from Windows to an iMac running Yosemite. In the Mail app I use 'Forward as Attachment' a lot, with no problems.

However, I just forwarded an App Store email receipt as an attachment, and the recipient couldn't open the receipt. OS X identifies the attachment as a generic document (rather than an email) and can't find an app to open it. So far, this has only happened with the App Store receipt.

Is this problem likely due to something odd about the format of App Store receipts? If that's the case, I'll simply export those receipts to PDF and attach those files. Or is there something fundamental about attachments in Mail that I don't understand?

App store receipts are multipart mails, first part is text/plain, second is text/html. So in theory forwarding them should work just fine, in practice I see the same behavior you are seeing.

So either forward them directly (not as attachment) or print a PDF first (which might be kind of hassle depending on how often you need to do it).

A iTunes receipt is simply html [I don't have an actual App Store receipt to compare, but I would imagine it's the same]

The header of the receipt itself is

  Content-Type: text/html; charset=ISO-8859-1
  Content-Transfer-Encoding: QUOTED-PRINTABLE
  Content-Disposition: inline

  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><\html><\head>
  <\meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
  1">

…which is almost impossible to write out in markdown ;-) Ignore all the back slashes


My iPhone 6 has a problem charging My iPhone 6 has a problem charging it will charge then not charge then it will repeat it. When it gets to 100% and it get taken off the charger then a few minutes it will die.

What do I need to do to fix it?

If you can connect your battery to a Mac, get the app CoconutBattery and run it with your iphone connected to the Mac. It will tell you if iPhone battery is charging properly. I used it with my iPhone 6 and it correctly identified that battery was faulty and not charging properly. I took my phone in for a new battery.

Try to change the battery or the battery port.


MacBook keyboard decals without letters I'm looking for one of these types of stylish MacBook keyboard skins:

But I don't want any of the keys marked. I just want blank keys, without letters/symbols.

Do any such products exist? I can't find any by looking myself.

Yes,
There is one such unlabeled keyboard available that I have found: the Das Keyboard 4 Ultimate. It is an external keyboard and not a cover, but I think it's what you're looking for.


iPhone 3G set time automatically? I've noticed on an old iPhone 3G I keep around for testing that the Set Automatically option in Date & Time doesn't work. This iPhone has a SIM card, but it has been deactivated by the carrier after upgrading to a newer model which uses a different size card.

I assumed it would work using Network Time Protocol (NTP), which means it should be able to sync the time over WiFi. But I haven't find any documentation on this.

I keep this iPhone around for testing, so it only comes out of the drawer every few months. Keeping it fully charged isn't a realistic option.

This phone is running the final version available for it, iOS 4.2.1 (8C148).

My question, then: Can I make this work? Failing that, is there documentation available that says once and for all that it can't be made to work?

"Set Automatically" takes the time from the cellular network. If you remove the SIM card (or just keep the phone in airplane mode with Wi-Fi enable), the time will never get updated.
From the iPhone User Guide (available in iTunes):

If iPhone is set to update the time automatically, it gets the correct time over the cellular network and updates it for the time zone you’re in.
Some carriers don’t support network time in all areas. If you’re traveling, iPhone may not be able to automatically set the local time.

You can also turn off 3G Cellular and set manually.


Denied file read access on file I own and have full r/w permissions on I received an email with a plain text attachment (named 'noname') via Gmail and downloaded it using Chrome from gmail.com. It's a recurring automated report. Everyday I get the file , download it, open it, read it, and enjoy my life. Some days like today I get the file, download it and TextEdit on OS X won't let me open it.

TextEdit reports "The document "noname.txt" could not be opened. You don't have permissions."

A Get Info in Finder shows permissions:

  ram (Me) Read & Write
  Staff Read only
  Everyone Read only

From a terminal I can do whatever I want to it (read, write, rename...). An ls -l shows:
  -rw-r--r--@   1 ram  staff

An ls -le shows the same (i.e, no ACLs shown).

What gives?

From debugging a different problem (which showed up as deny file-read-data in the Console, see the other answer), it seems that sandboxd prevents sandboxed applications from reading quarantined data, so I think you'd need to remove the attribute with:

xattr -d com.apple.quarantine /path/to/file

(see for instance https://superuser.com/a/28394/46794). You'd need to prefix the command with sudo if the file didn't belong to your user, but according to your info it does.

The other user reported that using a non-sandboxed application fixed the problem, and this would confirm that sandboxing is at fault.

An aside: When ls reports extended attributes with @ next to the permission field, you don't need ls -le file, but instead ls -l@ file.

Quit, don't just close, but Quit TextEdit. When TextEdit starts again it will "remember" who you are.

When Text Edit has the Main Menu
Cmd-Q
or
Main Menu / TextEdit / Quit
or
Right Click on the TaskEdit dock icon and choose Quit.


Prevent iPhone charger from capturing audio My car has an USB connection which I use to connect to my iPhone 4s (with iOS 7.1) as a charger. But the connection also captures audio, so no sound is emitted from the iphone when the usb wire is connected.

Is there any way to control what's the Iphone behaviour when an external device is switched on, just to avoid the audio to be captured?

For a solution that doesn't require jailbreaking and modifying your phone's OS, I would suggest a USB charge-only dongle, like this one or this.

Insert that on the USB end of your cable, and it will only connect the charging pins, not the data pins, preventing any audio or other data from transferring.

I had the same problem. Docking or cancel, no other options. Like most issues with my iPhone, shutting down fixed it.


Different keyboard mapping on external keyboard Currently I have a challenging keyboard setup. My MacBook Pro has a fr_FR (French AZERTY) keyboard, but the layout is currently set to fr_CA (Canadian QWERTY). Even if the keys are not labelled right, it works perfectly fine for me who's used to a French Canadian keyboard.

Now, I recently bought an external Mac keyboard that turns out to be en_US (American QWERTY). I would like it to also have the fr_CA "feel", but it seems to behave differently – seems like it simply applies the locale from my physical keyboard without "assigning" the keys based on the different layout that en_US is compared to fr_FR.

How could I make sure that the location of the keys on the en_US honours the layout of a fr_CA, different from the physical fr_FR keyboard?

The mapping of the input source you have selected in the "flag" menu should always apply to both the internal and external keyboards.  The standard US keyboard has one less key, so it will be slightly different:

If yours does not behave that way, something is wrong.

Go into Apple preferences, open Keyboard. Once your macbook has recognised your external keyboard it will not tell you again. There are two drop down menus from which you can add any nationality of keyboard on those menus. This choice will appear in between volume and battery icons, which drops down when clicked.


Using the command-line / Terminal, is it possible to determine if this Mac has Touch ID or not? I am trying to find a way, using the Terminal/command line, to determine if the Mac I am using has Touch ID or not.

So far web searches have not turned up any answers.

I would have thought that either ioreg or system_profiler might have the answer, but my attempts to use them have not uncovered anything useful.

(I did find one reference to Multitouch ID but I believe that has to do with the trackpad not Touch ID.)

You can also look for hardware info and match it against apple provided info about Touch ID enabled Macs.

  Only the 2016, 2017 and 2018 MacBook Pros with "Touch Bar" have Touch ID.

https://discussions.apple.com/thread/8597511 Though a more credible and updated source would be better.
Also,  If system pref > Touch ID exists, this can be an indicator.

Using command line how to open a specific section of GUI System Preferences?
How do you access network preferences from the Terminal?

https://ioshacker.com/how-to/use-touch-id-for-sudo-in-terminal-on-mac look for tid (I don't know where)

Google shows some hits which I can't verify because I don't have access to a Mac with TouchID currently:

/usr/libexec/PlistBuddy -c "print :$(sysctl -n hw.model):_LOCALIZABLE_:description" /System/Library/PrivateFrameworks/ServerInformation.framework/Versions/A/Resources/English.lproj/SIMachineAttributes.plist | grep -oc "Touch ID"

  It will return 1 if touch id is available and 0 if not

One further method can be found in the same thread: TouchID Extension Attribute


List USB devices on OSX command line Can I List USB devices on OSX - similar to lsusb on Linux.
I know I can access from System Information.

In addition to system_profiler SPUSBDataType (suggested by @kjs), you can also use ioreg -p IOUSB:

$ ioreg -p IOUSB
+-o Root  <class IORegistryEntry, id 0x100000100, retain 10>
  +-o EHCI Root Hub Simulation@1A,7  <class IOUSBRootHubDevice, id 0x100000227,$
  | +-o HubDevice@fa100000  <class IOUSBHubDevice, id 0x10000027a, registered, $
  | | +-o Apple Internal Keyboard / Trackpad@fa120000  <class IOUSBDevice, id 0$
  | | +-o BRCM2070 Hub@fa110000  <class IOUSBHubDevice, id 0x1000002b4, registe$
  | |   +-o Bluetooth USB Host Controller@fa113000  <class IOUSBDevice, id 0x10$
  | +-o FaceTime HD Camera (Built-in)@fa200000  <class IOUSBDevice, id 0x100000$
  +-o EHCI Root Hub Simulation@1D,7  <class IOUSBRootHubDevice, id 0x100000228,$
    +-o HubDevice@fd100000  <class IOUSBHubDevice, id 0x10000027b, registered, $
      +-o IR Receiver@fd110000  <class IOUSBDevice, id 0x100000288, registered,$

By default it clips to the window's width (80 chars in the example above), so you may want to add -w0 to get a full-width display. Also, adding -l will show details (probably more than you need) about each of the devices:

$ ioreg -p IOUSB -w0 -l
    +-o Root  <class IORegistryEntry, id 0x100000100, retain 10>
  | {
  |   "IOKitBuildVersion" = "Darwin Kernel Version 14.0.0: Fri Sep 19 00:26:44 PDT 2014; root:xnu-2782.1.97~2/RELEASE_X86_64"
  |   "OS Build Version" = "14B25"
  |   "OSKernelCPUSubtype" = 3
  |   "OSKernelCPUType" = 16777223
  |   "OSPrelinkKextCount" = 185
  |   "IOConsoleLocked" = No
  |   "IORegistryPlanes" = {"IOACPIPlane"="IOACPIPlane","IOPower"="IOPower","IODeviceTree"="IODeviceTree","IOService"="IOService","IOUSB"="IOUSB","IOFireWire"="IOFireWire"}
[...etc...]

[EDIT]: If you just want the device names, you can filter the basic list to trim the junk:

$ ioreg -p IOUSB -w0 | sed 's/[^o]*o //; s/@.*$//' | grep -v '^Root.*'
EHCI Root Hub Simulation
HubDevice
Apple Internal Keyboard / Trackpad
BRCM2070 Hub
Bluetooth USB Host Controller
FaceTime HD Camera (Built-in)
EHCI Root Hub Simulation
HubDevice
IR Receiver

Run this command:

system_profiler SPUSBDataType


Move an old Time Machine folder (NOT volume!) to a different disk I have an old Time Machine backup that I moved from its volume to a folder on a different disk. Now I want to move it to yet another volume. The problem is that the volume where the backup folder is now shows about 90 GB of used space, while the folder itself shows a size of about 240 GB and I don't have that space available at the moment.

My question is: how can I move this folder?

You're probably seeing the result of hard links in the file system, which can result in counting the same file(s) more than once.

This is common in UNIX-like backup solutions, including Time Machine. The actual data usage is only 90GB, so a hard-link-friendly tool like rsync should handle the move correctly.

Per Wikipedia's article on hard links:

  The term is used in file systems which allow multiple hard links to be
  created for the same file.


Folders in Finder not showing This may be a total noob question, but this is my first apple product, please bear with me.
I'm not seeing certain folders, like "movies", "music", and "pictures" in finder.
Is there a way to activate these folders?

I'm running osx mavericks on a late 2013 mbp.

Pull down the Finder menu and select Preferences...

In the Preferences dialog, along the top row, click on the Sidebar tab.
Check the boxes next to the items you want to see in the sidebar of every Finder window.

Close the Finder Preferences window and you are good to go.

Nothing to these critical stuffs.

Just Try This

for OS X EI CAPITAN 10.11.6

Move the " Cursor" on to the folder Like " Favorite". there will appear " Show" or "Hide" option.
Click on " SHOW " option. All the functions will appear.


What are the benefits of iPhone jailbreak? Some days ago I read a news that said iPhone Jailbreak is legal. So I get 2 question in my mine.

before this news jailbreaking was illegal?(if yes why? "because when we buy something we can do anything we want with that product )(and if no then what was this news for?)
what is the benefits of jailbreaking? (are all iPhone applications was reachable through iTunes app store?)

I Jailbroke my iPhone 4 as soon as the jalibreak was released and had my iPhone 2G Jailbroken before that.

For me it's not about illegally installing applications, it's about intsall tweaks and applications which Apple can't or won't allow into their App Store, for example:

Winterboard:     Complete themeing system.
SBSettings:      Easily enable/disable settings from within
any application.
Infinifolder:        Remove the 12 Application limit from iOS4 Folders.
QuickReply SMS:      Reply to SMS messages directly from the message
alert with a popup keyboard and then
instantly return back to what you
were doing.
Cyntact:     Show contact pictures in Contacts.
BossPaper:       Rotating wallpapers (Was available before iOS 4 allowed
them)
Categories:      Allowed Apps in folders years before iOS4 did!

The few short weeks I had my iPhone 4 without it being Jailbroken I found it hard to use as I'd got so used to the small tweaks I'd installed my Cydia, most of them I had purchased.-

Facetime over 3G and tethering are the only reasons to jailbreak an iPhone 4.  Multitasking is the only reason to jailbreak an iPad.

Its legal, but make sure you restore the device before you bring it to a genius bar.  Apple employees don't have to honor the warranty or applecare if they see that the device is jailbroken.


Where can I download previous version of itunes? I am looking to download previous version of iTunes (iTunes 10.2.2). When I tried googling, all the webpages direct to apple site which has only the update iTune 10.3 for download.

Can any one let me know, how can I get older version of iTunes?


print user's crontab How can I print out my crontab?  Under Linux this can be done using crontab -l, however, running crontab -l under Mac OS X produces no output whatsoever and exits cleanly.

Here's my crontab:

0 9,10,11,12 * * 1-6 /Users/alexej.magura/scripts/vimmaid.sh
0 9,10,11,12 1,28 1,3,5,7,9,11 * /Users/alexej.magura/scripts/yankmaid.sh
0 9,10,11,12 1,2,*0,*1 * * /Users/alexej.magura/scripts/cronman.sh
0 *1,*3,*5,*7,*9 * * * /Users/alexej.magura/scripts/syl.sh

The command for Mac OS X and Linux are the same: crontab -l
This seems to indicate that the crontab is empty. Maybe edit the crontab with crontab -e and afterwards print out the crontab. Your changes should now be printed to console.

This worked for me:

cat /Volumes/usr/lib/cron/username


My iPhone isn't playing WhatsApp videos sent from an android device through WhatsApp I have an iPhone 5s and it isn't playing videos sent to me on WhatsApp, the sender is a Samsung user so maybe that's why? I can only hear the sound but the image is blank.
Is there a way to fix this or a video player than can play the videos?

I too had the same problem. But solved it by downloading an app called MConverter-Free medias converter.
After downloading, import the video in your app and convert it into .wmv format.
.wmv format is suitable for iPhone.


Which is the best alternative for Dreamweaver in Mac? I'm looking for a few freeware alternatives to Dreamweaver that I can use in my Mac that runs on OS X Lion. Shoot the best free, website development applications you know?

Adobe Dreamweaver (for Mac) — $399
As Andrew Larsson said, there is Mac version for latest Adobe Dreamweaver (url is the same as for Windows version).

If it's a tool that you like and already own, but it's not supported by Mac, then you may try to make it work under OSX using Parallels or wine. Some people made different Dreamweaver versions to work on wine (on linux), so you may try to install wine on Mac and then install Dreamweaver in this case.

Fraise

Easiest and most user friendly editor I've found so far is Fraise. It is small and nice, there's no 'workspaces' like in Eclipse and key-combinations like in Eclipse and Vim. It just stays out of your way and allows to edit HTML (there is preview window for it), CSS, and a lot of other file formats. I haven't seen yet any possibility of code-completion, but is it a big deal?

Ironically you may need to build it from source (but it's very and fast if you know how to use git and Xcode)

Quanta Plus
They say that it supports both code editing and WYSIWYG and it definitely works on OSX so you may like it. I've never tried it though.

There are also at least 2 tools based on Eclipse that you can use for web development:

Eclipse IDE for JavaScript Web Developers

It incluses tools for JavaScript developers creating Web applications, including a JavaScript IDE, tools for JavaScript, HTML, CSS, and XML.

As alternative you can install any other eclipse but make sure that it contains Web Tools or install them in eclipse of your choice:

Aptana Studio
It's also based on Eclipse. Besides HTML, CSS and JavaScript it supports server-site scripting languages (Ruby, Python, PHP). You can preview web pages you edit in built-in browser, but I don't know if it is possible to edit webpages visually in Elipse based IDEs.

There's also CodeKit. It's new and I'm not overly familiar with its capabilities, but thought I should include it for completeness.


Problem with Mac HDMI - Thunderbolt display to Sony (not a cable problem) I have a 13-inch Macbook Pro with Mountain Lion installed. I bought an HDMI - Thunderbolt cable months ago in order to watch movies, TV shows and whatnot on my TV (Sony Bravia). The cable had been working out great for me since I bought it; the audio and video quality was exceptional and it gave me an almost perfect HD experience whenever I watched shows on my TV via my Macbook.

However, the last couple days I have been running into some major problems with this display connection and has left me quite confused and frustrated. Basically, the Macbook is no longer able to detect the display! I connect the TV to the laptop and ensure that the connection settings are proper (ie, I have connected to HDMI 1 and proeprly set the TV's input to HDMI 1 as well). The Macbook's screen will flash once and the TV will go from the blue "No Signal" screen to a blank black screen. Previously, this is when the extended screen from the Macbook would appear on the TV and I can drag windows onto the screen. Unfortunately, none of these occur (can neither see the computer screen on my TVnor be able to drag windows onto the extended screen).

I have tried a plethora of troubleshooting steps; I have restarted the computer many times, turned the TV off and on, tried connecting the cable at different times (when just TV is off, when just Macbook is off, etc). I have also read up endless forum posts about this issue, but have yet to found a worthy solution (sorry, to many forum posts to put on this Question. It is a simple Google search away...)

Before I beg the world for help, I would like to share one piece of pertinent information that may be helpful. I have isolated this to a Macbook problem, not a problem with the cable or TV. I connected my other laptop (a Dell XPS with Windows 7 installed) to the computer with the same HDMI - Thunderbolt cable and I was able to successfully watch a Simspons episode on the TV with top-quality audio and video.

All help is much appreciated, especially if it saves me a trip to the local Apple Store. Thank you in advance.

I solved this one!
make sure your digital tv isn't on


Can't navigate dialog using keyboard only I checked this other question and I have a problem navigating through dialog boxes that is not answered there.

I'm copying + pasting folders and when the dialog "Stop/Replace/Merge" appears I can't navigate with the TAB because the dialog box never gets focus.

If I click on the dialog box then I can tab between the buttons, but that defeats the point of using the keyboard and slows me down (I have several folders to paste in different locations).

Is this a bug? I do have "Full Keyboard Access" turned on. I also checked this question and nothing there helps me. I already updated to Mojave.

It’s annoying, macOS is generally pretty good with keyboard shortcuts but there are one or two places where it doesn’t work!

I think the dialog does have focus (it’s technically a window and appears ticked in the Window menu, and you can press ⌘M to minimise it) but it just doesn’t allow you to use the keyboard to activate the buttons. Let’s both send feedback to Apple on this.


What is a good OSX incremental backup software (not time machine) So I used to use CCC to clone my external drive to another external drive for a backup copy.

What I realized is that I want incremental backup that is versioned. So I can go back to a copy that is on a specific date in the past.

I don't want to use time machine for this because right now TM is already being used to backup my main drive to a time capsule.

As far as I know, I can't setup TM to backup my main drive to time capsule while choosing to backup an external drive to another location.

I guess I'm looking for 3rd party solution here?

Take a look at Crash Plan. It allows you to backup to a disk, machine on the network, or the cloud. It has options for how long to retain items and what to ignore.

I have been using for a long time, and still using satisfactorily, SuperDuper! by Shirt-Pocket: http://www.shirt-pocket.com/SuperDuper/SuperDuperDescription.html. I recommend it.


Have a Mac mini hooked up to two screens, but can't rotate one, only both of them Having a little problem with my Mac mini. I have two monitors set up with it, and they are working fine as a dual monitor setup. However I want to rotate one so it is in portrait mode but when I change one it alters both of them. The screens aren't being mirrored so I am a little stuck on whats happening?

Any help would be appreciated.

Connect only one display(the one to rotate) rotate it as desired then connect the other ! takes me time to figure that as well !!!


Prevent Image Capture from opening when a memory card is inserted Every time I plug in a SD memory card, Image Capture launches, is there a way to disable this? I am running OS X Mavericks.

Your Mac doesn't really know the difference between a Camera and the SD card. It treats them all pretty much the same. So, in the iPhoto Preferences you can select 'Do Nothing' when a camera is connected, and that will stop Image Capture launching.

iPhoto Menu -> Preferences -> General


Use Shortcuts app to format text I have text in this format:

Red and green apples
Pear
2 Bananas
red orange
Melon
Grape fruit

I need it in this format:

c("Red and green apples", "Pear", "2 Bananas", "red orange", "Melon", "Grape fruit")

I also have these numbers:

1
172
3
183
16
178
68
56
687
576
455

Which I need in the format below. Note that this is same format as above except they are numbers so they are missing quotes:

c(1, 172, 3, 183, 16, 178, 68, 56, 687, 576, 455)

Can I make a shortcut that will automatically convert the text?

You can do this with regex in Shortcuts.

Here with text:

and here with integers:

The code is the same, it’s only the first "Text" action which differ.
More about regex in Shortcuts in this reddit post.

Edit: do not confuse, in the two first "Find Text" in the two screenshots, the | in (\n|$) is the vertical bar character, not a uppercase "i" or a lower case "L".

Edit 2: As asked in the comments by the OP and in the edited question, here is a different version with less constraint in the input (remark: in the first Replace Text action, in the field Replace With, you should read "$1",␣, ie a space should be after the comma, but the screenshot cannot display it, and in the 3rd Replace Text, in the field Find Text, you should read (.+),␣):

We want the equivalent of this piece of JS code:

"c(" + input_text.split('\n').join(', ') + ")"

So the script will be something like this:

Split Text (New Lines) -> Combine Text (Custom separator ", ")

Integrate as you wish with the rest of the script.


Applescript to toggle "Announce the time:" in Sys Preferences I'm trying to toggle the "Announce the time:" checkbox on the "Dock & Menu Bar" pane of System Preferences (in Big Sur).
I've gotten this far:
tell application "System Preferences"
    activate
    reveal anchor "Clock" of pane id "com.apple.preference.dock" -- pane "Dock & Manu Bar"
    -- nothing I've tried here works
end tell
tell application "System Events"
    -- nothing I've tried here works
end tell

That reveals the correct pane with this checkbox:

I've tried using global coordinates with click at {x,y}, but that's ignored or I get a timeout error.  (I'm able to click the buttons on the main Sys Prefs screen, so I know I have the coordinates correct.)  I've also tried clicking the element named Announce the time:, but that didn't work either.
How can I toggle the Announce the time: checkbox?

Using Accessibility Inspector, a part of Xcode, it shows that some of the time the Announce the time: checkbox reports "Parent does not report element as one of its children" and as such will cause AppleScript code to fail under certain conditions, and under other conditions not fail. In other words, writing my own code I can get it to check that checkbox sometimes and not other times.
In trying to ascertain a pattern to see how to workaround this situation I came to the conclusion that using fully visible UI Scripting was the most reliable way. It's also unfortunately an ugly way and requires letting the script finish without interruption once started, otherwise it will fail for sure. Such are the pitfalls of fully visible UI Scripting.
The example AppleScript code, shown below, was tested in Script Editor under macOS Big Sur with Language & Region settings in System Preferences set to English (US) — Primary and worked for me without issue1.

1  Assumes necessary and appropriate setting in System Preferences > Security & Privacy > Privacy have been set/addressed as needed.

This script requires that the Use keyboard navigation to move focus between controls checkbox is checked on the System Preferences >  Keyboard > Shortcuts tab, and as coded, the script checks its status and toggles the checkbox, as necessary, based on its current status.

Example AppleScript code:
--  # Check to see if System Preferences is
--  # running and if yes, then close it.
--  #
--  # This is done so the script will not fail
--  # if it is running and a modal sheet is
--  # showing, hence the use of 'killall'
--  # as 'quit' fails when done so, if it is.
--  #
--  # This is also done to allow default behaviors
--  # to be predictable from a clean occurrence.

if running of application "System Preferences" then
    try
        tell application "System Preferences" to quit
    on error
        do shell script "killall 'System Preferences'"
    end try
    delay 0.1
end if

--  # Make sure System Preferences is not running before
--  # opening it again. Otherwise there can be an issue
--  # when trying to reopen it while it's actually closing.

repeat while running of application "System Preferences" is true
    delay 0.1
end repeat

--  # Get the fully qualified POSIX pathname of the target .plist file.

set thePropertyListFilePath to ¬
    the POSIX path of ¬
        (path to preferences from user domain as string) & ¬
    ".GlobalPreferences.plist"

--  # Get the value of AppleKeyboardUIMode to determine if the
--  # 'Use keyboard navigation to move focus between controls'
--  # checkbox is checked on the **System Preferences** >
--  # **Keyboard** > **Shortcuts** tab.

tell application "System Events" to ¬
    tell the property list file thePropertyListFilePath to ¬
        set keyboardNavigation to the value of ¬
            the property list item "AppleKeyboardUIMode"

if keyboardNavigation = 0 then
    --  # Check the checkbox.
    my toggleKeyboardNavagition()
end if

--  # Open System Preferences to the Clock row of the Dock & Menu Bar pane.
--  #
--  # This UI Script needs it to be visible, hence the activate command.

tell application "System Preferences"
    activate
    reveal anchor "Clock" of ¬
        pane id "com.apple.preference.dock"
end tell

delay 1

--  # Tab to the 'Announce the time:' checkbox and toggle it.

tell application "System Events"
    repeat 9 times
        key code 48 --  # tab key
        delay 0.2
    end repeat
    key code 49 --  # spacebar
    delay 0.1
end tell

if keyboardNavigation = 0 then
    --  # Uncheck the checkbox if it
    --  # was previously unchecked.
    my toggleKeyboardNavagition()
end if

delay 0.5

tell application "System Preferences" to quit

--  # Handler(s) #

--  # Toggles checkbox: 'Use keyboard navigation
--  # to move focus between controls'

on toggleKeyboardNavagition()
    tell application "System Preferences"
        activate
        reveal anchor "shortcutsTab" of ¬
            pane id "com.apple.preference.keyboard"
    end tell
    tell application "System Events"
        tell front window of ¬
            application process "System Preferences"
            set i to 0
            repeat until (exists checkbox 1 of tab group 1)
                delay 0.1
                set i to i + 1
                if i ≥ 20 then return
            end repeat
            click checkbox 1 of tab group 1
        end tell
    end tell
end toggleKeyboardNavagition

Note that because of the comments and coding style the script is long. It ends with end toggleKeyboardNavagition, so make sure you highlight all of it when copying and pasting to Script Editor for testing.

Notes:
In the tell application "System Events" block in with there is the repeat 9 times loop that does the tabbing in order to toggle the Announce the time: checkbox, the value of the delay command may need to be adjusted.
If the normal state of the Use keyboard navigation to move focus between controls checkbox is unchecked, then do not run the script immediately back to back as it takes a second or two for the value of the property list item "AppleKeyboardUIMode" in the users global preferences file to update the change. I'm mentioning this mainly for when doing testing more so than when in normal production use, as it shouldn't be an issue then.

Note: The example AppleScript code is just that and sans any included error handling does not contain any additional 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. Additionally, the use of the delay command may be necessary between events where appropriate, e.g. delay 0.5, with the value of the delay set appropriately.

Here's my version, sans the clean-up at the start, which I recommend that you include.
tell application "System Preferences"
    activate
    delay 1

    reveal anchor "Clock" of pane id "com.apple.preference.dock"
end tell

tell application "System Events" to tell process "System Preferences"
    repeat until window "Dock & Menu Bar" exists
        delay 0.5
    end repeat

    repeat until checkbox "Announce the time:" of window "Dock & Menu Bar" exists
        delay 0.5
    end repeat

    tell window "Dock & Menu Bar"
        set theCheckBox to checkbox "Announce the time:"
        set theState to value of theCheckBox
        if theState is 0 then click theCheckBox
    end tell
end tell

tell application "System Preferences" to quit

PS: For some reason, I encountered some failure where the check box could not be found. Upon inspection with UI Browser, I noticed that the checkbox was detached. I'm not sure how the issue went away and it's working for me now.
Also you may want to limit the wait period instead of waiting indefinitely.


Is there an .ogg plugin for quicklook? Is there one of these?

I could not find one with a basic search on google.

If not, is it possible to make it look and behave exactly like the default audio quicklook in objective-C?

Whenever I want a new Quicklook plugin, I look through three places:

quicklookplugins.com
qlplugins.com
And a specially crafted google search.

Neither of the third party quick look plugin sites list any results for 'ogg' or 'vorbis', and the link to bravobug.com in a MacWorld forum post no longer works either because the domain has been squatted, or the blog software has just become completely overrun by spam, which is also why I didn't actually link directly to blog post.

Xiph (the company responsible for OGG and so much more) created the XiphQT components forever ago, but they haven't been updated in years, and there's no updates to suggest QLPlugins or anything else of the sort.

It seems like this does not exist. Unfortunately.

XiphQT works! Install it and Quick Look plays ogg files.  Tested on Mountain Lion.


Backup, share, or save iPhone voicemail messages? Is there a way to export, save, share, or e-mail voicemail (not Voice Memos) from the iPhone?
I am guessing there are some under-the-hood ways to get at the files once you sync to a desktop, but is there any way to do it straight from the iPhone?
I have seen this response for jailbroken phones.
How can I backup and archive my iOS voicemail messages?

I believe there are applications that can extract the voice messages from your phone but they cost money and required the phone be plugged in to the computer.

The simplest way is to connect your phone to your computer with a 3.5mm audio cable. Use a simple audio recording app, such as Audacity, click record and play the voice message.

Connect your device to iTunes using USB or Wi-Fi, select the device, then the Music tab and check the Voice Memos option, then sync the device.


Can a non-retina iMac with i7 3.5 Ghz and GTX775M handle three displays? I am thinking about getting a used non-retina iMac with these specs:

Core i7 3,5 GHz
32GB RAM
1TB SSD
GTX 775M

Since I own two Apple 27" Displays I'd like to hook these up via Thunderbolt/MDP.

My question is: Can the iMac handle all the 3 displays (including the built-in one) or will I have UI lag/stutter? Will the iMac get hot? How would the fan noise be with this setup?

I am assuming that you are referencing a 27" Late 2013 iMac because there is no 21" iMac that has that specific CPU frequency.

You can have up to two external displays connected via Thunderbolt  according to the specs posted on EveryMac.com

I have used 30" and 43" displays with my iMac and there has been zero lag.  I also only have SSDs (no hard drives) so I have had zero issues with heat, even with multiple displays.

Here are the steps:

Go to the Apple Menu (top-left hand corner)
Click About this Mac
Check your graphics card,

What does it tell you it can handle?


Downgrade from Yosemite OS to Mavericks OS: -2003F message error Please I wanna ask you if you can help me to resolve this issue.

I have make a handling to downgrade from Yosemite OS to Mavericks OS.
After this, my Mac cannot start up, it displays a folder with question mark
I've tried to boot with (cmd + R) but I got this strange error "-2003F"

Try to boot in Safe Mode (Cmd+x) to see if it boots. If not, try to boot in single user mode (Cmd+s) and have a look at the output on the screen. It may be able to give you more information to help you solve this issue or post screenshots here.


iTunes stops playing song without reason I'm using Apple Music and I'm still in the evaluation period, but the system isn't working very well:

Either on my iPhone or my Mac (latest OS version), when I'm streaming music, it stops playing in an unexpected way after two minutes.

The playback play fine when the music is local, but connectivity is fine in other application. I wonder why iTunes is so buggy when it comes to distant request...

I managed to fix my problem by calling Apple hotline. They asked me to do a lot of manipulation and I cannot say precisely what was going wrong. We did a test on a new test user I created on the system. I started iTunes, connected my Apple id and Apple Music was working fine.

We removed together some iTunes configuration files and managed to restore Apple Music playback in my session.

Hope it helps!


Applescript refer a link to a file in current finder window Edited.

Where is my current script :

set plistfile_path to POSIX file "/users/moi/Desktop/Time/"

choose file with prompt "Please choose a file:" of type {"plist"} ¬
    default location plistfile_path

##set the plistfile_path to "~/Desktop/myTime.plist"
tell application "System Events"
    set p_list to property list file (plistfile_path)
    -- read the plist data
    set startTimeValue to value of property list item "startTime" of p_list
end tell

I don't manage to get it work using the choose file dialog.

I'm having this error :

"error "System Events got an error: Can’t make file \"Macintosh HD:Users:nadjarian:Desktop:Time:\" into type integer." number -1700 from file "Macintosh HD:Users:moi:Desktop:Time:" to integer
"

if I get script of the dialog, it's work fine with this list instead :

set the plistfile_path to "~/Desktop/myTime.plist"

any idea how to fix the error?

This seems to work for me,

I'm setting the patch with the variable P and set a to POSIX file p

Then I create a dialog with the default location of the variable A

set p to "/Users/usernmaHere/Desktop/Time"
set a to POSIX file p

set config_file to choose file with prompt "Locate your .plist config file and click OK" of type "plist" default location a

I added file limitation with " type "plist"


wrong version of gcc being used I've recently been having problems with compiling packages for R. I'm not sure of the causes but one possibility is that there are a couple of different versions of gcc on my MacBook Pro. When I type which gcc in a terminal window it returns /usr/bin/gcc. But when I type gcc --version I get back
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
Apple clang version 11.0.3 (clang-1103.0.32.62)
Target: x86_64-apple-darwin19.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

I may also have some issues with the path. It is currently set to
/usr/local/sbin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/usr/local/bin:/usr/bin:/bin:/Library/TeX/texbin:/opt/X11/bin:/Library/Apple/usr/bin:/usr/local/git/bin

I added the Applications... path to PATH hoping it would help but it didn't. /usr/bin contains both a g++ and gcc file install May 18, so very recently. I've tried renaming those as a test of whether that would solve the problem but I'm unable to do that even as sudo.
Suggestions greatly appreciated!

For macOS Clang is a more preferred option (Apple stopped shipping gcc with Xcode and replaced it with Clang and the last version of GCC they supported was 4.2.1, it'll overall be more intuitive.). I'd remove GCC and do the following:
Installation of Clang

Run brew update and then brew upgrade in terminal
Run brew install llvm to install LLVM and Clang

To put Clang within your PATH variables:
echo 'export PATH="/usr/local/opt/llvm/bin:$PATH"' >> ~/.bash_profile

I'm not too sure how different the two are when it comes to compiling (although they are probably very similar.) you can proceed with this link to catch up on the commands you'll need to use instead.


Which IP ranges and subnet does OSX internet connection sharing use by default? I'm using a TP-Link portable router to share a wireless internet connection from my mac to the router via ethernet. This seems to work but I notice that the IP on a device connected to the router is 192.168.2.14.

I'm curious to know which IP range internet connection sharing will use by default and whether this can be changed via the terminal.

I'm currently on Mountain Lion but also interested in any relevant differences in Mavericks.

ifconfig shows:

bridge0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    ether ac:de:48:08:15:b5
    inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255
    Configuration:
        priority 0 hellotime 0 fwddelay 0 maxage 0
        ipfilter disabled flags 0x2
    member: en0 flags=3<LEARNING,DISCOVER>
             port 5 priority 0 path cost 0

Is this bridge the mechanism for internet sharing?

Sorry: I'm a bit short of time and so this isn't a complete answer, but hopefully it gives you a starting point.

From the answers to this question, it seems that /usr/libexec/InternetSharing creates /etc/bootpd.plist when Internet Sharing is turned on, and removes it again when it is turned off.  I think this file is the cause for the ifconfig values you are seeing.

On my machine, when it exists, among other things, that file contains

        <key>net_address</key>
        <string>192.168.2.0</string>
        <key>net_mask</key>
        <string>255.255.255.0</string>
        <key>net_range</key>
        <array>
            <string>192.168.2.2</string>
            <string>192.168.2.254</string>
        </array>

I'm guessing that 192.168.2 is the default range, as my machine is producing the same results as yours.

I think you could try modifying /etc/bootpd.plist once the file has been created to set your own range.  You might then need to restart bootp.

I don't know how to configure InternetSharing to use a different default.  (I had a brief look at /System/Library/CoreServices/InternetSharing.bundle and the output of strings /usr/libexec/InternetSharing, but couldn't see anything obvious.)  One of the answers  to the question I mentioned above suggests creating a cron job or launch agent to overwrite the /etc/bootpd.plist with the settings you require automatically.

These details are for Mavericks.  If I understand right, Mountain Lion uses named instead: see the question, and the article it refers to also.

However... bootp is only the subsystem that tells your other devices what addresses they should use (via DHCP).  The Mac also has to forward packets from those devices to your wireless connection, and vice versa.  I don't know how that forwarding is configured, and it might well be set up to forward only packets from/to the 192.168.2 subnet.


Is there a way to disable WiFi auto-connect on iPhone? Is there a way to disable automatically connecting to a known WiFi network on an iPhone?

Say that your work/school has a monitored WiFi network. You only want to connect to it when you plan on downloading a large file, so you don't want to connect to it automatically. But you also don't want to re-enter your credentials every time you want to connect.

Is there a way to tell your iPhone to forget an network until you want to re-connect?

At this time, there is no way to do this.  Your only options are to have it always on or always off.

I suggest letting Apple know you want this feature by providing them feedback here.

Currently, you would have to tell the iphone to forget the network and then enter your credentials again later. There is not a way to have it remember the credentials if you don't want it to automatically join.


bash completion in terminal - files vs folders I just recently started out with MacOS, but there one some strange completion behaviour with the bash shell (compared to OpenSuse Linux with tcsh where I come from) that is bugging me:

For example, when I am in $HOME and write Pu on the command line, followed by tabbing for completion, I expected that one of the options shown would be my Public/ directory. However, as long as there are executable files, the completion never shows directories that share the same prefix. Only after entering Publ, the tab completion gives me Public/ as there are no more executables with that prefix.

So my question would be, is there an option to have the completion directly show executables and directories with the given prefix?

I already tried upgrading to bash 4 and installing bash-completion via homebrew but that did not help. I suspect that either the MacOS readline behaves differently or that there are some more setting for .inputrc which I do not know about.

I further know that by starting with ./ I only get directories. This is the bandaid that I use at the moment.

as far as I know, it's a feature, not a bug.

you could just change to tcsh, here is a guide (eventually you have to install it via homebrew, then adapt the path)

Try it with
./Pub[tab]

the ./ makes it the current directory to start the tab-completions from

(I'd like to know know how this isn't usefull, as it works that way on Linux too?)


I have deleted a bunch of music from iTunes on my Macbook Pro, but am not gaining any free space I am trying to clear off a lot of extra space on my hard drive. I started with about 90 gigs of music today when I had about 45 gigs of space left available. I just deleted almost 40 gigs worth of music from iTunes and emptied the trash. But it doesn't show any increase in available space.

I have been using the df -H terminal command to look at disk usage. This is the result:

Filesystem                          Size   Used  Avail Capacity    iused    ifree %iused  Mounted on
/dev/disk0s2                        249G   195G    54G    79%   47650435 13189307   78%   /
devfs                               188k   188k     0B   100%        636        0  100%   /dev
map -hosts                            0B     0B     0B   100%          0        0  100%   /net
map auto_home                         0B     0B     0B   100%          0        0  100%   /home
localhost:/klncoWvMIai4qlXuHftSwz   249G   249G     0B   100%          0        0  100%   /Volumes/MobileBackups
/dev/disk1                          3.3G   3.3G     0B   100% 18446744073707931462  1621231 1712789607586623232%   /Volumes/GSP1RMCPRXFRER_EN_DVD

I have also verified my disk, repaired it, and repaired permissions. Nothing is changing though.

I fixed the problem by resetting the PRAM and the NVRAM.


How to show hidden files on mac without Terminal I need an easy way to switch files visibility on Mac. I know about Terminal commands how to show hidden files and hide files. However, I need a tool to make this task faster and easier.
I was trying to find a special app in the App Store, but found nothing. Is there any way to show/hide hidden files without launching Terminal? Any tips or apps?

On MacOS Sierra you can use shift ⇧ + cmd ⌘ + . shortcut on keyboard to toggle between 2 states. No need for any plugin/app. It works out of the box.

You can see it here in action: https://www.youtube.com/watch?v=pdLjJU_kAT8&feature=youtu.be

You can try the long way to show hidden Mac OS X files is as follows:

Open Terminal found in Finder > Applications > Utilities
In Terminal, paste the following: defaults write com.apple.finder
AppleShowAllFiles YES
Press return
Hold the ‘Option/alt’ key, then right click on the Finder icon in
the dock and click Relaunch.

This will show all hidden files. To hide them again, follow the same steps but replace the Terminal command with:

defaults write com.apple.finder AppleShowAllFiles NO

It’s not the longest set of instructions or the biggest command to commit to memory but if you’re doing this a lot, it’s worth spending a few minutes now to save yourself a lot more time in the future.


MacBook Pro 2016 (sans touchbar) – headphone jack not going all the way in I just bought a new MacBook Pro 2016 (without touchbar) and noticed that the headphone jack doesn't go all the way in and sticks out a couple of millimetres:

Despite that it seems to be working fine. However, I'm still worried that something might be broken inside and it will come up later.

Is it supposed to be that way on the new models?

My MBP 13" with Touchbar won't fit all the way in either. Probably this is Apple's intention.


Console log flooded with "VMware Fusion Start Menu ... : assertion failed: ..." I get tons of messages of this style in my console log:

08.12.14 11:03:41,045 VMware Fusion Start Menu[444]: assertion failed: 14B25: libxpc.dylib + 40320 [9437C02E-A07B-38C8-91CB-299FAA63083D]: 0x13

The effect started after updating OS X from Mavericks to Yosemite. Updating to Yosemite 10.10.1 did not help.

I have installed VMWare Fusion 6.05 which should be compatible to Yosemite and the effect happens also when Fusion is NOT running.

The problem is hard to investigate as the string appears in many posted logs that discuss other topics.

After multiple attempts to solve this, I finally found the solution in a side note of a VMWare community thread:

Start Fusion, select one of your VMs (no matter which one) and change the virtual machine settings like this:
Virtual machine -> Settings -> Application Menu -> "Show only when machine is running"

After I did this the messages stopped immediately. I could even switch back to the default setting of "Always" and the messages did not reappear.

I had the same issue, but after I performed the VMware Free upgrade the issue was resolved.


What does the spinning circle next to the network indicators on iOS mean? I recently got an iPhone and at first I had problems connecting to the wifi. After a while, I got it to work. Now I noticed a small circle next to the wifi icon that spins when I am going down through a timeline on Facebook or Tumblr.

Does this indicator mean that it is just loading? Or is it using the cellular network?

The spinning circle icon is simply a means of indicating that some network activity is taking place, i.e. loading new data in Facebook or Tumblr. It could even be background data access like updating apps from the store or if you have background refresh enabled for some or all apps.

It has nothing to do with which network is being used — for that, check the cellular/Wi-Fi indicator. If the Wi-Fi icon is there, then it's the Wi-Fi network being used.

It's also worth noting that apps can turn on and off the indicator at will, so it's not a 100% reliable indicator that data is actually being transferred. If coded poorly, an app could activate the indicator, but neglect to deactivate it in certain circumstances.

Just leave it alone and it'll go away. I had the same problem on my phone and it didn't go away for about a day. It turned out that I was checking how much space I had used up and it was still loading all the information.


Photos App: iPhone Photos not showing up when attempting to import I have my iPhone setup to open Photos app when I connect my iPhone to my Macbook Pro. I also have Dropbox automatically importing my photos when connected too.

Dropbox has no problems importing my photos, but Photos does. I can see my iPhone connected, but I can't see any photos on my iPhone as you can see from this image: (The name "Hold Me, Touch Me" is a reference to movie "The Producers" with Zero Mostel.). As you can see, the name of my iPhone shows up, but not the 168 pictures on the phone.

I suspect there is some [i]security setting[/i] where I have to tell Photos it has permission to read my iPhone, but I can't seem to find it.

[]

When I plugged in my iPhone this morning, it asked me if I wanted to share my photos with this device (meaning my computer). I clicked on "Yes", and the problem was solved.

I thought the problem may be one where my iPhone didn't trust my computer to share the photos, but I couldn't find anything on the iPhone or my Mac. I checked iTunes too, but didn't see anything.

Once I gave my Mac permission to see my photos and everything is now fine.

I have the exact same problem EXCEPT that I selected "never for this device" for Dropbox.
This worked perfectly until today. Two days ago, I upgraded to El Capitan. Thatʻs the only thing Iʻve done differently since it worked properly last time.


What's the terminal equivalent of Windows' netsh wlan add filter? On my windows wifi devices I am able to add wireless network filters to disable connectivity to unwanted signals.

First I whitelist any networks I deem secure using the following command:

netsh wlan add filter permission=allow ssid=myNetworkName networktype=infrastructure

Then I blacklist all the others using:

netsh wlan add filter permission=denyall networktype=infrastructure

I recently got a MacBook Air and now I want to do the same thing with it.
What are the terminal equivalents of these cmd commands?

Thanks in advance!

Edit:

This question is not a duplicate. It's alright if you don't have the answer, but don't mark it resolved just for the sake of it. Leave it up in case someone else knows the answer.

First of all, that script fails to connect most of the time. Secondly, I need a way to stop non-administrators from connecting to ALL networks other than the ones I've white-listed. That solution has you list the 'bannedList' of networks one by one. And it doesn't mention how to force non-admins to connect through the script rather than just using the regular WiFi list or network preferences.

I refuse to believe there is no solution to such a trivial network security question. Especially since it was so easy on Windows.

If it's running High Sierra you can turn off auto-join in the system preferences > network > airport panel.

EDIT: question was unclear.  Here's another answer that might be better for the question-asker.

You can create a 'Profile' to install on the system.

Buy Server.app on the App Store.
Learn about Profiles and how they work.
Create a profile with a restirction that prevents the user from accessing the 'network' control panel.
Make sure the WiFi network(s) it's OK to connect to are already set up - the credentials will be stored in the System keychain, so all users will be able to access them.  If the administrator has connected to networks that other users shouldn't - you'll need to 'forget' those networks or move them from the system keychain to a user one.
Install the profile in the users' account, and make sure to disable the WiFi menu while you're at it, so the only way to change networks - other than the command-line if they figure out how - is through the Network control panel, which is now disabled.


Download free app updates without prompting to enter Apple ID password on iOS 6 I read somewhere in iOS 6 you don't need to enter your Apple ID password for downloading free apps and updates to already installed apps. However I see that I am still being prompted for my Apple ID password. Is there any solution for this? Is this expected behavior?

No password is required for app updates in iOS 6, but you still have to enter your password to buy apps, even free ones.

If you don't need an ID or password, anyone could download anything anywhere.
I would be worried if no password was required


I have to turn off and on my WiFi every hour or so. What's wrong? In my home network, my Apple TV, iPad, and Macbook Air all have the same problem. The WiFi network works fine, but after about an hour or less, the Wifi stops working. Things just hang when I try to things like open a webpage or ping yahoo.com. The WiFi signal icon is still on, however. The fix for me is to turn off my wireless on my Apple device and turn it back on again.

But this is annoying. How can I fix this? I'm using a Zonet Wifi router with WPA2 on. My ASUS Ubuntu netbook has no problems staying on the WiFi network.

I agree that since your problem occurs over many devices it is unlikely to be a problem with the Apple devices. I appreciate your point about the Ubuntu device still appearing to work, but it still seems more likely to be a router problem (it could be for example the router is producing multiple errors that the Apple software is catching).

I'd suggest a hard reset of the router as Step 1 (before you do so however make sure you know ALL your current router settings, not just your name and password. I take a screenshot of each setting page)

Most routers have a Reset button you have to press with a paperclip.

Power off the router for several minutes, then apply power and do an immediate reset.

I'am using an Airport router along with another router (modem). I had no problem for years and it recently become so annoying my experience tell me that the router need to be retired.  I do a hard reset first - if it works I will keep it.


Access Time Capsule's files from iPhone Is it possible to access Yime Capsule's files from iPhone? On my Mac I'm simply connecting to afp://10.0.1.1/ and I have my data.

But on my iPhone, when I try to connect (e.g. from Safari) I get an error.

Is it possible to browse AFP servers from iOS? Or maybe there's a way to enable WebDAV on it?

It is not possible to access server shares from Apple's iOS. iOS does not have a Samba or AFP client, and thus, cannot handle these requests.

Time Capsule uses modified AirPort Extreme firmware and supports AFP and SMB file-sharing protocols.

Unfortunately, this is the extent of your capabilities of accessing files on Time Capsule from iOS. Sorry :(

It is possible with 3rd party software.

There are dozens of apps in the App Store for browsing afp/smb network shares, including Time Capsule internal drive.
Some apps focus on video, some focus on documents, some trying to do both.


iOS - Deleting pictures after syncing with iTunes After syncing my iPhone with iTunes, if I delete my pictures from the device, will they also be removed from my Mac on the next sync?

Is there a way to delete my pictures from the iPhone, but keeping them on my Mac?

If iCloud Photo Library, iCloud Photo Sharing, and Upload to My Photo Stream is off, deleting the pictures you import either via Photos app or Image Capture won't delete them from your computer the next time you connect your iOS device (or in the time between), as there is no library sync in place.

Just plug in the phone and then copy and paste to your Mac. The. You are safe to delete.


Convenient Way to Turn an Apple Note to EPUB Recently I have converted one of my iCloud notes into an EPUB by first copying and pasting its content to Pages (by parts, since the entire content was not willing to be copied for some reason), then by manually designating all the headers as Pages headers (to get the table of contents working), and then by using the Pages "Export to EPUB" option. This was a lengthy and unpleasant procedure. Is there a better way to turn a note into an EPUB? By the way, I specifically need to have all the images from the note in the resulting EPUB document.

Sorry you had challenges with the copy to pages. In my experience, the content from the note to Pages is generally excellent and one step. Pages has EPUB export capabilities and it will take over all function for authoring from iBooks Author in the next OS release cycle in 2020.

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

I think you will find the hassle to get it into pages lessened over time and benefit from having it in a format you can edit easier than PDF.

You can save a Note as a PDF in the Notes App. Then you can use EPubIr to convert the PDF to EPUB. EPubIR is an app available at the  link above.  It sells for $2.99.


When I download a free app in appstore it says “amd action:authenticate:sm” When I download a free app in appstore it says "amd action:authenticate:sm". My device is iPhone 5c. How can I solve this problem???

You can try adjusting your iPhone clock to your current location.
Go to Settings > General > Date & Time on iOS and set your time appropriately -either manually or automatically by switching the "Set Automatically" slider to on.


8GB 1333mhz SODIMM in Macbook Pro 13" 2010 (7,1) alongside original 2GB stick I understand that 8gb modules are not officially supported in this MBP. However, this indicates that they are, as long as they are 1067mhz modules:

Can I use 16 GB RAM with my MacBook Pro 7,1?

I also understand that while 1333mhz modules are not supported, if they are paired with a 1067mhz module, the EFI automatically downclocks the faster module, and they both run at 1067mhz, eg:

http://tylermilner.com/?p=342

Here's my question:

Is is likely to work if I buy an 8gb 1333mhz module and pair it with one of the existing 2gb 1067mhz modules?

The reason for this over an 8gb 1067mhz or 2x4gb are:

I get more RAM (10gb) than replacing with 2 x 4gb
I can upgrade in future if I want (add an 8gb 1067mhz stick)
It's much cheaper - 8gb 1333mhz modules are far cheaper in the UK now than 8gb 1067mhz

It should work, but it's not recommended.

You should always use the same module, also I believe that way you got some performance benefit. MacRumors has a post about this.

Also, I believe your MacBook Pro won't support more than 8 GB of RAM according to the post, but that I'm not sure. Check out Apple's guide or technical documents for these information.

Another thing to be aware of is if your machine supports 8 GB on a single stick.

This is what I suggests. Buy two matching 4 GB 1066 MHz DDR3 RAM for your MacBook Pro. That way, you won't get into any trouble. It might cost a little more, but it's much more reliable.

http://www.youtube.com/watch?v=ZkVEg2X6cbo
Has a video of a Mid-2010 13in Macbook Pro running 16GB of Ram. Its the only Macbook Pro that can use more than 8GB.
http://blog.macsales.com/16353-owc-announces-maxram-memory-upgrades-to-16gb-for-2010-mac-mini-macbook-and-macbook-pro
Has an  article in which they tested 2010's and their compatibility to use 16GB. Due to the latest EFI release only the 13" MBP is compatible and uses all 16GB of ram. For just over $100 I'd just get the 16GB and call it a victory. I have a 2010 17" and I'm hoping that the same happens to us in a future EFI release.


bootcamp: automatic change of audio output device like in OSX ? (if headphones plugged in, mini toslink, ..) I don't really know if it is like that for everyone or if there are some bootcamp driver issues on my machine, but:

Every time I plug in headphones, a mini-stereoplug or a optical mini-TosLink cable and want the sound to be played via the attached device, I have to open the output devices settings and choose the desired one and "set it to default". (windows 7 64bit, bootcamp w/ most recent drivers)
Is there some possibility to have an app do this automatically on (un-)plugging the cables or at least something that changes audio output device via a hotkey/combination?
Or should it change automatically out of the box and something is nessed up with my bootcamp drivers?

macbook pro 15", i7 late 2011

Activate the 'Mute the rear output device when a front headphone
plugged in' under the advanced settings menu.
Click on the Folder Icon next to Analog.
Click on the 'Disable Front Panel Jack Detection' button.

I've got both green connectors set to headphone.

It has always worked for me.

you can easily set your headphone as default device. as soon you unplug headphone jack device switch to your speaker and when connect headphone it will switch back to it.


Cannot connect to server "localhost"? I've been developing web apps for several months now on my mac using the built in apache server and everything has been fine. I restarted my mac this morning and now when I try to connect to anything on localhost I get the error: "Could not connect to localhost". Here are some things I have already checked:

Apache is running. System Preferences->Sharing->Web Sharing is turned on.
I ran "apachectl configtest" and it returned "Syntax OK"

Any help would be appreciated.

From the terminal curl http://localhost || echo $? might be a good place to start to determine if this is a resource issue, routing issue or apache issue.

You'll either get back a valid http response or an error that may lead the way to knowing why your other web clients are not connecting to localhost on port 80.

I can recommend MAMP. It's everything you need in one software-package. Apache, MySQL and PHP. I use it for years and I never met a problem!


Which format should I choose for a Time Machine backup volume? I'm using Catalina on an formatted APFS SSD and am finding a correct way to backup the OS. In the plugged in external HDD, I create a backup volume with APFS format using Disk Utility. But when I choose it as the backup volume in Time Machine, Time Machine requires the volume have to be erased. I did it and then go to Disk Utility to check, the volume is now formatted as Mac OS Extended (Journaled).
Should I continue to use it? Will it occur any problems when I make a restore from backups on a Mac OS Extended (Journaled) to an APFS SSD? Thanks for any help.

Time Machine in Catalina only supports HFS+ as a destination volume.  The first macOS that supports APFS as a destination volume is Big Sur.
ref:
https://support.apple.com/guide/mac-help/types-of-disks-you-can-use-with-time-machine-mh15139/10.15/mac/10.15
vs:
https://support.apple.com/guide/mac-help/types-of-disks-you-can-use-with-time-machine-mh15139/11.0/mac/11.0

While, in general, APFS is better suited for SSD disks and HFS+ (macOS Extended) is better suited for rotational media due to their respective statistical access patterns and ensuing consequences for seek time and flash wear, either format could in principle be used for backup purposes if Time Machine has enabled support for it in a given macOS release. In theory*, restoring from an HFS+ to an APFS volume (or vice versa) should present no problem, as the file copy is done at a higher abstraction layer in the call stack that is agnostic to the underlying storage format. Neither format has inherent limitations that would prevent it from being used as a TM backup and it's merely a question of application (i.e., Time Machine) support. Refer to Marc Wilson's insightful answer for details on which macOS version has enabled support for which formats.
* — The difference between theory and practice is that, in theory, there is no difference between theory and practice, and in practice, there is.


How do I do the balloons effect in iOS 10's Messages? How can I do the new balloons effect, like in the commercial? Can I do it on macOS too or just iOS?

https://www.youtube.com/watch?v=XR6JtMIdMuU

1. Write your message (you'll add your effect when you're ready to send)
2. Hold down the blue, circular send icon—"Send with effect" options will show
3. Select the "Screen" tab and swipe between your five options. Press the blue icon to confirm and send!
It only plays once, on arrival, and does not replay so enjoy the moment. As of now, the effects can only be sent and played back on iOS. (They'll show as plain iMessages in the macOS app.)


Invert selection in iTunes? I converted many media files in iTunes to be suited to iPod.
Now I have all the selected files along with the converted files (unselected).

I now want to invert selection so I can easily delete all the old files. How do I do this?

If they have different media types:

Order by Media Type
Select all files with the original media type
Delete them

If they have the same media type:

Create a playlist with the selected files
Create another playlist with both type of files
Create a smart playlist with two conditions:

playlist is "playlist from step 2"
playlist is not "playlist from step 1"

Delete content of smart playlist

There is no invert selection option in iTunes.


How does one upgrade a jailbroken iOS device? We have an iPad that is jailbroken and I'd like to upgrade it to iOS 5.1. What is the proper procedure for upgrading a jailbroken device? Do I have to back up the jail break data before upgrading? Or do I have to "un-jailbreak" it first?

You will require iTunes. Connect the device, then right click on it in the iTunes side bar. Select "Back Up." Allow it to runs its course. Close iTunes.

Then put the device into DFU mode:

1) Power off the device.
2) Disconnect it.
3) Hold the power button for 2 secs.
4) Without letting go of the power button, press and hold the home button for 10 secs.
5) Let go of the power button but not the home button for another 10 secs.

Reconnect the device and launch iTunes. It will detect your iPad and inform you it is in recovery mode. From there, it will check for the newest available update (5.1), download it and install it. When that completes, simply restore your device from the backup you made earlier.

Just upgrade and do a tethered jailbreak with redsn0w 0.9.10b6 or the latest sn0wbreeze. That's what I did.


iMessage frozen/crashing I have an iPod Touch 5th gen and I sent a really long emoji message to my friend and both our iPods froze! Now everytime I try to open it, it goes to the conversation menu, freezes for about 10 seconds, then crashes back to home screen.

I tried:

Restart
Long Restart
Double clicking home and closing all recently used apps
Turning off imessage then turning it back on and logging in
Going to contacts then clicking to iMessage them

Nothing works.

I just had the same problem. After seething my iPad and restoring it through icloud I still wouldn't work but what did work was going to a random contact and clicking send message, it opens iMessage right up and I was able to delete my conversation that was causing the problem!

Switch your iPad off,for 10 seconds switch it back on go in to contacts click on any contact (that's not the one iMessage crashed whilst texting) and click send message and it will work and iMessage will work again.
It worked for me and I hope it works for you.

An alternate solution is to go into contacts, choose a random contact that's not the one that crashes, then it will take you into iMessage, then press messages in the top left corner, and then edit in the left corner, then select the message that is crashing, delete it, then re-add the contact.