Can't find contacts in Time Machine I'm trying to restore lost contacts information from Time Machine. Where is the data stored on the HD? I've searched the Library, Documents and other likely places, but can't find the actual cards anywhere.

The Contacts database is stored in a single SQLite3 database per source. You can find a list of databases by running the following command:

find ~/Library/Application\ Support/AddressBook/ -name "AddressBook-v22.abcddb"


OS X Lion - download once and install on multiple computers I have multiple computers which I will be installing Lion on. Is it possible to download it once and install on those computers?

It will be, as announced on WWDC 2011 keynote.
It will be delivered via the App Store for $29, and you can use it to update your other authorized Macs as well.
I'm not to keen with the details. Sorry.

Link to the keynote:
http://events.apple.com.edgesuite.net/11piubpwiqubf06/event/


Terminal not running programs when pressing enter Command line isn't properly running programs

After trying to run a program on terminal it doesn't execute properly and just makes a new line with > at the start

How can I fix this

It sounds like you have a single " or ' somewhere in your command line arguments. Maybe something like this:

echo It's a nice day

The command line is waiting for the matching " or '. That's what the > means.

You can fix this by quoting the entire argument with the other kind of quote:

echo "It's a nice day"

Or escaping the offending character with \

echo It\'s a nice day


Where could I get my networks domain name? I am trying to determine domain name of my network.
I tried some programming methods, commands but i could not
get domain name of my network.I got ip address using cat /etc/resolv.conf

I was doing program to get domain name but i dont know even
where it is actually stored?

Can you tell me location where domain name is stored?


My iphone 4s's sound settings changed by themselves I didn't touch my phones settings, and all of a sudden (3 days ago roughly) my phone is making a sound when I get a text message, or login to my phone (entering the password), and receiving text messages etc.

Previously, my phone always vibrated for phone calls, and receiving text messages.  Sending text messages made no sound at all, nor did entering my password to unlock the phone.

How could this have happend?  My battery didn't die or anything.

And I can't seem to get those settings back anymore.

I have (Silent) vibrate set to ON
I have vibrate set to ON
lock sounds and keyboard sounds are both set to OFF

Please verify the position of the upper left switch on the housing. Slide it down so that you can see the orange background. This setting mutes your iPhone. You will then hear no system sounds, only vibration.

I assume you always had that switch in that position and it accidently changed its postion to unmute.


DefaultKeyBinding.dict - old-style NeXT format vs XML plist format DefaultKeyBinding.dict

The ~/Library/KeyBindings/DefaultKeyBinding.dict file lets you define your own key bindings in Mac OS X. It can be in one of two formats: old-style NeXT format (example) or modern-style XML plist format (example).

Rebinding ⌘+⌫

I wanted to rebind command-backspace (⌘+⌫) to deleteWordBackward:, and I got some help over in this AskDifferent thread. It was suggested that I use this as my DefaultKeyBinding.dict file:

/* my keybindings */
{
"@\U007F" = "deleteWordBackward:"; /* delete backwards one word */
}

This advice worked (thanks, guys!), but I already have a working DefaultKeybinding.dict in the XML format, so I wanted to try to get it working that way. I first added just this text near the bottom of my existing file:

<key>@\U007F</key>
<string>deleteWordBackward:</string>

And I also tried creating a brand-new XML-formatted file with just the  ⌘+⌫ entry:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>@\U007F</key>
    <string>deleteWordBackward:</string>
</dict>
</plist>

But neither files worked. The apparent situation, then, is that you can rebind ⌘+⌫ only in the old-style NeXT format, and not in the XML plist format. My questions are:

Is this accurate, or should the syntax change somehow when I'm switching to XML format?
Will I regret moving the rest of my DefaultKeyBinding.dict file over to the old syntax? It wouldn't be much work to do so - it's only one or two dozen entries - but I'm not sure if the old style is deprecated or ill-advised for some other reason.

Edit: Original DefaultKeyBinding.dict

Someone requested information on my original file in the comments, so I figure I might as well include the whole thing here.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key></key>
    <string>complete:</string>
    <key>^ </key>
    <string>setMark:</string>
    <key>^a</key>
    <string>moveToBeginningOfLine:</string>
    <key>^e</key>
    <string>moveToEndOfLine:</string>
    <key>^j</key>
    <string>setMark:</string>
    <key>^v</key>
    <string>pageDown:</string>
    <key>^w</key>
    <string>deleteToMark:</string>
    <key>^x</key>
    <dict>
        <key>^m</key>
        <string>selectToMark:</string>
        <key>^x</key>
        <string>swapWithMark:</string>
    </dict>
    <key>~</key>
    <string>deleteWordBackward:</string>
    <key>~&lt;</key>
    <string>moveToBeginningOfDocument:</string>
    <key>~&gt;</key>
    <string>moveToEndOfDocument:</string>
    <key>~^h</key>
    <string>deleteWordBackward:</string>
    <key>~b</key>
    <string>moveWordBackward:</string>
    <key>~d</key>
    <string>deleteWordForward:</string>
    <key>~f</key>
    <string>moveWordForward:</string>
    <key>~n</key>
    <string>scrollLineDown:</string>
    <key>~p</key>
    <string>scrollLineUp:</string>
    <key>~v</key>
    <string>pageUp:</string>
    <key>~</key>
    <string>deleteWordBackward:</string>
</dict>
</plist>

I don't think you'll have any issues using the older format.  All the examples I've found use the old NeXT notation.  Although I can't explain why the XML format didn't work, there is a workaround for this particular keyboard shortcut which would mean you can leave your existing DefaultKeyBinding.dict untouched.

There is an application called KeyRemap4MacBook which is free to download and you can see from the screenshot below, you could remap the ⌘+⌫ keyboard shortcut without converting the rest of your DefaultKeyBinding.dict file and this method is not limited to Cocoa applications.


What do double quotes mean around a domain in `defaults`? While experimenting with the defaults command, I issued the following on my terminal:
defaults read com.apple.Safari

In the output I can read the following:
"ShowFavoritesBar-v2" = 1;

Note the double quotes!
Almost all of the other domains don't have the double quotes, whereas this one yes. And, if I'm not mistaken, it was an option I changed through Safari itself, just before issuing the command.
What do double quotes mean around a domain in defaults?

Defaults outputs old-style property lists. - is not a valid key character, so this would be an invalid plist without the quotes. With quotes, the parser understands that the entire string including the hyphen is the key. Defaults adds quotes where otherwise invalid plist keys would be output.


iOS 10 Music App: "Add to up Next"? The iOS 10 Music app is revised and I had to get used to the new layout, thus investing some time in finding things.

However, I am pretty clueless on where to find the Add to Up Next feature. There is the Play Next feature, but this doesn't allow me to add the selected song to the bottom of the queue. Using this on selected songs will essentially reverse the order of selected songs.

Where can I find the Add to Up Next feature on iOS 10 Music app?

There appears to be a bug in the way the iOS 10 Music app handles this. However, there is a workaround that will get you by until Apple fixes it.

Take these steps:

