How can I make Mac Partition visible in Bootcamp (Windows 10 Anniversary Update)?

Apple HFS+ drivers DO work after 1607 Anniversary Update, they just have problems mounting the drives. You can mount them manually with the risks associated with it. (Personally, I have encountered exactly zero bugs/problems in several weeks of hard usage and testing on 3 computers, so I started recommending my method on the net. I am writing this warning anyway, as mounting a partition forcibly may still have unforeseen consequences I have yet to face.)

Firstly, make sure you have drivers from 6.0 installed, 6.1 does not have HFS+ drivers. You can reinstall to be sure, or

Go to Windows\system32\drivers\ check if AppleHFS.sys and AppleMNT.sys is there.
Run regedit, go check if "AppleHFS" and "AppleMNT" keys exist in "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\"; each should also have some string and dword values in it.

Personally, I would extract these two .sys files from a 6.0 install, Google on how to install them via registry tweaks, and make the habit of always using the most up-to-date bootcamp drivers. Apart from bug fixing and optimisations, new Macs a few years into future will just not function properly on 6.0 drivers.

Reboot after installing your Apple HFS drivers. Nothing will show up on 1607 after reboot, but I would still feel better to install these drivers before we try and mount them.

Secondly, make sure you are not using CoreStorage. I am reasonably certain "read only" HFS driver can't do any harm, but it's better to be safe than sorry.

If you are good to go, you have two options:

Option #1: mount your bootcamp partition via DOS Devices registry edit:

Run regedit, navigate to "HKEY_LOCAL_MACHINE/system/CurrentControlSet/Control/Session Manager/DOS Devices/"
Right click > new > add string
Enter your drive letter by adding ":" In "data" type "\Device\HarddiskVolume#", where # will be the volume number of your partition as it would be detected in MS-DOS. In your case, it SHOULD be 2, as it is the 2nd partition of disk0. (In MY computer, disk0 has 1 partition, my macOS partition is 2nd one on disk1, so MY partition number is 3, just count your partitions starting with 1.)

Your registry entry should (provided nothing is changed in 4 months you posted this) show "D:", "REG_SZ" and "\Device\HarddiskVolume2" for name, type and data respectively (assuming D: is the drive letter you want for your macOS partition).
Never use letter C: or any other drive letter that may contradict with your Windows installation, as this may render your Windows unbootable. (Or may not, it's just a matter of luck whether Windows chooses to mount DOS devices first, or it's own disk management.) It is (probably) safe to do trial and error on volume #, it won't break anything even if you accidentally select your Windows partition, it will just mount it twice with different letters.
Reboot and your macOS partition should be there.
Before using, go to properties of your new disk in "This PC" and your "file system" should be HFS and it should report used and free spaces correctly. If it is RAW, never try to reformat, check your AppleHFS.sys install.

Option #2: use a program that can mount disks via Session Manager (in other words, it will make the registry entries for you).

Download ext2fsd even though you probably have nothing to do with ext2 or linux.
Open Ext2 Volume Manager. In "File System" tab, your macOS partition will show as "HFS". If you installed ext2fsd before successfully installing bootcamp drivers, it will just show as "RAW". (kind of proving bootcamp drivers DO work)
Right click, select assign drive letter (or change drive letter).
In the pop-up menu, select the drive letter first, then select the tick "Create a permanent MountPoint via Session Manager." It -weirdly- closes the pop-up before you click "OK". (Ext2fsd is a little buggy, you should select drive letter first, then select the tickbox. If you want to change drive letter, I suggest removing the existing one first, then re-add it from scratch)
Reboot, and the macOS partition will be there just like before anniversary update.

In both options, your diskpart or disk management will still show your HFS partition as RAW, (so does minitool partition wizard etc), but it will function normally, and you should be able to confirm it as HFS in properties menu. In analogy, this method tries to define your partition letter like defining a legacy COM or Printer (LPT) port.


Does the upgrading from Parallels Desktop (for Mac) 5 to 6 means reinstall Windows?

No, your Windows VM and all the programs installed on it are stored on a virtual hard drive file. Upgrading Parallels won't affect the VM.


Applescript or automator to print only 3 first pages of a pdf

This will prompt you to select the PDF file, then print the first 3 pages of it(change the sourceFile variable if you want to choose the PDF in another way):

set sourceFile to (choose file with prompt "Choose a PDF file:" of type {"PDF"})
do shell script "lpr " & quoted form of POSIX path of sourceFile & " -o page-ranges=1-3"

If you want to have a drag-and-drop application:

on open droppedItem set sourceFile to POSIX path of droppedItem
do shell script "lpr " & quoted form of POSIX path of sourceFile & " -o page-ranges=1-3" end open


Failed High Sierra update, can't mount drives, how to recover files?

The problem, whatever it was exactly, was solved by having the update completed at an Apple store, connected directly to an update server. Hopefully somebody finds this useful.


If it's just your screen that is not working properly, as it appears from your description, you can use a screen replicator like Reflector 2.

You can connect your iPhone to your computer and use the screen representation to perform an iCloud backup.

  Reflector is a wireless mirroring and streaming receiver that works great with Google Cast™, AirPlay™ and AirParrot 2®. Mirror your content to the big screen without wires or complicated setups. Play games, watch movies, demo applications or present from the palm of your hand. Even send your screens directly to YouTube for others to watch live.

If your device needs to be replaced, you can then restore your data from the iCloud backup.


How can I remove a folder from the itunes library

It depends on your iTunes preferences.

1.If iTunes is running default, iTunes actually copied all that media to your local drive, and you would have to delete it manually via sorting by "Date Added" to remove it.

2.If you have iTunes set to reference the files, when you disconnect the drive iTunes has some pretty annoying behavior where it will try to maintain the link but it will become a ghost music icon, the best way to get rid of these is sort by "Date Added" in your library and remove them manually.

These behaviors can be checked under iTunes preferences, I copied this pic from the Apple support site under HT1751:


iTunes KERNELBASE.dll crash - Windows 7 Home Premium

After some additional research, the culprit was iTunes Match.  When iTunes Match tried to upload the music file that was not available in the iTunes store to the iCloud, it would cause iTunes to crash and throw the KERNELBASE.dll error.  I removed the troublesome file from iTunes and it works like a charm.


From: Boot Camp: Set the default operating system

  After installing Windows, you can set the default operating system.

  Set the default operating system in OS X

  In OS X, choose Apple menu > System Preferences, then click Startup Disk.
  Select the startup disk with the default operating system you want to use.
  If you want to start up using the default operating system now, click Restart.

  Set the default operating system in Windows

  You can’t change your startup volume to an external FireWire or USB
  drive while you're using Windows.

  In Windows 7, click the Boot Camp icon in the system tray, then choose Boot Camp Control Panel.
  In Windows 8, move the cursor to the upper-right or lower-right corner of the screen, then click Search. Search for “Boot Camp,” click
  Settings, then click Boot Camp.
  If a User Account Control dialog appears, click Yes.
  Select the startup disk with the default operating system you want to use.
  If you want to start up using the default operating system now, click
  Restart. Otherwise, click OK.

  Restart in OS X using the Boot Camp icon in the system tray

  In Windows, click the Boot Camp icon in the system tray, then choose
  Restart in OS X. This also sets the default operating system to OS X.

  If you don’t see the Boot Camp icon in the system tray, click the
  triangle to show hidden icons.


So, does the other person have an iPhone or something else? If it's something else, then it will automatically send as an sms. If the messages fails to send, and you try multiple times to send it, it will ask if you want to send as an sms instead of an iMessage (at least I think it will still do that).

If anything else, you could always go into iMessage settings, sign out of your Apple ID and then turn off and on iMessage.


There's no default way to do this in either iOS or macOS.

Recommendations from several similar questions on this site (use the Search function to find them) include using 3rd party applications instead or taking a screenshot of the Note (and locking the original) so it can't be edited.


How to delete images already imported into iPhoto?

If you batch drag them, as jmlumpkin suggested, a number of them will be spotted with the 'do you want to import again', and you can apply no to all, then delete the bunch. If hwoever, it accepts them, there are a few bits of duplicate finder software - none of them free (at least not that I've found), but at around $8 - http://www.brattoo.com/propaganda/.

I'd love to find something free that did the same!

Other helpful things: It may take some time, but letting faces do its thing, you will be able to group up and spot some duplicates.


Record MacBook Audio Out With iPad/iPhone Earphone Jack

The reason you have this problem is not because of the cable, it’s because you’re sending speaker output to a microphone.  It’s no different than taking a regular microphone and holding it front of a speaker and trying to record; it’s not going to work.

See this similar post for more details:  Use 3.5mm jack as line in for a musical instrument

Instead of sending the audio out to your iPad to record it, just record it on your Mac (bypass the middleman):

Soundflower. Free, but abandoned by the original dev. Project is now hosted on GitHub.
Audio Hijack. Same developer as Soundflower, but a paid at $60USD)
Use a hardware solution like a USB DAC.  I prefer this because for less money (half of the cost of AH) I get a device I can record from and output to.  I get much better sound from my Mac when hooked up to my Bose wave radio than from the internal speakers.

As for your cable, it's looks to be a good one, but it won't change the fact that trying to record speaker output with a microphone is spotty at best.


How to change application run command when started from Dock?

You can use Automator or AppleScript to make an app that launches the app with specific arguments:

-- Applescript version
do shell script "open -a 'Google Chrome' --args --enable-logging --v=1"

Or you can go into the app bundle and modify the Info.plist, changing CFBundleExecutable from (for example) "Google Chrome" to the name of a new wrapper script that you put in MacOS. Here's a Python script that automates that for you (It actually makes a new app with symlinks). Run it with python linkapp.py<path to actual app> <where to put new app> in Terminal. When it asks you whether to create a wrapper script, answer y.

