Is it possible to rotate images in Preview in degrees other than 90?

If you're not averse to using the command line, you can use the sips command to rotate images. For example…

sips -r 23 --padColor FFFFFF image.jpg

…will rotate image.jpg 23 degrees clockwise and "fill in" the empty space with white. (If you rotate PNGs, the alpha channel should be retained.)

Worth reading the man page for sips as it can do other useful stuff.


You might be better off installing gcc from homebrew than Macports.

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew doctor
brew update
brew search gcc

There're are about 6 versions of gcc available from this package manager. See http://brew.sh for more details on the homebrew tools. Also this thread has more details on gcc and homebrew: How do I install GCC via Homebrew? Lastly, the gcc error in your shell is similar to this thread: I installed Xcode but I still don't have gcc in my terminal


Is there a way to cancel or disable the minimize animation completely?

To manage automatic window animations, use the commands below. NOTE THAT you'll have to quit and restart an application for the changes to take effect because it checks these settings on app launch.

Disable

To disable automatic window animations, enter the following Terminal command:

defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool NO

Enable

To enable window animations:

defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool YES


There is a similar discussion on discussions.apple.com from which I picked the hint to run

pmset -g assertions

to list a summary of power assertions. Assertions may prevent system sleep or display sleep.

In my case I had a print job in queue that was preventing sleep.


How can I use F6 to convert into hiragana in Japanese keyboard?

You can enable Use F1, F2, etc. keys as standard function keys under System Preferences app → Keyboard → Keyboard, as shown:


How to know the date of photo/video taken after downloaded from icloud website?

Problem #1: You'll probably need to download iCloud. Apps are almost always more fully featured than websites, because of their capability to access your hardware, and their lack of web security limitations.

Problem #2: You may not be able to fix this. If you can't find the date anywhere on iCloud.com, or through the iCloud app, it may be data that doesn't exist.

Tips: Try using Chrome instead of Firefox. If you are on a Mac, use Safari.

Tips for getting iCloud app to work: Restart your computer. Turn off Windows Security Center and your firewall (temporarily). Don't forget to turn those back on when you have successfully installed and run iCloud.


(All Users)-login items are stored in the file /Library/Preferences/com.apple.loginitems.plist. Normal user login items are saved to ~/Library/Preferences/com.apple.loginitems.plist.

Some WD apps add login or startup items to /Library/Preferences/com.apple.loginitems.plist and /Library/Preferences/loginwindow.plist.

The WD installer apps (e.g. WD Access for Mac) usually provide an uninstall feature which removes the respective app as well as login items or other installed files. The plist files itself won't get deleted though even if it was created by the WD installer.

If the uninstaller doesn't remove unwanted items you can do it yourself by either editing the global plist file or removing the complete plist.

A default file /Library/Preferences/com.apple.loginitems.plist or ../loginwindow.plist doesn't exist (in Sierra) but may have been created and modified by other installers. You can get the content by executing sudo defaults read /path/to/plist in the Terminal.app window.


Using Spotlight index on a file share on Server.app

It looks like mdutil can see that server search is enabled:
$ sudo mdutil -s /Volumes/YourNetworkDrive
  /Volumes/YourNetworkDrive:
           Server search enabled.

Also the mdutil manpage has this information for the -p option:
-p  Spotlight caches indexes of some network devices locally.
This option requests that a local caches be flushed to the
appropriate network device.

However, for me this does not seem to work, and it doesn't show remote search results anywhere when using SMB network mounts (This is in macOS Sierra).
There is one officially supported way to query remote Spotlight indexes, by using the Apple Remote Desktop application. Apple Remote Desktop is not free, but can be purchased through the Mac App Store ($79.99).
However, this a separate app and it does not integrate the remote index with local Spotlight searches. It works well though.
From the features page:

Remote Spotlight search
Leveraging the revolutionary Spotlight technology in OS X, the Remote
Spotlight capability in Apple Remote Desktop can perform
lightning-fast searches on remote client systems. Summary results for
each client are updated instantly as results are returned. View
details on results, or refine searches even further using additional
qualifiers. Results can be viewed on remote client systems, copied
back to your administrator system, or deleted.

A screenshot from the product page:


I was able to figure out how to do so by setting my timer audio to “Stop Playing” and setting a 15 minute timer in the shortcut. Still hoping there’s a way without that method so that I can use my timers normally:
https://www.icloud.com/shortcuts/910f40a4029e4fbc9d359effeb1e2885


Apple Mail: move message to another account or local folder and delete from the original account

It would only possibly work if the mail accounts were POP accounts and you had your server settings configured to delete messages from the server when read. Most mail accounts now use IMAP which use different behaviors for message storage, both on the server and in the email clients.

You could structure some Rules in Mail to accomplish what you're trying to do.


Try running repair permissions from the recovery partition so the keychain isn't in use and can properly be repaired.


Is there a way to get "Spaces" set to remain on a relative display?

For anyone trying to figure this out, the fix turns out to be really simple, but you do need to pay attention when disconnecting and reconnecting the monitors.
Basically, whatever order you disconnect the monitors, then you need to reconnect them in the opposite order, making sure to give the Mac time to register each monitor, e.g.
                     Work Office
                     -----------
                ┌─────────┬─────────┐
                │  Left   │  Right  │
                │ Display │ Display │
                │ ------- │ ------- │
 Disconnect  -->│ Spaces  │ Spaces  │  <-- Disconnect
   SECOND       │ *set A* │ *set B* │        FIRST
                ├─────────┴─────────┤        & then
                │  MacBook Display  │   take a 1-2 second
                │   Spaces set C    │        pause
                └───────────────────┘

                     Home Office
                     -----------
                ┌─────────┬─────────┐
                │  Left   │  Right  │
                │ Display │ Display │
                │ ------- │ ------- │
  Reconnect --> │ Spaces  │ Spaces  │  <-- Reconnect
    FIRST       │ *set A* │ *set B* │       SECOND
    & then      ├─────────┴─────────┤
   wait for     │  MacBook Display  │
 anything to    │   Spaces set C    │
 be displayed   └───────────────────┘


Best way to import analog video (VHS) to Mac

If you have an older DV video camera such as a Sony DCR-HC96, you can plug the VCR directly into the camera, which will convert the analog signal to a digital signal. The camera will output the video via Firewire, which will be recognizable by iMovie or FCE. This is my preferred option, because I have this camera and it works great.

Another option is something like what Chris Breen has talked about on his Macworld video. He recommends Roxio's Easy VHS to DVD

and Elgato's Video Capture (some similar products)

I don't know how well it works, since I haven't tried it myself.

Yet another option would be to use a DVD recorder with RCA inputs to play the VHS to a DVD.

Once you've burned a DVD of the VHS tape, then you can use conversion software, such as Handbrake to convert the DVD to a usable format. I would also recommend this, since I've done this before, although I prefer the first method, since it is faster.


How do I get the Caffeine app working on macOS Mojave?

Caffeine is still working! However, Apple has upped its security and privacy model a bit and caffeine fell prey to that. What you have to do to get it working properly again is the following:

Open System Preferences
Click Security & Privacy
Click the Privacy tab
In the left column, select Accessibility
If needed, click the lock icon in the lower left and enter your password to unlock your settings
Click the + button and select your Caffeine app to allow it to control your Mac
Restart Caffeine


Closing 128 new Preview documents without saving

As of Yosemite, at least, there's a much easier way. Just choose Quit from the File menu.

Preview will ask you if you want to review changes. If you say no, you're done!


When MacBook runs out of battery after restart message problem detected occurs

I think it's normal, because before exhausting the battery completely (around 3-5%) it goes into a sleep mode. But if it is completely exhausted, the message it mentions is displayed and allows you to restore what you had previously opened or restart the startup.


Mail.app inbox becomes blank after a few minutes of use

Is your exchange environment hosted? Office 365 perhaps?

My mailbox occasionally does exactly what you describe. This was a known issue in ML, I would expect a fix at some point, but for now here are the few steps that I take that fixes it for awhile.None of this seems to be a "permanent" fix, but should last a bit longer.

Select the folder in Mail that is missing items.
Select "Mailbox"
Select "Rebuild" from the bottom of the menu.

OR...

You can rebuild the Envelope-Index by throwing it away, it's located at ~/Library/Mail/V2/MailData/

Your Library folder is hidden by default. Select Finder (in the dock) > “Go to Folder” and then enter “~/Library.”
In ~/Library/Mail/V2/MailData, delete any file that begins with “Envelope Index,” such as Envelope Index or Envelope Index-shm.
Mail will rebuild the Envelope index when it is reopened. It will take a few minutes to rebuild the entire index.

If you're using Office 365, I've had more success by disabling the "Use Auto-Discover service" on those mail clients that are misbehaving.


How do I read this Activity Monitor report?

Check this out for a previous post. But, adding a bit to that answer...

First - while you have 4 physical cores, you have hyperthreading active, which allows each core to serve as 2 virtual cores. This will give you a theoretical maximum CPU usage of 100% x 8, or 800%.