Go into the Up Next screen
Turn off the Shuffle function
Completely close down the Music App (don't just exit)
Launch the Music App again
Use 3D Touch (press firmly) on a song and select the Play Next option
Now use 3D Touch again, but on another song, and you'll see the Play Later option.
Select Play Later to add that song to the bottom of your Up Next queue.
Now the Play Later option will be there for all following songs.

However, the reason this is a workaround is that:

you no longer have the Shuffle function available to you.
I'm not sure what the workaround is if you have a device without 3D Touch

To have this whole issue fixed, send feedback to Apple.


After upgrade to macOS Sierra secd is using 98% power and cannot be force quit in Activity Monitor Fan has ran for 3 days after upgrading my MacBook Air (mid 2011).

To fix this go to the iCloud settings panel and start the process to enable iCloud Keychain, enter a password, but cancel before completing.


How to turn off Magnifying glass ( not the one in accessibility) How do I turn off the circular magnifier in iOS?  I am not referring to the accessibility feature.  For example, when I open a pdf and hold my Apple pencil down somewhere, a circular magnifying glass pops up.  This is not a problem in pdf although it is annoying.  However, I have other apps for which this does interfere with my work.  One of my apps requires me to drag things around with a clear view of what i am dragging.  The magnifier gets in the way of what i am doing.  I would like to turn it off but cannot figure how.  Any ideas?

This cannot be disabled in iOS 12 or earlier. In iPadOS 13, the magnifying glass has been removed.


Brightness up/F2 button stopped working on my 2014 rMBP Sometime in the last week or two, the F2 button stopped working.. F1 (decrease screen brightness) still works, but not F2.

Is there any kind of fix for this, or is the button broken for good?

Are you 100% certain that this is a hardware fault?

The best way to verify this is to find an application that allows you to set a keyboard shortcut and try pressing the fn + F1 key if this works then try setting it again with the broken key fn + F2.

If this doesn't work it strongly suggests your keyboard button is actually broken, in which case you would need to take it in to a repair center for diagnosis.

Could you tell us more about the exact model you have so we could advise if there are any open repair programs, all MacBooks with the new style butterfly keyboard are under a keyboard repair programme, if you have one of these it might be a free repair.


Using Javascript | Applescript to click button in Safari I realize there are several threads about this and they are all very specific to certain website . My background is in Python, not Javascript or Applescript, and I'm confused on exactly how to achieve this action .

I've seen several scripts doing this action, namely:

tell application "Safari"

activate

do JavaScript "document.forms['search']['order_list_search_batch'].click()"

end tell

What is the best method to act this out ?

i'm confused on what goes in between "document.forms[WHATGOESHERE?].click()"

I'm trying to click the Proceed button on http://rna.tbi.univie.ac.at/cgi-bin/RNAfold.cgi.

I went to "Inspect Element" on the Proceed button and got this code:

<input style="cursor: pointer;" value="" name="proceed" class="proceed" onmouseover="this.style.cursor=&quot;pointer&quot;" type="submit">

How do I know what to put in script to click this button based off of the Inspect Element results ? I want to understand so I can use this method in more than one case. There's not a href link that it goes to.

Current code is not working

tell application "Safari" to activate
open location "http://rna.tbi.univie.ac.at/cgi-bin/RNAfold.cgi"
delay 3
tell application "Safari" to do JavaScript "document.forms[0].elements[document.forms[0].elements.length-1].click()"

For a minute there I thought you were asking the same question again as last time.

But  realise now you want to know how to use Inspect Element to construct your own code.

In the example you give: document.forms[WHATGOESHERE?].click()

The WHATGOESHERE would be the form name.

i.e document.forms['theFormName'].click()

Your website in their wisdom has named the form 'form'

<form method="post" action="/cgi-bin/RNAfold.cgi" enctype="multipart/form-data" name="form">
 <input type="hidden" name="PAGE" value="2">

i.e document.forms['form'].click()

But this would not click the input button

You can use the submit() function dot syntax'd on the end :

document.forms['form'].submit()

Safari Applescript : do JavaScript "document.forms['form'].submit()"

Also

In the code I provided you in your last question. I used:

tell document 1

        do JavaScript "document.getElementsByClassName('proceed')[0].click()"

    end tell

This uses the class Name proceed of the forms input element seen here: class="proceed"

<input value="" name="proceed" type="submit" class="proceed" onmouseover="this.style.cursor=&quot;pointer&quot;" style="cursor: pointer;">

The  getElementsByClassName('proceed')[0] does exactly what it says.

It gets the Elements By ClassName  'proceed'.

The [0]  means it will give you the first element in it's results from the Array that would be returned. The array is counted from 0-9. So the first item would be item 0.

A good place to get working examples and information about Javascript is at www.w3schools.com On the front page the have links to their HTML and Javascript examples and Tutorials. The elements of the HTML Dom and Javascript functions are listed for easy access.


Applescript to move focus to active or next window I am trying to implement a "Command-tab" style setup that works only within a specific space. For most apps, "Ctrl-F4" which is "move focus to active or next window" works correctly, but for emacs/aquamacs it does not (as the keypress is absorbed by the app). (System Preferences->Keyboard->Shortcuts->Keyboard lists this option). I want this to go between the windows I've organised into a space as relevant, i.e. my R script, plots in X11 and in png/pdf format.

I can run an arbitrary applescript with fastscripts or other apps on a keypress. I therefore see two options:

Tell the window manager directly to perform the move focus, WITHOUT going via a keypress
Use a keypress but checking for aquamacs as the active window. On finding aquamacs, get a list of the processes in the current space and move to the next one. (checking for aquamacs seems wise as the default behaviour is likely faster than this lookup)

Searching for these behaviours is difficult, and the applescripts documentation is byzantine to a newbie, so I don't see how to achieve either of them.

See if invoking with System Events doesn't override the scope of emacs/aquamacs.

tell application "System Events" to key code 48 using {command down}

If that still doesn't help, you can trap for it:

tell application "System Events"
    set theName to name of the first process whose frontmost is true
    if theName contains "emacs" then
        set frontmost of item -2 of (every process whose visible is true) to true
    else
        key code 48 using {command down}
    end if
end tell


Backlit keyboard is OFF after recovering from clamshell mode My keyboard backlit is ON while I'm working with my Macbook Pro with an HDTV connected as external display. However if I close the lid to enter clamshell mode and then open the lid again, I notice that the keyboard backlit is OFF.

The only way to turn in on again is flash a light right to the Facetime camera.

I'm using OS X 10.9.2 on a mid-2012 Macbook Pro.

Unfortunately problems with Maverics and the build in camera is well known and document.

You have a little bit a odd one, but using the recommended procedure to try to fix it could not harm.

Resetting the PRAM and SMC is also recommended.

As for your flash light experiment:

As you shine the light in to the camera the keyboard back light is triggered indicating your camera is alive but not doing so well. The light sensitivity is not set properly.


Why am I not prompted to 'Keep notes on iPhone' when I disable Notes in iCloud settings? Other things like Contacts, Reminders, Calendars, and Safari data all prompted me to 'keep data on iPhone' when I toggled them off in iCloud settings, but not Notes!

I want to keep my notes on my iPhone when iCloud is disabled.

It's either a bug or by design. My iDevices do the same.

You could try moving them to a different account using the notes app on the Mac, if you have access to that. That wouldn't solve your problem completely though.


2010 Core 2.4 GHz Mac mini RAM Upgrade I have a mid 2010 Mac mini 2.4GHz with 2GB of RAM.

I want to upgrade the RAM to 8GB.

Willing to buy this RAM:

http://www.bimeks.com.tr/urun/112447/kingston-4gb-1333mhz-ddr3-non-ecc-cl9-sodimm-kvr1333d3s9-4g-.aspx

Will it work with my 2010 Core 2 Duo Mac mini?

From Support Apple's page:

http://support.apple.com/kb/HT4223

Mac mini (Early 2009), Mac mini (Late 2009), and Mac mini (Mid 2010) computers have two internal memory slots. These slots accept a standard PC3-8500 DDR3 204-pin SO-DIMMs (Small Outline DIMM) with the following specifications:

PC3-8500 DDR3
unbuffered
non-parity
204-pin module
1066 MHz

DIMMs with the following features will not work with these Mac mini models:

registers or buffers
PLLs
ECC
parity
EDO RAM


Scripts on mac. Auto execute from USB? I have written a simple script for macbook and later found a program called platypus which makes an .sh file to an .app

Now I want to ask if it's possible to launch that app from the USB automatically as soon as it's plugged in?

And if somehow yes. Does it also work if the mac is closed or just in login Screen?

No, this wont work. This is one of the advantages of macOS, it does not execute stuff that is found on a USB drive.

I consider this a great deal when we talk about security.

However there are devices that look like an USB thumb drive, but when plugged in expose themselves as a HID (Human Interface Device) and then execute keyboard shortcuts to run their exploits.

For example the USB Rubber Ducky Deluxe is such a device.


Does iCloud Backup store WiFi password? I recall iOS5 beta1 does not do this which cost me scores of saved wifi passwords on my iPhone.

Also another question says application keychain data is not backed up, just want to check if there's exception for Wifi password cause they are pretty often used but hard to remember.

iCloud Backups of iOS devices include the Keychain of all saved passwords on the device, including WiFi network passwords, however that keychain is signed against the UDID (The Universal Device Identifier, a unique ID for your device).

If the UDID does not match (examples being if your device was replaced by Apple due to failure or you purchased a new one), than the key store will not be able to be opened, and your passwords will need to be re-entered on the device.

Macs using iCloud backups do not back up the Keychains at this time.


Transfer Bootcamp over from a separate hard drive to a partition of a hard drive I have a Macbook Pro with dual hard drives (1tb HD, and a 250gb SSD that I replaced the disk drive with). I have been using the regular HD for my mac and the SSD for my bootcamp. Recently, I found this article explaining how to use the SSD to boost the speed for my mac, as well as my bootcamp. So I want to move everything from the SSD over to a new partition on the HD.

I have successfully made a bootcamp partition on the HD and the computer reads the partition in the Boot Camp Assistant and Disk Utility, but I am unable to boot up that partition. I simply cannot locate it when going though System Preferences or pressing the option key on startup. The old partition (the one on the SSD and that I want to transfer everything from) is found, but the one I just created on the HD is not found anywhere. I have no idea what the problem could be and I would appreciate any help possible.

MORE INFO:

When I first created the partition (and I tried that twice), the computer rebooted and tried to boot into the new Windows partition, but it got stuck on the blinking cursor and required a force reboot.
The partition is found on the sidebar of Windows Explorer as well as E: and I can transfer files to E: using Windows Explorer.
I used to have the single HD with a partition for Windows on it that worked just fine before I got the SSD. I had no problems transferring everything over to the SSD and it has not shown any problems at all.
The SSD is a Samsung 840 Evo 250gb and the HD is the built-in 1tb 5400-rpm drive that is offered with the Macbook Pro (13").

If I read correctly you merely created a partition using bootcamp assistant, which essentially doesn't do anything but create an FAT formatted partition.
OS X will only show you bootable partitions (meaning partitions it finds a system on). You will first need to copy over your data, either including the system or reinstalling and moving over only certain data you want on the SSD.
If you want to do it 1:1 there's also tools like Winclone


Transferring purchases from iPhone to iTunes - Why is it necessary? When trying to restore my iPhone 5s to 7.0.4 via iTunes I get this message:

  There are purchased items on the iPhone “X’s iPhone” that have not been transferred to your iTunes library. You should transfer these items to your iTunes library before updating this iPhone. Are you sure you want to continue?

I know how to go about transferring the purchases by File → Devices → Transfer Purchases but what I don't understand is why it is necessary. I thought all my purchases were linked to my iTunes account. Can't I just re-download all my purchases from the iTunes App Store?

Is this to make sure apps that are no longer available in the app store are saved?

As you said, Apple knows what you have purchased and they are all linked to your account. However, transferring your purchases means that the purchased files (apps, music, movies…) will copy from your device (iPhone 5s) to your computer then you don't need to re-download them from the internet.


Mac screen stays lit on login prompt My 2013 iMac running Mojave 10.14.3 has had this problem for a number of years and spans a few OS upgrades. When in locked mode, the screen can stay lit indefinitely, until I hit Esc.

Behavior is like this. I lock my Mac, or just walk away from it until it locks itself up. I touch my touchpad or press any key to light up the screen. The screen will the stay lit - for ever. I have to manually hit escape to put it back to sleep.

My settings:
I have screen saver on (10 minutes).
In Power Savings, I have standard options. These are checked:
 Put hard disks to sleep
 Enable Power Naps

What can I do to fix this?

I was able to temporarily correct this problem by deleting:

/Users/xxx/Library/Preferences/com.apple.screensaver.plist

and restarting my computer.

This worked for a little bit, but stoped once I connected my iMac to my MBP as a Target Display.


Can you prevent a remote wipe from iCloud after it has been issued? I thought I lost my iPhone 4s, so I blocked and told iCloud to erase it the next time it connects.

Now that I found it, I know that as soon as it gets internet connection, all my information will be gone.

For my luckiness, it is turned off, and furthermore it has received neither wifi nor internet connection. (My phone provider had turned off data before I lost it.)

So, I know my information is still alive.

Now that I found it, I want to backup everything before the unavoidable happens (reseting).

If I turn off all wifi connections, How can I make a backup to my computer? I could uninstall iTunes as well. As the Apple tecnical support guy told me that if it connects to iTunes, everything will be gone.

Can I use it as an USB data storage and just copy everything to my computer?

If your iPhone is not password-locked, you can use PhoneView to extract all of your PIM information. Anything that is DRM-protected will not be available via a tool like PhoneView though. I have used PhoneView to retrieve contacts, photos, and voice memos that users needed to keep. I recommend it for just such a task.


iTunes "Recently Added" Is there any way of customizing the "Recently Added" view of the iTunes Library? I would like to be able to specify a time range, as it used to be possible prior to iTunes 12.4.x. I'm thinking of some kind of hidden plist setting.

I know one can create smart playlists with a "Date Added" field, but that's not what I'm looking for: when choosing "View as Albums", there's no "Sort by date added option", which is what I'd need to replicate the recently added view.

There is no way to change the default Recently Added criteria.

As you already discovered, you can make a Smart Playlist with a limited set of criteria, included Date Added.  However, iTunes doesn't allow a sort by Date Added when viewing as albums, unfortunately.


Help Keeping Audio Lesson Playlists separate from Music I am trying to sort out the music on my iPod into play lists, the thing is I have a bunch of playlists that are audio lessons which I'd like to appear after the music playlists.

I know if I put the same special character before them they will all appear at the start of the list, but I'd like to make them appear at the end of the list. Is there a character tha my iPod/iTunes, will put after z?

Alternatively is there a way to have these MP3's listed as podcasts so that they don't clutter my music and I can keep track of which lessons I've listened to?

Sure, you can make those audio lessons appear as podcasts. In iTunes, right click your song(s) and select Get info (or ⌘ cmd+I). On the Options tab, change the Media Kind to  Podcast.

The appearance is slightly different when selecting multiple songs, but is very straight forward


How to identify the iOS version from the Hello screen? I would like to identify the iOS version of my iPhone 6 from the Hello screen. Is there a way to tell the iOS version from the design of the Hello screen or from the MEID, IMEI or ICCID?

Over the years since iOS was released, the opening Hello wallpaper which greets a user ready to set up the device has changed in several ways, most of them cosmetic. If each released major version had a subtle change to the Hello wallpaper, it would be easy to figure out which version of iOS was installed, but alas, the changes were few and far between.

Using Apple Configurator 2 you can see the installed iOS without going through any of the the setup steps:


Uploaded homemade mp3 to icloud music library, now "not available in my country or region" We recorded an mp3 with the kids, and I want to add this to my icloud music library so it's available on my iPhone and any of my devices, the same way I access other songs in my icloud music library that I've purchased from iTunes, etc.

I managed to add it to the library, then clicked "add song to icloud music library". How it shows up in my library on my phone. However, it now cannot be played and says "This song is not currently available in your country or region."

I only have one iTunes account and we've not left the country, etc. Is there a way to see an icloud music library dashboard where I can manage these things and resolve this dumb issue?

Astonishingly the error had nothing to do with the "song not being available in my country or region," but simply was because the song had not yet loaded into the iCloud Music Library. I clicked on File, Library, Update iCloud Music Library, and after about 5 minutes, the song was available on my other devices.


Listen to music while watching videos on the browser How can I listen to music from the Music app or others (Spotify, etc…) while browsing with Safari? I know that I can put Music in background but it stops whenever I start watching video on Safari. Can I turn off any audio from Safari? Is there any alternative browser that has this feature?

Two apps can't play media at the same time. It's not that Safari is preventing the music from being played but that the media player playing the video from Safari is the front-most media player, overriding any background music. Thus, you can't 'turn off' audio from Safari because it's not from Safari.


What is a good GTD app with cloud sync on iPhone, iPad, and Mac? I am looking for a good GTD (todo/task/project management) app that has cloud sync. I'd like it to be on my iPhone, iPad and Mac. Web app would be nice, too.

OmniFocus is the closest thing I've found but it seems too expensive.

Things don't have clound sync... only WiFi sync is available for Things.

Do you know of any GTD app I'm looking for?
Thanks!

Check Wunderlist by 6Wunderkinder: http://www.6wunderkinder.com/wunderlist/

It's free. Iphone and ipad apps are available on itunes app store.


disable temporary autoconf inet6 address My OS X machine gets assigned two public IP addresses from Android 7.1.1:

% ifconfig en0
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
    ether 8c:29:XX:XX:XX:XX
    inet6 fe80::8e29:XXff:feXX:XXXX%en0 prefixlen 64 scopeid 0x4
    inet 192.168.43.163 netmask 0xffffff00 broadcast 192.168.43.255
    inet6 2607:fb90:4bYY:YYYY:8e29:XXff:feXX:XXXX prefixlen 64 autoconf
    inet6 2607:fb90:4bYY:YYYY:d427:13ba:ZZZZ:ZZZZ prefixlen 64 autoconf temporary
    nd6 options=1<PERFORMNUD>
    media: autoselect
    status: active

The problem I've encountered is that the temporary one may change with sleep/wake, whereas the permanent one still has the prefix that is not guaranteed to stay the same (it depends on ME).

I want to use the non-temporary address for ssh, or, at least, extend the time during which the temporary address stays the same (e.g., let's say, to get it automatically hardcoded until the /64 prefix gets reassigned upstream).  How?!

As a sidenote, I'm trying to make it easier to identify my ssh connections from within the cloud, as well as make my ssh connections not break between short sleeps; it seems there's an ssh_config(5) option called BindAddress, and it does appear to work (ssh -oBindAddress=2607:fb90:4b61:7474:8e29:XXff:feXX:XXXX …), but I'd prefer to have this configured without hardcoding the prefix that's still temporary in nature.  E.g., the solution I'm looking for likely involves system preferences; it's OK if it's not exclusive to ssh.

A similar question on SuperUser prompted me to look into sysctl settings, with the following setting available to prefer the permanent IPv6 autoconf addresses to the temporary ones:

% sudo sysctl -w net.inet6.ip6.prefer_tempaddr=0
Password:
net.inet6.ip6.prefer_tempaddr: 1 -> 0
%

For ssh sessions that aren't expecting any ongoing interaction, this would make it possible to go to sleep, and wake up within a number of minutes without any SSH connections suffering a disconnect (which would previously happen due to the prior IPv6 address being de-provisioned upon the wakeup from sleep).   (Don't need no mosh!)


Is there a disk space analyzer that lets you save the disk image? I've seen there are a number of different applications for OSX that lets you visualize disk space and browse the category tree as an index - JDiskReport, DaisyDisk, Disk Inventory X, etc.
I would like to be able to save the disk image and directory tree that these applications generate for future reference and browsing. Does anyone know if any application of this kind allow for that?
I can't find this information in these applications' online feature spec.
Thanks.

You could simply take a picture of a portion of the window that contains what you want with command + shift + 4, and use the cursor to select, or use command + shift + 4 then space bar and select the entire window.


Can a late 2013 Mac Pro (cylinder) support dual 5K displays? I know the late 2013 Mac Pro can support the Dell 5K monitor, using two DisplayPort cables from the Mac to the monitor.

Can the Mac Pro support two 5K monitors simultaneously (using four cables total)?

Yes - three 5K displays are supported on even the least GPU endowed Mac Pro Late 2013.

While I do not have the luxury of owning this kind of a setup, the following coming directly from Apple should answer this:

Mac Pro (Late 2013) - Technical Specifications


Is it safe to use a MacBook in a slightly tilted position? I have a separate wooden board on top of my desk that covers the desk's entire area. (The board is made of nice wood, making the desk look more classy than it actually is. :)

I'm thinking about tilting the board a tiny bit (maybe 15°) to make it more suitable as a drawing area. About like this:

Is it safe to operate a MacBook (in my case a 15" MBP, no SSD) on such a titled surface on a permanent basis? I'm mostly thinking about possible damage to the hard drive or other components that are designed to work in a (more or less) perfectly horizontal position only.

It shouldn't harm your mac in any way so. At my workplace my Macbook is tilted. The only problem I can foresee is that since it's a wood base and there's no holes it may cause the macbook to overheat ( this is the worst case scenario). My workplace has a titled setup that tilts the mac to keep it cool. Tilting your laptop is good because it prevents overheating and its better posture for your hands.


Blank emails in El Capitan Mail.app After a few weeks of using El Capitan seemingly random messages started appearing blank. Viewing the messages in the Google web interface showed that they were not blank.

Restarting the app usually fixes it.

I deleted all my emails (by deleting mail folder ~/Library/Mail) and started again - and it was OK for about a week - and now it's started doing it again. Rebuilding mailboxes doesn't help.

I found links around the web to cases of this back in 2010/2011 - like this
https://discussions.apple.com/thread/2364054

But it appeared to go unsolved.

Is this just a bug in El Capitan - and is there a solution?

To fix this issue there are two ways:

Rebuild

To rebuild a Mailbox in Mail, select the mailbox you want to rebuild and click on the Mailbox menu; at the bottom there is the Rebuild option. Repeat this step for each one of your Mailboxes.

It can take few hours to reindex a large mailbox and if it's an IMAP or Exchange mailbox, the rebuild will have to download again everything from the server.

Reindex

It is also often necessary to manually reindex Mail messages after a major OS upgrade. This is also necessary if Mail becomes unresponsive and/or if search is not functioning correctly or the app doesn't run.

Quit Mail if it’s open.
From the terminal run

mkdir ~/Desktop/backup
mv ~/Library/Mail/V2/MailData/Envelope\ Index*  ~/Desktop/backup`

(replace V2 with V4 for Sierra).
Launch Mail and it will build new Envelope Index files; that can take a long time if there are many messages to reindex and if it's an IMAP or Exchange mailbox, the rebuild will have to download again everything from the server.

If everything seems to be working correctly, you can now delete the backup from from your desktop (rm ~/Desktop/backup).


DHCP on Airport Extreme I have DHCP setup on an Airport Extreme to provide IPs for a network of iMacs and some iPads.

The Airport's WAN port is connected to a switch that is used for a VOIP phone system. Would the DHCP service on the Airport conflict with the DHCP service for the phone system or will the Airport only provide IPs for its clients on its LAN ports?

In your setup, hooking up the WAN port to the LAN of your VOIP will not cause conflict and will work exactly as you described.

What you have done is create a segmented network on your internal LAN.  The picture below is a good representation of what you have configured.


AppleScript / Shell Script to read 'curl -L' data I have Dropbox file with two lines of data that I'd like to parse into two variables. The following function should have the right logic but doesn't seem to work:

set versionFile to do shell script ("curl -L 'https://www.dropbox.com/s/5eugzgr1alfgsp9/version.txt?dl=1'")
set lineDelimiter to read versionFile using delimiter return
repeat with oneLine in lineDelimiter
    if length of oneLine is greater than 0 then
        set variable to oneLine
        log "variable: " & variable
    end if
end repeat

Error:
error "Can’t make \"1.0.0.2
 www.example.com/download-link-here\" into type file." number -1700 from "1.0.0.2
 www.example.com/download-link-here" to file

Any help is greatly appreciated. Cheers.

As coded, versionFile is a variable that contains the contents of the file not the file itself and you're using the read command improperly, as it reads data from a file, not a variable.

Change:

set lineDelimiter to read versionFile using delimiter return

To:

set lineDelimiter to paragraphs of versionFile

set versionFile to do shell script ("curl -L 'https://www.dropbox.com/s/5eugzgr1alfgsp9/version.txt?dl=1'")
set lineDelimiter to paragraphs of versionFile
repeat with oneLine in lineDelimiter
    if length of oneLine is greater than 0 then
        set variable to oneLine
        log "variable: " & variable
    end if
end repeat

Results:

tell current application
    do shell script "curl -L 'https://www.dropbox.com/s/5eugzgr1alfgsp9/version.txt?dl=1'"
        --> "1.0.0.2
www.example.com/download-link-here"
    (*variable: 1.0.0.2*)
    (*variable: www.example.com/download-link-here*)
end tell

Since the versionFile variable contains the text contents of the file, then in this case to work with it, use the elements of text objects, one of which is paragraph and in the context defined as:

  A series of characters beginning immediately after either the first character after the end of the preceding paragraph or the beginning of the text and ending with either a carriage return character (\r), a linefeed character (\n), a return/linefeed pair (\r\n), or the end of the text. The Unicode "paragraph separator" character (U+2029) is not supported.


Boot Camp: "no bootable device found" when booting from DVD My Mac mini couldn't boot from a Windows 8 DVD after running Boot Camp Assistant. The DVD was bootable and I verified with Parallels that it was indeed so.

Mac mini server 2012, 2x1 TB, Apple DVD drive connected to Thunderbolt display.

Turns out when I connected the DVD drive directly to the Mac mini it could boot with no problems.

Apparently Thunderbolt cannot be used for booting, at least not for non-network booting.

Note that I also tried to let Boot Camp Assistant create a bootable USB stick which utterly failed and took hours to do so. Safest bet appears to be a bootable DVD and a DVD drive connected directly to the Mac.


AppleScript - Get every desktop including hidden Mission Control desktops I'm trying to write a simple script that will change my desktop background on all of my desktops/workspaces at once. Right now I have this:

tell application "System Events"
    tell every desktop
        set picture to "image.png"
    end tell
end tell

This will change the wallpaper on both of my monitors for the desktop that is visible, but doesn't change the wallpaper on all of the 'hidden' desktops in Mission Control (Desktops 2-4 for example). Is there some way to modify this to enact on all desktops?

The following is a start until I figure out how to read the desktop count in Mission Control.  Right now for this to work you must be on the farthest left Desktop.

Not knowing where your pic is located I'm targeting an image in Desktop Pictures with:

set thePic to file ((path to library folder from local domain as text) & "Desktop Pictures:Blue Pond.jpg") as text

I set a variable for the count of Mission Control Desktops:

set windowCount to 5

I build a repeat loop starting with the first number till it reaches the count:

repeat with X from 1 to windowCount

end repeat

I use key code to move right with control only when the count is greater than 1 and a delay:

repeat with X from 1 to windowCount
    tell application "Finder"
        tell application "System Events"
            if X > 1 then
                key code 124 using control down ## move right
                delay 1
            end if
        end tell
    end tell
end repeat

I then reference every Desktop and add a delay on the picture to be set:

tell application "System Events"
    set deskGroup to (a reference to every desktop)
    repeat with theDesk in deskGroup
        set picture of theDesk to thePic
    end repeat
end tell
delay 1

the complete code:

set thePic to file ((path to library folder from local domain as text) & "Desktop Pictures:Blue Pond.jpg") as text
set windowCount to 5
repeat with X from 1 to windowCount
    tell application "Finder"
        tell application "System Events"
            if X > 1 then
                key code 124 using control down ## move right
                delay 1
            end if
            set deskGroup to (a reference to every desktop)
            repeat with theDesk in deskGroup
                set picture of theDesk to thePic
            end repeat
        end tell
        delay 1
    end tell
end repeat

this is one way to do this hope it helps.  This works and was tested using macOS High Sierra 10.13.6


How to insert new line on return key press in iMessage on Mac OSX Does anyone know if it is possible in iMessage on Mac OSX to set the return key to go to the next line instead of sending the message?

Press option+return or control+return to enter a new line.

Edit: Added additional key combo re: smoooosher's comment to the OP


Is there a way to download the iOS 13 public beta IPSW? I'm looking for the public beta IPSW (specifically, the iOS 13 public beta 4), so I can update my iPhone via my Mac, instead of over the air.

https://ipsw.me does not seem to have them, and Apple Developer Portal only shows me the Xcode beta as an available download.

How can I download the software bundle?

No, it's not possible to download the IPSW files for public betas of iOS/iPadOS 13. You can, however, download the IPSW of the developer betas.

To do so, you should be a registered member of the Apple Developer program enrolled into a paid membership. Once you have the paid membership, visit the Apple Developer Download page(s) below to access and download the respective IPSWs:

https://developer.apple.com/download/#ios-restore-images-iphone-new
https://developer.apple.com/download/#ios-restore-images-ipad-new


How can I open a Pages file prepared with Yosemite in OS X 10.8.5? How can I open a Pages file prepared with Yosemite in OS X 10.8.5?

If the originator of the file can share it with you using iCloud, you can open it on any web browser via the link.  You will there be able to edit the file.

If you want to edit the file in older versions of Pages, download the file as a Word (I know, right!) document then open that in your version of Pages.  Some formatting my be lost, but you can at least now work with the file locally.

Conversely, your colleague could send you the file already as a Word document for you to open in Pages for editing.


I need to delete a game app data from iCloud but not my iPad I have a game where a glitch in the system has caused the Game Centre data in iCloud to be out of sync with the game on my iPad.

I want to delete the iCloud data and then reconnect the game so it then loads the data from the existing progress in the iPad back to iCloud / Game Centre - any ideas.

Please do not post on tips how to delete the app from the iPad.

If the data is backed up on iCloud. You can manage the storage on your Mac.

System Preferences -> iCloud -> Manage Storage -> Select the Backed Up Game -> "Delete Documents and Data"


How to load a subtitle file in VLC for Apple TV I just got a 4th generation Apple TV and finally I can watch videos on my NAS from Apple TV after I installed VLC.

But I have not found a way to load my own subtitle files. VLC for iPAD has this option, so I just want to know if this is available. The only option I found is to download from opensubtitle.org.

Thanks

Changing the subtitle file name so that it has the same file name as the movie worked for me.


Stuck on Apple logo after attempted iOS 8.0.2 update My iPad was at the latest iOS 7.x when I decided to update it to 8.0.2 via iTunes.  At the end of the update I got an error, 6 IIRC.
After that the iPad was stuck in restore mode for around half an hour.  When it got out of restore mode somehow (without doing a restore) it wouldn't boot up.  It gets as far as the Apple logo then dies after a few seconds.  It does the same thing whether plugging into a laptop or a wall charger.

To make things worse the sleep/wake button is stuck.

How can I unbrick this thing?

Edit:  I've found that by pressing the home button while plugging into the laptop, I can put it in restore mode again.  But restoring is a last resort.

In the end I had to get the iPad to a useable state so I went ahead with the restore.

This was a non-ideal solution, I'll be checking back to see if anyone has other upvoteable ideas.


Some photos are sharp on the phone but low-res on icloud.com/photos My wife has an iPhone7 with "Optimize iPhone Storage" enabled, and an iCloud account with more than enough storage -- 77GByte of photos and 200GByte storage on iCloud.
She's gotten to be well aware of the implications of the storage optimization and the need to sometimes tap or pinch images on the phone to re-download a full-resolution image from iCloud to the phone, when it's needed.
However we seem to have the odd situation that, for a handful of images taken on the phone at various different times earlier in the year, when viewed in a web browser on a desktop PC at www.icloud.com/photos , those photos are fuzzy.  They're definitely still stored at full resolution on the phone, because she can email them from the phone and they're the expected size (4032x3024) and sharpness.  And the vast majority of images do seem to be full resolution in iCloud (accessed via www.icloud.com/photos ) , as expected.  No amount of adding the offending images to new albums, or duplicating those images and adding the duplicates, seems to help.
Downloading the image (using the download icon) from www.icloud.com/photos just retrieves a fuzzy version.
She does quite often use www.icloud.com/photos when working on a desktop PC to retrieve her images there, so it'd be nice to have access to all of them there at full resolution.
Is there any way of giving something a prod so that www.icloud.com/photos will realize it only has low-resolution versions of these images and properly acquire the high resolution versions from the phone?
Trying to google the topic mainly just finds lots of people confused by storage optimization and why photos are fuzzy on their device.  But we seem to have the reverse issue of (some) images which are sharp on the device are fuzzy "on iCloud" (or at least when iCloud is viewed via www.icloud.com/photos ).

We have discovered a workround for this issue:

Duplicate the problem image on the phone.
Use "markup" in the photos app to make some miniscule invisible change.  e.g a one-pixel black dot with a semi-transparent pen in some shadowed (but not completely black) region.
Save the modified image.
Wait a couple of minutes and the duplicated image appears on www.icloud.com/photos and is the full resolution version, as expected.

It's worth mentioning that just duplicating the image alone doesn't work: the duplicate will appear on the icloud web-page, but still be fuzzy low-resolution.  Also, modifying the duplicate using other editing controls like exposure, warmth, tint and so on isn't enough of a change to force the upload of a full resolution version, presumably because those parameters are held separately to the original image data (so repeated tweaking doesn't degrade the image).  My guess is modifying the actual image pixel data changes some hash value computed for the image and convinces iCloud there's something needing uploading.
It's a good enough solution for the handful of images we want to see properly uploaded at full resolution.
The most slightly annoying thing about it is that, while the duplicated and modified photos still seem to have the original date attached, www.icloud.com/photos now displays them at the end of the album and unlike the phone app there's no sort options provided.  Not a big deal though, as her main reason for using the iCloud website is just to download images to the desktop PC.


Iphone: outgoing email iCloud account and gmail Iphone 5 iOS 6.1 (jaikbroken)

OK, I've been solely using the gmail app for a while now and haven't had any use for the built-in mail app.  Was hoping to run without any mail account on there, but it gets me in trouble for those times some other app wants to send email and finds no mail account.

So finally I was setting up gmail just for outgoing smtp but even doing so it forces me to include incoming imap account and it annoys me just on principal to have local duplicate copies of the last 50 messages I don't need.

So I created an icloud account today so I could sync notes and also just use that now for the sent messages.  iCloud mail is set to forward incoming to gmail, but it wont forward outgoing.  Obviously.

Trying to devise a workaround.  What I want is to have all my mail in gmail. My thinking is something like:

if possible everything outgoing from icloud gets CC'd to gmail
set a filter in gmail, maybe everything with  from:(me)@icloud.com and bcc:(me)@gmail.com gets moved to sent mail.

Any thoughts, advice, or better ideas welcomed!

You can setup your iCloud account to send using the Gmail SMTP server.

Setting => Mail, Contacts, Calendar => iCloud => Account => Advanced (Mail) => Outgoing mail server (SMTP) => Other SMTP Serveres => Add Server here you can set up the Gmail SMTP server: smtp.gmail.com - remember to choose the Gmail server, and de-activate the iCloud SMTP server afterwards.

The mails sent will however appear in iCloud's sent folder.

The iCloud sender email address will however still be the iCloud address. If you use the build in Mail.app, you can manually choose your Gmail address (and the mail will appear in Gmail's sent folder), but how you can use this one, the way you want to use it - I don't know.


How to get back the standard application in Notification Center in Mac OS X? I have configured No application in the center of notifications. no weather, no stock, no calendar, no calculator. How to return back to the standard application?

Clicking the 'Edit' button at the bottom of the 'Today' panel in Notification Center will show the widgets which have been disabled. Clicking the green plus circle icon beside any of them will re-activate it. When all the widgets you want are active, just click 'Done' button on the bottom-left.

As far as I know the following is a list of the standard widgets supplied with OS X Yosemite

Today
Tomorrow
Weather
Reminders
Calculator
Social
World Clock
Calendar
Stocks


Has anyone ever tried to use an iPhone as web server? Yeah, it makes no sense to use an iPhone as web server, although the hardware could be used in some interesting ways if this would be possible. You could, for example, set up the iPhone to send a phonecall or SMS with pre-recorded message to someone who, for example, send his phonenumber through it's web interface to be included in it's address book.

Again, it's not very useful, but it would be cool to be able to communicate with an iPhone-based web server. Who knows? Maybe someone does come up with a practical purpose for this!

Yes, this has been done. Here is some articles about one of the ways it has been done:

The iPhone Becomes a Web Server
iPhone ‘Personal Data Center’ Debuts in US

And this is the product:

http://serversman.com/index_en.jsp


MacBook Pro, iCloud Drive, Time Machine and Time Capsule 2 Can I use Time Machine and Time Capsule 2 to backup not only my MacBook Pro files, apps, etc. but also the files stored on my iCloud Drive for sharing with my other MacBook Pro and others?

Yes - Time Machine saves a snapshot of the locally synced files from iCloud so you should be able to recover them even if they are gone from iCloud.

Since one Time Machine destination can be connected to many Macs, you could cross share that was as well.


iTunes shows 'ghost' songs on my iPhone that are not there, how do I fix this? When I go the Music app on my iPhone it shows the 'No Content' screen (see screenshot below). This is because I purposely deleted all music from the device (through Settings > General > Usage > Music > Edit > All Music > Delete).

I also deleted all songs (about 250) from my iTunes library on my Mac (moved to trash). I can re-download them because all songs have been purchased from the iTunes store.

When I connect the device to my Mac and select the device's Music list, it shows 7 songs, with a grayed out text color, and with a circle icon with dashed outline next to each song.

The device itself does not show these songs.

When I set the device to 'Manually manage music and videos' I can delete the 'ghost' songs from the device's Music list. But after I reconnect the device the ghost songs are again visible in its Music list in iTunes...

How can I permanently get rid of these 'ghost' songs listed on my device only in iTunes?

Here's what I've tried so far:

Toggled the 'Show iTunes in the Cloud purchases' option in iTunes. On or off doesn't seem to affect the Music list for a connected device.
Turned off the 'Show All Music' option in the Music app's settings.
Reset all content and settings on the iPhone, then restoring from the device's iCloud back-up.

This did not lead to any visible change.

Re-downloading said songs from the iTunes Store to the iTunes Library on my Mac, then synchronizing with the device.

The result was that 3 out of 7 songs were no longer grayed out, i.e. 'replaced' by their actual downloads, and playable on the device. The other 4 songs were now listed twice, one grayed out and the other the actual downloaded song, present and playable on the device.

Deleting all 7 songs from the iTunes library (moved to trash).

I was hoping that would get rid of the 3 songs that seemed 'fixed' in step 2 above, but in fact it reverted back to the old situation, with 7 songs listed in a grayed out font.

Downloaded the songs directly to the device using the iTunes Store app (via More > Purchased > Music).

This resulted in duplicate entries for all songs (not just the 4 songs like in step 2 above) in the device's Music list in iTunes. Synchronizing the device did not transfer the downloaded songs to the iTunes library.

Reset Sync Service on my Mac (defaults delete com.apple.SyncServer SyncServicesResetWorldRunOnce, followed by a reboot)
Deleted iTunes Library Extras.itdb, iTunes Library Genius.itdb, all 'Previous iTunes Libraries' and all 'Album Artwork' from ~/Library/Application Support/iTunes.
Removed *.localstorage and StorageTracker.db from ~/Library/iTunes.
Ran the List MIAs v3.3 and Super Remove Dead Tracks v4.0 applications with iTunes open and the device connected (no missing files or dead tracks reported)
Signed out of the iTunes & App Store on the device (and signed back in).

I use iTunes 11.3.1 (2) on OS X Mavericks 10.9.4, in combination with an iPhone 5S running iOS 7.1.2. All software is up to date.

There is a cottage industry of apps to help people deal with iTunes' incoherent and inconsistent behavior. I have not tried any of those apps, and they pollute the Google results, making it hard to find an actual solution. I suspect my problem can be fixed with Apple Script, but have no idea where to start.

I had exactly the same issue, it's commonly called "ghost songs" and it still exists in iOS 10.x There was no way to remove these songs using iTunes (I could deleted them there but on next sync they were just back) or any delete function on the phone itself (I deleted all music on the phone, but iTunes kept showing the ghost songs while the phone said there are no songs on the phone).

Here is how I was able to fix it:

Be sure to have a restorable backup of your iPhone content!
Download iFunbox
Kill the Music App on your iPhone
Connect your iPhone to your computer
Make sure iTunes is not running
Start iFunbox
Choose Raw File System
Delete the following files and folders:

Downloads
iTunes Control > Sync > Media
iTunes Control > Music
iTunes Control > iTunes > MediaLibrary.sqlitedb
iTunes Control > iTunes > MediaLibrary.sqlitedb-shm
iTunes Control > iTunes > MediaLibrary.sqlitedb-wal

Unplug your iPhone
Reboot it the hard way: Press&hold Home+Start button > 5 sec
 (do not power it off the normal way, which is pressing just Start button > 5 sec and then using the slider to power it off. I did that at first and then the ghost songs came back!)
Once rebooted, connect to your computer.
Open iTunes
Check all your sync settings are still set correctly
Sync

After that the ghost songs were gone.


How to view network traffic in and out of a machine? Looking for something like wireshark - a nice UI for monitoring network traffic in and out of a development machine.

Yeah, Wireshark or HTTP Scoop.

With Wireshark you just need to configure the StartupItem 'ChmodBPF' which is included in the download, for it to work.


How to make an existing AppleScript file to work as a service? I made an AppleScript, saved it as a file in a specific folder on my hard drive. Now I want to assign a shortcut to it and looks like I have to make a Service via Automator, but the Run AppleScript asks me to put the code inside, while I want to execute the already existing .scpt file. How to do that?

Yes, Automator is the best option here. To create the service follow these steps:

Open Automator and select Service:

Search 'applescript' and drag the action to the right pane:

Change Service receives selected text to Service receives no input so that it always appears in the Services menu:

Replace (* Your script goes here *) with:

do shell script "/usr/bin/osascript /path/to/your/script.scpt"

if you wish to execute your existing .scpt file. Note that osascript can't handle user interaction like displaying a dialog window:

To overcome this limitation either use this workaround or simply replace (* Your script goes here *) with the contents of your script.
Save it:

If you wish, you can assign a shortcut to your new service. Select Services>Services Preferences in Finder (or any open application):

Assign a not so common shorcut:

Now your service is accessible from any application through the shortcut you assigned in the previous step:

If you ever want to get rid of the service open ~/Library/Services, delete the service and empty the trash:


Detect a connected USB-C charger cable that is not charging Is it possible to detect a connected USB-C charger cable that is not charging?

I mean a fully functional MacBook and a charger that is connected to a power outlet, where power is disabled. I would like to do it either by some OS (userspace functionality) or information if that would be possible programatically.

I'm using MacBook Pro (15-inch, 2018), macOS 10.14.6.

In about this Mac, overview -> System Report -> Power, last block displays connected and charging info. Cannot comment on programmatically retrieving.


My iMacs Display Screen Fell down I have an iMac (Intel 21.5" late 2013, 21.5 core i5). This morning, I replaced my hard disk with an SSD drive and used not a right adhesive tape to put the display screen back. At first, I was very happy as my iMac was much faster and even more quiet than before! After few hours of working with my iMac, the attack LED ( not the iMac) fell down from my desk on the floor.  I attached both display data cable and the display power cable, here are the symptoms:

The iMac LED it all black.
I connected the iMac to my external LCD monitors and it works fine, i can login and work with it fine
The Fan is constantly running. Why is that?
My iMac seems to be very slow compare to the incident. What could be the reason.

I suspect that either my mac’s display is damages or one or both of the two cables: display data cable and the display power cable are broken.

Any help and advice would be greatly appreciated.

You have two distinct problems with your iMac that you’re unfortunately conflating with the most obvious damage - the broken display.

The display is most likely broken and will need to be replaced.  I can be tested, but not in a typical home or office environment.
The cable connectors on the logic board may be damaged as a fall like that will literally rip them off the board.  A visual inspection should be enough to verify if they are good or not
The fan spin is likely because you replaced your hard disk with a non-Apple one that doesn’t have a temp sensor.  A missing sensor will cause the fans to spin at full speed
The slow performance is likely due to the erroneous temp readings (from the missing sensor) and the Mac thermal throttling in response.

To fix the fan and speed issue, you simply need an inline temp sensor to send the correct data to the SMC.  However, the screen is quite expensive and you should get a quote on a replacement prior to doing this - it may be much more cost effective purchase a replacement iMac of the same vintage and sell that one for “parts.”

Also, if you’re going to replace a HDD and go through all the trouble on an iMac, you should spring for an SSD.  The performance gains are well worth it.


OS X: Set up one folder as "extension" of another, symlink-style? I have two folders on two different Volumes:

/Volumes/SSD/my-important-folder
/Volumes/HDD/my-extension-of-important-folder

In the second folder I put large files and folders so they do not take up all the space on the SSD. In order to have everything in one place I create symlinks from the first to the second folder, like so:

/Volumes/SSD/my-important-folder/big-file is a symlink to /Volumes/HDD/my-extension-of-important-folder/big-file

This is useful because big files get stored on the HDD yet they are available as if they were stored on the SSD. But this has the disadvantage that I have to create a symlink for every file oder folder that I add to the folder on HDD.

It would be really useful if I could say to the OS: if I call a file that is not in /Volumes/SSD/my-important-folder, please look it up in /Volumes/HDD/my-extension-of-important-folder.

The folder on the HDD would then be a real extension of the folder on the SSD.

Can this be done? I am running OS X 10.9.1

As far as I know, you can't do that directly but I'm not sure I understand why you'd want to?

Why not just symlink the entire folder and never worry about it going forward?

If it's important to you that it's only large files that are moved to the HDD, you could create a Folder Action in Automator and run a bash script that checked file size and based on that moved and created the symlink automatically (I'm assuming you've got some tech skill since you know what symlink even is :) With that said, I'd be happy to post more detailed instructions if need be).


characters in login screen replaced by question marks My log-in screen appears with question marks instead of the usual text. (See screen shot - I have removed my log-in name from the picture).  I am using MacOS Sierra 10.12.3 on a MacBook Pro (early 2011).

The issue is due to missing fonts. (Where the system picks a poor choice to substitute for the “missing characters”). If you use font management software, be sure to reinstall or re-enable the system fonts.

  1. Run validations with Font Book

  Launch Font Book and press command-A to select all fonts. Then from
  the "File" menu select "Validate Fonts" and wait for the results in
  the font validation window. Keep in mind that even though you may find
  minor problems with your current fonts, its best to follow the saying
  "if it's not broken then don't fix it", and leave well-enough alone
  unless you're experiencing problems.

  2. Clear the font cache

  In OS X, fonts are handled by the Apple Type Server process, which
  stores commonly used fonts in a cache for quick access. If there is
  corruption in this cache then you may experience a variety of
  troubles. To clear the cache, in pre-Leopard versions of OS X go to
  the /Macintosh HD/Library/Caches/ folder and remove the
  "com.apple.ATS" file. After doing this, restart the system.

  For OS X 10.5 and later, you cannot easily access the user and global
  font caches, but you can use Apple's "atsutil" terminal command to
  manage the ATS process. Open "Terminal" and enter the following
  commands to clear the user (or global) databases and restart the
  server:

  atsutil databases -removeUser atsutil server -shutdown atsutil server
  -ping

  NOTE: Use "sudo atsutil databases -remove" instead of the first
  command to remove the database for all users.

  3. Avoid older font formats

  If you can, avoid ".dfont" and "Type 1 PostScript" fonts. This
  suggestion may depend on the requirements for various programs, but if
  you have an older font suite that you are thinking about installing,
  it may run into problems with newer programs so you might consider
  getting an updated version of the suite before installing. Granted you
  can always try, but there is the potential that older font formats can
  cause problems so we recommend you stick to the more modern ".ttf" and
  ".ttc" fonts.

  4. Manually clear out duplicates

  Font Book has an option to "Resolve Duplicates" (available in the
  "Edit" menu), but this is limited in functionality and may not remove
  the specific font duplicate which you desire to remove. As such, the
  best approach to managing duplicate fonts is to do it manually
  (tedious, but effective if done correctly). In Font Book, you can use
  the "Show Font info" option (command-I) to see information about a
  selected font, and especially where the font is located on your
  system. Doing this for your duplicate fonts will allow you to select
  which one to remove, either by removing it from its font folder, or by
  right-clicking it and selecting "Disable".

From: https://www.cnet.com/news/font-problems-and-management-in-os-x/


Upgraded to Lion with an application in Snow Leopard called LaunchPad Recently I upgraded my laptop from Snow Leopard to Lion.  However in Snow Leopard, I fooled around with the system a bit and "named" an app called LaunchPad.app(It's actually called quickpick)  Now in Lion, it retained the old app and didn't change it to the actual LaunchPad.  When I try to delete the LaunchPad app now, it says the it is necessary for the system and I can't delete it.  What should I do now?  Thanks everyone.

Create a Time Machine backup of your current system, reinstall Lion, restore everything but applications from backup, then restore the other applications manually from Time Machine.

If you're feeling adventurous, and have good current backups, you could launch Terminal and enter the following exactly as shown:

sudo rm -rf /Applications/LaunchPad.app

Enter your password and the application should be removed.

Now you shouldn't have LaunchPad.app anymore. You could try to get LaunchPad from a friend, by installing a 10.7.2 combo updater, or by reinstalling Lion.


Terminal floats between desktops On my mac, OS X Yosemite, if I have terminal open and multiple desktops the terminal window appears on all desktops. How do I disable this feature and have the terminal stick to the desktop it was launched on or dragged to?

Control or right clicking the dock icon should allow you to pin the app to a specific desktop.


Can OS X 10.5.8 be installed on a 2.3 GHz Intel Core i7 Mac Mini? Can OS X 10.5.8 be installed on a 2.3 GHz Intel Core i7 Mac Mini
in order to upgrade to OS X 10.6.3 server?
(The Goal: to quit 10.8 Server in order to use Rosetta software again)

Your Mac mini is probably a Apple Mac mini "Core i7" 2.3 (Late 2012) Macmini6,2. It was originally delivered with Mac OS X 10.8.1.

Neither 10.5 nor 10.6 contain the necessary drivers to support your hardware (especially USB3.0).

Consider installing Mac OS X Server 10.6.8 in an virtual machine using Parallels, VMware Fusion (both non-free) or VirtualBox (free).


Is there an online resource with lots of iOS system icons? By this, I mean the dock, the "X" button for app icons, the lock screen slider, etc.

Any file format is fine, but I'd like them to be at least the normal resolution.

http://graffletopia.com/categories/macintosh
Looks like you'll need to get a demo copy of Omnigraffle to open them. Photoshop won't, and I'm not seeing other Mac standard software that will.  Also (Photoshop format):  http://www.teehanlax.com/downloads/


Are notifications lost forever during scheduled DnD in iOS12? In iOS12, notifications do not appear on are locked screen while scheduled do not disturb is in effect. This is a new feature, and I can understand the reason it has been introduced.

Is there any way to view the history of notifications that would have occurred during this time. If one opens the notification screen (by swiping down), notifications that occurred before and after the do not disturb period are visible, but nothing in between.

In previous versions, notifications could be used to view important news flash events that occurred overnight. Is there a method to view these missing notifications or perhaps modify the new behaviour.

Update:

I don't know why there were no overnight notifications the first time I used scheduled DnD after updating to iOS12 - maybe CNN had nothing to say for 8 hours. But it seems to be working as documented now. Both with Bedtime Mode enabled and without.

Source:

If you set a scheduled Do Not Disturb time (as many of us do during our normal sleeping hours), you’ll have the option to toggle Bedtime Mode for those hours.

Regular Do Not Disturb mode silences calls and notifications. When it’s active, sounds and vibrations won’t wake you up (or disturb your dinner companion, or make noise in the movie theater), but they’ll still appear on the lock screen.

Bedtime Mode adds two new behaviors to Do Not Disturb.

It dims the display considerably, so if you pick up your phone in a dark room—to check the time, for example—it won’t blind you with bright light.
It sends incoming notifications straight to the notification history, skipping the lock screen entirely.

To enable Bedtime Mode, tap on Settings -> Do Not Disturb and be sure you have scheduled Do Not Disturb turned on.  Then switch on Bedtime Mode.


How do I resize the magnifier/zoom window in iOS 8? My wife lets our baby daughter play with my iPad, and something she did has caused the magnifier/zoom window (one of the accessibility features) to end up tall and narrow instead of the usual size and shape. How do I resize it so that it is more useful again?

What you want to do is:

Toggle the zoom
Locate the rounded rectangle at the bottom of the zoom window(the one you use to move the zoom window around)

Tap that once(without dragging)

Tap "Resize Lens"

Use the classic resize tools

Tap outside of the window to save the configuration.

Hope that helps!


Exit the "Do you want to save your changes?" dialogue as fast as possible (discard changes) When I press cmd-q or cmd-w on an app, sometimes I get a popup like:

I just want to quit the app as fast as possible, I want to select the "Revert Changes" or "Don't Save" etc. equivalents without having to move my hand to my mouse/trackpad, move the mouse cursor to the button on the screen, and click.

I don't want to have to take my hands off of the keyboard.

cmd-backspace used to work for me

But it doesn't anymore, at least not in Preview.app.

What's the new solution in Catalina?

Press the Spacebar.

⌘ + Backspace works if you are trying to choose “Don’t Save” but the Spacebar is what you want to select ‘Revert’.


Wi-Fi has stopped working around the time 10.7.3 update. Might they be related? I have a MacBook Air which was working fine. Now I have awful network issues since the 10.7.3 update.

My home router is a D-Link DIR-615. I was securing the Wi-Fi network using WEP which worked great on Windows 7/XP/Vista, Ubuntu, iOS, and Mac OS X Lion.

Then I installed the 10.7.3 update on my MacBook Air and the Wi-FI stopped functioning on it. I started to receiving error messages saying, "Select a certificate and enter username and password". I googled this and decided to switch to WPA security since is more secure and though this issue would be resolved. Easily done. No more error messages, internet is working fine everywhere...except on the MacBook Air.

Now when I attempt to connect to Wi-Fi on my MacBook Air, it attempts to connect to my network and connects but gives the error message "Alert: No Internet connection". I checked and it is not getting an IP address. After two minutes or so, it receives a proper IP address, but the internet is not working. Sites simply won't load. When I try to ping my router, I get timeout messages. I have verified that my DNS settings are correct.

Here's what I've already tried:

Turning firewall on/off/on again
Removed Wi-Fi configuration from System Preferences > Network, and added them again
Rebooted my router (several times)
Cleared /Library/Preferences/SystemConfiguration folder
Installed 10.7.3 combo update

All other Wi-FI devices on my network work with no issues. It's just the MacBook Air that is having this problem.

From what I've seen - this seems to be more a network routing issue than a hardware / link level problem. The first step is to narrow down if it's a network issue or a hardware issue.

In Finder, Shift+Command+G Go to the folder /System/Library/CoreServices and run the two Lion diagnostic tools to assist in narrowing down your problems.

Wi-Fi Diagnostics
Network Diagnostics

Once you have narrowed down the issue, you can ask a second, more detailed question on how to solve a failing step X in diagnostic Y if you still need help in getting this sorted.

This process was used (as described in the comments) to determine that Little Snitch and the existing firewall were causing the network issues.


How to locate the Power Pads on a MacBook Pro A1398 My mac will no longer power up via the keyboard. I have taken the back off and have it before me with the fans at the bottom and the batteries at the top.
How can I jump-start the Mac ?

I have tried to find the Power Pads but to no avail.

I have also read about shorting pins #5 and #29 of the keyboard cable but unsure where this is and which pins exactly to short.

My question is how to start the Mac using either method above or another.

I managed to do this shortly after posting the question. Shorting PIN 5 of the keyboard connector (5th from right with the batteries at the top) with GROUND works. However I could only get it to work with the screen opened.


Is my fusion drive supposed to show as two different volumes in Disk Utility? (It shows just one in Finder) After a time machine migration from an old iMac (non-fusion drive) to my new iMac (Fusion Drive), I noticed that in Disk Utility, my Fusion drive lists two volumes: "Macintosh HD" and "Macintosh HD - Data". In Finder, I just see "Macintosh HD". Is my drive split or is this normal behavior in Disk Utility?

This is normal for all Catalina system/boot volume layouts independent of the number of physical disks involved.

The various main partitions (here disk0s2 & disk1s2) of the single physical disks of a Fusion Drive are combined as physical stores to one container: disk2. The predecessor (CoreStorage) did the same.

The whole container (here disk2) is divided into various APFS volumes with different roles: Preboot, Recovery, VM, Data and System. Each volume can be enlarged or shrunk dynamically.

The last two are combined in one APFS volume group.

You get all available APFS volume groups by entering diskutil ap listVolumeGroups.

The system volume (role: System, name: Macintosh HD, device: disk2s5) is mounted read-only. The necessary read-write data volume (role: Data, name: Macintosh HD – Data, device: disk2s1) is mounted to /System/Volumes/Data.

By default various folders of the Data volume are firmlinked to various folders of the System volume. They are needed to add user installed apps/binaries/frameworks etc. and user content (which requires a r/w volume) in a transparent way. The list of a all current firmlinks is available at /usr/share/firmlinks.

The two devices in the APFS volume group (disk2s1 & disk2s5) mustn't be confused with the two physical devices (disk0 & disk1). Both APFS volumes may partially reside on both physical disks.

At least the APFS volumes with the roles Data and System are shown as separate devices in Disk Utiliy. I expect the volumes with the roles USER, Undefined and Installer (which don't exist in the standard partition scheme) to be also shown in Disk Utility – I haven't tested this though.

Further reading and pics of the various stages of Catalina APFS volume schemes:

macOS Catalina Boot Volume Layout
Working with APFS Volume Groups


Identifying old system junk I've been using Mac a long time, & none of my new Macs have ever run in a truly new state since the first Migration Assistant back with what we now call Classic Mac OS. Over time ther performance of, what should be snappy Macs, has deteriorated & I put it down to accumulated junk from years of migrations. I think mostly in /Library & ~/Library, but also any of /etc (/private/etc), /opt, /usr, & /var (/private/var).

Can anyone point me to a quality guide to identifying junk in those locations, that safely can, or indeed should, be disposed of?

Touch nothing. Bigger problems come from files and software from 3rd party developers who have no (or limited) uninstallation mechanisms, which then leave cruft all over the HD, and which may have installed files in locations other than what Apple recommends. System files and apps are updated, modified and erased with successive macOS updates.

When you use Migration Assistant, which has gotten more competent at its job over the years, outdated macOS System files are not transferred over. I've used MA with Time Machine backup disks for moving my user accounts to four new iMacs starting from the days of macOS Leopard.

At my job, we use MA exclusively to move our users to new laptops when the replacement cycle comes up. Users are given an eternal Time Machine drive which a laptop and are instructed in its use. IT staff have no time, and our users don't have the expertise, to move data and apps manually when replacement time arrives. We also require our users to use the cloud-based file storage (Google Drive in our case) for their work-related files.


How to let Terminal on Mac OS behave show folders and executables and such in different colors? On Linux (e.g. Ubuntu) the terminal shows you executables and folders and such in different colors so you can identify them easier. Is this possible on Mac OS Terminal, too?

To add color output of the ls command, you need to edit your ~/.bash_profile and add:

export CLICOLOR=1
export LSCOLORS=ExFxCxDxBxegedabagacad

This is just an example, look at the ls manpage on how to change specific color values.


Typing the control+\ (backslash) on Apple keyboard I've been trying for quite some time now to figure out how I'm supposed to type the escape sequence '^\', Control+Blackslash on a Mac.

I have a Swedish keyboard with the Swedish Pro layout, and I have backslash on Shift+Alt+7, but pressing Ctrl+Shift+Alt+7 just gives me a 7, not the escape sequence I would expect.

The closest thing I found while googling is: How do I send C-/ (that is, control-slash) to the terminal?

But it doesn't give away how to do the Control+Backslash, any ideas?

As a user of the Danish Apple keyboard, I face similar issues. Most of the time I — unfortunately — have to remap keyboard shortcuts through System Preferences > Keyboard > Shortcuts.
I researched a bit and wasn't able to find the native way to do this combo on a Scandinavian keyboard.

However, you might be able to create a service through Automator that presses the keyboard combination for you:

Open Automator
Create a new document and select Service as type
Set Service receives selected to no input
Drag out a Run AppleScript action from the left pane
Replace (* Your script goes here *) with tell application "System Events" to keystroke "\\" using {control down}
Save and call the service whatever you deem appropriate

Then try running it at a time when you need to press Ctrl+\ (For Terminal: Terminal > Services > Name of Your Service).

I'm not currently able to test this but it might be worth a try.


Boot menu shows non-existent boot drives I used to run a Boot Camp partition on my Macbook Air (Early 2015, Catalina). When I didn't need it anymore I deleted the partition using Disk Utility.

However, I noticed that when I boot up my Macbook while holding down option to show the boot drives, it shows my old Windows drive.

When I select it, it fails with the following screen:

I also did a full reinstall of Mac OS recently using Internet Recovery where I reformatted the entire drive. The Windows option still appears even after the reinstall, which means there are artifacts left over.

What's causing this behaviour? Where are these boot options stored and how would I go about deleting the Windows option?

Thanks!

The Microsoft bootloader program  bootmgfw.efi is found in the EFI partition on disk either in the EFI/Boot directory, the EFI/Microsoft directory or both.

While it is acceptable (according to UEFI specifications) to have several EFI partitions both Apple and Microsoft expect there to be only one.

You say "I reformatted the entire drive" but unless you went to Disk Utility and actually overwrote the data with zeros you most likely didn't.  It can be a bit convoluted to do this - see How to Secure Erase a Mac SSD / Hard Disk from Recovery Mode

What you likely did is take the option in the macOS installer to reinstall.  This deleted the partition tables and then the installer created new partitions including a new EFI partition with exactly the same start and end positions - macOS will always create a 200MiB EFI partition from sector 40 to sector 409639.  As macOS doesn't generally use the EFI partition whatever was there before will miraculously be there again.

To remove the straggling MS files first delete any Microsoft directory in the EFI partition:

disable SIP as described here How to Disable System Integrity Protection (rootless) in Mac OS X
create mount point for EFI partition with mkdir /Volumes/ESP
mount EFI partition with sudo mount -t msdos /dev/disk0s1 /Volumes/ESP
check if MS directory is still there with ls /Volumes/ESP/EFI/Microsoft
delete it with sudo rm -r /Volumes/ESP/EFI/Microsoft
delete EFI/Boot too if it exists with sudo rm -r /Volumes/ESP/EFI/Boot
alternatively delete everything except for the EFI/APPLE directory using Finder and empty the trash.

Then to be tidy you may also want to delete any Microsoft NVRAM entry. It isn't easy to delete specific entries from macOS so the easiest way is to delete everything with the nvram -c command as explained here How to View & Clear the Mac NVRAM Contents from Terminal in Mac OS X or press  alt   cmd  P  R  at boot as described in this Apple document Reset NVRAM or PRAM on your Mac
Finally, reboot and if all is OK re-enable SIP.


Sync with time server on iPad (date/time) via WiFi? We are deploying iPads in an enterprise environment. We have a specific use case where we will use an app for internal use only. We tried to completely lock down access, but we see it is too restrictive. For example, the iPad needs to talk with a time server to sync the date and time. Does anyone know the specifics about what servers the time sync occurs with? Is it just apple.com? Or perhaps a set of time servers?

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

123 UDP Network Time Protocol (NTP) 1305    ntp Date & Time preferences, network time server synchronization, Apple TV network time server sync


FTP not working on any FTP client not even with Mozilla or Chrome I am using a MacBook Pro with OS X 10.10.3. I am a developer and I use FTP on a regular basis. However I am new to OS X. It was working fine but suddenly FTP stops working for all FTP clients on my Mac for any server, even for ftp://ftp.mozilla.org/. I use NetBeans and use its most native Java based client. I tried with Firebug, FileZilla, Firefox, Chrome and OS X's native Finder client. I tried with Terminal as well — the response is:

Tousifs-MBP:~ tousifosman$ ftp -v ftp://ftp.mozilla.org/
Trying 63.245.215.56...
Connected to ftp.mozilla.org.
421 Service not available, remote server has closed connection.
ftp: Can't connect or login to host `ftp.mozilla.org'

However I am able to connect to all the servers from my Windows platform.

The occurred due to my local wifi network. It was some how blocking ftp. Replacing the router solved my problem


Does iOS have the capability to execute multiple apps in memory, and enable you to switch between them, restoring the previous state? This is for buying purposes; i.e. does the kernel schedule the processes and threads belonging to every process, and do the apps save states that can be resumed at the user's discretion?

Please fill me in on the scheduling/structure of iOS's kernel.

No - the multithreading of processes is reserved for Apple OS only and apps (including almost all Apple apps) do not get to execute simultaneously when they are not in the foreground drawing to the iOS screen. Only if the app calls some limited API (safari or other webkit apps downloading in the background is one of the white listed background tasks - FWIW) can the app get work done on it's behalf by the OS/kernel when the app itself is in a suspended state.

The iOS kernel is the same foundation as the OS X kernel, so your question about app suspend / resume state is more about the application frameworks in use than the underlying structure of the kernel.

That being said, the iOS idiom is to have apps paused by the OS at any time and various states are cached and saved so that once the kernel resumes execution of an app - whether it was paused for a few dozen milliseconds or a few hours is seamless to the user when the app is programmed correctly.

Of course, not all apps adhere to this idiom, but most do.


Installing Python on Mac 10.5.8 64-bit I'm working on getting Python installed on my Mac 10.5.8 and I have been having a heck of a lot of trouble.

The standard downloads at Python.org do not show a compatible version.

They have 10.3 - 10.6 for 32 bit
They have 10.6 - 10.7 for 64 bit

I tried downloading and installing the 32 bit version for 10.5, yet when launching the IDLE, it "Unexpectedly" quits.

I've been told that Python comes pre-installed on Mac OSX computers, but when running "python" in the terminal I receive this error:

william-johnsons-macbook:~ Will$ python
dyld: unknown required load command 0x80000022
Trace/BPT trap
william-johnsons-macbook:~ Will$

If anyone has any advice or other references not on the python.org site, I would really appreciate it.

It's been a long time since I had to do this for 10.5.8, but I followed these instructions:
http://web.archive.org/web/20090508090926/http://blog.captnswing.net/2009/04/19/python-mod_wsgi-64bit-mac-os-x-105/
(note that the original website is gone, hence the WayBack link)

Here's a post I made on the topic back when I was trying:
http://buffalothedestroyer.blogspot.com/2009/04/python-64-bit.html

But, do you need 64 bit python on 10.5.8?  Frankly, I don't think it's worth the pain - I'd pay a few bucks and upgrade to 10.6 or 10.7.

If it's just a problem with 32-bit python, which python are you using? (i.e., what does which python return?)


Iphone 4s says i have no storage available My 6gb iphone 4s says I have no storage left.When I only have 2 apps on this iphone. This iphone was found and it has been jailbroken and erase all content and settings does not work. I've tried it several times but the loading circle never goes away even after I left it for hours. I need help to restore it to factory settings. I do not have access to a laptop so I cannot use iTunes. Help is greatly appreciated.

If erase all content and settings fails to restore the storage then you either have a hardware failure (Flash storage needs to be restored/repartitioned/erased) or a software failure (iTunes is needed to reload the software).

You'll need to take the phone to someone with iTunes and/or experience repairing and testing the iPhone unfortunately.


External SSD with OS installed not working? Four months ago I bought an external SATA case with USB-C compatibility so I can install my iMac OS there, did this because my iMac has built in HDD and was so slowww..

With the case I started using an ADATA 120GB SSD and everything worked like a charm for the past months, up to now...

As an extra fact I have to say 1 day ago I took the computer to another location (car trip) used like 12 hours and take it back to my office (of course I unplugged the SSD and plugged it back a couple of times), this was the first time EVER I unplugged the SSD case.

Today I was working as usual and the computer suddenly turned off and showed a message like this:

So waited for the iMac to restart and continue working, the message appeared 3 times after 20 minutes aprox of working.

The fourth time the message appeared I tried to start up again and the OS didnt started. The apple logo appears up to the loading bar but it turns off at 30% more or less.

This apple logo thing only happens when starting up from the external SSD, if I boot up from the default HDD it works good (I didnt remove the OS from there cause I knew something like this could happen).

So I would like to know what do you thing could go wrong? Maybe the USB-C cable got damaged in the trip yesterday, or its just that the VANTEC case is not supporting this kind of usage, or even the SSD?

I cant use the iMac with the OS running at the HDD, I've get used to SSD speeds both in my iMac and macbook so I would like to solve this problem fast cause iMac is my principal work station.

The drive enclosure is: VANTEC ENCLOSURE

The SSD is (120GB version): ADATA SSD

If I buy a brand new samsung external SSD, can I expect similar issues?

Thank you so much, I would love to hear what you think about all of this!

If it worked fine for several months then I would suggest the case supports it. It's very possible that the control board inside the case or the cable is damaged.

If you have the technical know how, I would suggest placing the SSD inside the iMac. That way you also avoid the bottleneck of having to go over USB. There are plenty of online guides on how to do this.

I have used several of the MacSales kits, all the iMacs are still running and it took me 30 minutes at most.


How to add a keyboard shortcut for Insert Equation for Word 2016? I tried Word >> Tools >> Customize Keyboard >> EquationInsert, but I can't seem to modify the "Press new keyboard shortcut" box.

I also tried System Preferences >> Keyboard >> Shortcuts >> App Shortcuts, but adding "EquationInsert" or "Insert an equation" did not produce any responses.

Correct procedure but:
Write simply the word "Equation" (thats the word you have to call)

Tip: If you aren't sure what the menu name is for a command, click Help in that app and search for what you want, which will then show you the exact menu name.


Stop "iPhone is not Activated" message from appearing I bought a used iPhone 5s not to use as a phone, but to use like an iPod touch. I bought a cheap, dummy SIM card to get it activated. All is well, but I keep getting theiPhone is Not Activated. Contact Your Carrier. message.

How can I get rid of this?


External monitor not working when in closed clamshell mode I have a mid-2015, 15 inch MacBook Pro, connected to a Dell P2715Q with a Display Port to mini-DP cable. With the lid open, I get both displays working.

I used to be able to close the lid and it would switch to just using the external monitor, but I have changed something in the settings so that when it is closed, the display is black.

I am using SwitchResX, to change the resolution, and I think I changed the colour from Millions to Billions, which broke it.  I now can't change it back as it is only broken when the lid is closed.  I want to have just the single monitor.  How can I change the settings back to normal so that it works properly?

The MacBook Pro is plugged in to mains power, and is connected a USB Keyboard and Bluetooth Mouse.

I use the exact same setup at work, with identical Keyboard and Mouse, but a different monitor, and that works fine.  It appears that the configuration for the monitor in open clamshell mode is different to that in closed clamshell mode, and I'm trying to find out how to re-configure the closed clamshell mode when it does not display anything with it closed.

I had the same problem:
Changed refresh rate to 144 Hz while in clamshell mode --> Blackscreen.
But everything worked fine when I opened the Laptop. The problem is that the settings can only be changed back if in clamshell mode because they are stored separately. But how to change them back if the screen is black?
Solution: Team Viewer.
Connect your laptop to the monitor. Get an iPad or second PC and connect via team Viewer. Close Laptop. Now you should be able to see the settings for clamshell mode. Just change them back and everything works fine again.


Is there a way for me to view my work or my whole iMac screen in grayscale? I am working on a job that will be published in print and online in grayscale. Most of the creative work is being created in QuarkXPress.

My problem is that I really need to see how this is going to look in grayscale.

Up until now I have been exporting the work to PDF in grayscale to see how things look, but as you can imagine this is a slow process.

Is there a setting anywhere in QuarkXPress 9.5.4.0 I can use to view my files in grayscale, or a setting within Mac OS X 10.11.6 that I can use to make my iMac temporarily display in grayscale?

Yes you can!

Follow these steps:

Go to Apple > System Preferences > Accessibility
In the left hand pane make sure Display is selected
On the right hand side you’ll see a number of checkboxes and sliders
Tick the Use grayscale checkbox

Your iMac’s display should immediately switch to grayscale mode.

TIP: Since you only need grayscale while you’re working on this job, you can tick the Show Accessibility status in menu bar checkbox at bottom left of the Accessibility preferences. This way you can access this setting as you need directly from the menu bar.


What other "Superdrives" are able to replace the UJ-868? I suspect my MacBook Pro's Superdrive is faulty. It refuses to burn Sony DVD+R discs.
I'm now looking at replacing the drive, but I see there are many "Superdrives". I have a Matshita DVD-R UJ-868, but I see different type numbers are sold as a Superdrive.

Which Superdrives, besides the UJ-868, are compatible with my 15 inch, mid 2009 MacBook Pro 5,3?

A drive to replace the Matshita UJ-868 should be:

9.5mm in height
SATA interface
Slot loading

You can even replace it with a UJ-267 (which is a Blu-ray writer)


Someone has created an Apple ID using an email address in a domain I own I own "mydomain.com"  (actually something else!) and have a catchall to receive all emails sent to any xxxx@mydomain.com
Earlier this week I received an email from appleid@id.apple.com asking me to verify annepearson@mydomain.com.  This person is unknown to me.  I did not verify.
I have now received this email:

Dear Anne Pearson,
The password for your Apple ID annepearson@mydomain.com has been successfully reset.
If you believe you have received this email in error, or that an unauthorized person has accessed your account, please go to iforgot.apple.com to reset your password immediately. Then review and update your security settings at appleid.apple.com

Has this person succesfully greated an Apple ID account with an email address she doesn't own?
If so, what can I do?

I think this may be a phishing. I advise you to check the 3 following key
points:

Within the headers of the 2 E-mails you received, verify
they are really originating from apple.com .
Verify the included URL is really within the apple.com domain.
Within the headers, verify there isn't any Return-Path: outside of apple.com .


Change sound level when using earphones with iPhone dock When using Music on iPhone the user is able to use a slider to change the audio output level.

However, when the iPhone is docked in the official Apple dock, using the earphone jack in the back, the slider to change audio level is removed from the interface.

I would prefer to use the docks audio jack as it keeps the earphone wire on the surface of the desk rather than floating out the top of the phone over a keyboard and getting in the way.

Is there a way to make the audio level changeable when the iPhone is docked in the official iPhone dock?

The short answer is "no".

Although it shares a connector type with headphones, the 1/8" mini stereo jack on the Apple iPhone dock is a line-level audio output. Its purpose is to connect the iPhone line out (part of the dock connector) to devices like amplified speakers, stereo amplifiers, etc. These devices provide their own volume control and (aside from fine-tuning of input levels) the assumption is that you don't want to have control over the sound level in two places.


Podcast sounds to iTunes I need to upload our sounds to iTunes using rss feed.Created rss feed,i don't know how can work this with iTunes.

Thanks in advance.

Have you taken a look at Apple's documentation? The page contains a link you can use (from a machine with iTunes on it) to upload the RSS-feed.


How to trigger spinning wheel diagnostics report I'm working on application that consume significant CPU time and memory under heavy load.

my setup configuration is fusion VM that runs macOS Sierra 10.12.6.

At some stage I get spinning wheel and the entire VM hangs. Unfortunately I couldn't find any valuable log after rebooting the machine.

perhaps there's a way to enforce taking performance diagnostics report so that I could properly analyze what cause the hanging ?

thanks

The name for the "spinning wheel" or "spinning beachball" is actually called the spinning wait cursor,  similar to the hourglass on Windows machines.

There's no diagnostic report that's associated with a wait cursor because it only appears if there is more than 2 seconds of delay.

To find out what is slowing down your system, use Activity Monitor.