(the script is now on GitHub, but I'll try to keep this one updated)

#!/usr/bin/env python

import sys
import os
import shutil
import subprocess
import re

WRAPPER_SCRIPT = '''\
#!/usr/bin/env bash
executable="$(dirname "$0")/%s"

# add flags here.
"$executable"
'''

def printerr(message):
    sys.stderr.write("\033[1;31m" + message + "\033[0m")

def link_item(item):
    os.symlink(os.path.join(bundle_contents_path, item),
               os.path.join('.', item))

def replace_executable(filename, new_executable):
    old_executable = subprocess.check_output(['defaults', 'read', os.path.abspath(filename), 'CFBundleExecutable'])
    old_executable = old_executable.rstrip()
    subprocess.call(['defaults', 'write', os.path.abspath(filename), 'CFBundleExecutable', new_executable])
    return old_executable

if len(sys.argv) <= 2:
    printerr("Usage: linkapp.py <app-bundle> <new-place>\n")
    exit(1)

bundle_path = os.path.abspath(sys.argv[1])
bundle_contents_path = os.path.join(bundle_path, 'Contents')
new_contents_path = os.path.abspath(os.path.join(sys.argv[2], 'Contents'))
os.makedirs(new_contents_path)

# loop through the app bundle and symlink everything
#                                        (except Resources, MacOS & Info.plist)
os.chdir(new_contents_path)
for i in os.listdir(bundle_contents_path):
    if i.lower() != 'info.plist':
        if i.lower() in ['resources', 'macos']:
            os.makedirs(i)
            for j in os.listdir(os.path.join(bundle_contents_path, i)):
                link_item(os.path.join(i, j))
        else:
            link_item(i)

# just copy Info.plist for easy editing
shutil.copy(os.path.join(bundle_contents_path, 'Info.plist'), new_contents_path)
subprocess.call(['plutil', '-convert', 'xml1', 'Info.plist'])

printerr("Create wrapper script [y/n]? ")
ans = sys.stdin.read(1)
if ans.lower() == 'y':
    os.chdir('MacOS')

    wrapper_script_file = 'run_with_specified_arguments.sh'

    original_executable = replace_executable('../Info.plist', wrapper_script_file)

    with open(wrapper_script_file, 'w') as f:
        f.write(WRAPPER_SCRIPT % original_executable)
    os.chmod(wrapper_script_file, 0755)

    subprocess.call(['open', '-R', wrapper_script_file])


Don't panic. :)

1) Try relaunching Finder:

  You can do this by logging out and back in, or by restarting the system, or more quickly by force-quitting the Finder using the system's Force Quit option. Press Option-Command-Escape or select "Force Quit" from the Apple menu, and then select and quit the Finder. The Finder will relaunch automatically, and hopefully show the icons properly loaded.

2) If the problem persists, it's time to clear the caches. There are different ways to accomplish this. The easiest and less error prone is to use a free maintenance utility, like Onyx for Mac, from Titanium Software. Onyx is an old school Macintosh application and will do this (and much more) for you. It's free as in beer and it's very easy to use.

If you feel like you want to pay for an utility, I have the fantastic Cocktail, which I brought a long time ago and I only use "every now and then" when I have a problem like this. I haven't compared both (or any of the other alternatives) but they usually do the same stuff under different user interfaces. Cocktail releases periodic updates and the UI is clean and nice, but other than that, any utility will do.

Since I don't have Onyx installed right now, I'll show you how you could do this with Cocktail:

In Files -> Caches -> select all like in the sshot:

Then go to Options and select all:

and finally also select all these:

finally… click ok and in the first screen click Clear.

It will take a while. Restart your computer and tell us what happened :)

(I don't do this clearing very often, but every 6-12 months I usually clear stuff, it shouldn't be needed… under normal circumstances).

Your computer may feel slower and/or sluggish the first couple of minutes after the boot, that's because the Cache's have been deleted and they must be recreated. Eventually it will catch up.


Not sure whats happening here (cant update past 10.15.1 - late 2012 mac mini)

I found a solution:

So as unknown domain pointed out, I did originally after reinstalling catalina enroll in beta program only because my backups were in the beta installation.

But after realizing I could indeed get the info I needed from my backup disk with out having to be in the beta I unenrolled by clicking detail and restore to default.

As the internet points out that doesnt restore you back to non beta catalina. So what I did was redownload the catalina installation from the mac store and reinstall. I did not loose any data, it just installs it over top the beta version with out any data loss.

This solved my issue and now I am at 10.15.3 as we speak.

I can accept this answer in two days. I hope it helps others who might be in a similar situation.


How can I make a folder and its contents automatically owned by two people?

You can solve this problem using group permissions. What you want is to have a file mode creation mask set such that group read, write, and execute permissions are automatically set for each file when a file is created. This can be accomplished using the umask command inside your startup script such as ~/.bash_profile. To set rw permissions on all files, rwx on all directories, that you both create, use

# Set the umask such that user and group can read, write, and execute.
umask u=rwx,g=rwx,o=

Furthermore, you may want to set everything in the Dropbox to have at a minimum rw group permissions for files and rwx permissions for folders. You can accomplish this using

chmod -R g+r,g+w /Users/Shared

for files and use

chmod -R g+x /Users/Shared/FOLDER

for folders. You can view the existing permissions in the terminal using

ls -l /Users/Shared

where the rwx permissions are arranged in order of owner, group, and other.


Epson Stylus Color Photo R200 won't print

A new print driver for this printer was made available for Mavericks in September of '13. Have you downloaded and tried this new driver? I had to update the driver for a Epson Stylus Color Photo R300 for a client of mine to make it work on Mavericks.


How to run Windows on MacBook after installing it using Boot Camp Assistant?

Two ways...

If you want it to restart in Windows every time until told otherwise
System Preferences > Startup Disk
Click on the Windows boot partition & hit Restart...

If you want to choose just this time, then back to Mac next reboot
At the boot chimes, hold the  Opt ⌥  key [ labelled  Alt ⌥  on some keyboards] until you see a choice of boot volumes appear on the screen.
Click Windows & then the arrow under it.

Number 1. is the equivalent of the Windows Boot Camp control panel, which makes the change "until told otherwise"


IPad and IPhone - backing up "corrupted" file - spyware on IPad

It's kind of Catch 22, but with a get-out clause...

If you let the Windows antivirus delete the suspect file, it will corrupt the backup.
However, as it is being recognised as a Windows virus by a Windows antivirus, then it almost certainly cannot actually have any effect on the iPad.

The iPad, of course, does not run Windows & cannot be infected by a Windows virus - even if it can 'carry' one & unfortunately, possibly pass it on.

One 'fix' would be to ensure your iTunes backups are encrypted [an option available in the Summary page in iTunes when your iPad is connected]  - that way the Windows antivirus can't even see the 'infection', nor, as the file would be encrypted & unreadable by Windows itself, could it infect your PC.

The other - more long-term - fix would be to delete the offending files from your iPad; your next backup would then be clean.


iOS7 Using own tags for the purchased music

I had this same issue too.  I read on another site to do the following:

Have the song/album/artist labeled how you want it in iTunes.
Sign out of iTunes on your phone/device (settings, iTunes, Apple ID, sign out)
Swipe left on the incorrectly labeled/tagged song within the music app on your phone/device and delete it.
Connect phone/device to iTunes and sync.
After sync is finished you can sign back in to your Apple ID on the phone/device.

I hope this helps cause it works for me. Surely Apple will fix this because it is annoying to have to keep doing this everytime just to have your music labeled how you want it labeled.


Can I turn off IPv6 and just use IPv4 on my iOS device?

On a Mac computer, download Apple Configurator from the Mac App
Store
In Configurator, go to File > New Profile (or Command+n)
Fill out the General section, then go to Cellular and select Configure
Under Configured APN Type, select Default and Data APNs
Fill out the necessary data using your carrier's APN settings
Under Data APN Supported IP Versions, select IPv4
Sign and flash the profile to your phone


softwareupdated running at 100% CPU roughly every hour (Yosemite)

Hmm.  Try opening up terminal, and at the prompt, enter the command:

  $ softwareupdate -l && sudo softwareupdate -i -a

That will tell the system to show you which updates need to be done, then run software update and install all of the updates it found.  See if it gives you any error messages; it may ask you to reboot right away, in which case do that.  Run the same command again after the reboot and see if it still finds updates to install or if nothing shows up.  If nothing shows up then it completed all the updates, and the problem hopefully goes away.  If not, let us know.


How to make the right side of the trackpad of a MacBook Air behave as a right click?

I don't know how things are for the track pad preferences on MacBook air but on the MacBook Pro, go to trackpad settings on system preferences and you should see this..


Purchase from random account showing up in Mac App Store?

This is caused by a Mac AppStore Receipt residing somewhere on your system that was issued for different account. Spotlight is generally of no use in finding these, since it can't go deep enough to find them within the places they are. Usually the offending receipt can be located with a simple command, that may have to be adjusted according to your file system structure.

Open Terminal and try:

cd /

then

find . -type f -name "receipt" -exec grep -s -R -n -i "com.ensenasoft" {} \;

Press Control - C to cancel/stop

if located you will should see something such as:

Binary file Applications/Mahjong Deluxe Free.app/Contents/_MASReceipt/receipt matches

If it failed to locate anything you will need to adjust the path, for example to search a different volume:

cd /Volumes/<Name of Volume>

then try the command again.


Automator: Correct syntax for calling an AppleScript file

run script also accepts a "POSIX path", you don't need the explicit run handler:

run script "/Users/username/Scripts and Automator/mountdrive.scpt"

You could also add a Run Shell Script action where the content is osascript ~/Documents/Scripts\ and\ Automator/mountdrive.scpt.


Deleted Documents folder doesn't show up anymore iOS-HELP (File App)