Second - the % reported in the activity monitor is showing total CPU% (so it won't exceed 100%). Looking at the CPU numbers in your table, you're using a bit more than 485% out of the maximum of 800%. 485/800 is about 60%, which is your total usage reflected here...


You can see everything that is supposed to open on login in System Preferences > Users & Groups > Login Items. These will open even if you uncheck "Reopen windows when logging back in." in the logout dialog box.


iPad 2 asks to connect to iTunes while iTunes asks for passcode on iPad

It seems that the reason the iPad is disabled and requires you to connect to iTunes to re-activate it is because the passcode was entered incorrectly too many times.

In this case, you'll need to erase the iPad, and unless you made a backup before the iPad got disabled, there isn't a way to save your device's data, and you'll lose all your data and settings.

Erase your device with recovery mode:

If you've never synced with iTunes or set up Find My iPhone in iCloud, you'll need to use recovery mode to restore your device. This will erase the device and its passcode.

Connect your iOS device to your computer and open iTunes.
While your device is connected, force restart it: Press and hold the Sleep/Wake and Home buttons at the same time. Don't let go when you see the Apple logo — keep holding until you see the recovery mode screen.

When you see the option to Restore or Update, choose Restore.

iTunes will download software for your device. If it takes more than 15 minutes, your device will exit recovery mode and you'll need to repeat steps 2 and 3.
Wait for the process to finish. Then you can set up and use your device.

For more info, check Apple's support article.


How do I stop iTunes from automatically opening when I browse an app on apple.com?

https://gigaom.com/2010/03/15/how-to-stop-itunes-web-links-from-opening-itunes/

It looks like the browser you are using is chrome, so follow these steps

Go to chrome://settings/contentExceptions#javascript
add itunes.apple.com and mark "Block"

If you want to see the app without seeing the "Opening the iTunes Store." page, visit The iTunes Link Maker and see if you can find the app on there.

(that was my solution before, but it seems now iTunes preview shows the app with a "Opening the iTunes Store." banner. By disabling Javascript on that page, you won't see the banner)


AirPlay video from retina MacBook Pro to Apple TV often doesn't send audio

This is a long-standing bug in the software with OS X Mountain Lion, that unfortunately Apple has not acknowledged or addressed. The simplest solution is to restart, but I don't like to restart my computer simply because AirPlay is broken.

Instead I do the following, which fixes the issue nearly 100% of the time, without a reboot:

Turn off AirPlay Mirroring
Open Terminal.
Type in the following commands (pressing return after each):

sudo dscacheutil -flushcache

sudo killall -HUP mDNSResponder

You should see your AirPlay icon disappear and quickly reappear in your menu bar during this process. After that, fingers crossed, all should work again. I stole this fix from the Apple Support Forums and it has worked well for me.


What are some good ways to free up disk space on OS X >= Yosemite?

More Suggestive answer supporting with everyone's answer as our main purpose is to delete unnecessary file and folder for iOS developer:

DeviceSupport - You can keep the simualator which log's you may need in future. It's actually symbolicate crash logs for different device/iOS.
Delete this folder after every few days interval

~/Library/Developer/Xcode/DerivedData
All your targets are kept in archived form in Archives folder. Before you decide to delete contents of this folder, here is a warning - if you want to be able to debug deployed versions of your App, you shouldn’t delete the archives

~/Library/Developer/Xcode/Archives
iOS Device Support folder creates a subfolder with the device version as identifier when you attach the device. Most of the time it’s just old stuff. Keep the latest version and rest of them can be deleted (if you don’t have an app that runs on 5.1.1, there’s no reason to keep the 5.1.1 directory/directories).

~/Library/Developer/Xcode/iOS DeviceSupport
Core Simulator folder is familiar for many Xcode users. It’s simulator’s territory; thats where it stores app data.   It’s obvious that you can toss the older version simulator folder/folders if you no longer support your apps for those versions. And, it’s safer to use ‘Reset content and Settings’ option from menu to delete all of your app data in a Simulator.

~/Library/Developer/CoreSimulator
Caches are always safe to delete since they will be recreated as necessary. This isn’t a directory, it’s a file of kind Xcode Project. Delete away!

~/Library/Caches/com.apple.dt.Xcode
Additionally, Apple iOS device automatically syncs specific files and settings to your Mac every time they are connected to your Mac machine. To be on safer side, it’s wise to use Devices pane of iTunes preferences to delete older backups; you should be retaining your most recent back-ups off course.

~/Library/Application Support/MobileSync/Backup

i got back about 40GB! For more help go to: http://ajithrnayak.com/post/95441624221/xcode-users-can-free-up-space-on-your-mac


How to fix when connecting to any server results in "Connecting to '...'" window that will leave up all day?

Try this:
rm ~/Library/Preferences/.GlobalPreferences.plist

It's an invisible preference


Are there any directories of the official icons used in macOS?

Most of the icons are in the System folder. Just enter the System Folder, hit Cmd+F, click +, select Kind in the first dropdown box and Image in the second. This should get most of the icons.

Others are in the Apple Symbols font, as Tom pointed out.

A few more can be found here: /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources.


How to run Wireshark in the background without the GUI?

As initially seen here:

As far as I remember TShark comes with all distributions of Wireshark. This runs from the command line. The documentation for it is here: http://www.wireshark.org/docs/man-pages/tshark.html
And there's some examples on how to use it here: http://www.codealias.info/technotes/the_tshark_capture_and_filter_example_page

— David Hewitt


Should I disconnect my MacBook Pro's power cord when the battery is fully charged?

You do not need to disconnect your MacBook Pro's battery. Your battery will stop charging once it is full. Apple's modern batteries are much smarter than previous designs.

To get the most out of your MacBook Pro's battery, follow the Notebook Battery advice from Apple: unplug and use your battery until empty about once a month, then charge back up to full.

At the time of answering, Apple's advice read:

  For proper maintenance of a lithium-based battery, it’s important to keep the electrons in it moving occasionally. Apple does not recommend leaving your portable plugged in all the time. An ideal use would be a commuter who uses her notebook on the train, then plugs it in at the office to charge. This keeps the battery juices flowing.

If you need help following Apple's advice, use Battery Guardian; it is free and will remind you when to deplete your battery.


Where does OS X remember previously connected bluetooth devices?

There's a question from SuperUser that might be useful for you.

In Lion, Bluetooth information is stored in different .plist file with Bluetooth prefix. For my case, I have~/Library/Preferences/com.apple.BluetoothAudioAgent.plist and ~/Library/Preferences/com.apple.BluetoothFileExchange.plist


View HDMI output from another device on a Mid-2015 MacBook Pro

You can use a device such as the Elgato HD60 S, which offers low-latency capture from a 1080p60 HDMI source, which you can view on your MacBook over a USB 3.0 connection.

It also allows you to save and stream the video if you want to do that as well.

It's available from for example Amazon at $179.95:

https://www.amazon.com/Elgato-Game-Capture-HD60-technology/dp/B01DRWCOGA


iPhone regularly shows "iPhone not activated..." message

Have you contacted your carrier, as suggested?
First Question
I believe that this page may help your case. From what I know, iMessage and FaceTime will not work on non-activated devices. You will need to first determine whether your device is really not activated or whether the message is randomly appearing although the iPhone is activated. Follow this guide to check.
Second Question
To address the second question, I am assuming that data refers to your iPhone's internal storage and not the cell carrier/mobile plan related data that allows you to browse the web.

Removing the SIM card does not delete the iPhone's internal storage, thus you do not need to worry about data-loss during the procedure because storage is not related to activation. The only case in which this would occur is if the device is fully reset.
You should have a current backup of your iPhone. You mentioned that iMessage and FaceTime are operable, so I assume you back up to iCloud or at least to your computer via iTunes. No matter what you try, a full backup will always come in handy if everything fails.


Keyboard shortcut to switch between Google Chrome profiles in Mac OS X (10.10 Yosemite)?

I just discovered that it can be done by switching to the adjacent workspace using Ctrl + Left (or Right) arrow.

Update: After I restarted the OS (or maybe created a new user, sorry not sure) I noticed that when I switch to new profiles they are now created under the same app group so I can do again Cmd + tilde.

Update 2: I just discovered that the green maximize icon now in Yosemite will now full screen the app. The shortcut to maximize the length and width of the app window can be found in this question How to change the default behaviour of the fullscreen/maximize button?

  ⌥ + ⇧ + Click on green or outer right icon (plus icon)


Inexpensive microphone setup for iPhone video?

Have you checked this? And maybe an accessory here.

Also a different alternative is shown here, using the headphone’s jack.


Can't select an iCloud Photo Stream for Screen Saver

Please check this image below

If this is not visible on your Mac (I've had the same issue after upgrading to Mavericks) please logout iCloud entirely (remove everything from your Mac) and log back in.

It will be visible now.


What version of Windows can I install on a 2009 MacBook Pro?

Unfortunately it looks like that Mac will only support Windows 7

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

Even your model does not look like it supports Windows 8

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

And Windows 7 is End of Life in mid January. It will still work but no more security (or other) updates after that. So it's do-able but not recommended.


Is there a plugin to create a folder and a file in it at the same time it terminal?

If you are using bash, add the following function to your .bash_profile:

mkTouch() {
    mkdir -p "$(dirname "$1")" && touch "$1"
}

Then, you can use mkTouch folder/file.md.


How to fix 403 in Mac OS X built-in Apache?

I have an alias specified in OSX server pointing to a user directory.
I spent a long while chmodding and messing with _www user, adding executable permissions recursively, uninstalling macports and all sorts of stuff trying to get this to work. No idea why it wasn't working.

Eventually, I just checked the "shared folder" checkbox in the Finder for that folder, and it worked, on the specified domain, with php active, the way I wanted it to. :/
...so that was easy.


Why am I getting an error "No Index" when I try to CREATE a spotlight index with mdutil?

Indexing can be enabled or disabled only on the root of the drive, so, "/Volumes/volName". You can read more about the command by typing man mdutil into the terminal. An excerpt:

  -i on | off:
  Sets the indexing status for the provided volumes to on or off.  Note that indexing may be delayed due to low disk space or other conditions.

Also, indexing won't work on a drive mounted with SMB. You will have to use AFP in order to do so.


Your answer is found here:
https://serverfault.com/questions/617591/proftpd-unable-to-determine-ip-address/617593#617593

you will need to do an ifconfig at the command line and post it. We will also need you to provide your hostname by posting the output of cat /etc/hosts.

Then you will change /etc/hosts to

x.x.x.x  MacBook-Pro-de-Gloria.local
xxxx:xxxx:xxx:xx::x MacBook-Pro-de-Gloria.local

The IP addresses above will be provided by ifconfig (assuming this server is on your own system). It is likely that the IP address will be 127.0.0.1, and the IPv6 address will start with fe80:

or (better) fix the setup to have a proper FQDN and naming scheme.


iTunes truncates MP3s. I know the fix, but I want to automate it with AppleScript

Figured it out!

Here's the relevant line: set newTrack to add location_in_finder to library playlist 1. I hadn't realized that add track returned a reference to the track added, but the iTunes AppleScript dictionary showed me the light.

The Final Script is below:

global okflag, selectedTracks, newTrack
set separator to "."
set okflag to false
-- check if iTunes is running
tell application "Finder"
    if (get name of every process) contains "iTunes" then set okflag to true
end tell
if okflag then
    try
        tell application "iTunes"
            copy (a reference to (get view of front window)) to thePlaylist
            -- check if "Library"; later, we will not offer to number a Library playlist
            set using_the_Library to false
            if (class of thePlaylist) is library playlist then set using_the_Library to true

            if item 1 of selection exists then
                set using_selection to true
                copy (selection's items) to theTracks
            else -- its the whole playlist
                set selectedTracks to (get a reference to thePlaylist)
                copy (thePlaylist's tracks) to theTracks
                set using_selection to false
            end if

            repeat with i from 1 to (count theTracks)

                if using_selection then
                    copy item 1 of selection to thisTrack
                else
                    copy track 1 of selectedTracks to thisTrack
                end if
                -- thisTrack now set
                copy (get thisTrack's location) to location_in_finder

                delete (some track of library playlist 1 whose database ID is (get database ID of thisTrack))
                set newTrack to add location_in_finder to library playlist 1
                play newTrack
                delay 1.5
                stop

            end repeat
        end tell -- iTunes
    on error error_message number error_number
        tell me to display dialog error_message & return & "Error number " & error_number
    end try
end if -- okflag


Mission control: Show all application windows in current desktop only

It is simple. You don't.

I have MAC 2 months and Iv heard UX of MAC is gorgeous so I went for it. But for some strange reason MAC has 95% of UX realy awesome as I would expect the top UX to be BUT, there are still those 5% :( And I am not talking about some hard to use UX elements or hidden tasks. Those 5% are everyday usage UX errors MAC has. And when I say error I mean it, its not like I prefer Windows or Linux way, its that human has some "limitations" and for many tasks the "best" UX already exists but in Apple there sits some UX manager (propably few of them) and he thinks like this: "Hmm, we have to differ on as many levels as possible so we are not the same as competition" - so they take that UX, tweak those 5% of it, so it looks different.

How do I know that? Well ofc, I dont, but is there any other logical explenation for that and theese other examples:

App window control buttons on the left side? Yes its briliant - your mouse moves are limited, so your work is faster. It takes a while if ur not used to it, but it is realy good idea and its faster. But now - what will those 3 buttons acutually do? Quit app / minimize app / maximize app? Noooo, that would be too easy for everyone, lets make it different, lets make close button to close only "windows" of the app not entire app and lets leave the top bar of app hanging there so everyone can switch to it and be confused where is his focus, cause he sees the app below but it doesnt have focus right...? Minimize? Yea, it does minimize - did they notice, that minimize and close does the same thing? (It actually doesnt - but the result is the same, so "why....?) Nope they didnt. And maximize? No, why would someone want to maximize, lets make it fullscreen, cause thats the button every person needs, right...? But one brave manager raised hand and said: "But there are still ppl who actually want to maximize the window". "Hmm, ok lets keep it there with some wier shortcut, BUT lets not maximize to cover all screen, I think it is better to maximize only what we think is the best for the user. With more windows opened at once, its gonna be so messy but we dont care about it. And heh, guys, Iv got an idea, lets make a nice little prank, I think it would be hillarious to leave 1px space at the top and bottom of the screen, you know just to have fun of them :D. Every user who spends 1500$ or more will appreciate that! Its gonna be so funny to see them in their chairs asking why would someone do that :D"


How to force reboot an iPad when the iCloud overlay is covering up the whole screen?

you can hold down the power and home button for a couple of seconds to force reboot it!

as simple as that, don't put it in the fridge and risk condensation corrosion of the circuits!


Take a look at the Permissions set on the /Users/<username>/Sites Folder.

The "web user" (i think on Mac www is used for this) must have the Rights to read and execute so in most cases a chmod o+rx /Users/<username>/Sites should be enough.

If this doesn't work let us know what you are using to control your Webserver? OSX Server or MAMP or something else?


For the built-in Photos app, you can get subtle effects (dissolve, specifically, is available) in full screen of iOS 11, but I can’t find a way to randomise it, unfortunately.

Since I never used the picture-frame mode on my iPad 1, I can’t picture it (heh) in my head, but if you go to Photos → Your Album and choose Start Slideshow, you can tap on the slideshow and on the bottom right an Options button will be revealed, allowing you to change the speed of the transitions, toggle Repeat , choose or disable an accompanying musical theme, and choose the transition type (which includes Dissolve)

I’m not familiar with other slideshow applications, so I can’t suggest any.


You can not find out if the phone is 100% turned off.  The issue is that the phone may not have any network connectivity which would cause it to show as off line in find my phone.

The phone needs to communicate with Apple's servers and let them know that it is on and the GPS provides the location information.  If a person were to keep the phone on, but turn on Airplane mode, then the phone will show as offline in find my phone.

Sorry about you losing your phone...hope this answers your question.


Is it possible to create (and save) a fluid app with multiple tabs?

Developer of Fluid here. Although there's no explicit support for this, it can sorta be accomplished by:

Launch your Fluid App and set up the windows and tabs you would like to appear on launch.
Ensure that the following preference is enabled:

Preferences > Behavior > On startup restore windows and tabs from last time
Quit and relaunch your Fluid App, and you'll see the same windows and tabs are open.


How do I sync Safari's Reading List between multiple Macs and an iPhone?

Sometimes this can be caused by temporary issues with your account or the connection to the iCloud servers. Waiting it out isn't a bad strategy if you don't want to go for official support or when restarting the affected devices is not effective at clearing up the issue.

For ongoing issues, you might reach out to iCloud support to ensure it's not an issue with your setup or account.


What can I do about frequent beach ball Safari and other apps?

Once I got something similar after a Snow Leopard upgrade:  spinning bechball when starting Safari and making Safari inoperable. Turned out it was an incomaptible SIMBL plugin from before the OS upgrade.

If you already replaced the motherboard and hard drive, there's really not much "hardware" left that can be eliminated.

If you already have done a clean install as well, there is really no other "software" eliminated either. Make sure you've done a total clean install though: format HDD, install the base OS without iLife, etc, DO NOT restore anything from you backup afterwards, DO NOT use your regular username and DO NOT enter your Apple ID at first boot. Do not restore and data from your backup, especially not /Library and /Users//Library

I guess I'd also try to install a different version of OSX (downgrade or upgrade, doesn't matter) and see if the problem persists.  Also try booting a different OS (Windows, Linux, boot from a Linux live CD/usb would be the easiest option). Booting in a different OS is the best way to find out if it's a hardware issue or software.

Generally a spinning beachball are caused by CPU/memory/disk access spikes, but it can also be some other kind of blocking I/O (e.g. network, USB). Maybe it's compatibility issues with your home network? Use it on a different network, try connecting to the network with an external USB ethernet adapter.

Hope that helps.


How to control your iPad with your Mac remotely?

It is not possible to remotely control the screen of an iPad unless you jailbreak and install a VNC server as MattDMo suggested. This is because the security model in iOS does not allow an app to reach outside of its sandbox to control other apps or the springboard home screen. Apple does not provide any remote control functionality at the iOS level either. There is no way to do what you are asking for without jailbreaking.

Mobile Device Management (MDM) solutions do not allow remote control of the screen on iOS either. MDM can push configuration profiles to control settings on an iPad, or prompt the user to install an app from the app store, but they can't control the screen. Airwatch offers a screen control option, but this only works on platforms that support it (not iOS). I work with several MDM vendors, including Airwatch, and this is not possible because Apple does not make this functionality available in iOS.


How can I get an NTFS partition to mount in macOS Mojave?

If you're using a third party software to mount NTFS portions on a mac like Paragon you need to go to system preferences - security & privacy - allow. Then choose your software to allow it access.


Is the NVIDIA GeForce 9400M on the MacBook Pro good for gaming?

I have a 5,2 MacBook with that Nvidia chip. Being the Civ fan that I am, I used to Bootcamp and try to play Civ IV: BTS but it wasn't pretty. I suppose if you turned the graphics settings way down to the minimum you may have some luck.

Civ V. No hope at all.


Never mind. The internal folder in question has a .ipa extension that I missed.


Setting Safari preferences from script on Big Sur

The one for "Show Status Bar" is

defaults write com.apple.Safari ShowOverlayStatusBar -bool true

Found here along with others.
https://gist.github.com/alanzeino/42b6d983c7aa2f29d64ea2749621f7cf


Incorporating Automator might be unnecessary for what you're trying to achieve. Perhaps it would be more suitable to just write a bash shell script. If you've never written a bash shell script before, it's easy to get started. You can simply type out the commands exactly how you've already demonstrated, but into some kind of text editor or notepad software, and save it with an .sh extension on the end.

When I first started learning about this stuff years ago I found nano to be a quick and easy text editor for learning and writing new material. If you want to give it a try you can start by just typing nano in the terminal.

If necessary, you can grant executive permission with:

chmod +x ./example.sh

Let me know if this helps put you on the right track or not. If not, we can just try something else. Also, if you want/need you can reply here or contact me privately via chat.


What would cause normal files to be hidden from the Finder but not the terminal?

On BSD you have a file flag that allows you to hide the file.

$ chflags hidden path/to/file to hide a file.

You can see the flag with ls -lO

$ ls -Ol foo.txt
-rw-r--r-- 1 harry staff - 0 17 Jun 15:57 foo.txt
$ chflags hidden foo.txt
$ ls -Ol foo.txt
-rw-r--r-- 1 harry staff hidden 0 17 Jun 15:57 foo.txt


Automator: replace text input not working

The problem was related to the macOS version. After updating to 10.12.1 the text is now being correctly replaced!

Edit: for those interested in the alphabetic sorting, simply add a Run Shell Script block and fill in sort -f, like so:


How to see / capture ALL SMB server log output in 10.12 and 10.13?

While I have not yet found the actual solution to the original question (I will update this once I do or someone else does) I did find a solution it seems for the actual problem that was leading me to ask this question.

It appears that macOS 10.13.x is severely problematic with its SMB server. Windows clients seem to connect fine, but 10.13 clients very, very frequently have severe hanging issues. I have now also seen others mentioning this problem for some months.

The trick appears to be to modify /etc/nsmb.conf such that it changes the behavior a bit (I think the actual key being to change the protocol version to 1):

[default]
signing_required=no
dir_cache_off=yes
protocol_vers_map=1

After rebooting clients that I've updated to have this I now no longer experience the hangs that I previously had on several 10.13 workstations. Windows also still works fine accessing the shares. OpenZFS on OSX pool sharing is also great with this.


It is possible that you misinterpreted what you saw. The diskutil list command in Terminal, for example, would show you both the 128GB physical disk, as well as the 128GB CoreStorage logical volume. These are listed separately, but are in fact the same storage.

Running disktuil cs list in Terminal will confirm if you have a CoreStorage volume or not. To my knowledge, it's not likely that a CoreStorage volume would revert itself. One possible cause that I can think of would be a reinstall of macOS.


Do macOS default preferences ever have breaking changes (the ones we edit with defaults command)?

Like any part of the OS, Apple can change or modify the preference keys. Anecdotally, I can certainly remember people commenting that some keys have been removed, so that setting a particular preference no longer works.

For instance, Apple changed PMPrintingExpandedStateForPrint to PMPrintingExpandedStateForPrint2 at some point. This is the key that specified whether the print dialog is expanded or simplified.

As mentioned on this site before, Apple does not document many of the available keys; most of which have been found by inquisitive people searching for text strings in executables. So a list of changes seems unlikely.

The defaults write command does not check for validity. So I can add the key IamFabulous -bool true to Preview's plist, and it will sit there doing nothing. Preview will never check for the value of that key. Any 'defunct' key/value will act similarly.


It turns out Disk Utility wasn't showing all devices, only volumes. I changed that option in the menu and was able to actually format the 2TB drive.


OSX 10.11.3 keeps crashing when logging in

Try and Boot in Safe Mode by holding Cmd-Shift right after it boots.


Make the Keyboard on OSX and windows behave identically regarding text editing

In short, you can't do it. You might get close employing such as Karabiner, Better Touch Tool, AutoHotKey etc, but you will never achieve 100%. You additionally have to fight that not only is Mac a paradigm shift from Windows, but that Terminal-type apps also have a separate set of rules.
TL:DR Learn the differences. Long-term it's better than trying to fight it.
One really good tip to help you learn the difference…
Don't try to use the same keyboard for both. Have a Mac keyboard & a PC keyboard.
Anecdotally, I've been working cross-platform for 20 years, prior to that I was Mac only.
I daily have to work with

Macs on Mac keyboards
Windows on Win keyboards
a Mac with a Windows keyboard [because I needed a wireless one with built-in trackpad]
Windows over RDC from a Mac keyboard.

The first two are easy, the last two are [comparitively] hard.
A comparison, if you ever drive abroad - it's much easier to drive a rental with the steering wheel on the correct side for the country you're in than it is to take your own car & be on the 'wrong' side of the road. As a Brit, this happens almost everywhere I travel, as we're in the minority in driving on the 'proper' side of the road :P


com.apple.hiservices-xpcservice results in frequent hangs and freezes in my mac

Had the problem too.

Tried to disable SIP, then remove execution rights on com.apple.hiservices-xpcservice, reboot after re-enabling SIP.

Result : Safari keeps crashing, each time it opens so it seems to be linked to apple apps.

Giving back execution rights on the service repaired Safari ..

Except killing it when it becomes unresponsive, I don't see any other solution


How to transfer voice memo with their titles?

I had over 700 voice memos in my iPhone, many of which I renamed to make it easier to find the ones I need in the records.

To solve the problem of moving records to my file system keeping file names, I found this workaround for myself. I describe it step by step.

Synchronize with iTunes and get a playlist with records.
Go to the playlist and go File → Library → Export playlist and save txt file.
Open the file in the Notepad++ and press Ctrl+A to select all text, press Tab once to get spaces in the beginning of each line.
Delete first line, containing column names.
Go to Edit → Columns Editor, in the opened window select the "numbers to insert" starting from 0 with increasing by 1 and the decimal system, press ok - it will include numbering of lines.
Press Ctrl+F and go to the replacement tab, then turn on the use of regular expressions
Change

^(\d*)\s*([^\t]*)\t([^\t]*\t){29}[^\t\n]*\\([^\t\n\\]*).*$

to

set memoNames[$1]="$2.m4a"\nset memoLocations[$1]="$4"

(maybe the regex to replace depends on the version of iTunes because it is made according to the columns in export file)

The result should be something like this

set memoNames[0]="my custom name.m4a"
set memoLocations[0]="20130327 172842.m4a"
set memoNames[1]="some other custom name.m4a"
set memoLocations[1]="20130327 172954.m4a"

and so on (total number of lines is count of your voice memos × 2)
Next, create a batch file (for example rename_records.bat) with content with this code

@echo off
setlocal EnableDelayedExpansion
#INSERT_HERE_YOUR_REPLACED_DATA#
set "x=0"
echo starting renaming loop
timeout 2
:RenameLoop
if defined memoNames[%x%] (
    set nameFrom=!memoLocations[%x%]!
    set nameTo=!memoNames[%x%]!
    call echo renaming #%x% %nameFrom% in %nameTo%
    REM ren %%memoLocations[%x%]%% %%memoNames[%x%]%%
    set /a "x+=1"
    GOTO :RenameLoop
)
echo Total length of files is %x%
pause

Replace #INSERT_HERE_YOUR_REPLACED_DATA# in your bat file with the result of 6 step
If you have cyrillic symbols add this line at the beginning of your bat file

chcp 1251 >nul

Note: Before running your bat file copy your records from iTunes library to some other folder to be sure that you won't lose your records.
Place your bat file in the folder that you made in 10 step and run it.


You can't. With iOS 10.x and iOS 11.0 it's possible to delete a Wi-Fi network

if you can see it (Settings > Wi-FI)
with all other saved Wi-Fi networks using Settings > General > Reset > Reset Network Settings

You can't remove a specific Wi-Fi network otherwise.

If you have iCloud enabled you may want to sign in from another Mac and open Keychain Access.app. There you will see all Wi-Fi networks that were synced to iCloud. Delete it on the Mac with your iPhone still signed in to iCloud and restart your iPhone after about 5 minutes.


Any way to open a URL in a script without having it open in a browser

For sure there are dozens of tools to do this.

python scripts
ruby scripts
swift scripts
javascript scripts
shell scripts

I’d start with bash and shell, but you could do this in dozens of ways. Javascript and bash are all easy to call from AppleScript as well if you want to start there. The curl command ships with all macOS so let’s start there. Open the terminal app and type:

curl https://myurl

Once you get the basics of calling, you can determine if you need authentication or to post / get to an API to trigger the actions you need, but all of the above scripts will not open a browser and will retrieve / hit the web site with a real request that can make things happen.


How can I download files directly from Safari to ”on my iPad”?

It's anybody's guess what could be the problem. But restarting the ipad is always a good thing to try when you run into inexplicable behaviour.


Folder copy without losing any existing files

The short answer is that you cannot accomplish this using the Finder. A third-party solution like Path Finder could be what you're looking for. Path Finder can merge on paste.


Why some emoji doesn't display well on my Mac?

Emoji are a true type font in...

/Volumes/Macintosh HD/System/Library/Fonts/Apple Color Emoji.ttc

Sierra comes with version 12.0d19e1, which doesn't include the newest emoji (the ones that are displayed as square in your screenshot), unlike High Sierra, which shows the font as version 13.2d1e1 and can display those newer emoji.

You can use "Font Book.app" in the /Applications folder to preview the font.


What does "Other" represent when looking at iTunes representation of free space on an iDevice?

What is the Other space

On an iPhone, the Other storage can be classified as one of the following:

    Browser cache
    Mail cache
    Mail messages
    Mail attachments
    Safari's Reading List
    iTunes Backups
    Effects of jailbreaking your iDevice
    Game data
    Saved data files
    Call history
    Notes
    Media
    Voice memos

How to Remove It

Just follow these steps (Check the articles listed below for more information):

Delete the browser cache (and Reading Lists in Safari).
Delete and re-add your mail account.
Remove unimportant text messages.

This will allow you to remove the majority of the extra "stuff" that clogs your space. PhoneClean, referenced below, is a great tool that will do it all for you, so if you just want to remove the most amount of space in the least amount of time, just use that.

Links and Resources

http://appducate.com/2013/01/reclaim-other-storage-space-on-ipad-iphone-and-ipod/
http://www.imobie.com/support/what-is-the-other-on-my-iphone.htm
http://www.cultofmac.com/133183/how-do-i-get-rid-of-the-other-data-stored-on-my-ipad-or-iphone-ask-macrx/

PhoneClean is some freeware that frees up space by removing hidden files. I can't vouch for its reliability, but I've heard some good things about it, so check it out.


How to verify Apple ID if iPhone at the same time blocks gmail access?

So you need to verify your new created Apple ID using Gmail?

Why don't you browse to http://gmail.com and manually log-in via the web interface?


How do I add the Applications folder to the terminal PATH?

You can easily add the Applications directory to your PATH but it will not do anything useful as it is a collection of OSX apps which are bundles and can't be run from the command line.

There are several alternatives

Use the open command which will open any OSX app e.g. open -a Sublime\ Text.app source.php This works for all apps
Find the unix executable in the app bundle usually in Contents/MacOS and with a similar name to the app.
Some apps e.g. Sublime provide a specific command line tool and use that. This is what is suggested in Sublime's documentation However I would just create an alias to the full path "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" and use the full path in the EDITOR environment variable


Why is my iOS not detecting Bluetooth device names?

The BT device that you are looking for has to be in discovery mode, or set to always discoverable in order to be visible to such device searches.


What makes an app unique from POV of options -> assign to desktop?

Found it, just leaving this here to make it easier for others to find answers via google. See:

Assign Application Windows to Different Spaces/Desktops
Is there a way to hide certain apps from the cmd+tab menu?

Specifically, the one thing you need to care about is CFBundleIdentifier in the app's Contents/Info.plist file. Here is a part from a script that may be useful:

  # Change Bundle ID so desktop assignation works. Not sure if this will survive updates.
  # CFBundleIdentifier must contain only alphanumeric (A-Z,a-z,0-9), hyphen (-), and period (.) characters.
  # (Based on fiddling around there also seems to be a length limit.)
  UUID="$(echo $APP | md5sum | awk '{print $1}' | tr [0-9] [A-Z] | cut -c 1-4,29-32)"
  plutil -replace CFBundleIdentifier -string "cdi.$UUID" -- "$RUNTIMES/$APP/Contents/Info.plist"
  #plutil -replace CFBundleName -string "$APP" -- "$RUNTIMES/$APP/Contents/Info.plist"
  #plutil -replace CFBundleDisplayName -string "$APP" -- "$RUNTIMES/$APP/Contents/Info.plist"
  # To check: defaults read ~/Library/Preferences/com.apple.spaces.plist app-bindings

To see this in some context, see my answer to this question: Is there a simple way to have separate dock icons for different Chrome Profiles?


How do I download full resolution photos on my iphone (8+) to use offline?

You can download the full resolution photos to your phone by going to Settings -> tap on your photo -> tap iCloud -> tap Photos -> tap "Download and Keep Originals" (instead of "Optimize iPhone storage"). You will, of course, need to have enough space on your phone to download all photos.


Is it possible to manually sync reminders with iCloud whenever you want?

Yes, but only by revealing the Debug menu in Reminders. To do this:

Launch the Terminal app (usually found in the Applications > Utilities folder)
Enter the following command (or just copy and paste it):

defaults write com.apple.reminders RemindersDebugMenu -boolean true

Press Return
Now launch your Reminders app (or, if it was already open, quit it and launch it again)

Now you can go to Debug > Refresh (or just press command + R) to refresh your Reminders with iCloud.

NOTES:

If the above process doesn’t reveal the Debug menu, then quit the Reminders app and start again at Step 2.
If you ever want to hide the Debug menu, then follow the same process but at Step 2 enter the following command instead:

defaults delete com.apple.reminders RemindersDebugMenu


How to access MacBook mail preview files after the email is closed?

Open mail and then export all the messages to a file in the .mbox standard format.

https://support.apple.com/kb/PH19174

There is wide support for parsing that file format or importing it into other clients if you wish. Apple's format changes for time to time and is optimized for tasks other than easy parsing like spotlight search, minimizing file system changes for time machine, etc...


Let's debug it.

Change shells and try again. (Credit to @Kent) In terminal:

$(which zsh)

Comment out all lines in .bash_profile, .bashrc, etc. and open a new terminal tab/window. If this resolves the issue, something being loaded into the shell environment is consuming the letter e for reasons that science may never be able to explain.
Try cating a file that contains the letter e to see if it will even display: (Credit to @techraf)

Open a text editor (not terminal)
Enter some text with a few es and save file (foo.txt?)
In terminal, cat the file:

cd /path/to/folder; cat foo.txt

If es render then the terminal can handle it, if not, then this is super weird.

Try applescript. (Credit to @ALX)

Open Applescript editor
Create Applescript file with these contents:

delay 10
tell application "System Events" to keystroke "e"

Execute the script file and then quickly navigate to the terminal window. In a few seconds it will virtually press the e key and hopefully show up in your terminal. This would indicate that there could be an input/device driver issue (though I am clueless as to what that might be)

I'm not going to lie, I am absolutely fascinated by this issue and cannot wait to learn what the cause is. It's not hardware because it works in other applications, which means it's software and I cannot imagine who would swallow the letter e with code.


How can I get Apple Remote working with the BT Home Hub?

May seem like a silly question, but did you changed SSID names when you switched to the new router? If so, make sure you connect both iDevices to the new network's name and reconfigure the Remote app.

Hope this helps!
Thomas

Edit: Are you able to connect to a website from your devices on the new network? And do you still have the old router broadcasting? I ask because maybe your devices are still connected to the old network, but your PC is on the new one. If you haven't already, try going to Settings >> Wi-Fi, and verifying that the network you're connected to is the same that your PC is on. If so, and it's still not working, reset your network settings and see if that helps


Rebooting a Mac with a frozen application

In the very rare occasion this has happened to me in the past, I started fiddling around with dtrace scripts to know what's going on. One ready to use script is opensnoop.

So, the next time you hit this issue, toy around with it as follows:

$ sudo opensnoop -ve

or limiting the output to what you'd expect:

$ sudo opensnoop -ve | grep -i chrome

Short-lived processes might not show up in your ps output, so another option is to us the function boundary tracing framework available to dtrace. Most probably, your OSX version will have simple entry points defined for the VFS layer (call it dump_vfs.d):

#!/usr/sbin/dtrace -s

#pragma D option quiet
#pragma D option switchrate=10hz

dtrace:::BEGIN {
    printf("%-12s %6s %6s %-12.12s %-12s %s\n", "TIME(ms)", "UID",
        "PID", "PROCESS", "CALL", "DIR/FILE");
}

fbt::VNOP_CREATE:entry,
fbt::VNOP_REMOVE:entry {
    this->path = ((struct vnode *)arg0)->v_name;
    this->name = ((struct componentname *)arg2)->cn_nameptr;
    printf("%-12d %6d %6d %-12.12s %-12s %s/%s\n",
        timestamp / 1000000, uid, pid, execname, probefunc,
        this->path != NULL ? stringof(this->path) : "<null>",
        stringof(this->name));
}

Calling it is similar to above:

$ sudo dtrace -s dump_vfs.d

A functionally close feat can be achieved by the fs_usage command, especially if you suspect said process to be hanging in an event loop, though still accessing the fs layer using system calls.

This might be a bit of an overkill, since the most pragmatic choice is probably hitting the power button. Since you mentioned that you sent a report to Apple, you might want to check it out again under the following locations:

~/Library/Logs/DiagnosticReports/
/Library/Logs/DiagnosticReports/

This should give you additional pointers as to why said application crashed in such a way.

Your curiosity with regard to the OS handling such situations can probably be partially quenched by looking into the XNU kernel sources at bsd/kern/kern_shutdown.c. At some point, the shutdown process initiated via Finder will run into a timeout, which then logs the attempts of failed SIGTERM (extract from my local version 2782.1.97 copy of the Darwin kernel sources):

    [...]
    for (p = allproc.lh_first; p; p = p->p_list.le_next) {
        if (p->p_shutdownstate == 1) {
            printf("%s[%d]: didn't act on SIGTERM\n", p->p_comm, p->p_pid);
            sd_log(ctx, "%s[%d]: didn't act on SIGTERM\n", p->p_comm, p->p_pid);
        }
    }
    [...]

This indicates that the Console application might show you the relevant log entries. Depending on a potential live lock situation regarding a file held on a network mounted partition which just lost its layer 1 signal, the kernel will enter a wait loop of 100 to 200 seconds, depending on some VFS mount timeout settings.

As a sidenote: I had very little joy stability-wise with Chrome on my MBP, mainly because I believe recent updates to the nvidia core driver inside OSX >= 10.9 together with elevated power management functionalities and now appnap, combined with recent advances in the shockwave plugin management of said browser, repeatedly caused havoc. On top of that, Chrome in 2014 for me was the most power hungry of all browsers.

There are probably half a dozen more scenarios as to why you were greeted with this unmotivated feedback GUI. None of which come even remotely close to the issues you briefly referred to by mentioning Win95 :).

Just hit the power button, already!


Rather than explaining it myself through text and possibly sounding confusing, I'll just link this video: https://www.youtube.com/watch?v=kh88cn_rtLo

I've popped off keys before in the same way he did, and it works just fine. Obviously for rearranging your keys in a Dvorak layout, you'll want to pull up a reference image on screen of what a Dvorak keyboard looks like, in case you haven't memorized it. And then just pop all the keys off, put the mechanism parts that go under the keys back on, and then put the actual keys on in the proper arrangement.

And it sounds like you've already switched your system input layout to Dvorak, but in case you haven't, it's really simple. Just go into System Preferences, then to Language & Text, then the Input Sources tab, and check Dvorak. Then check "Show Input menu in menu bar" and in the menubar you should see a new icon, and it should be the flag of your country keyboard layout if you haven't changed it before. Click that and you should be able to select Dvorak.


Turn off iMessage on computer but not on iPhone

In the Messages application on your Mac, go to

Messages > Preferences > Accounts
select your iMessage account
uncheck the "Enable this account" checkbox that is below your Apple ID.


How do I get the English United States international keyboard layout on my MacBook?

Go to system preferences/keyboard/input sources and use the plus and add buttons to activate the keyboard called US International PC.  Then select that in the "flag" menu at the top right corner of the screen.

If you must have the Windows version of what the Option/Alt key does, try this custom layout.


Requirements difference between Yosemite and Sierra

Here are the general requirements as specified by Apple:
OS X Yosemite

OS X Yosemite - Technical Specifications
General Requirements OS X
v10.6.8 or later
2GB of memory
8GB of available storage
Some features require an Apple ID; terms apply.
Some features require a compatible
Internet service provider; fees may apply.

macOS Sierra

MacOS Sierra - Technical Specifications
General Requirements
OS X 10.7.5 or later
2GB of memory
8.8GB of available storage
Some features require an Apple ID; terms apply.
Some features require a compatible Internet service provider; fees may apply.


Start Terminal application as separate app

You could download something like iTerm - it's a different (free) application entirely that acts as a terminal replacement with different UI options. In my experience it behaves exactly like Terminal with its own configuration, so it might be easier than creating a special instance.


How do you uninstall Keynote 6 but leave Keynote 5?

Open System Preferences and click on App Store

Uncheck "Install app updates" (and probably "Download newly available...")


Searching in iTunes 11 no longer filters column browser options?

To get the desired effect you can click on the "magnifying glass" icon and deselect "Search Entire Library". This prevents the Miniplayer version of the search and filters both your Column Browser and the list of songs (or artists/albums/genre).


Java DICOM viewer fails on MacOS Catalania (10.15.3)

These warnings are caused by Oracle tightening security in the JVM (which is unfortunately badly needed) but currently does not cause the process to crash.

Hence my guess is that something else has broken.  Without anything further to go on, I would guess (based on the exit code 13) that the Java DICOM viewer is 1) rather old and 2) links in native code, notably Java 6 (perhaps even 5) and native 32-bit library.

Unfortunately for you, modern Java versions are 64-bit only, and cannot use 32-bit libraries, so if I'm right the Java you have now will not run this program.  You might, however, have luck in getting the old Java 6 from Apple and use that instead, but only if you have not upgraded to Catalina.

I would look around for a newer version of the DICOM viewer on the net.  You might be lucky.


When I tether a MacBook Pro to an iPhone/iPad, how can I restrict what apps use it?

Check out Little Snitch.  It's intended to let you know what apps are using the network at what times, but you can use it's permission function to deny internet access for all apps except the ones you care about.

You can download it for free, it will work for 3 hours before you have to turn it back on again.  Or you can purchase the full version so that it's not time limited.

I have no affiliation with it, other than being a satisfied customer.

EDIT: additionally, it will let you setup different deny/allow profiles so that you can set it up once and then just "flip the switch" next time.


Apple ID for enterprise use - Mac's and iOS devices

Take it to an apple store. They will lookup purchase history from serial number and if it shows that the company paid for it, they will wipe it for you.


Can I use my iPhone 4 sim in another iPhone 4

Yes.
But beware of locked iPhones. Some iPhones might be locked to other wireless carriers.


Bootcamp - is it OK to delete windowssupport.dmg after installing windows?

Yes, you can.

windowssupport.dmg is a large but disposable file. System requires it once when you installing Windows. After that you've got no reason to keep it at your drive.


Viewing large number of pictures over network storage

Try Quick Look. Select all the images, press spacebar and use the arrow keys to view the images.


Is it possible to change the Finder sidebar icons


Sync ~/.gnupg dir between multiple Macs? (GnuPG / MacGPG)

Yes, it is certainly possible. The files in ~/.gnupg are just ordinary text files - there's nothing that "binds" them to one specific machine as such.
You can do it either by adding the files to an already-synced folder, and then linking them into ~/.gnupg - or by choosing ~/.gnupg as the folder where you want data synced to (you can choose that individually for each folder that you sync from Resilio).


How can I change my sender name in iCloud email?

iCloud is linked directly to your Apple account. You should be able to edit the details on your Apple ID here: https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/


Find iTunes songs with specific format (MPEG 1, Layer 2)

If the files have mp3 as the extension, mdfind kMDItemContentType==public.mp2 or searching for kind:mp2 in Finder won't work either.

You could try using mplayer's command line utility. It can be installed with Homebrew or other package managers.

IFS=$'\n'; for f in $(find ~/Music -name *.mp3); do mplayer -identify -frames 0 "$f" 2> /dev/null | grep -q 'layer-2 audio' && echo mv "$f" ~/Desktop/; done


How to navigate iTunes with the Apple IR Remote

You could try an app like Plex. It has a music component and is designed to be operated by a remote.


How to delete certain cells from Numbers?

The following example AppleScript code is one way to achieve what you are asking:
tell application "Numbers"
    tell document 1
        tell sheet 1
            tell table 1
                set the targetCells to a reference to (cells whose value is -999)
                set the value of the targetCells to ""
                set the targetCells to a reference to (cells whose value is 888)
                set the value of the targetCells to ""
            end tell
        end tell
    end tell
end tell

Notes:
The example AppleScript code, was tested in Script Editor under macOS Catalina with Language & Region settings in System Preferences set to English (US) — Primary and worked for me without issue1.

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

Note: The example AppleScript code is just that and sans any included error handling does not contain any additional error handling as may be appropriate. The onus is upon the user to add any error handling as may be appropriate, needed or wanted. Have a look at the try statement and error statement in the AppleScript Language Guide. See also, Working with Errors. Additionally, the use of the delay command may be necessary between events where appropriate, e.g. delay 0.5, with the value of the delay set appropriately.


Is there any reliable, repeatable way to find a folder on MacOS?

https://support.apple.com/kb/PH13433?locale=en_US explains better about file save location for the app. If you're doubtful, open Logic, try to Save a new project and remember the location.
Replying to your: "whatever unknowable scope it's searching in", there are two places where it is written that "This Mac" is being searched. So see there to find the scope.

You can add the folder Logic(if and when you find it) to the sidebar by dragging the folder to the Favourites.
You can go to Finder Preferences and set the folder under General -> "New Finder window shows" as your folder Logic. But you'd have to open a new window for that, so remember that shortcut as per File Menu in Finder.


What files do I edit to be able to maximize Finder windows to fill the screen by shift-clicking the green button?

Try to use an application like Slate, Amethyst, ShiftIt, or Spectacle instead.

If you use Slate, for example adding

bind m:alt move screenOriginX;screenOriginY screenSizeX;screenSizeY

to ~/.slate makes option-m maximize a window.


Apple Watch won't unlock MacBook Pro unless watch is restarted

This appears to have been fixed in macOS 10.12.2.
From Apples release notes:
Improves setup and reliability of Auto Unlock.
Today was the first day I haven't had to restart my phone and watch!


Mail.app message selection gets reset when clearing the search box

Answering (sort of) my own question.  When making the screenshots I added to the question, I happened to turn off the "Organize by Conversation" option, and it suddenly worked!  When clearing the search box, the selected message remains selected.

Moreover, this also happens:

Turn on "Organize by Conversation"
Enter some search term
Select a message
Clear the search box -- the message will be deselected
Turn off "Organize by Conversation"
The previously selected message is reselected

So I guess the "answer" is that "Organize by Conversation" is simply a shoddy feature that Apple bolted onto their mail client without caring too much how well it works.


Trying to Install WWW:Mechanize and Getting Localhost Error

I commented out ipv6 localhost in /etc/hosts to fix this.


Can I track my workout and listen to music with Apple Watch Series 2 without having to carry my iPhone?

You are correct on all three counts.

The Workout app will work without your iPhone, at least. Third-party apps might need to be updated to be completely independent. Strava, for instance, won't start without an active iPhone connection, but Runkeeper will.

Both the first generation WATCH and Series 2 support syncing of a single playlist up to either 2GB or 250 songs.


Why BlueTooth is activated after updating the iOS?

Apple turns on Bluetooth because of iBeacon. Also, as previously mentioned by @Andrew Larsson, AirDrop is also a major reason. See here for more details: https://www.yahoo.com/tech/this-is-why-apple-enables-bluetooth-every-time-you-80079149965.html

A quick Google search reveals many interesting results: https://www.google.com/#q=why+is+bluetooth+enabled+after+updating


I know my apple ID but don't know my iCloud id or password, is it the same?

An Apple ID is used to log in to iCloud services if you choose to use them. You can have multiple Apple IDs, but one is signified as the ’primary’ account and used for iCloud. When one asks for an ‘iCloud ID’, they refer to the Apple ID used for iCloud.

In this case, it seems a device has activation lock. You'll need the owner's Apple ID used for iCloud to unlock the device before you can use it.

Never give your Apple ID password to anyone.


Safari hijacked by Safe Finder. Change homepage preference greyed out

Deleting your Preferences properties file should do it.

Close Safari completely.
Open a Finder window and go to your Home folder (the one with your Username).
Go to the View menu, and select "Show View Options". (Alternatively, you can hit Command+J.)
At the very bottom of the options window, select (check the box) "Show Library Folder".
Now browse through these folders:
Library/Containers/com.apple.Safari/Data/Library/Preferences
Once you drill down to Preferences, you'll see a file named com.apple.Safari.plist.  That's your preferences file.  Delete it.
Re-open Safari. Your preferences should all now be back to default.  You'll have to set things back the way you had them before, but you'll be rid of the messed-up settings.

That should do it!


On Mac, is it possible to generate a folder structure in Finder's contextual menu?

You could use Automator with a Shell Script action. You can set it to take in "Folders" and use the below code (change the Shell Script action to take arguments instead of stdin).

cd $1
mkdir "[--] Unnamed Client"
cd "[--] Unnamed Client"
mkdir Fonts Photos Quotes "Raw Files"

The script moves to the folder you selected (cd $1). It creates a folder for the client and cd's into it. It creates folders for the contents.

If you're always making the folders in the same place, you could remove the input or change it to "Files and Folders" and change the first cd command to cd to the location where you want the client folder.


Accidently deleted some small sized partitions when installing WIndows(Bootcamp). OSX Partition wont boot

The snap shot of the distutil output helps, but I would have also included the output from the commands:

sudo gpt -r show /dev/disk0
sudo fdisk /dev/disk0

Either command would give me the exact start and size of disk0s1. I have read that the EFI partition is not necessary  to boot to OS X. My recovery flash drive does not have an EFI partition and I can boot using it. To create the image you posted, you had to boot your computer and that image does not show a EFI partition either.

The image shows me two things wrong. First, you are suppose to have a GPT partition scheme and what is shown is MBR. (Yes, I know, the letters MBR do not appear in the picture.) Second, the "0xAC" appears where there should be either "0xAF" or "Apple_HFS". This means you probably have a Core Storage partition. I assume you have installed Yosemite.

Assuming your partition is still intact and is a Core Storage partition, then do the following.

First: Run the above commands to get the start and size of the slice. Post something, if you can not understand the output.

Second: Reset the partition scheme back to GPT. Enter the commands:

sudo diskutil unmountDisk /dev/disk0
sudo gpt create -f /dev/disk0

Third: Restore the desired partition. Assume start and size represent the integers from the first step, enter the commands:

sudo diskutil unmountDisk /dev/disk0
sudo gpt add -b start -s size -t 53746F72-6167-11AA-AA11-00306543ECAC /dev/disk0

At this point, you should be able to enter the ls command to see a directory listing. If not, check the disk utility to see if the partition is mounted.

Fourth, try to boot the computer. You may need to hold down the option key at startup.

If you can access the partition and even boot the computer, you are not out of the woods yet. You will probably need to backup your stuff and reload the computer from scratch. Yes, reloading can be avoided, but that is the subject for a different question.

Also, you probably want to change the Core Storage partition back to HFS+. See if you can get the computer to boot, then we can address this problem.


At present, third party applications offer better access to photo metadata than the built-in Photos app on the iPhone.

For example, Photo Investigator, can show you the specific GPS co-ordinates recorded in the picture's meta-data. Photos contain GPS data that's only as accurate as your phone's GPS system happened to be at the time the photo was shot. For example, a Photo Investigator screen shot shows:

That gives you the latitude, longitude and altitude metadata. I'll caution that this is the exact same data that's used to show the pin for the photo in the Photos application. So it's not any more accurate, though it is text-based so you can use the co-ordinates in other mapping software like Google Maps or Google Earth if you don't like the way the location is rendered in the Maps app on your iPhone.


Extract an image file of my signature from Preview?

You can alternatively try to insert your signature in a blank pdf document, crop to take only your signature and then save the document as a PNG file.

FYI, it's seems that the signature is stored in a .plist file.
The file name is "com.apple.Preview.signatures.plist" and it's in folder : /Users/YourAccount/Library/Containers/com.apple.Preview/Data/Library/Preferences/

Hope this helps !


Mac Mini 2010: DualBoot (BootCamp) OSX Mavericks + Windows 8.1

I tried to use virtualbox by enabling it permissions access to my whole drive. This also did not work.

The only available solution, after extensively scanning the web, is to install with the native dvd drive.

However, I am surprised that the community has not defined a better solution. One where one can dual boot windows/ or, bootcamp windows in a macbook 2010 (for example) where the optical drive has been replaced by a second hard drive [without removing the second drive and reinstalling the optical drive]. I am also not satisfied with the cloning a drive option as this too requires removing drives and reinstalling and gaining access to a second mac.

I think that ubuntu (http://www.askubuntu.com/) may be able to define a solution using unix code to fix the problem once and for all!


Are there any gotchas with using two Apple IDs for one user in the App Store?

There are a couple of gotchas I'm aware of.

If you buy apps on both iTunes accounts, they all get listed together when updates become available, not just the ones on the account you're currently signed into.  So if you click 'download all free updates' iTunes will only download the updates for the account which is signed in.  This can be confusing because you've told it to download all free updates and it doesn't tell you why it hasn't downloaded the others.
If you have an Apple TV and you want to use Home Sharing, then you can only share the content for one account at a time.


Can a singe Dropbox'ed 1Password db be shared between 1Password v4 & v3?

See How do I use 1Password 4 in Snow Leopard or Lion?:

1Password 4 for Mac requires Mountain Lion or later.
If you are still rocking an older Mac, we’ve got you covered. We know that you store your most important information in 1Password — we do too! — so we made sure you could still use 1Password 3 for Mac on your older Macs if you need to. 1Password 4 for Mac can sync its data with 1Password 3 for Mac using Dropbox so there’s no issue using both. Access all your data, even on Macs that cannot be upgraded to Mountain Lion. Rock on!


Where does the name come from on Mail.app?

This is pulled from your 'me' contact in Contacts.app.


Are there any advanced options for a removable volume?

To Disable Automount
Getting the UUID
The first thing you will need is the volume's UUID (universal unique identifier) number, which can be found by opening Disk Utility, selecting the volume of interest, and then pressing Command+I or clicking the blue information button in the Disk Utility toolbar. In the window that appears, locate and copy the UUID, which is a string of alphanumeric characters separated by dashes.
Making changes to fstab
With the UUID, you can now create an fstab entry for the volume that prevents it from mounting:

Open Terminal.

Edit the fstab file by running the following command (supply your password when prompted):
 sudo pico /etc/fstab

Create a new line at the end of the file that looks like the following (note: replace "NUMBER" with the full UUID string you copied from Disk Utility):
 UUID=NUMBER none hfs rw,noauto

Save the file by pressing Control+O, followed by Control+X to quit the editor.
Perform these steps for each volume you wish to prevent automatically mounting, then restart the system, and they should no longer automatically mount. If you need to mount the volumes, then you can open Disk Utility and select them followed by clicking the Mount button in the toolbar, and they should become available in the Finder.


MacBook Pro couldn't find wireless network while other devices can. How to fix that?

Yesterday I've played with the router a bit (even though I thought it's not to blame) and figured that my country code (transferred via 802.11d) was set to TW (factory default I guess). And almost every other network has RU country code. So I've changed my router's country code to RU (lost couple of channels and ability to serve 802.11ac) and after that I haven't experienced any problems with connection (yet).

I think (not 100% sure though) that my other devices just ignore country code or don't use 802.11d protocol at all. And that's why only MacBook was affected.


I use Google services and probably you as well, I love the translate, the email, documents, reader (RSS), etc ...

So, why not using Google Contacts as your "middle men" and sync them with your Apple Mobile device?


How to remove/clear the old game data in Game Center?

If you want to delete your game data/s from the game center, you should simply go to your game center app and choose games option box at the bottom. Then, hold down your desire game that you want to remove and swipe it to the left. A remove button in red should appear after you done. Thanks me later. I hope this could help you a bit.


Thunderbolt display not charging MBP battery

I just did what AdamJ said, took my magsafe adapter off and clean it up with a toothbrush to remove dust. It really worked and now my thunderbolt display is charging my macbook pro! :)


Alfred command: switch finder directory in same window

You could do it installing this workflow: Open in Finder Tab.

Just type ot Directory and you will have it open on a new Finder tab.

If you want to open a directory in the same window without open a new tab, you could edit the workflow. Go to Alfred Preferences → Workflows → Open in Finder Tab.

You must right click on Run Script and select configure. It will appear the script source. Just delete the following line and will work.

tell application "System Events" to keystroke "t" using command down


Symbols appear instead of letters/numbers when typing on Mac

Your qwertyuiop result indicates that your machine thinks that both option and shift are being held down while you type.  The symbols are not random but exactly what is supposed to happen when those keys are depressed.  Normally this would indicate a damaged keyboard, especially if you try another one and it works ok.


MacBook Pro (Late 2011) sound issues in Windows 10 (no Bootcamp)

If anyone is still interested I have found the solution for audio on MBP 2011 Windows 10 UEFI installs - it has taken me 4 years to figure out. I was given the answer from a tutorial only adjacently related -here:
https://egpu.io/forums/pc-setup/fix-dsdt-override-to-correct-error-12/
essentially what we knew was that windows didn't 'see' the correct audio devices when booted in pure efi-
The part that was frustrating to me was that many users like myself have lots of UEFI installs on their 2011 MBP and those OS's have no problem 'seeing' the HD audio controller -
So what was windows doing different?
I had messed around with mm commands in a UEFI shell (The shell provided in the rEFIt package) to no avail*
I had tried to pass SETPCI commands from grub into Windows 10- no luck*
A quote from the link above got my brain spinning
"A Windows system's DSDT table root bridge definition (ACPI PNP0A08 or PNP0A03) is usually confined to a reserved 32-bit space (under 4GB) budgeted to be large enough to host the notebook's PCIe devices. A watermark TOLUD value is then set and locked in the system firmware. Windows OS honors the root bridge definition and will allocate PCIe devices within it. macOS ignores the root bridge constraints as too does Linux when booted with the 'pci=noCRS' parameter. Neither of those OS require a DSDT override and can allocate freely in the huge 64-bit PCIe address space"
So Windows 'honors' the root bridge and OSX and linux disregard it --hmmm interesting.
As someone who also deals in hackintoshes I am very aware of DSDT's and how editing them can help get OSX running on home brew PC hardware- I had played around with installing Clover (the UEFI bootloader almost synonymous with Hackintoshes) on USB thumb drives and putting the DSDT from my MBP 2011 in the /Clover/ACPI/Windows folder - still nothing-- I thought that pointing windows to a DSDT would be enough.......
A side note is that there are people who have 'bricked' their real Macs when using clover, I have never had that issue personally  (a sub-link in the link above describes such a situation)*
If you follow the guide and make a modified DSDT (one that add 'qwords' to the dwords section) you can test it in two ways-

I used Maciasl to extract and edit my DSDT to add a 'Qword' section - I placed the DSDT in two locations /EFI/Clover/ACPI/Patched [not sure if that one matters] & /EFI/Clover/ACPI/Windows
holding ALT/option during bootup I selected "EFI Boot" from the USB clover and booted into Clover
for the exact Clover configuration send me a message
After booting into windows the sound card was immediately working (this was because I had installed the cirrus logic drivers from bootcamp 4) - the display audio driver in device manager had an exclamation point but I was able to install the display audio driver from intel's driver support for the i7 2470m CPU in this machine-

I also looked at device manager via 'by resources' and saw that a new entry 'Large memory with an address range appeared

And low and behold the address range for the 'large memory section' contained the range for the hd audio controller

I then wanted to see if the method described in the initial link posted above where you force that memory map into the registry and turn on 'test signing' worked --
it did, which allowed me to boot directly into windows without the help of clover --
*NOTE: when I tested the registry method I skipped the first few steps since I already had a modified DSDT- I did need to create the 'C:\dsdt folder and extract the windows binaries to that folder - but I did not use their acpi dump nor compiler (I check for errors and compiled my dsdt in Maciasl in OSX)
I would gladly go more in depth but I doubt there are many more who need this information- just glad to have figured it out without the BIOS emulation of bootcamp- going to test this method on other 'pre 2013' Macs with non complient UEFI bios'


App for fitness videos requiring merging, trimming, changing audio and speed adjusting in Instagram videos for iPhone?

Working in progress, community effort.

Clipper due to its fast speed and Videoshop due its customisation capabilities are recommended for recreational fitness videos like the video in the question. Please notice that Clipper loses your edits and can only edit one production at a time!

Full-scale almost-desktop-feeling with all kind of bells-and-whistles

iMovie (loading, big product...meant for Movie/Hollywood level stuff, overkill -- so much unnecessary adjusting!)
Videoshop (speed adjusting for each clip, audio for the whole production, possible to work with many productions at a time, unstable and slow to use)

Improvisation producs that make uploading super fast

Clipper (missing speed adjusting, only possible to work on one production at a time -- and clears up memory so you lose your production after a while, bad)
Replay (speed adjusting over the whole production, imposible to specify, example here)


git is broken: "Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo"

OK, I found the problem:  the message was coming from the remote git server, not the client side.  I ran sudo xcodebuild -license on the server side (where the repo is located and the git server is running) and the problem went away.  Sigh.


How to modify text selection in applescript in an automator service

So as I've learned, there are/were only 3 ways to manipulate the selection in Terminal by entering/using a length value (or via a series of keyboard presses).

Accessibility Inspector shows that it should be possible to programmatically manipulate the selection length, because you can edit an existing selection length using the len field in the "Selected Text Range" in the "Advanced" section by clicking edit and entering a new number, as seen in the screen-cap: https://www.dropbox.com/s/bn2z6ewmdj4mfai/Accessibility_Inspector-selected_text_len.png?dl=0

The "Selected Text Range" Property/Attribute(?) does not appear to be accessible in AppleScript, though if it was accessible, it would be here: (text area of (scroll area 1 of (splitter group 1 of (front window)))) if you have enabled UI elements in your Applescript.  It might be possible to access these values, as @CJK indicated in the comments via Objective-C.  Applescript however, even if it could access the variable, likely wouldn't have the ability to alter it.

One useful feature to see what applescript can manipulate or has access to is to simply return attributes or return properties.  For example:

tell application "System Events"
    if UI elements enabled is false then
        set UI elements enabled to true
        if UI elements enabled is false then error "Can't do it"
    end if
    tell application process "Terminal"
        tell window 1
            tell splitter group 1
                tell scroll area 1
                    --return properties
                    return attributes
                end tell
            end tell
        end tell
    end tell
end tell

This method, as of OS X 10.8 no longer works, but making a selection in Terminal using the keyboard used to be possible, as described here.  All you had to do was hit Command-Option-Return, navigate to the region you want to select with the arrow keys, hit return, select from the cursor position using the arrow keys, and hit return.  I searched for the ability to re-enable this feature, but came up dry.
There is a way to select text in the Terminal using the keyboard, but it's very limited.  You can select text between "marks" using Command-Shift-A (not including the lines that the marks are on).  Marks are added by default on every command prompt line.  However, you can add marks by right-clicking a selection and typing Command-U.  Marks are only per-line however, not specific to the selection start/stop on a line.  If you right-click any unselected text that is soft-wrapped (i.e. multi-line string) and add a mark, a separate mark is added for every soft-wrapped line.  You cannot select text between multiple marks, nor is it possible to add marks via applescript, thus it's not possible to use this to adjust a selection length programmatically.  More info on marks can be found here.

I had also explored what the arrow keys are supposed to be able to do, since shift-{left,right}-arrow for me enters the strings ";2C" and ";2D" with a beep on the command line for me.  So I removed those entries from the table in Terminal -> Preferences -> Profiles -> Keyboard to prevent that.  I had hoped it would allow me to select text (at least on the current line prompt) using shift-arrow but all it did was move the cursor without selecting.

However, given the goal of this endeavor (to see where a coordinate is in a selected string), you can accomplish this via a dialog box from the Automator service using an Applescript.  All you have to do is present the selection in a dialog box and if the target length is longer than the selection, you have to fill the remaining characters with a dummy character ('N' for DNA).

You can do this strategy conditionally, only when Terminal is the frontmost application.  Note, this is not the entire script - just a snippet, but you can see the entire script here, which contains lots of bells & whistles unrelated to this question.

--Check the length of the selected text passed in
set character_count to count characters of ((input as string) as string)

set lengthen to false
set mod_length to character_count - n
--Figure out whether the selection must be lengthened or shrunk
if character_count is equal to 0 or n is greater than character_count then
    set lengthen to true
    set mod_length to n - character_count
end if

--See if we're in Terminal
set isTerminal to ((name of first process where it is frontmost) as string) is equal to "Terminal"

if isTerminal is true then
    if lengthen is true then
        set substr to (input as string)
        repeat mod_length times
            set substr to substr & "N"
        end repeat
    else
        set substr to text 1 thru n of (input as string)
        set substr to substr & (text (n + 1) thru character_count of (input as string))
    end if
    ignoring application responses
        display dialog "Length " & n & " is selected below:" default answer substr buttons {"OK"} default button 1 with title "Selected Character Position"
    end ignoring
end if

--Trick to make sure arrow presses affect the right side of the selection instead of the left
if not (character_count is equal to 0 or n is greater than character_count) then
    key code 124 using {shift down}
    key code 123 using {shift down}
    key code 124 using {shift down}
end if

repeat mod_length times
    if lengthen is true then
        key code 124 using {shift down}
    else
        key code 123 using {shift down}
    end if
end repeat
delay 1

That will effectively accomplish the end-goal.  Unfortunately, the position has to be marked with a text marker in a variable-width type face since dialog boxes don't allow formatting or automatic selection of text.


Emoji viewer constantly popping up in input fields

I faced the same annoying bug with emoji viewer in macOS Mojave (10.14.6).

Possible solution

In case of multiple input sources, try to delete one of them (System Preferences -> Keyboard -> Input sources) and add deleted one again. System restart was not required in my case.

If you have only one default input source, try to add some another and then delete it.

I hope this solution comes in handy


screenshot showing dimensions 2880x1800 but resolution 144x144

Dimension is the actual height and width of the image in pixels.

Resolution (or DPI) is the number of pixels in a square inch.


Clash of clans switching accounts in one device

Try reinstalling the game. If that doesn't work, sign out of Game Center, delete the app, reinstall it, and you should have a new base. Then, when you sign back in with game center, it should ask if you want to merge the bases.


Is this display problem of my MacBook Air a GPU issue?

Artifacts on the screen like that are typically graphics chip issues (logic board).   However, there is the possibility that it could be related to the OS.  There are a few diagnostic things you can try:

Boot in Safe Mode
Install macOS onto a USB drive and boot from that (32GB or 64GB flash disk is fine.  Make sure it’s USB 3 or it will be slow
Erase the drive and do a clean install of macOS

This is roughly the order you should try things out to see if you can fix or narrow down the cause of the problem.  You can always take it in for service and I encourage you to do so especially if under warranty.


Time Capsule is actually just an AFP host.  You can configure any device that serves the AFP protocol to be a Time Machine backup destination.

However, if the device does not support AFP, it takes some work on the client to get TM to use it as a destination.

You can see the results of that question here:
Time Machine over SMB/CIFS share?


No the first Mac Pro with a USB 3 port is the latest (6.1, late 2013)

From the specifications for your particular Mac Pro:

  Connections and audio

  Four FireWire 800 ports (two on front panel, two on back panel)
  Five USB 2.0 ports (two on front panel, three on back panel)
  Two USB 2.0 ports on included keyboard
  Front-panel headphone minijack and internal speaker
  Optical digital audio input and output TOSLINK ports
  Analog stereo line-level input and output minijacks
  Multichannel audio through Mini DisplayPort

A quick Google search shows several PCI Express USB 3.0 cards, e.g.,

Sonnet Allegro USB 3.0 PCIe
CalDigit SuperSpeed PCI Express Card
HighPoint RocketU card


How to change the location of an updated or newly downloaded App in iTunes?

On windows you can't redirect only these two folders (on OS X and Linux you can) - BUT you can move the whole "iTunes Media" folder to D: then all updates will go there.

In iTunes "Edit > Preferences...->Advanced Section" you can change the location of the media folder - the new folder on D: doesn't need to have the name "iTunes Media", it just need to have the same structure as it had on C:.


Which OS X is the fastest for my old MacBook?

I have the same machine & spec, and have not noticed any slowdown when operating at the latest supported version of Lion when compared with previous versions. Of course, this is purely anecdotal, but reviews have also fairly repeatedly suggested a slight increase in basic speeds incrementally with new versions.

One this is for sure, throw in a cheap SSD of the same size as your existing disk, and it will fair fly compared whatever it feels like now.

Compare, for example, your specs to my Macbook Air 1.6Ghz Core 2 Duo, 4Gb RAM and SSD, which supports ML and feels faster than my 2.93Ghz iMac with 8Gb on the same OS (or did until I put an SSD in the iMac).

Put simply, your CPU and RAM can handle whatever you want to run just fine.  Your disk may start to feel the pinch a little, but small SSDs are very cheap these days and will easily make your machine feel like new - that particular macbook is at the sweetspot of benefitting most from an SSD for the least money.


egrep: empty (sub)expression : Unexpected behaviour for bash Loop on Mac

The shell expands the subexpression $file on the right hand side of the pipe before the variable has any value. So in both functions egrep is actually called with the empty string in place of $file. The first function doesn't throw an error because an empty pattern is a valid parameter for egrep both on macOS and on Linux. In the second fucntion the difference comes into play because the empty subexpression causes BSD egrep (the one used on macOS) to throw an error.

Example:

echo foo | egrep "|foo"
egrep: empty (sub)expression

as another example with $file having no value

echo foo | egrep "$file|foo"
egrep: empty (sub)expression

So, as a workaround in your function use:

egrep -e "$file" -e 'OK'

I have no idea why you are using egrep when you are looking for fixed strings.


Strange behavior within MS Word: using Command-Shift-L launches Safari sometimes

The issue was a bit difficult to find: that shortcut is linked to "Search with Google".  But the result is that Safari is launched - with whatever is in the clipboard as the search query to google.

The resolution is to uncheck the "Search with Google" checkbox in the services | shortcuts | searching area.  Afterwards the Mac shortcut for bulleted paragraph works properly (and always)


If you connect your iPad to your mac via its lightning cable and then open up iTunes, the iPad will show up as a device.

Click on it to bring up an info page that has an overview of everything stored on your iPad. From here you have to option to do a full back up by clicking the back up option. This will save all of your user data (including files added to iBooks app) in a back up to be stored on your mac.

You then have the option to update iOS in iTunes, you can't update to 8.x unfortunately, you'll have to update to the latest version of iOS 9.x whatever that may be when you do the download.

Alternatively after you've done the backup you can unplug your iPad and download the update via wifi from within the settings app of the iPad.

Hope this helps


Why won't Time Machine work with a drive connected to an Airport Extreme?

I have had this working fine, just by initialising a backup over local USB, then moving the drive to the AE, and selecting a the same drive over the network location.  All worked fine.


How to stop iPhone users from unintentionally sending texts to my email address

Open the messages app on your Mac.
Open preferences from the Messages menu at the top of the screen.
Select the Accounts tab of the preferences window.
Uncheck enable this account

In future iPhone users should not find that messaging you defaults to an iMessages and rather to a SMS message.

The following video demonstrates these steps:

https://youtu.be/C5ilqv8NruE

This is a particularly nasty ongoing bug which does not rely on ever having had a iPhone and is particularly difficult to detect because the sender thinks they have sent you a text message(s) and the (non-)receiver is none-the-wiser that they are missing any messages/ignoring someone.