After a while without doing anything manually iCloud will do an automatic re-sync and the Documents folder will reappear! So no problem, just 10-20 minutes and done!

If it doesn't show up in 1 hour or so, try to "manually re-sync" iCloud by using the switch in the Setting on one of you iOS devices.
So:
Settings>"Your name">iCloud>scroll down>iCloud Drive
Switch OFF and ON one time, and then wait again for 10-20 minutes (slower the internet, slower the sync).


Editor/outliner with Newton-style handwriting input on iPod touch

MyScript Memo
...fulfills a fraction of your requirement list:

handwriting recognition for 30 languages
convert handwriting to digital text or export as image
create sketches

I cannot confirm whether this also supports keyboard input.


I have two Macs on the same Apple ID. Sharing issue

This is called hand off

It allows you to continue where you left off in an app on one Device when you are accessing another device.

It works via the AppleID not the local user.

  When your Mac computers and iOS devices are within Bluetooth range of
  each other (about 33 feet or 10 meters), they can automatically “hand
  off” what you’re doing from one device to another. For example, you
  can start writing an email in Mail on your iPhone, then instantly pick
  up where you left off in Mail on your Mac.

  Handoff app icon in Dock Handoff works with several apps that come
  with OS X Yosemite and iOS 8: Calendar, Contacts, Mail, Maps,
  Messages, Notes, Phone (iOS only), Reminders, and Safari. It also
  works with Keynote v6.5, Numbers v3.5, and Pages v5.5 for Mac, and
  Keynote, Numbers, and Pages v2.5 for iOS. Third-party apps may also
  work with Handoff.

You can turn it off under the General Preference Pane in System Preferences


How do I copy files from Mac on Windows Partition to Mac Partition?

What error do you get?
"The disk you inserted was not readable by this computer", or something else?

Could you please give the output of the command below when pasted in your command window:

syslog | tail | open -ef

Once before you insert the disk into the USB port and once after.


After scrounging around in plist files (thank you find and grep!), I found the beginnings of an answer, but I'm still a little confused.

It seems that those pesky images have been lingering around (renamed, of course) in the following directory:
~/Pictures/

Deleted them, and now when selecting any of the iPhoto portions of Screensaver, I get the appropriate error message:

-Yeah, that's the ticket!

I hope others will have more details, so I'll wait a couple of days before accepting an answer.


Does supervised device mode prevent restore on another computer in recovery mode?

I think the answer to this question is No, supervised mode does not prevent restoring on another computer when put into Recovery Mode.

When tested, in recovery mode, it acted like the device wasn't supervised at all.  It proceeded with restoring back to defaults as if it was nothing.

BUT, a strange thing happened when the iPad was plugged back into the original machine that put it into supervised mode - the iPad went back into recovery mode. I opened up Apple Configurator and it started a "refresh" process.  This seems to be the same thing as preparing a device, as it restored it back to what it was like after putting it into supervised mode in the first place.  During this refresh process, it re-installed iOS 7.1.1 and re-applied the profile that was setup initially with Apple Configurator.

Tested with an iPad 2
Apple Configurator 1.5 (424)
Mac OS X 10.9.2


move focus to next window for current app in another desktop macOS Mojave

Under the conditions you've expressed, here's an alternative that I use when ⌘` isn't a viable option.

Using the example AppleScript code below, saved as a .scpt file in Script Editor, and using FastScripts to assign a keyboard shortcut to it, it clicks the frontmost application's Dock Tile so it will switch between Desktops. For this particular script in FastScripts, I use keyboard shortcut ⌃⇧⌘D to trigger it.

tell application "System Events" to click UI element ¬
    ((get name of application processes whose frontmost is true) as text) ¬
        of list 1 of application process "Dock"

Or, if you do not want to use a third party app to trigger the .scpt file, the example AppleScript code can be used in an Automator Quick Action1, setting Workflow receives no input in any application and add a Run AppleScript action, adding the example AppleScript code where is says: (* Your script goes here *), then save the Quick Action.

You can then assign a keyboard shortcut in: System Preferences > Keyboard > Shortcuts > Services

Note that using either method may require accessibility privileges be granted.

Also keep in mind that when assigning global keyboard shortcuts, there is always the potential to conflict with an already assigned shortcut, so you may have to use a different one and or add error handling to the example AppleScript code

1 In versions of macOS prior to Mojave a Quick Action is called a Service.

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

I am not affiliated with the the developer, Red Sweater Software, of FastScripts... just a satisfied user.


Is there a way to check whether an app explicitly supports Resume or not?

Most "Lion-Ready" apps will also support the new full-screen mode, so if you see the little full screen button, it is likely the application will also support Resume. However, there is no definitive list that I am aware of yet, nor is there a way (beyond a mention in the app's documentation) of knowing whether it will support Resume.

However, there is now a list of "Enhanced for Lion" apps on the appstore which might be a good place to start.


What are all of the preferences files used by iTunes X and iTunes XI?

This answer is in two parts. If you're after all the preference files associated with iTunes then the list is relatively short. If you want every file that iTunes accesses then the list is going to be vastly and incredibly long and also very difficult to track down. If you can offer some more context of what reason you're trying to track these down maybe I can help you isolate files related to your needs.

All of iTunes preference files:

File (Primary): com.apple.iTunes.MACHINE_GUID.plist

Located at: /Users/USERNAME/Library/Preferences/ByHost

Files: com.apple.iTunesHelper.plist | com.apple.iTunes.plist | com.apple.iTunes.eq.plist

Located at: /Users/USERNAME/Library/Preferences

Hidden File: .iTunes Preferences.plist

Located at: /Users/USERNAME/Music/iTunes/iTunes Media

All of the settings you set/change in the iTunes application are represented in the two primary preference files. The one in the ByHost folder above and the other main one called com.apple.iTunes.plist above.

Hope that helps.


Finding original files in the Mac OS X installer

When I first commented on your question, I was hindered by not having discovered httpd.conf on my own system. Now I have found it, however, and I can find out what packages owns it as follows:

; pkgutil --file-info /private/etc/apache2/httpd.conf
volume: /
path: /private/etc/apache2/httpd.conf

pkgid: com.apple.pkg.BSD
pkg-version: 10.8.0.1.1.1306847324
install-time: 1352382423
uid: 0
gid: 0
mode: 644

Note: com.apple.pkg.BSD is a package name, not a filename. You can find a list of all packages that pkgutil knows about by running

pkgutil --packages

Also note that running the above command on /etc/apache2/httpd.conf does not yield a useful result, because /etc is a symbolic link to /private/etc.


Macbook Pro Mid2012 with OS Sierra 10.12.6 won't download apps without 10.13.6 or later. No update available on AppStore

Logic Pro X requires macOS High Sierra 10.13.6 or later. You'd need to upgrade the MacBook Pro from macOS Sierra 10.12.6 to macOS High Sierra 10.13.6 or later.

Your model of MacBook Pro (Mid 2012) supports the latest macOS available as of this writing, which is macOS Catalina 10.15.4.

So here's what you need to do to be able to install and Logic Pro X.

Use this link to download macOS High Sierra 10.13.6 installer from the Mac App Store.
Once the installer downloads, you can run it to upgrade your system to macOS High Sierra 10.13.6. It's advisable to keep a backup of the system/important data files before you begin the installation.
Once you have the OS upgrade installed, you can install Logic Pro X from the Mac App Store.


Is there a good alternative to Preview specifically for viewing PDF textbooks?

Adobe Reader for Mac is my best bet.

You can also try Foxit.


Bluetooth corruption on 2013 Macbook Pro

I found some workaround that will at least spare you a reboot when problem arrives. It may be found here: https://discussions.apple.com/message/23705326#23705326

Shortly, type in terminal:

sudo kextunload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport
sudo kextload -b com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport

After doing this your devices should reconnect. I have the same OS Version (10.9) and Early 2013 Macbook Pro and it works with my problems with bluetooth keyboard.


"The required index.xml is missing" in Pages and "You need a newer version of Pages to open this document"

You need to go to the Mac App Store and install the latest version of Pages (5.x)

As of now, the latest version of Pages is 5.5.1, and it's only available from the App Store.

Mac App Store
Apple website

I've seen this when using Pages from iWork '09, which is 4.3. The file format changed and iWork '09 cannot directly open the new files.

You can export iWork '09 compatible files from Pages 5.x though.


Invisible pictures in system applications

The images stored in CoreServices, such as those in /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources, should be easily viewable in Finder — though, the majority of these are in the icns format. I'm also able to view the png images inside Dock.app. (Which particular images can't you view?)

But most png images on iOS are optimized for display on iOS (which involves switching some color channels and otherwise reducing the file size), so you can't view them in OS X without some preprocessing. See this blog post for more information.


Two-fingered swiping is in wrong direction for webpages

That's the default and it actually makes sense if you consider the visual metaphor of moving between pages in a book, magazine, or newspaper.  To back from C --> A in a book you swipe the pages from left to right.  If you grab a page and move it from the right to the left, you're moving forward thru the book.

It's the same with the trackpad.  You can change this in Settings --> Trackpad.  If you use any other Apple product, they all use the same direction for moving between pages.


Can I prevent SMS alerts from showing on the Lock Screen in iOS 4?

Go to Settings. Then Notifications. Then Messages from the list. There you'll see several options. One of them being "View in Lock Screen." Set that to "off."


Don't use that guide. In fact, don't use the gmail option either, if you can help it.

Use google's own advice which suggests setting it up as a Microsoft Exchange server. that will get you syncing with mail, contacts and calendars. But the main benefit is that it gives you true push syncing!

It's probably a little redundant, but here is a shortened version of the list of instructions.

Select Microsoft Exchange account
In the Email field, enter your full Google Account email address. If you use an @googlemail.com address, you may see an "Unable to verify certificate" warning when you proceed to the next step.
Leave the Domain field blank.
Enter your full Google Account email address as the Username.
Enter your Google Account password as the Password. (If you are a 2-step verification user, please use an application-specific password instead.)
Tap Next at the top of your screen.
Choose Cancel if the Unable to Verify Certificate dialog appears.
When the new Server field appears, enter m.google.com.

You can then choose which items to sync, choose whether to keep existing contacts on the iPad etc.


how to turn on empty iPad while loading?

All iOS devices do that after they have been completely discharged.

If it does not boot up with in 5-10 minutes of being plugged in, then it could be an indication of hardware failure. The battery is likely not accepting a charge.


Cloned OS X to new HDD, startup starts same programs each time

Please see Matt Ball and my comments for the answer. The problem was:

A HTML file had somehow found its way onto the list of login items, and it was loading via Chrome, and presumably booting the Terminal window as well. After removing this file from that list, the problem has, as far as I can tell, vanished.


Is there any way to use sleep mode on WatchOS 7 without do not disturb activating on my iPhone?

No options seemingly exist to do this combination yet.  I too need the same thing.


Are there any downsides to leaving personal hotspot perpetually on?

It does drain your battery; whether it's worth it for you to turn it off is up to you and how long your battery last.

Also something worth noting is that by leaving it on and walking around other people can see your hotspot and might try to connect. Even if they're unsuccessful it will drain your battery even faster. If they are successful who knows what they might do while connected.

In general though, any app on your phone that sends/receive data is going to drain your battery more than an app that doesn't.


Suspected hard disk failure - Is it possible to boot from just a USB drive?

First off: Welcome to Ask Different.

Yes, you should be able to boot off of a USB drive in the way you describe.

It shouldn't be necessary to remove the HDD, though (to diagnose, that is). When you're turning on your Mac, you can hold down ⌥ (option/alt) to choose which device to boot from (Where you could select your USB drive). Booting from the recovery partition or a USB drive with the OS X installer on it, will give you access to both Terminal and Disk Utility.

Having dealt with disk failure in the past, I would advise you to try running AHT (Apple Hardware Test), if the Mac in question is from before June 2013, or Apple Diagnostics if it's newer. Click on the links for instructions, you won't need to start OS X to get to AHT/AD.

AHT/AD will be able to tell you if there's a hardware problem. If the HDD is truly busted, there's a chance AHT will stall after having run for 3-4 min (Happened to me) which in itself will "confirm" that the HDD isn't working like it should.

If you can't even get the computer to boot, obviously, you won't be able to start AHT/AD.


Keyboard Maestro can do this by running a macro upon application launch/quit.

Have your two folders for your application named such as '<app name>-main' and '<app name>-second' then switch them out using macros such as the following:


Default Music app deleted from file system

You won't be able to restore 8.x anymore because apple isn't signing off on that version. You'll need to restore to the latest 9.3.2. Yes you will lose your jailbreak and erase your phone by doing that, but the backup should put your settings back.

Keep in mind since your phone was jail broken and in a questionable state due to your son messing with it, there is some chance that you'll end up with a bricked phone.


Brightness settings stuck after computer shut down in bootcamp

Just plug in your charger, bump the brightness up (not with the keys), disconnect charger, boom.


How can I mark a thread as read in Lion Mail?

In case you didn't know, when viewing the different messages in the right reading pane, if you select any of the individual messages they will be marked as read.  This gives you the ability to mark some as read and leaving others marked as unread.


I can’t remove my old phone number from iMessage or FaceTime

can I just check if you've tried the steps in this Apple Support document? It seems it might answer your question.
https://support.apple.com/en-us/HT201349

The steps laid out there for removing your old phone number are as follows.

On your iPhone, go to Settings > Messages > Send & Receive. Select your Apple ID and tap Sign Out. Then go to Settings > FaceTime, select your Apple ID and tap Sign Out.

If the phone number that you want to remove belongs to an iPhone that you can't access, change your Apple ID password. This removes all phone numbers from your iPad, iPod touch, and Mac. Calls or messages for the removed numbers won't appear on those devices anymore.

The steps to add a new phone number are as follows.

1) Go to Settings > Messages and make sure that iMessage is on. You might need to wait a moment for it to activate.

2) Tap Send & Receive. If you see “Use your Apple ID for iMessage,” tap it and sign in with the same Apple ID that you use on your Mac, iPad, and iPod touch.

3) In the "You can receive iMessages" section, make sure that your phone number and Apple ID are selected.

4) Go to Settings > FaceTime and make sure that your phone number and Apple ID are selected in the "You can be reached at" section.


iPhone 4 restarts again and again, not detected by PC

Have you ever had a battery replacement? If so, it could be a malfunctioning battery. If not, it might be time to have the battery replaced.


How to move all events on an "On my iPhone" calendar to an iCloud-synced calendar?

I think the easiest way is to use a third-party iOS/iPadOS file managing software such as iMazing. This would allow you to access your iPhone calendars and export them into formats such as .ics or .csv file. You can find more info here.


[I realize this is an older question and may not solve the problem for the OP, but this answer is intended to provide guidance to others.]

If you use iTunes backups, there is only one backup (the latest) maintained per device at any point in time. So in this case the new backup overwrote the older backup, and it would be possible to recover only if a copy of ~/Library/Application Support/MobileSync/Backup/ was made before the clean install (through Time Machine or any other solution), restoring that folder on the system and doing a restore from iTunes.

You can see the device backups (with the timestamps) available in iTunes by going to iTunes → Preferences and then navigating to the Devices tab.

Some recommendations and points to note to avoid such a situation and have something to fall back to:

You can have multiple backups in iCloud for a device and choose which backup to restore from (assuming there are no device/iOS compatibility issues).
Use both iCloud and iTunes backups together (once iCloud backup is turned on, automatic backups in iTunes would be turned off; so a manual backup would have to be triggered in iTunes).
When using iTunes backup, trigger a manual backup in iTunes followed by a manual backup in Time Machine before major changes to a device, like re-installing iOS or jailbreaking or recovering from older backups.

See:
Choosing an iOS backup method (Should I use iTunes or iCloud to back up my iOS device?)


It appears you might have installed some software that would block access to those web sites.

If not keep reading:

In some cases there is a possible modification to your HOST file.

In the assumption that you have no software installed that would explicitly block those sites here is how to block and unblock web sites.

A Mac’s hosts file is a simple text file that dictates what the system should do when specific domains or IP addresses are accessed.

You can trigger a “page cannot be displayed” error or even redirect them to other domains/IPs of your choice.

For the sake of this tutorial, all blocked websites will be pointed to 127.0.0.1, which is the localhost or system itself.

  To get started, Copy and paste the following code in Terminal:

sudo /bin/cp /etc/hosts /etc/hosts-original

Terminal will ask for your password.

Now we can start editing the hosts file. Copy and paste this code in Terminal (all one line)

sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit /etc/hosts

The hosts file will open in TextEdit.

Notice the following lines and do not delete them under any circumstances:

  127.0.0.1           localhost

  255.255.255.255     broadcasthost

  ::1                 localhost

  fe80::1%lo0         localhost

You should not have any further data here.

Create a new line directly under the last one shown above. Type the following, replacing the sample domain with the domain or IP
address you want to block:

    127.0.0.1 sample.com www.sample.com

Continue adding lines following the format in step 6 for each website you want to block. When you’re done, quit TextEdit and save the hosts file when prompted.

Back in Terminal, run the following command to flush the computer’s DNS and put the new hosts file into effect. Or you can restart your Mac instead, if you prefer.

sudo killall -HUP mDNSResponder

That’s all there is to it! Websites added to the hosts file will no longer be accessible from any user account on that Mac.

In your case look for the blocked IP's

re-enable access to blocked websites, just repeat this process and
remove the lines you added in the hosts file. Just remember not to
delete the original 4 lines!

In some cases the sshuttle (an VPN over ssh) cloud changed my /etc/hosts file.


I'd assume that's some kind of DRM (Digital Rights Management) protection. I recall from the early days, when Macs still had optical drives and a DVD player app, that if you tried to take a screenshot while the DVD player was visible, even as you saw a frame of the movie there, it came out black in the screenshot. So I guess these kinds of countermeasures go a long way and Apple has no intention of removing them.

As for a way around it, I suppose site policy frowns upon discussing what is effectively piracy (even if you try to argue this might be fair use, which I might actually concede).


Macbook Pro 16 Thunderbolt ports dead/damaged twice after used with Samsung CJ89 43" monitor with USB-C

I know you’re frustration and you’re hoping against hope that it’s something simple, but the evidence is pointing to a defective monitor. Apple may decline warranty service for this second repair if plugging into the same monitor causes the same issue.
I answered a very related question regarding monitors and warranties.
Is it safe to connect external screen to MacBook via USB-C from the warranty perspective
In short, you should feel confident that plugging in your monitor, especially a known brand like Samsung is a safe procedure. However, if it’s found that the monitor is what is the cause, they may direct you to Samsung to cover the repair costs - and would legally be within their rights to do so. Samsung isn’t perfect, nor is Apple and it’s not unreasonable that Apple decline something that‘s not their fault.
I’m not a lawyer and this should not be construed as legal advice, just my opinion based on many years of this type of experience.
Bottom line is you may get it repaired or you may not.  But, if you do, before plugging it in for a 3rd time, it would be in your best interest to not plug you Mac into that monitor until you get it checked out.
In fact, as a DYI test, you can try a USB-C meter inline with another device (like a sacrificial Android tablet) and see what your power is being sent by the monitor. Anything cheap and you don’t mind losing. Anything but your Mac. If you see  more than 20V @ 5A and/or you fry the test device means  you’ve definitely got a problem with your monitor.
It’s highly unlikely Apple will fix this a third time


How can I change Contacts.app custom labels automatically using AppleScript?

Here is an example (quick scribble) of how to get and process the labels.

tell application "Contacts"
    set theNumber to "079"

    set (label of phones of people whose value starts with theNumber) to "test"
    save

end tell

Set theNumber to your own number.

AND I WOULD BACKUP THE ADDRESSBOOK BEFORE YOU START PLAYING WITH IT.

Update.

I have change the script to chaco if the phone number starts with rather than contains.

'label' = an items label. i.e 'mobile','iphone','home page'

Phones = the phone numbers of a person/contact's entry

people = plural for more than one person/contact.

value = the value of an item in a person/contact entry - in this case the phone number

In the set command the code between the brackets ( ) is run first.

Meaning the reference to  phone number's label in whole of the address book that starts with theNumber is gathered in a list.

Then the surrounding code tells each reference to change to test.


I think disk is both partitioned and has container inside partition Container disk2, which is in use. And second partition Container disk 3, which was created probably by accident:

So press Partition button when hard disk is selected (ST1000LM..) and choose Partition. Then select unused partition and click [-] (minus) sign.

Then select the main partition and increase its size to max:

Click apply and you are done.


I suggest not deleting any Unix folders on the drive if you not wish to reinstall the OS. It might be that any function trying to access it will create it if not there but might also end in problems and errors.


Font is installed in font book, but bold does not work

Your font could be broken. Not likely if it worked before but at least it is easy to check as there’s a font validator built into Font Book. Please mark the font and select File > Validate Font.

If you receive warnings or errors there’s no built in repair tool, though. But then at least you know...


Show all iTunes iOS apps that aren't installed on any devices

I found a walkthrough solution here, which seems easy and comprehensive.
http://blog.macsales.com/17825-an-easy-way-to-clear-out-unused-ios-apps-from-itunes-11


Head over to iCloud
Login with your user name and password
Head into settings.
Scroll down to my devices.
Click on the Apple TV you wish to remove.
That should open a dialog. There is a blue circle with an X in it. Click on it. That will disassociate your ID with the Apple TV.


What is the max number of hard links in OS X (10.11)?

It seems the theoretical limit is about 1 billion hard links on an HFS+ volume.

  Indirect node files have a special identifying number called a link reference. The link reference is unique among indirect node files on a given volume. The link reference is not related to catalog node IDs. When a new indirect node file is created, it is assigned a new link reference randomly chosen from the range 100 to 1073741923.

The limit for links to a single file is 4294967295, the maximum number of a UInt32, which is about four times larger than the volume limit, which you'll exhaust first.

  linkCount
    For indirect node files, this field contains the number of hard links that point at this indirect node file.

As a practical matter, this design is quite strange, and suffers from performance issues. The more hard links you have on a volume, the slower it will be to create a new one, as the system must first find an unused link reference number, then insert it into the metadata directory. Then that metadata directory must be searched to dereference a hard link.

You may begin seeing performance problems with only a few thousand links; your great-grandchildren won't live long enough to create a billion if you start today. In practice you'll notice this most often when managing Time Machine backups, which use hard links extensively.


Keyboard Viewer crashes when I use keyboard command

After further investigation I found my startup drive was corrupt and I needed to run Disk Utility. Steps I took:

Delete com.apple.HIToolbox.plist from Library/Preferences/ folder.
Restart machine.
Hold down CTRL + R to run Disk Utility from Recovery HD.
Selected Disk Utility from Recovery HD menu.
Ran First Aid on my machine.
Once finished, I restarted.

After restart the issue went away.


Why do newly added or edited contacts float to the top of my iPhone's contact list?

It appears something has become corrupt in your contacts backup.

When you say you've deleted contacts and re-entered them, do you mean you have restored them from backup, or manually created new ones?

If the latter, you can try rebuilding your contacts on a desktop and then re-syncing them. Are you using a Mac or PC?


thumbnail-cache will be random, it will always have the name com.apple.QuickLook.thumbnailcache. So i think you have already found the right location.

There you find the index.sqlite file is a SQLite database-file containing two tables: thumbnails and files.

The files table contains the name, path, file-identifier, and volume-identifier of each file tracked by the database.

The thumbnails table contains information about each thumbnail, including the file to which it relates (as stored in the files table) and the offset of its data, which is stored as a raw bitmap in the thumbnails.data file.

may this will solve your question, because all of the Infos are from this Page.


I checked develop → User Agent and check if it's set to default. When I switch to some options, it reloads correctly and then goes back to the same view.


Where is the keynote shape library stored?

Although I know this may overwrite user keynote preferences, the folder 'com.apple.iWork.Keynote' stored in the containers folder seems to hold the stored user shapes.

Library > Containers > com.apple.iWork.Keynote


Syncing Address book to Google Apps doesn't sync groups

This isn't a supported feature of the address book/google sync.

This support article from Google (point 4) states that

  "Currently, groups are not synced to
  Gmail. We're hoping to add this
  functionality in the future."


How to add app inside application bundle (CrashPlan menu bar.app) to Spotlight index?

I often use Automator to make a stand alone "application" that calls a script or embedded app so that I can place it's icon in the location of my choosing.

There are plenty of other frameworks like Platypus that do similar things.

http://sveinbjorn.org/platypus


Tap the album artwork to bring up the seek slider. You can then drag the slider to move from one place to another in the track.


Can I accept a call on iPhone without manual intervention?

There is an app called AutoAnswer, but it only works on jailbroken phones.  If you're into that sort of thing, you can find an article on it here:

http://www.ijailbreak.com/cydia/autoanswer-automatically-answer-specific-numbers-and-facetime-calls-on-your-iphone/


Can I display only battery percentage in menu bar?

I recommend and use SlimBatteryMonitor (donation-ware). It's much more flexible than what Apple provides.


Mail.app doesn't load new emails because is synchronizing a deleted email with large attachment

First disconnect from the internet AND quit Mail.app.

Second, click on the Finder icon in the Dock. Choose the 'Go' menu in the menubar and hold down the 'option' key on your keyboard. With the 'option' key held down, you'll see an item in the menu called 'Library' - this is your user library, and not your hard disk or system library.

From this Library folder, you'll see the Mail folder. Navigate through V2/{yourEmailaddress.mbox)> and hunt around for either /Recovered Mail/ or /Drafts/ folders inside. It's in there somewhere. Delete the file or the entire folder if there's nothing else inside that you want.

Once that's done, reconnect to the internet, but do not start Mail. Go to your webmail provider and ensure that the file you found above is not on the server. I know you said you checked that already, but you should check again that there is no 'recovered mail' or you're going to have to start this whole process all over again...

Once that's done, restart Mail and reconnect to the internet.

From the menubar at the top choose Mailbox > Rebuild.


Is the current version of Messages beta stable enough to use day to day?

I am running Messages via Mountain Lion, but I believe that the application is functionaly identical to the Beta for Lion.

I have the following regular issues with it in day to day usage:

Badge counts are inconsistent, and it often says "1" regardless of reality
Icon Bounce - it bounces in the dock a lot as if something has happened, when nothing (that I can see) has
Slow syncing - when I have used iMessages on my phone, and then move to the desktop, it drip feeds the messages it needs to see to catch up really slowly, and you get a notification every 10 seconds or so for what can be a very long time if there is a lot to catch up on

Also, at least once (though this could have been a ML bug) it started using the wrong icon, showing a picture of a friend in place of my own avatar against my own messages.  Investigation showed the "me" card had been ammended in Contacts...


No: blocking will actually generally result in your phone sending as an iMessage that doesn't get delivered. Any number of things could still be happening to send as text. You or the other person may have sending/receiving as SMS enabled or iMessage disabled. You or the other person may not have a proper internet connection for a number of reasons. iMessage servers may be down–which, although incredibly rare and usually noticeable, has happened on a few occasions when AWS servers are down or other problems occur.


How can I explain the value of the Secure Enclave / (TPM chip) to a privacy conscious user?

Well, Apple has explained the Secure Enclave in various communications. How well the value of the Secure Enclave itself gets across to an end user is debatable and obviously a matter of opinion.

Most end users probably aren't really that interested, they just take it for granted that "it's all good". And Apple has achieved that for the overwhelming majority of users - not just via their communications, but also their actions (e.g. taking on the FBI in court).

As for those end users who are more interested in the technical side of things, how many of them actually understand the Secure Enclave is another question - but I guess that's what you're trying to get at. :)

In terms of end users, Apple's primary communication channel is their website. Many of the pages on their website explain the benefits of the Secure Enclave without getting too technical or even mentioning it. For example these pages (Manage your privacy, macOS Security) mention it, while the Approach to privacy page does not. But all indirectly explain the benefits of it.

In addition to the above, most of their individual product pages will reference and/or link to info regarding security features, privacy, etc. So, for example, a user interested in buying the iPhone 7 will eventually come across the following quote:

  Protecting Your Data

  Privacy and security are at the core of everything we believe. And
  everything we make.

  At Apple, protecting your information is something we build into our
  processes from the beginning. When we have an idea for a product, we
  find a way to make it that ensures your security and privacy. It’s a
  value we’re deeply committed to because your trust means everything to
  us. Learn more about Apple's approach to privacy >

As you can see, it's written for the masses in an easy to understand and re-assuring way, without getting technical or even mentioning the Secure Enclave.

The most in-depth information from Apple directly about the Secure Enclave is found in the iOS Security Guide (which is updated regularly), although this is not really geared toward consumer end users.

And of course, various Apple keynotes and patents refer to the Secure Enclave as well.

As an aside, you may find what Brian Roemmele had to say about the Secure Enclave interesting.


Is there any way to get a path to a file in the GUI in Yosemite?

You could drag the file into a Safari window and copy the path from the URL bar. Or drag the file into a Plain Text file in Text Edit. (As you can also do with Terminal.)
EDIT: Safari will only accept certain types. Use a Text Edit file instead.


Technically, you can not block calls on your iPhone. If you want to block a caller, you have to contact your carrier.

Some phones enable call rejection but, alas, the iPhone is not one that does. Note that call rejection means the call still reaches your phone, but software in the phone prevents notification of the call from reaching you. Call blocking means that the call never reaches your phone, it is cut off by the carrier and never routed to your phone.

However, if you want to make it a little bit easier to ignore the offending caller, you could set up a contact for the caller's number, set the ringtone to a silent ringtone, vibration to Nothing, the text tone to None and the text vibration to Nothing. You'll still see notifications when the caller tries to reach you, but this is the best that you can do without contacting your carrier.


Can I sync the pictures I currently have in Picasa on my PC with the iPhoto app on my new iPad?

Since picasa is a google property, you could integrate all your pictures to Google Plus and use their mobile app to view the pictures.

From there, you can get photos into the camera roll. This would preserve the organization of your albums in Picasa until you get them into iOS. This would be best if you only import a few pictures or don't mind re-organizing things once the pictures are on iOS.

For a more complex collection, you will want to download all the photos to your PC and then import them into Photoshop. The Windows version of iTunes can read Adobe Photoshop Album 2.0 or later as well as Adobe Photoshop Elements 3.0 or later and sync collections of photos in a way that iOS can understand.

Perhaps someone has a better solution, but these are the best two solutions I can come up with for getting Google and Apple to play nicely together with your photos.


A Snow Leopard DVD may not work on a 2010 iMac. For example, according to everymac.com a iMac11,2 (21.5-inch, Mid-2010) came preinstalled with OS X 10.6.3. So, if your Snow Leopard DVD is OS X 10.6 then you should expect problems when booting.

  Note: While one may think 10.6 should be 10.6.0, doing so would differ from Apple conventions. For example, see an image of the Snow Leopard 10.6 DVD or the system requirements for the Mac OS X 10.6.8 Update Combo v1.1.


Accidentally deleted login.keychain file. No backups, but able to recover something

The system will create a new login keychain the next time you log in. You will have to re-enter passwords for email accounts, wifi networks, etc., but in general loss of the keychain file isn't too traumatic assuming you have a list of your passwords stored securely elsewhere. This may not be so trivial if your keychain contained security certificates issued by your company or institution. If that may be the case, call IT.

FWIW, I suspect that the multiple recovered files reflect multiple copies (or portions of same) reflecting various versions of the keychain as it was modified. I don't believe they're disjointed fragments that need to be combined. If anything, I'd try renaming the latest file (by date) and if Keychain Access opens it, run Keychain Repair (First Aid?) against the file. But I personally wouldn't bother. (You can give the file a temporary name like "recovered" for testing purposes, then rename it if you decide to use it--or just copy its contents into a newly created login keychain.)


Connect iPhone to Internet through laptop?

Sounds like Internet Sharing is what you want (go to System Preferences > Sharing). This post and video shows you how to switch it on, although I've not actually tried it myself.

IIRC, the "circle" icon means you have a GPRS connection, not the faster EDGE or 3G connections.


Account on Mac restored from Time Machine has FileVault turned off

Mount the Time Machine drive / volume on your desktop and navigate to the snapshot you used to restore the Mac.

In the /Volumes/path_to_tm/Backups.backupdb/Mac_Name/Latest/HD_Name/Users folder, you will either see a directory or a file.sparsebundle named for your user's short name.

If you see a .sparsebundle, you had FileVault 1. If not, then not.

The answer here also depends on which version of FileVault (1 or 2) you were using on the missing Mac.

FileVault 1 is based on encrypting just the home folders of accounts as opposed to encrypting everything on the Disk. If you enable FileVault in OS X 10.3 - 10.6, this is what you get; upgrading to 10.7/10.8 will leave the encryption intact (now called "Legacy FileVault").

If you recover an FV1-protected account, the encryption should be maintained. Since your recovered account is not encrypted, you didn't have this enabled on your account on your old computer.

FileVault 2, on the other hand, is based on encrypting the entire startup volume -- all accounts, the OS itself, etc. If you enable FileVault in OS X 10.7 or later, this is what you get. You can also "upgrade" from Legacy FV to FV2 by disabling Legacy FV, then enabling FV2 (note that Apple recommends doing this, but it is not automatic).

If you had FV2 enabled on your computer, there's no way (at least, no easy way) to tell from the backup. 10.7 and later allow you to encrypt the backup, but that's independent of encryption on the startup volume (i.e. it's entirely possible to have an unencrypted backup of an encrypted system, or an encrypted backup of an unencrypted system). Also, the restored account will be unencrypted, unless you specifically enable FV encryption on the new computer.


Can I force my Mac to make better use of the inactive memory?

You can think of inactive memory like free memory that's been reserved for a recently closed application, but ready to be consumed by other uses when the 'truly' free memory has been exhausted.  If you have 1 GB of memory (for the sake of making this discussion easier) on a freshly booted system, imagine the OS uses 300 MB and you open an app that uses 200 MB.  You now have a total of 500 MB used, and 500 free.  If you close that app that was using 200 MB, the memory is marked inactive and you'll now have 300 used (OS), 200 inactive, and 500 free.  If you open an app that requires 600 MB, it'll use the free memory then pull from the inactive pool.

You can free inactive memory by opening Terminal.app and typing (without the $):

 $ purge

You can, also configure MySQL to use more memory but if you're not having performance problems I'd leave everything alone:

http://dev.mysql.com/doc/refman/5.0/en/innodb-configuration.html
http://dev.mysql.com/doc/refman/5.0/en/memory-use.html

For more information on inactive memory in OS X:

http://support.apple.com/kb/ht1342 (search for "inactive memory")
http://hints.macworld.com/article.php?story=20010613140025184
http://developer.apple.com/library/mac/#documentation/Performance/Conceptual/ManagingMemory/Articles/AboutMemory.html


How can I create a backup disk image of a MacBook before I start the first-run process?

If you have access to another Mac and the necessary cable, you could boot your MacBook in Target Disk Mode (hold down the T key when powering up). Connect via Firewire or Thunderbolt to another Mac. The drive on the machine in Target Disk Mode can then be cloned.


Is there a way to zoom with the front camera on an iPhone (iOS 13.5.1)?

Go to this website and purchase the App from the App Store. Once installed you also zoom with the front camera. https://camera.plus


I think my Apple ID was hacked, changed my password twice but failed, what to do?

I recommend you contact Apple support immediately, and watch for any fraudulent purchases on the Apple Store and iTunes stores.

These links may be of help to you: https://support.apple.com/en-us/HT204145 (Apple support page for if you think your Apple ID has been compromised) and https://support.apple.com/contact (to contact Apple support).

Hope this helps!


iPhone 4 reset is taking a very long time

Doing Reset All Settings on a jailbreak is fine and should be done within a few minutes.

However, doing Erase All Content and Settings on a jailbroken device will never complete and will break everything, usually resulting in a boot loop. There is no 'fix' for running the latter on a jailbroken device and the device will need to be restored in iTunes.

Connect your device to iTunes, then enter DFU (hold power and home until the screen turns off and back on with the Apple logo, then let go of power but keep holding home). Once the device appears in iTunes, restore it.


How to access locked notes with forgotten password?

Hollywood does not have a great track record in accurately portraying technology.
The whole point of passwords and encryption is to make it as difficult as possible (if not impossible) to get in without the password.
Let's say your password was 8 letters long. Using 26 lower-case letters only, the number of combinations is over 200 billion, so trying each password in turn at 1 second each would take 6,500 years.
Your best bet is to think long and hard about the hint, and what you might have meant.


Automatically change OS X desktop background for all desktops + monitors?

I have dual monitor Mac at work so I will be able to give it a try tomorrow (day off today).

I think if you were to compare the output of:

$ defaults read com.apple.desktop

Before and after having manually changed the wallpaper via:

System Preferences > Desktop & Screen Saver > Desktop

That, should, bring up a window in the second display allowing you to select required image. Once that is setup and working, compare the output from the original command and see if it gives you any clues. I shall do the same tommorow and play around it with it. See if I can't give you a more complete answer.


How to remove the "high priority" flag from incoming mail in macOS mail

Hmm. This is theoretical and untested but according to this:

  Many mail clients have the option of marking an outgoing message 'high
  priority' or 'urgent.' In Mail.app, such messages show up in the Inbox
  with two exclamation marks (!!) in the flags column. If you want to
  sort messages by the flags column, so that messages you flag yourself
  are at the top, all high priority messages you have ever received will
  also be at the top of the inbox.

  Mail.app currently has no way of removing this flag from emails you
  have received (as noted in this Apple discussions thread.). The
  following shell script allows you to unset the priority status of all
  the emails you have ever received, so that no emails in your inbox
  have '!!' next to them any more:

sqlite3 ~/Library/Mail/'Envelope Index' 'update messages set flags = flags | 196608 where flags & 196608 != 196608;'

  You can save this as an AppleScript by opening AppleScript Editor and
  entering the following:

do shell script "sqlite3 ~/Library/Mail/'Envelope Index' 'update messages set flags = flags | 196608 where flags & 196608 != 196608;'"

You get set this to run when mail receives an email marked with high priority:

Save your script to `~/Library/Application
Scripts/com.apple.mail` Mail > Preferences > Rules > Add Rule

If any of the following conditions are met
Priority is High
Preform the following actions:
Run AppleScript [Select Your Script]


I've got a OWC Mercury 115GB in my MacBook (2007) and encounter the same problem although never as severe as you describe.  It was fairly frequent (multiple times an hour) while I was running FileVault2 but once I turned it off, it became much less frequent (perhaps once an hour).  Normally, I see a complete freeze of the system, not just the application, for about 30 seconds.

SSD garbage collection seems like a likely suspect.  In theory, the Sandforce controller plus the larger scratch pool on the OWC drive makes TRIM unneeded but if GC is the issue, maybe TRIM would reduce the frequency.  That said, I read lots of reports of people seeing a similar problem when they hacked their system to support TRIM with 3rd-party SSD's under Snow Leopard.  I stopped following the discussion when I upgraded to Lion so I don't know anything about current experiences.

I try to keep at least 30GB free.

5+ hours seems like a crazy long time to do a Lion install so maybe you have a different problem.


Can't find "floating or inline" option for images in Pages documents

If you mean where Text will wrap around the image.

move below and above the image

or the image will float on top of the Text. (inline)

Then it is under the Fomat inspector -->Arrange tab, -->Stay on Page tab -> Text Wrap.

The inline with Text option

seems to have been change to none


How can I change the apperance of terminal to make it indentical to Ubuntu's terminal

You'll need to change the shell settings to match your current Ubuntu terminal. Simple way would be to make your local .bashrc match the one used by Ubuntu (see here for an example of the Ubuntu default .bashrc.) You can either plug the settings in to a .bashrc file for all shells, or use a .bash_profile in your home folder to set Terminal preferences for login shells. This post has more details on how to create these files.

Last, I imagine your Ubuntu terminal sessions aren't on a white screen - Adding in the xterm-color settings will provide colored text, but won't affect the background color. I generally start by making the "Homebrew" Terminal display setting the default in OS X, to get black background + green text, then tweak from there.

Poke around in the other settings you have for yourself on Ubuntu - any default keyboard shortcuts, etc. will be in .profile or .bash_profile, and those can be copied into the same folder on your Mac. If you want to get really picky you can even install Ubuntu Mono (the default Ubuntu terminal font) on your Mac, and use it as the default font for Terminal.


Strange message in terminal when visiting a website

You are getting that message because you launched Firefox from the command line.

I assume that you used & to put Firefox into the background but that doesn't redirect the output so any error will get written to your terminal session. To stop that appearing you need to add 2> /dev/null before the &.

See this answer for more :

https://stackoverflow.com/questions/18012930/how-to-redirect-all-output-to-dev-null

As for what the error means I assume that website has run some Javascript that hit Firefox's security system and bounced.


Music Sharing - Different iTunes Accounts

You can share your music with your relative by either burning it on a CD for him, or copying the music from iTunes to an external drive.  All he has to do when he gets home is copy it to his computer and set it up so that Apple TV can stream from it.  I would not recommend syncing the music to his iPad, he will not be able to remove it from his iPad.

Music that ripped from your CD's should copy over just fine.  However, some iTunes music is linked to your Apple ID, so when he copies it to his computer, his computer must be authorized to use your apple id content.  You can authorize your iTunes account on his computer by going to store authorize this computer to use an Apple ID.


Display pressed shortcuts as an overlay on the screen

Not sure which specific screencast you're speaking of, but they may be using Keycastr.


AppleScript-sent messages pop up as unsent drafts when trying to quit Mail

D'oh! Finally figured it out, and it's all my fault. Setting visible:true is the key. The problem was that I was always editing the original scripts in my ~/Library/Scripts/ folder, but testing them by using the hot key I set up to trigger...duh...the Automated workflow files in ~/Library/Services, which I had not updated.

Posting an answer in case someone else does something as dumb as I was doing. /headdesk


Grow HFS+ partition at the end of harddrive without partition-manager-cd or moving to another drive

iPartition

For all my partitioning, I use and recommend iPartition. It will allow you to resize partitions without deleting any data. It also works for Boot Camp volumes and other PC disks.

  With iPartition, resizing a partition is as simple as selecting it, grabbing the resize handle and dragging. Not only that, but if you have several operations to perform, iPartition lets you queue them up and run them one after another, so you can have a cup of coffee while iPartition works. This feature, coupled with iPartition’s ability to automatically rearrange your existing partitions when necessary, makes iPartition the easiest partitioning tool that you’ll ever use.


Application to Monitor Battery Usage by Application

This is not feasibly possible or even reasonable. The battery is just used. The system can track the current battery status and current usage, but it is not possible to track where exactly the power goes. It just all goes into the circuitry, the CPU, the Display, all things that the application uses. No application uses more battery than another unless it relies upon the hardware to a different extent, such as more complex apps will require more battery power because they need more CPU threads, and apps that can locate you will take even more because they need to power up the GPS. Using this logic, you can estimate which of your apps use the most battery.

On the other hand, you can try to measure battery usage manually. You can close all other apps from backgrounding and keep the phone in airplane mode with battery % display on. Then open an app and track how long it takes to drop by 10% from 100%. Then charge the phone again and do it all over for another app. The most important thing is to ensure the phone is operated at a constant temperature under 50 Degrees F and under completely constant runtime variables. This is the only way.

If you built the application, on the other hand, you can use a utility called Instruments to monitor the status of various aspects of the iOS device to determine the approximate battery drain more efficiently. This will get the status for the entire device, however, as, like I said, it's impossible to tell on an app-to-app basis. Instruments also relies upon the iPhone being tethered to the computer, which means it won't be running down the battery anyway, so Instruments only gives power consumption information.


How can I alter the default behavior of iTunes 10.7 to suppress some UI elements like the store?

In the current version of iTunes (12.8), this is very easy:

Go to iTunes > Preferences
Go to Restrictions
In the "Disable" list, check "iTunes Store"

I would assume the same feature is present in iTunes 10.7, but given that it's six years old and I can't find a screenshot of its preferences window, I can't confirm that for sure.


How can I find out which kernel extension has been updated?

The name of the software developer and the contents of the kernel extension is cryptographically signed to ensure that it cannot be tampered with. Therefore I do not think it is likely that someone is pretending to be Apple, or that they're trying to modify an Apple extension.
However, I do think it is likely that some software you've installed (presumably FortiClient) has attempted to install an Apple kernel extension. I.e. an authentic Apple kernel extension that either wasn't installed before, or was installed in a version that the software wasn't compatible with - and so that developer has made the software so that it attempts to install the right version of Apple's kernel extension that they want to use.
I wouldn't exactly say that's a good way of doing things - and certainly not without informing the user - but it does sounds like a thing that could happen in practice without it being nefarious.


Yosemite: How do increase font size of Eclipse globally?

Solution for Eclipse Oxygen at MacOS High Sierra (Dec 2017)

Open terminal and run commands:

cd /Applications/Eclipse.app/Contents/Eclipse/plugins/org.eclipse.ui.themes_1.2.1.v20170809-1435/css

vim e4_basestyle.css

Add a style:

* {
    font-size: 14;
}

Restart Eclipse to apply changes.


Can I upgrade my VMware 6.0.3 without losing my data? I already upgraded to Yosemite

I know that when I upgraded VMWare to 7.0 after my Yosemite 10.10 upgrade I did not experience any problem with loss of data in my VMs.  After upgrading VMWare, the app did reconfigure the .vmwaremv files, but after that everything was the same.

I do not store data exterior to the VMs and I think that all my data is within the .vmwarevm itself.  Like the other user pointed out, contact VMWare to be sure.  Hope this helps.  Just my experience is all...


How to configure "DiskImageMounter" like in /etc/fstab?

You are correct. There is no /etc/fstab file, but the use of the /etc/fstab file by macOS has not be removed. You just have to create this file yourself.

An example of a possible lines in the /etc/fstab file are given below.

UUID=F21AD81B-B114-456C-B2A0-BF4452E4842D none apfs rw,noauto
LABEL=Macintosh\040HD none apfs rw,noauto

A description for the fields can be found by entering the command man fstab.

You may want to refer to this question: How to prevent auto mounting of a volume in macOS High Sierra?

When using ls -l /etc/fstab to determine ownership and permissions, you should get the same as shown below.

-rw-r--r--  1 root  wheel  123 Dec 31 08:48 /etc/fstab

UPDATE (provided by iggie)

A modification of this answer can be used for ssh keys on an external FAT or ExFAT drive (e.g. mounted via VeraCrypt or whatever). Add the following line to your /etc/fstab file, even if it doesn't exist:

LABEL=PRIVATE none msdos -u=501,-m=700

This assumes your user ID is 501 (try ls -n ~) and the label on your FAT or ExFAT volume is PRIVATE.


Here are a few tools I found on the web. I haven't used them, so I can't comment on how well they might work for you.

A-PDF Scan Optimizer has an option for detecting and removing pages with not many visible marks.

the CoolUtils TIFF PDF Cleaner "detects blank pages in TIFF and PDF files and deletes them".

Edocfile's Blank Page Remover has the effect of deleting blank pages from a PDF file, though it's intended for use with a scanner and a printer as a way of converting a document with mixed single- and double-sided sheets into a document with all single- or double-sided sheets.

Axpertsoft's PDF Page Remover can remove blank pages from multiple PDF files at a single command.

All these requires Windows of some flavour, so I hope you have a virtual machine on your Mac.


to change the date based on exif data since export from Mac Photos shows date of export using exiftool

As a test, I exported six photos as JPG files from Photos, on macOS High Sierra, into a new folder.
Then in Terminal I change directory to the new folder containing the exported photos and ran the following command to change both the create and modify date/time from the EXIF info:
for f in *; do SetFile -d "$(exiftool -p '$CreateDate' -d '%m/%d/%Y %T' "${f}")" -m "$(exiftool -p '$ModifyDate' -d '%m/%d/%Y %T' "${f}")" "${f}"; done

The prompt returned without error, and the exported files now have the original create and modify date/time.


Are there examples of iOS apps that use native subscriptions to pay for memberships?

You can't use In-App Purchases for that. From earlier in the In-App Purchase Guidelines:

  You must deliver your digital good or service within your app. Do not use In-App Purchase to sell real-world goods and services.


.config directory does not exists after upgrade to Catalina

.config starts with a dot, so it is hidden by default, and ls won’t show hidden files unless you ask it to with the -a option.

Use ls -a to list all files/folders including hidden ones.
Try ls -a ~/.config to specifically list the folder you’re looking for.
Create the folder if it doesn’t exist with mkdir ~/.config.


Why does my battery drop with 1% within a minute after removing the charger?

Battery level indications are notoriously unreliable in most devices. That's why it's known as the indicator rather than the gauge, as the latter implies accuracy (same goes for car fuel tanks, which is why when there is less than approximately 30 miles of fuel left, my car then stops telling me the level and just says "Refuel!!"). It's very common to note unusual behaviour such as you describe, and other similar behaviour like the first 50% being used slower than the last 50%, etc.

In an attempt to improve the situation, Apple did something a little different with how the battery indicator value is commonly generated in iOS. But before I mention that, it's worth showing how a lot of other manufacturers do it (and indeed how Apple does it on OSX hardware still).

The normal method is to show 100% full when the battery stops charging. This is a physical measure, rather than a logical one, and relies on taking voltage/ampage readings and whether they have stopped increasing or reached expected levels, etc. On a Macbook, the behaviour shown by @Robuust' answer is because of this method of charging; because it's not good to keep topping up the battery to absolutely full when it has only lost a percent or so - it's better to use a bit more before starting to charge again. OSX won't bother charging a battery that was at 100% until it has dropped sufficiently to make charging it back up worth it without causing potential battery health issues. As such, if you unplug to walk to another room and drop from 100% to 98%, it will determine that it's not worth the potential shortening of a batteries long term life just to give you a 2% recharge. It will wait until a lower indication is reached, say 94%, and then when it drops below this threshold start to charge again.

This causes (or used to cause) endless user confusion; Why doesn't my battery get to 100%?!?! My battery is faulty...

So in iOS, they switched to a different method of reporting battery life. The genuine 100% charge state is still monitored in the same way, but the way it is reported to the user is different. The battery will show as full when in reality it's only, for example, say 95% full (I don't know the exacts, which probably changes model to model anyway). At this point you can safely unplug and use the device (there is no need to charge a modern battery all the way to prevent memory damage) although it might not be fully charged regardless of what it says. If you leave it plugged in however, it continues to charge. Physically as the battery reaches 100% charge, logically that is essentially going over the 100% level shown to the user, say to 105% (although this isn't shown, clearly). At the point that it reaches this genuine full mark it then runs on battery until the value is lowered back to 95% physical/100% logical. Then it charges up. It will use the top 5% or so of genuine physical battery charge to constantly run the battery through a small charge/discharge cycle, and display 100% at all times to the user, regardless of where it is in the cycle.

Actual physical battery capacity:

[0--------------------------------------------------100]

Logical user reported charge:

[--0---------------------------------------------100---]

Logical user accessible charge:

[--0------------------------------------------------105]

Keeping a battery active in this way is better for its health than charging it to full and keeping in charged to full. Batteries are designed to be used, which is why laptop batteries on machines that commonly stay plugged in often fail with relatively little use - you should use the battery regularly to keep it healthy.

A net result of the above operation is that sometimes when your phone is showing 100% it will drop to 99 relatively quickly, because it was at that point in the cycle where it had been running on battery and was about to start charging again anyway. Other times when you unplug, it has just finished charging to its genuine full charge, and therefore you get all the extra time it takes to discharge down from its logical 105% down to 99%, so it will show at 100% for ages before starting to drop more consistently.

The same happens at the bottom of the battery too, when it hits 0%, it doesn't just run out of juice and die, it knows it has enough power reserved to perform a clean shutdown, and hold enough stuff like the date/time etc., or to be able to flash you an I need power! icon when you try to turn it back on.

Finally, as to why you can seemingly recover charge after a reboot, it seems reasonable to assume that this is just an artifact of the process used to provide the user with a logical battery indication, rather than the real thing.  My physics isn't brilliant, but I believe that it's harder to record what the static voltage of a battery is when it's being used (as it's constantly draining), and during bootup it's probably actually using more power than when it's just sitting in your pocket and so on.  Tie in this with some algorithm that is adjusting for the general age and health of the battery anyway (If a battery has lost 20% of its capacity over the course of a couple of years, it won't simply get to 80% full and go no further, its physically capacity is reduced and the logical capacity needs adjusting to give the same 0-100% range, even if that range is now smaller) and it's easy to see there's plenty of room for the values to hop about a bit.

The key takeaway is that the numbers reported to the user are nothing more than a software adjusted "approximation" of available charge, and can vary on current usage etc.  It's not a defect :)


Get full path of script in PATH environment variable

You can use which.  From the man page:

  The which utility takes a list of command names and searches the path for each executable file that would be run had these commands actually been invoked


Tools, languages, libraries and API's for development of a MacOS wide application

No, there is no public API for these events on macOS. The programming language does not matter.
Yes. Using the Accessibility frameworks. The programming language does not matter.
Swift is Apple's recommended development language for macOS. Discussions about Swift are better answered elsewhere.
See above.
Within your own application, yes this is possible. Sections of windows can be transparent. This is possible in Objective-C or Swift but not in AppleScript. See xScope as an example of display wide overlays.


Add item to Finder toolbar with terminal?

This is as far as I’ve got, and it’s not working for me on El Capitan (though, that could be something to do with the beta…).

It seems that defaults isn’t comprehensive enough (anymore?) for you to achieve what you want, however you can use PlistBuddy, which on 10.11 is currently found under /usr/libexec/PlistBuddy, to add/remove/edit plist files.

Here are the two commands you’ll can use to add the _CFURLString and _CFURLStringType:

/usr/libexec/PlistBuddy -c 'Add "NSToolbar Configuration Browser":"TB Item Plists":8:_CFURLString string "file:///Applications/Chess.app"' ~/Library/Preferences/com.apple.finder.plist

/usr/libexec/PlistBuddy -c 'Add "NSToolbar Configuration Browser":"TB Item Plists":8:_CFURLStringType integer 15' ~/Library/Preferences/com.apple.finder.plist

The “8” found in both of the commands above is the array index of the item.

No _CFURLAliasData is generated (as suggested in several places).  I’ve tried creating an empty _CFURLAliasData, but Finder didn’t populate it.

Another issue is that if I add/remove another item using cmd-drag all the data I’ve added with PlistBuddy gets erased…

Hopefully this information will get someone else partway there.


How do I stop iCal from launching Mail.app?

The instructions below (posted here) did it for us as our permissions were, actually, on "Read Only" and the Mail.app was still launching.

Note: If iCal still opens Mail.app for mailing an event after you have set Postbox as your default mail client:

Within the Finder, right-click on the iCal icon and then select Show Package Contents.
Navigate to the "Contents" folder, then the "Resources" folder. Right-click on the folder called "Scripts" and select Get Info.
Expand the Sharing & Permissions box and click the Lock Icon in the lower right hand corner to unlock this setting. Change any permissions that are listed as "Read Only" to "Read & Write."
Restart Postbox.

If more information is needed, check out a more detailed Postbox iCal Integration page for more options and troubleshooting tips.

Have a great day!


Take screenshot of screenshot with AppleScript

As with any script that tries to control the UI, this script is brittle and relies on sufficient delays to give the Quick Look window time to form and the image to be painted.  Although the script does check for the window's existence, it cannot check to make sure that the contents of the window has been painted, so I have had variable results in testing, including some good successes:

tell application "Finder"
    if selection = {} then return
    try
        make new folder with properties {name:"Infinity"}
    end try
    set sourcefile to duplicate item 1 of (get selection) to folder "Infinity"
    select the sourcefile
    activate
end tell

repeat with i from 1 to 50
    tell application "System Events"
        keystroke space
        set _W to (a reference to window "Quick Look" of process "Finder")
        repeat until _W exists
            delay 0.5
        end repeat

        delay 1 -- Give time for window to paint

        set [x, y] to _W's position
        set [w, h] to _W's size

        set my text item delimiters to ","
        set R to {x, y, w, h} as text
    end tell

    set my text item delimiters to {".", ":"}
    set filename to "screen shot " & ((current date) as «class isot» as string) & ".jpg"
    set filename to text items of filename as text

    do shell script "screencapture -R " & R & " -t jpg ~/Desktop/Infinity/" & ¬
        (quoted form of the filename)

    tell application "System Events"
        keystroke space
        repeat until not (_W exists)
            delay 0.5
        end repeat
    end tell

    tell application "Finder" to select file filename in folder "Infinity"
end repeat

You must ensure the necessary accessibility privileges are granted for this script to run.

Note: This script was written and tested using AppleScript version: 2.7  System version: 10.13.6


Pop Up Button always has the same value in AppleScript

Have you checked out Stefan's answer to this question on MacScripter?
He says to make a handler like this:

on didSelectItem:sender
    log sender's titleOfSelectedItem() as text
end didSelectItem

Then connect the handler to the selector on the popup button.

Link to MacScripter article: http://macscripter.net/viewtopic.php?id=43906


MacBook Pro with Touch Bar; switch between F keys, app controls and control strip?

It turns out that I wasn't clear on the four default modes for the Touch Bar:

"App Controls with Control Strip"
"Expanded Control Strip"
"App Controls"
"F1, F2, etc. Keys"

I wasn't clear (actually I think Apple wasn't clear) what the difference was between "app controls" and "control strip". Turns out, if I choose option 1, then I get a (somewhat narrowed) application-specific control bar, plus a (compacted) set of media control keys. So, that gives me access to my first and third desired modes. Then, set "Press Fn key to" to  "Show F1, F2, etc. Keys" and I'm golden.