How do I re enable a permanently disabled Notification Center in Mavericks? I disabled my notification center but i want to re enable it again i followed this link "How do I permanently disable Notification Center in Mavericks?"

If you ran sudo defaults write /System/Library/LaunchAgents/com.apple.notificationcenterui KeepAlive -bool False, it actually disables Notification Center because it changes the permissions of the plist from 644 to 600. If you change KeepAlive to false some other way that doesn't change the permissions of the plist, the NotificationCenter process is still started at login but it is not relaunched if it terminates for some reason. To undo the changes, run f=/System/Library/LaunchAgents/com.apple.notificationcenterui.plist;sudo defaults write $f KeepAlive -bool true;sudo chmod 644 $f;launchctl load $f.

If you ran launchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist, run launchctl load -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist. launchctl unload -w modifies /var/db/launchd.db/com.apple.launchd.peruser.$UID/overrides.plist and sudo launchctl load -w modifies /var/db/launchd.db/overrides.plist, so you could also edit those files directly.


What screen capture apps for OS X exist as alternatives to Fraps? What is the best alternative to Fraps for the Mac?

What should it do:

In-game screen capture.
Record audio from both microphone and system audio at the same time
Fast
(Optional) Video compression.
(Optional) Ability to display framerate (FPS)

My suggestions:

iShowU HD – great app, can record in-game videos, records both microphone and system app, compress video and still fast; $29.95.
QuickTime – records audio only from system input, supports in-game screen capture, slower then iShowU HD, but still smooth, free and built-in.
Krut – Ugly interface, very buggy.
Screeny – No demo available; $14.99


How can I add a web link to Launchpad? I would like to have my web apps show in Launchpad. Is there a way to do this?

I search for something like this but only found one solution, and this is a program not available in the App Store. I think there is more than one solution.

You can use Script Editor and AppleScript to create an AppleScript application which opens the URL in a new tab in Safari, as in the following example:

set theURL to "https://apple.stackexchange.com/questions/293859/how-can-i-add-a-web-link-in-launchpad"

tell application "Safari"
    tell front window
        set current tab to (make new tab with properties {URL:theURL})
    end tell
end tell

Change the value of set theURL to "..." to the appropriate URL, and then save this as an application to the Applications folder.

It will then be available to Launchpad and Spotlight, as well as other ways and means to open any other application.

You can also change the icon of the app, and there are instructions on the Internet on how to do that. E.g., Create custom icons for files or folders on Mac. Also, if you want to go the more technical route, have a look at: Create Your Own Custom Icons in OS X 10.7.5 or Later

If you use a different Browser then Safari, the code can be modify as necessary for that particular Browser.

For Google Chrome:

set theURL to "https://apple.stackexchange.com/questions/293859/how-can-i-add-a-web-link-in-launchpad"

tell application "Google Chrome"
    tell front window
        make new tab with properties {URL:theURL}
    end tell
end tell

For Firefox:

set theURL to "https://apple.stackexchange.com/questions/293859/how-can-i-add-a-web-link-in-launchpad"

tell application "Firefox"
    open location theURL
end tell

If you get an warning like "YourApp.app" wants access to control "Google Chrome.app" every time you run it, you may need to give it Full Disk Access. Go to System Preferences then Security & Privacy then Privacy then Full Disk Access, and add your app to the list. See this answer for more.


macOS custom keyboard layout is removed each restart of the OS I copied my custom keyboard layout into /Library/Keyboard Layouts. After that, I can easily choose from System Preferences → Keyboard → Input Sources, and it just works fine. But whenever I restart the computer, the previously added keyboard layout is deleted automatically and has to be added again The computer does not delete the files inside the /Library/Keyboard Layouts directory, it only deletes the entry in System Preferences.

How do I resolve this issue?

Try putting a copy of your custom keyboard layout in ~/Library/Keyboard Layouts directory. The Library directory in your Home directory is hidden by default. To enter it, click Go in Finder menu, press and hold the Option key to reveal Library option.


How to easily and completely disable/enable WLAN (so it cannot be turned on again while travelling)? Without going into specifics of why I might like to do this, or whether this is a good idea or not, I would like to know how I can disable use of wireless networking on my MacBook Air, either via removal of software or drivers or similar, such that the machine is unable to connect to a WIFI network in any way without I undo those changes.  The intention is for the machine to be unable to communicate wirelessly when out of the house, and for those changes to not be easily reverted until I return (for example requiring some piece of external storage that does not travel with me and which contains copies of whatever I have removed).
How can I easily remove and then re-allow WIFI access (without losing my stored profiles/passwords or disturbing anything else)? Is it possible to simply copy a certain app or plugin to an external drive, delete it from my laptop, and later copy it back, again having everything as it was before?

One year later
I have been happily using Daniel Lawson's solution below for quite some time now. I have created two applications with automator, one that deletes the .kext, one that restores it from an USB stick.
First, copy /System/Library/Extensions/IO80211Family.kext to a USB stick and leave that stick at home.
Open Automator, select to create an "Application", then choose "Utilities" from the "Library", then "Execute Shell Script". (I'm translating this from my German menus, so the exact names may differ.)
For the "Disconnector" app, enter the following into the text area of the "Execute Shell Script" event:
echo YOUR_ADMIN_PASSWORD | sudo -S rm -rf /System/Library/Extensions/IO80211Family.kext

Replace "YOUR_ADMIN_PASSWORD" by your admin password. Then save the app and drag its icon to the Dock.
Now, when you are sure you want to be free of all online distractions, click the app icon, and the IO80211Family.kext is gone. Just restart your laptop and you can no longer connect to WLAN:

For the "Reconnector" app, enter the following into the text area in Automator:
echo YOUR_ADMIN_PASSWORD | sudo -S cp -r /Volumes/NAME_OF_YOUR_USB_STICK/IO80211Family.kext /System/Library/Extensions/

Replace "YOUR_ADMIN_PASSWORD" by your admin password and "NAME_OF_YOUR_USB_STICK" by the name of your USB stick. Save the app etc.
Now when you return home, insert the USB stick that carries the IO80211Family.kext into your laptop, click the Reconnector app icon and then restart your laptop. Now you can connect to WLAN again.
Note.
There are some security issues invovled when you echo your admin password, because by that it is written to the shell history and can be found there. I don't care, but you might, depending on your circumstances.

Discussions of willpower aside, my research suggests that the file you need to copy to the USB stick and later restore is /System/Library/Extensions/IO80211Family.kext. This will require a reboot to take effect.

Before removing any system files, be sure you have a working bootable backup of your system and time on hand to restore things should anything go wrong. I have not tested this solution on my system and am not willing to do so.


Custom Caching Limits for OS X Server In Server Manager, you can set predefined limits for the caching server. Is it possible to set a custom limit? Maybe through Terminal? How do I do this?

I want to limit caching to 100GB but my options are 25GB or 270GB or 755GB or Unlimited.

Your options aren't limited to the numbers printed below the scroll bar. You can drag between the options to select a value closer to your desired value:

You can set custom values if you really want to though. The cache size is stored in the CacheLimit key in the configuration plist which is located by default here:

/Library/Server/Caching/Config/Config.plist

<key>CacheLimit</key>
<real>268586281855</real>

The integer is bytes.


Is it normal for Safari tabs to use 1 GB ram? Less than one hour ago I opened a few tabs on Safari. One of them is using 1 GB of ram for some reason. It's version 13.0.5.

What are the reasons behind this? Should I shut it down? Restart? Clear caches?

Safari can be a resource hog, particularly if you have a lot of tabs or windows open to graphics-intense sites, so this doesn't actually surprise me. If you turn on the 'Compressed Memory' column in Activity Monitor — from the menu bar: View → Colums → Compressed Memory — you'll likely see that that most of this memory usage is stuff that's been compressed and shunted off to virtual memory until it's needed.

For a comparison, I've been doing a lot of AppleScripting recently and so Activity Monitor reports that Script Editor is taking up 3.39 Gb of memory, with 2.79 Gb in compressed VM storage. MacOS has sophisticated memory management; as long as you're not seeing strange behavior — e.g. slower than normal response times — you shouldn't have to worry about it.


AppleScript and Finder - How to detect an "empty" selection when copying paths to the clipboard (Expanded Question) I'm trying to build a Service that does the following:

If some folder/files are selected in Finder, copy (all) the paths to the clipboard
If nothing is selected, copy the "Path" of the window.

Digging around and getting inspiration from posts such as Copying the current directory's path to the clipboard and MacYourself's Copy file or folder path to the clipboard in Mac OS X Lion I've got to the point where I can get the paths of the selection, but I seem to be stuck when trying to get the path of the current window if selection empty.

UPDATE 13-Dec-2013. I've got some useful feedback (see https://apple.stackexchange.com/a/113612/7488; thanks @Flavin) so I have updated the code to the one below:

    on run {input, parameters}

        set l to {}
        tell application "Finder"
            set sel to (get selection)
            if not sel = {} then -- there are some file/folders selected

                repeat with f in (get selection)
                    set end of l to POSIX path of (f as alias)
                end repeat

            else --no stuff is selected, get the current location path

                set end of l to POSIX path of (insertion location as alias)

            end if
        end tell
        set text item delimiters to linefeed
        set the clipboard to (l as text)

    end run

The logic seems solid, and it works as long as I have "something" selected in Finder.

I suspect that the Service might not be "Active" when there is nothing selected, (that is, when the desired result would be to copy the current path to the clipboard).

In this situation, the Finder window appears thusly:

But trying to active the Service shows an "empty" service list:

When I have something selected, the Services list is populated:

The "Copy File Path" that I've defined is associated with "Files and Folders" in the Services Preferences -- what might be the issue?

I think = is what you're looking for.

set sel to (get selection)
if not sel = {} then
    --stuff is selected
else
    --no stuff is selected
end if

Or remove the not and flip the cases

set sel to (get selection)
if sel = {} then
    --no stuff is selected
else
    --stuff is selected
end if


I can't delete in tmux I have searched around and the closes thing I could find to my issue is this:

https://stackoverflow.com/questions/23848061/cannot-get-delete-key-to-work-with-tmux-and-osx

I am running OSX and I am using iTerm2.

When I go into a tmux session my delete key does not work. I also try to use Ctrl+H and Ctrl+?, which those are not doing anything for me.

In iTerm preferences->keys, I have delete sent to ^H. In preferences->profiles->keys, I also have the box checked, Delete key send ^H.

Vim is able to delete in tmux but from the command line I can not.

.tmux.conf

# Set default term
set -g default-terminal "xterm"

# remap prefix to Control + a
set -g prefix C-a
unbind C-b
bind C-a send-prefix

# force a reload of the config file
unbind r
bind r source-file ~/.tmux.conf

# Start number at 1
set -g base-index 1

# UTF-8
set-option -g status-utf8 on

# supposedly fixes pausing in vim
set -s escape-time 1

# set default terminal
set -g default-terminal "xterm-color256"

# Vi copypaste mode
set-window-option -g mode-keys vi
bind-key -t vi-copy 'v' begin-selection
bind-key -t vi-copy 'y' copy-selection
bind p paste-buffer

unbind %
unbind '"'
unbind [
bind | split-window -h
bind - split-window -v
bind ^C-s copy-mode
set-option -g default-shell /bin/zsh
setw -g history-limit 10000

#quick pane cycling
unbind ^A
bind ^A select-pane -t :.+

# Clear pane
bind C-l send-keys -R \; clear-history

# add airline to tmux status bar
if shell "test -f ~/.tmuxlinesnapshot" "source ~/.tmuxlinesnapshot"

Any help would be much appreciated!

Tmux uses ^? for delete. stty was not sending ^?.

I changed that using stty erase '^?' and then changed my preferences in iTerm2 for delete to send ^?

https://github.com/tmux/tmux/issues/335


Intermittent input delay on keyboard (MacBook Pro 2018) I picked up the 2018 15" MacBook Pro recently, and right away I'm noticing the slightest amount of input delay on the keyboard. It doesn't always happen, but it's noticeable when it does - the typing cursor sometimes visibly lags behind when I'm typing.

It seems like it's happening a lot in Chrome specifically, though it happens in other applications. I could just be using Chrome a lot more than other applications.

Sometimes I can't tell if it's even input delay or just general slowness, for example when switching windows with CMD+TAB sometimes the window change animation is slower (it looks like I can briefly see the current window go from opaque to semi-transparent).

Has anybody run into the same problem, or does anybody have any ideas on how to verify whether this is happening? I notice it very clearly when I'm using my Mac, but since it's so unpredictable I'm skeptical of how reliable my observations actually are.

I think I remember a problem from long ago related to the Dock. Try opening /Applications/Utilities/Terminal, then executing "killall Dock" (It comes right back). This may just be a workaround and you might have to do it whenever you experience the problem.


How to switch off the GPS (but not disable location tracking) on an iPhone? Is there any way to switch off the GPS on an iPhone 4, so that the location tracker application can use GSM instead (this is only to save my battery)?

It can't be done.  It really depends on the application that is requesting your location.  App Developers, when requesting the device's location, can choose how accurate of a location they need.  If they decide they need less accuracy, then iOS will only fire up WiFi or use GSM to determine the approximate location.  If the developer decides they need very specific location, then the phone will fire up the GPS.


Terminal Command to display a single line from a text file in OS X I want to display at a specific line, e.g. line 4, from a text file in Terminal (I need this for character counts, using wc). I'm sure this is a simple problem but read -e 1 filename doesn't do it.

What can be used to accomplish this task?

You can use sed command:

sed -n '4p' YOUR_FILE

Or head/tail combination:

head -n 4 YOUR_FILE | tail -n 1


/usr/include vs /usr/local/include I just discovered that on my MAC /usr/local/include is a symbolic link to usr/include (since about 9 months), causing problems with homebrew.
I wonder whether this link is normal? harmless? Is there a way to disentangle that (make /usr/local/include an independent directory containing those files that belong there (which ones are that?) and keep the rest in /usr/include/)?

As you say it is a mess and there is no easy way to undo this as it is difficult to tell which ones were installed from which source.

The ones which should be in /usr/include come from OS X directly or Xcode and its command line tools.

So in theory you can identify which are Homebrew and which are not.

If you could then remove the /usr/local/include link mkdir a new /usr/local/include then mv the Homebrew items from /usr/include to the new dir. Then reinstall OS X and Xcode command line tools (the latter might be sufficient).  However I think this is not going to be doable in practice. So delete the link and directory and reinstall OS X, Xcode command line tools and Homebrew.

If all your builds have /usr/local/include as the first include directory then you won't have any issues but that is ALL builds. (for example python builds that use C in setup should use the same includes python was built with so should use /usr/include)


Making the active window more obvious in OSX From an accessibility point of view there are many people who find it easier to control their computers by (effectively) the keyboard, rather than the mouse.  One of the things that comes up semi-regularly is mistakes caused by not realising which window is the active one.

I'm looking for a tweak or even a program that makes it easier to see which window is the active one in OSX. I'd like like something that just, for example, dramatically increased the shadow, or boardered the active window in Red.

I just installed Honer and it rocks! It draws a border around the active window, defaulting to red, which makes it very obvious which is the active window!

Here's the before and after screenshots.

You can choose the colour, width and transparency of the border. It's exactly what I personally have been looking for!


how to prepare two SSDs after upgrade (merge to fusion drive or not, terminal commands) I just upgraded the CPU of my 2015 27" Retina iMac and while I was in there I took out the 1TB HDD and replaced it with a 512GB Samsung 850 Pro SSD. Now I'm ready to set it all up, but I'm not sure how to best proceed.

I know the SSD will be on a relatively slow SATA III bus
I know the blade SSD is 24GB and on a faster bus
I know I could use external Thunderbolt for a faster experience (should have considered this but too late)
I've read mixed opinion on merging the two SSDs into a fusion drive, but most people suggest against it, since:

the speed of both drives will be reduced to the slower of the two
if one drive fails I will lose everything

I currently think I should keep them separate and use the 24GB SSD for the OS and use the other SSD for the home folder. Does this seem like a good way to proceed?

I am not sure which file system to use (APFS?)

I am not sure if I should be doing something with TRIM to extend the lifespan of the drives

If anyone can help guide me I would appreciate it. Thanks.

I would recommend to go for the Fusion drive. I am using a Fusion drive with a SSD (128 GB) and a HDD (3 TB) in my iMac for six years now, not a single problem and definitely much faster that a plain HDD. With that experience, I recently bought a new iMac with a 1 TB SSD and added an internal 4 TB Samsung 860 EVO. I combined them to a single Fusion drive (APFS on Mojave) and speed tests show the speed of the NVMExpress bus, which is about four times faster than SATA (with these drives). So far there haven't been any problems.

24 GB is not that much nowadays, and as a separate startup dive, for example, you will run out of space soon. But if you use it as a fast cache for the SDD on SATA, you have 24 GB more space and you can let the OS decide what to put on the faster drive. This will give you some speed advantage.

I would opt for APFS as file system if you use Mojave (10.14) or higher.

Apple has a support document on how to combine two drives to a Fusion drive. According to that document, the simple Terminal command diskutil resetFusion (after booting in recovery mode, of course) should do the trick on Mojave. Unfortunately, this only works if one drive is a HDD. If you want to combine two SSDs, you have to use the following commands (which destroy all the data on your disks!), and it is important to state which drive shall be the main (faster) drive.

Boot into recovery mode (cmd-R) and open Terminal. Look for the names of your drive partitions:

diskutil list

Let's assume the biggest partition on your blade disk is disk0s2, the biggest partition on the SATA SSD is disk1s2:

diskutil apfs createContainer -main disk0s2 -secondary disk1s2

Find out the name of the Fusion container:

diskutil apfs list

Let's assume the name is disk3. So finally create a volume named 'MacSSD' (or whatever) in that container:

diskutil apfs addVolume disk3 APFS MacSSD

Afterwards, you can install macOS again or restore your drive from the backup to the Fusion drive.


Is there a way to convert a video from iOS (QuickTime) format to Windows (WMV or AVI) format? I recently purchased an iPod 5 and had the opportunity to take videos with it. The videos are great; but, I have a problem.

I would love to be able to convert these videos from their original Quick Time format to something that my computer "prefers" playing such as WAV or AVI.

Is there a way to do this without using an online converter (which I would really prefer not doing)? I have immediate access to Windows Media Player, Movie Maker and Quick Time. Any help would be appreciated!

Videos recorded with iOS (your iPod 5) have the extension "MOV", but they are normal "MP4" (containing H.264 and AAC). Which means that you can change the extension to "MP4" and they will be playable on Windows.

In this case (recorded on iOS and with the extension "MOV") it is not necessary to convert these files. Same for "M4V" and "M4H" (other extensions which are used sometimes by Apple products on iOS).

There are two ways to change the extension of a file for Mac users:

Directly in the Finder

Select the file
Hit ENTER to edit the filename
Select the extension "MOV" (without ".")
Change the extension to "mp4"
Hit ENTER to exit editing

In the Finder information window

Select the file
Select "Information" in the File menu (or press CMD + I)
Select the extension "MOV" (without ".") in the field "Name & Suffix"
Change the extension to "mp4"
Close the information window

Both ways will show a dialog to confirm the changed extension.

For Windows users, please read the help from Microsoft.

Uppercase or lowercase of the extension is the same, but I prefer lowercase.


How to show TV from a coaxial cable on an Apple Thunderbolt Display I'm leaning towards replacing my current monitor (an LG) with an Apple Thunderbolt Display. The display would mostly be used with my computer but I'd like to be able to watch TV with in occasionally. I don't see any way of getting input to the display other than via Thunderbolt in the manual. My TV signal arrives via a coaxial cable. How could I get the coax's output onto the display? I'm aware elgato makes a product that could get the signal onto my computer, whose output I could then show on the big display. But is there a configuration that wouldn't require my computer to be in the loop?

You might consider a TV tuner with HDMI output like this:

http://www.newegg.com/Product/Product.aspx?Item=N82E16815260027

Then an HDMI to Display Port or Mini Display Port (Thunderbolt is backwards compatible with Mini Display Port. Display Port would need an adapter to the Mini variety) like this:

http://forums.macrumors.com/showthread.php?t=962633

Shop around for devices such as these. No idea how well any setup would work, I'd love to hear back how well it works out.


How to remove a book from a Books collection In Books app we can organize books in collections. We can have multiple collections and a book can even be in multiple collections.
But how can I remove a book from a collection? I don't mean to delete the book.

On my iPad I select the collection, then find the book and then click the three dots at the right of the book icon.
I then take the bin icon and that asks me to confirm I want to remove it from the collectIon I am in.
It does not delete it from the library or other collections at this point.
Not the greatest idea to use the same icon as the delete function! :-O


Activity Monitor columns missing My Activity Monitor does not have any columns that show more details about each process.

I've already ensured that under "View" in the menu bar, the relevant columns are enabled.

You can reset your Activity Monitor settings by quitting Activity Monitor, and then  deleting the preferences file, and any preferences lock files, and then re-opening the app.
Open Terminal and paste in the following command:
rm ~/Library/Preferences/com.apple.ActivityMonitor.plist*

(Note the * at the end to delete com.apple.ActivityMonitor.plist.lock and com.apple.ActivityMonitor.plist.)
Hit enter, and reopen Activity monitor - the columns should now be present.


How do I paste or type without moving the insertion point? (10.8.x) How do I paste or type without moving the insertion point? I am currently on 10.8.x.

I want to be able to type where the insertion point (blinking I-bar) doesn't move but the text I type goes in front of it.

So for example imagine that | represents the current position of the I-bar, and I have the text "[$path.'/to/my/folder'] = ." in the clipboard.

Then I have the following situation:

$myPathArray| = '/rest/of/path';
$myPathArray = '/rest/of/path';
$myPathArray = '/rest/of/path';
$myPathArray = '/rest/of/path';

See, I want to be able to place the insertion point where the | is above, then paste and have the text get inserted so that now I would be in the following situation without having to move the | myself:

$myPathArray|[$path.'/to/my/folder'] = '/rest/of/path';
$myPathArray = '/rest/of/path2';
$myPathArray = '/rest/of/path3';
$myPathArray = '/rest/of/path4';

That way I could just press down arrow one single time after pasting and be here:

$myPathArray[$path.'/to/my/folder'] = '/rest/of/path';
$myPathArray| = '/rest/of/path2';
$myPathArray = '/rest/of/path3';
$myPathArray = '/rest/of/path4';

How can I do that?

It would also be nice to be able to type stuff in so if I typed "kcab" at the insertion point I would go from this:

|wards

to this:

|backwards

I am using various text editors like PHPStorm and BBEdit but I would think these two types of text modes would be OS-level features.

I have never seen such behavior on an OS level. This is likely because such behavior is normally needed for a very specialized task like programming or spreadsheeting, which would be better handled by individual applications.

You might be able to rig something up in Automator that could duplicate this behavior, but I suspect you probably want a different solution.

You can easily do what you need using Sublime Text's multiple select feature, without having the exact behavior that you describe.

In general, if your scripts are starting to get very repetitive, it's probably a better idea to figure out how to easily automate it, rather continue down the path of manual repetition.


Force 2560x1600 through HDMI on a Mid 2011 Mac Mini? So I want to run dual 30" monitors on my mid 2011 mac mini. I have two U3014 monitors. While one works fine through mini display port, the other one is forced to run at 1080p via HDMI. Is there anyway to for OSX to output to the higher resolution?

According to https://support.apple.com/kb/SP632 the highest resolution on the HDMI-port is 1920 x 1200.


How to use different mailboxes (sent folder) in Outlook for Mac I am a network administrator and have come across a problem regarding MS Outlook for MAC. The user has their own account already added to their outlook. They have requested that a group mailbox could be added. I set it up in exchange gave the appropriate permissions, then added the mailbox in the user's outlook. It worked fine, they can send with the alias that was created. The only problem is, when they send from the alias (Lets call it design@domain.com) It shows up in their personal (user@domain.com) sent items folder. Is there a way to change it so that it shows up in the design@domain.com's sent items folder?

On the client-side, no.

On the server-side, there are updates to Exchange 2007 and Exchange 2010 that address this.

If there is some reason that you can't update your Exchange server, then you could get around this on the client-side with a bit of work.  If the senders BCC the design@domain.com address when sending mail from that account, you could have a server-side rule on design@domain.com which automatically moves mail that is BCCed to design@domain.com to the Sent Items folder.  This isn't by any means a perfect solution, but it might work until you can update your Exchange server.


App Store Optimization: Individual localization for English (U.S.), Australia, Canada and U.K.? I have an iOS app that is available in all territories and its primary language is set to English (U.S.). I've also created store listings for Australia, Canada and U.K., but I'm using the same localization as for the primary language, since I only have localizations with American spelling.

What happens if I remove the redundant App Store localizations for U.K., Australia and Canada? Would customers from the U.K., Australia and Canada still get the primary language's App Store Information or would it result in a negative impact on App Store Optimization?

After almost a year of observation, it appears that it does not have a negative impact on ASO.

This is because my primary language English (U.S.) is used for Australia, Canada and U.K. as well.

So the other localizations were redundant, given that they were a copy of English (U.S.) anyway.


How to make applescript hold a key for 2 seconds So I am trying to make a script that moves me forward and backward to prevent afk in a game but the game is not registering the key as it is too short here is what I have so far.

repeat 100 times
        tell application "System Events" to keystroke "w" using command down
    delay (random number from 0.5 to 3)
        tell application "System Events" to keystroke "s" using command down
    delay (random number from 3 to 4)
end repeat

You probably want key down & up as separate events...

repeat 100 times
    tell application "System Events"
        key down {command}
        key down "w"
        delay (random number from 0.5 to 3)
        key up "w"

        key down "s"
        delay (random number from 3 to 4)
        key up "s"
        key up {command}
    end tell
end repeat

[untested as I've nothing to really test it on]
Now tested as working on a similar game structure.


iPhone Apps on iPad and UI distortion Why do some iPhone apps have distorted User Interfaces (UI) when run on iPads? How can iPhone apps run on iPads at all?

Internally iPhones and iPads are very similar. They are both have the same operating system iOS, are programmed using the same language (Swift or Objective C), using the same tools (say XCode). Thus the logic of iPhone apps will work on Ipads and Vice Versa. However, iPhones and Ipads have different screen sizes and pixel densities, which the developer must take into account when writing the app. Otherwise the GUI (ie "app's screen"), will not look correct.

Let me explain in more detail, suppose you're developing an App, which shows a square to the user. You could simply program the square to have sides of say L = 2000 pixels. However, different screens have different numbers of pixels, and different pixel densities. Thus on a 1920x1080 monitor, you couldn't see the square, while on a 4 or 5k monitor the square would show up fine. Thus, as a developer, you must write your App so that it is able to compensate for the size and pixel density of the display.

Size can be accounted for by parameterizing your variables in terms of the screen size, in other words, making the variable a function of the screen size. For example, say the display has width = x, and height = y. To make sure the square fits on the screen, we can set the length of the side L = min{x/2,y/2}. Thus no side of the square will be larger than either half the height or width of the screen, whichever is smaller. Therefore, by defining each element of the UI in proportion to the screen size in pixels, all the App needs is the new screen size, and it can adjust the UI automatically if it has been coded as described. If an app has not been coded as described, then it cannot change its size to fit the screen, and thus can only be viewed at its original resolution (say the resolution of the iPhone) on a subset of the screen (say the iPpad).

Compensating for different pixel densities is harder, and is discussed in this article.

P.S. In researching this article, I learned that iOS developers are required to submit 3 different size images. Thus the bitmap images can scale along with the parameterized elements of the UI. See here, here, here. Moreover, by the Apple Developer Guidelines, section 2.4.1 "iPhone apps should run on iPad whenever possible"
.
They point developers to this article


Share books and bookmarks between all devices I have lots of books bought or downloaded not from Apple's store.

I would like to simply put a book on my mac, then see it on my iPhone and iPad.
I also like to read it on my iPad, set a bookmark, and keep reading from same page on my iPhone.

Why Apple makes it so hard to work natively with MY books ?
Its my device, so why is it matter how did I get my book ?

Thanks.

Using iBooks with iCloud makes this very easy.

Make sure you have an active iCloud account and are signed in on both macOS and iOS.
Open iBooks (if asked enable iCloud for iBooks).
Select File > Add to library, and add any external .epub or .pdf files
iBooks will automatically sync them to other iOS/macOS devices, including notes and bookmarks.

If you have a seperate iCloud and AppStore Apple ID. Go into iBooks preferences and check "Sync: Sync bookmarks, highlights and collections across devices", you might get a warning to change Apple ID's. Change it to your AppStore Apple ID. Even though your using iCloud to sync, it still needs the other ID.


iPhone 3GS keeps vibrating at random times I've had this 3GS for nearly three years now, and just recently (last few months) it has started to vibrate briefly (under 1 second) with no alerts or other indication onscreen as to why it's vibrating.

It happens a few times a day now, even after a reboot of the phone.

Has anyone else seen this behavior, or are there suggestions for things I can try to resolve it without repairing the hardware? In other words, yes, I realize it's probably a hardware issue, but is there a possibility it is software or can be resolved without repairing the hardware?

I used to keep in on vibrate 100% of the time, and recently have switched to letting it ring as my belt case broke and I don't feel it vibrate in my pocket.

When I worked at the Apple Store we had 3G and 3GS models come in every so often where their iPhone would vibrate without cause, sometimes the problem could be recreated by squeezing the top left hand corner (Pressing in on the front and back of the case) of the phone. As shown in this video:

http://www.youtube.com/watch?v=9zs17LV2SAM

It doesn't always show the vibrate on off icon when it happens.

We noticed it happened more with people who had 3G and 3GS phones that were older.  It is a common enough issue that if you google search iPhone 3g vibrating randomly, you'll get quite a few hits.

When we had this issue, it was usually the vibrate motor going bad or having issues, a lot of time it was because people dropped their iPhones a lot and we could tell because the corners we scratched up, but it wasn't always the case. If you are under warranty, they will replace it.  If not, they can replace your iPhone for a price, usually 200 dollars. There was no software fix available from Apple.  We just had to simply repair the iPhone.  Restoring/Updating the iPhone didn't help either. It was purely a hardware issue.  There might be guides on replacing the motors in the device since it is easy to open up the devices but do that on your on discretion if its possible.

Personally, I would just hold off until a new iPhone comes out and just buy it if you want to.  Unless the issue gets to the point to where it is constantly vibrating for minutes at a time, which I have also seen happen during my time at Apple, then see if you can get them to replace it. It vibrating every once in a while won't cause issues but it vibrating constantly can deplete battery life quicker than normal.

Now, it could also be an app that is just updating its badge and your not realizing it. Every time I have seen it though it was because of the vibration motor.

I hope that this information helps you out.


Copy video file to iCloud of my friend Can I copy a video file to the iCloud of my friend from my MacBook ? Suppose I know the AppleId and the password.

When your freind has a mac or iOS device with airdrop, you can send it to him without any wires.

On your macbook you can use the share-button (square with arrow in it) to share the file. There should be numerious ways to share a video.

I think it is notossible to import a video directly to someones icloud unless it is enabled on your mac.


How can I echo shell script in Automator? I have an Automator service which runs a shell script (ffmpeg command).
I'm looking for a way to see the output of the terminal while ffmpeg does it's thing.
Adding echo to the ffmpeg command doesn't work. I read this can be achieved using AppleScript but I wish to stay in bash if possible.
Further more, presenting a progress bar of the transcoding would be just awesome.
This is how my Automator action looks like:

To get your shell (bash) script to output to the screen continually so that you can see the progress, you need to launch it from AppleScript.  Basically, this is a script that is launching another script.  Use the script below to kick of the script that contains your ffmpeg command.  You can even pass arguments to your script as you would normally.

For this example, I have a simple bash script that prints out the first command line argument.

#! /bin/bash
# test.sh
echo $1
exit

Next, is the AppleScript code that kicks off the bash script

tell application "Terminal"
   do script "<path>/test.sh 'Hello World'; exit"
   activate
end tell

Note, that if you have any strings with spaces that you need to pass, they MUST be enclosed in single quotes. Double quotes will cause an error in AppleScript.

When you run the script, it will open a Terminal window and anything that gets output will display on the screen.


brew cask upgrade does not seem to work ~$ brew cask --version
Homebrew-Cask 1.6.6
Homebrew/homebrew-cask (git revision 1c78e; last commit 2018-06-01)
~$
~$ brew update
Already up-to-date.
~$
~$ brew cask outdated
~$
~$ brew cask info google-chrome
google-chrome: 67.0.3396.62
https://www.google.com/chrome/
/usr/local/Caskroom/google-chrome/66.0.3359.181 (2 files, 77.5KB)
From: https://github.com/Homebrew/homebrew-cask/blob/master/Casks/google-chrome.rb
==> Name
Google Chrome
==> Artifacts
Google Chrome.app (App)

Above is the output when I was trying to upgrade google-chrome. It looks like I have Chrome version 66, but the server already has version 67. However, I was not able to upgrade it with brew cask upgrade. I'm wondering whether I have done anything wrong.

There is no upgrade command available for brew cask. The GUI apps are updates by running Check for updates... from within the application which is generally found in the menu.

You can force install a newer version of the cask item by running brew cask reinstall <package>. In case of Google Chrome, run brew cask reinstall google-chrome.

You can use brew cask upgrade --greedy to upgrade all the GUI apps to respective latest version. From man brew-cask:

  upgrade [--force] [--greedy] token [ token ... ]

  Without token arguments, upgrade all the  installed  Casks  that
    have  newer  versions available in the tap; otherwise update the
    tokens given in the command line. If --greedy is given then also
    upgrade the Casks having auto_updates true or version :latest.


Would I notice much of a difference between a new 2014 Mac Mini and the 2012 server edition? I'm looking to replace my home server with a Mac Mini. I do a lot of conversions between movie formats (ie MKV to mp4) and was curious if it made more sense to go with the 2012 server model or the brand new (2014) model.

I would be bumping up the specs of the new model to the 3.0GHz Dual-Core Intel Core i7 and 16GB ram. Likewise I would put 16 ram in the 2012 model

I suppose my question is would I see much of difference between these models for things such a streaming playback for 1080p to my appleTV, and converting movie formats?

The 2012 server is much more powerful than the gimped high end 2014 version and has beaten it in speed tests, too.

You cannot install your own RAM in the 2014 model.

You would see no difference in regard to playback between the two, a MacBook Air i5 could handle that task just as ably. Where you will see the difference is with conversion times and processing power, with the 2012 server coming out far ahead.


Apps stuck waiting for an update, won't delete I updated my iPhone 5c to iOS10. I have three apps that have been stuck in the dimmed 'waiting' state for almost 24 hours now, and they don't delete when I hold down and click the x to delete them.

They appear in the App Store as the loading circle with the square in it.

My iTunes library on my computer has no 'app' section to delete apps from, and when I go to my iPhone itself through iTunes, it doesn't show the apps i'm trying to load as options on my phone, it just shows the icons.

WhatsApp and Pokemon GO are two of the apps stuck in the waiting state. Does anyone have a solution that isn't a factory reset, or is that my only hope of fixing this?

I had a discussion with Apple about that exact same issue. I have an iPad 4th gen and when I updated to iOS 10, apps just wouldn't update or delete. They told me to

Try restarting my iPad
Signing out of my Apple ID and signing back in

But since you already tried that, and it didn't work. You will have to do a factory reset. I recently did a factory reset, and I am very impressed with how much data was still saved from my device even when I didn't back it up. I'm sorry, but that seems to be the only hope.


Enable mirroring on iPhone 4 (over-the-air) Through a cydia tweak or otherwise, is it possible to enable over-the-air mirroring for unsupported-by-default devices, i.e. iPhone 4, iPad 1 et al.?

You would think it's a popular question but all google results result in a dead end. The closest I've come to finding an answer is this topic, where an user claims to have come up with a solution, but then dies*.

Considering people managed to even port Siri for the iPhone 4, I'm sure someone must have made a successful attempt at enabling mirroring, which I guess only involves flipping a switch, i.e. no authorization checks, proxies, and missing binary files here. What I'm trying to say is I'm surprised there's nothing out there.

*or which is more likely, goes offline and refuses to share, whatever - the point is, no solution is given.

There's nothing that does exactly what you're asking for. However, this should be similar. I've stumbled upon it in Cydia a few times, but never bothered to try it, because AirPlay just never appealed to me. It's not explicitly AirPlay Mirroring, but it does the same thing. There's also a package called Display Mirroring and DisplayOut found in Cydia, and they enable mirroring, but it's not over-the-air (you have to use a VGA adapter). There's also another Cydia package called AirServer, and it allows your iOS device to receive media from your Mac or another iOS device through AirPlay.


FileVault is off, but still prompts for boot password I have an iMac running Mavericks that was previously administered by the user, and it still requires a FileVault password when the system is rebooted, however FileVault is off.  At some point FileVault was turned off as well as the OS updated from 10.6.8 to 10.9.  What order all that was done in, no one knows, so I don't know if that had something to do with it.  To make sure that the GUI wasn't lying to me, I ran a diskutil cs list and got the following:

+-> Logical Volume Family 6E9BE6ED-BE68-41F1-A186-144D5A75B625
        ----------------------------------------------------------
        Encryption Status:       Unlocked
        Encryption Type:         None
        Conversion Status:       NoConversion
        Conversion Direction:    -none-
        Has Encrypted Extents:   No
        Fully Secure:            No
        Passphrase Required:     No
        |

How do I turn off the prompt at boot?

Reset the PRAM, or click the Apple logo and choose "Start-up disk."
Pick Macintosh HD and it'll boot proper.


How does Mac gather printer information (mainly driver) after a printer is selected in the list of printers to add? When we want to add a printer to mac, we go to "Printers and Scanners" in system preferences. There we click on "+" button and click on "Add Printer or Scanner". In new dialog with title "Add", we see a list of printers.

When we select one of the printer: printer-x, we see status: "Gathering printer information...". And its driver is automatically selected. How is Mac gathering printer information? What is this whole process of adding a printer in details? Is there any tutorial/article that can help? I have tried google search, could not find something of good interest yet.

I want to debug a situation where Mac is choosing driver for a printer sometime and sometimes it does not (for the same printer). Expected driver to see there is AirPrint. The printer is being added from a print server. So, want to have a look at what is happening in the background.

After carefully looking at the DNSCache and Network:

More details on dns-sd.org however in short, for everything to work correctly, following four DNS Records for each printer are needed on client side in case of airprint/secure airprint:

PTR record of type _universal._sub._ipp/ipps._tcp  (lets call it universal): needed only if printer is airprint compatible (see dns-sd.org)
PTR record of type _ipp/ipps._tcp (lets call it ipps)
SRV record
TXT record

SRV record tells about the service related data (server/port etc.) and TXT record tells about the printer capabilities.

On Mac, "ipps" and "universal" records are queried by different processes (printtool and PKBrowserServic respectively). From observation: Queries of "universal" records by PKBrowserServic are more frequent than queries of "ipps" records by printtool. So, in a scenario: it has universal records but not ipps, it won't identify the driver.

To answer the original question: when a printer is selected, it queries for SRV and TXT record (based on universal or ipps records which are in cache already, thats how we see the printer in the list). If printer/print server is not available or if ipps record is missing, mac won't be able to do 'Auto Select' for the driver.

This problem can be fixed in multicast by self-querying both universal and ipps before TTL of the records expire so that the caches of all mac clients are updated.

In case of unicast, mac has high TTL of universal/ipps records, so it might take some time for ipps record to be updated in the cache in a new network but in few minutes (max 10 mins from observation), it has both ipps and universal and the issue does not exist anymore.
Another way to handle it quickly is to clear cache (sierra: killall -HUP mDNSResponder)


Best way to create icons (buttons) in Finder toolbar matching OSX feel? Is there an existing template/program/guide to create icons for the Finder toolbar that match the look and feel of the standard icons (buttons)?

The reason I ask is that I have created shortcuts apps in the toolbar for 'create new text file' and 'open terminal here', but the best .icns that I could lift from the internet are still kind of visually distracting.

i.e. I want to create a new .icns file to replace the two right most icons so that they blend in with the others:

It seems that there remains no official support to add your own buttons to the Finder, despite applications like Dropbox implementing this. The hack is possible (but very complicated) and some instructions can be found here: How to write OS X Finder plugin.

Instead I settled for a screenshot (cmd-shift-4) of one of the existing buttons and edited it into my own icon using an image manipulation program such as GIMP and convert it to a .icns file. The downside is that this means that the button is static and has no animation when it is clicked, and when the window is out of focus things look a bit weird. The icons have to be square.

Here is the template image that I made for anyone else who wants to create their own icons:

and they can be assigned to an app by overwriting /Contents/Resources/applet.icns

Drag the app to the toolbar (holding cmd-alt for Mavericks) and then reboot to make the new icon visible.


Is there a way to see who created an event in a shared iCal calendar? I'm using iCal to share numerous calendars with my wife.  We're using iCloud to sync them.

On occasion, I need to know which of us put an appointment on the calendar, but can't remember.

I know that somewhere, the system is capturing the creator, because notifications tells me that "[EVENT] has been added to the Calendar by [User]."

But I can't find a way to retrieve that user info from the appointment itself.  "Get info" would often be source of this kind of data in OSX, but in iCal, it's just the same info as you see in the full appointment view.

Is there somewhere else I can find this?

In Calendar (on Mountain Lion), if you right click on the event to view the details, one of the invitees is marked as "(organizer)"


iPhone 6 Logic Board Water Damage Clean/Repair I'm aware of this question, however it doesn't solve my problem.

Today I bought a water damaged iPhone 6 at a good price, thinking that since I am pretty decent at repairing iPhones (and fixing water damaged ones before), that I should be able to fix it without any issues and have a working iPhone 6. However, after doing my usual "take the while thing apart and clean it with isopropyl alcohol" water damage repair routine that has worked well in the past, it still won't turn on or even be recognized by iTunes.

This iPhone 6 has been dropped in a pool, whether it's chlorinated or saltwater, I don't know. I do know that it has been around a week since then, the seller informed me.

I have tried (in order):

Cleaning with an alcohol-soaked cloth multiple times
Taking a spudger and gently scraping around the chips
Soaking the board in alcohol and when that didn't work, cleaning it with a toothbrush while submerged in alcohol
Running the logic board under warm tap water, then submerging it in alcohol and cleaning with a toothbrush again

In each case, I made sure that the board was dry before testing.

Edit: I decided to break out the soldering iron and removed all three shields from the logic board. After removing the first one (the one below the SIM slot), the iPhone came on, but was stuck in a boot loop. However, after removing the second one (on the back), the phone no longer comes on, and cleaning the behind the third one (covering the A8) didn't help either. Strangely, sometimes when I connect the iPhone to the wall charger, if I press the shield up where it should go, the Apple logo flashes once and then goes to black, though the LCD is on. Any ideas on what to do next? Can I use computer thermal paste on the A8 chip and heat sink; is it the same thing as what's already on it?

Any ideas on how to fix the board?

Also, it's almost definitely the board, as I've used multiple lightning docks and digitizer assemblies for the iPhone 6 that I had lying around and bypassed the battery by plugging the iPhone straight into the wall.

Perhaps the battery is dead and the U2 IC chip (controls battery charging) is also dead?
https://www.ifixit.com/Answers/View/177865/U2+IC+for+iPhone+5C+replacement

There is a way to bypass the U2 IC (though potentially very dangerous, but it sounds like you might know what you are doing).

http://forum.gsmhosting.com/vbb/f631/iphone-5-charging-ic-jumper-done-1694941/

Ive also seen a youtube video where the battery was disconnected from the phone and charged directly... but i can't find it at the moment...


Can I run top as screensaver? My employer has recently issued me a MacBook Pro to play with. I have a lot of Linux experience, but I was struck by how nice the terminal looks on the Mac in full screen mode, especially when running "top". I think it'd look impressively "hackerish" as a screensaver.

Has anyone figured out a way to make this work? Of course, I'd have to disable the usual power saving mode where the display is turned off.

There's one project out there, but based on it's website it's very rough if it even works.

If you're looking for hackerish screensavers, the old Xscreensaver bundle was converted to OSX a while ago.

Nicely hacker type examples would be Sonar, AppleII, and Phosphor. Possible GLMatrix too.

However, to answer your question: https://superuser.com/questions/420546/osx-run-bash-or-app-as-the-screensaver

Write an applescript to run Terminal, run Top, and fullscreen itself. Then put that script into the app.


Install Lion not mountain lion I don't have Mountain Lion and I don't feel like paying 20 bucks for it. I have an older mac using Snow Leopard and I want to install Lion on it. I already bought Lion for a newer mac with my apple account, so I should be able to install Lion on the older one right?

I can't find Lion on the appstore, how do I install Lion?

Thanks.

Not sure if this still works, but give it a shot:

Hold down the Option key when clicking on the Purchased tab key in the Mac App Store app. That shortcut makes Lion reappear in the list (if you bought it there). Make a copy of the installer and put it on a USB key or DVD. You can also Google around to find out how to make a bootable copy as well.


How can I prevent sleep in OSX Recovery mode? I'm doing a disk backup in OSX Recovery Mode and it sleeps.  In sleep mode, the backup stops dead.  Hot corners do nothing.  Sleep seems to kick in after 30 seconds - unsupportable for backing up 850 GB over USB 2.0 (sigh).

I found articles about OSX's "caffeinate" command, but it's too late - I'm 1/3 through the backup.

Can't I keep my Mac running while it's doing this actual intended important work in Recovery Mode?

If you're already in Recovery Mode doing some operation you don't want to interrupt, you can try this trick to run caffeinate.

Go to the Wi-Fi icon on the menu bar and pull it down.  Select "Join Other Network..."

The "Find and join a Wi-Fi network" dialog will be there, but look at the application title.  It's "macOS Utilities." Go to the Utilities menu and select "Terminal".

In the terminal, issue the command caffeinate.  When your operation is done, control-C out of it.

If it bothers you that the display sleeps and you don't really trust that the operation is still going, you can issue a stronger version:

caffeinate -dismut 65500

This is sort of like 'sleeplessness with prejudice.'  With the -u flag you get an implicit -t 5, which stops caffeine after five seconds.  So I overrode this by adding '-t 65500' which makes the caffeinate command last about 18 hours.

Finally, because I'm really, REALLY paranoid, I actually put caffeinate in the background and run a shell loop with ps -ef running every 75 seconds.


Mixing h.264 and AIC video files breaks iMovie thumbnails I have a set of six XviD .avi files. One of them is larger than the others. I converted them all to h.264 .m4v files with Handbrake, then tried to import them into iMovie directly.

Five of the files it copied over perfectly. The large one, however, it insists on transcoding to a .mov file using the Apple Intermediate Codec (which is more highly preferred for editing than h.264).

THE PROBLEM: When both types of files — h.264 and AIC — appear in an iMovie Event, the thumbnails in the Event Browser do not show up; all video files are displayed as blank gray filmstrips.

The thumbnails themselves are not corrupted; they are generated correctly. Deleting the thumbnails and the cache and having iMovie rebuild them does not help. They are simply not being displayed.

Even if I ask iMovie to go ahead and transcode the five smaller files, it refuses to; it copies them over as-is.

Even if I ask iMovie to NOT transcode the larger file, it refuses not to; it always transcodes it anyway.

I've seen recommendations to use several different "iMovie converter" apps, but they all seem like scammy crapware.

So what I need is one of the following four things, ordered from most to least preferable:

A way to make iMovie display video thumbnails when mixing h.264 and AIC video in the same event
A way to make iMovie directly import the larger .m4v h.264 file that it currently insists on transcoding
A way to make iMovie transcode h.264 video even when it can import it directly
A good, decent, usable, reliable, non-scammy third-party app that I can use to transcode (as many different kinds as possible of) video files into something iMovie prefers to use directly.

Answer for point 4:

QuickTime Pro with Perian
MPEG Streamclip
DivX official converter


Can't Rename Images Sequentially Via Applescript Because Other Images Already Have That Name I am trying to automate batch renaming of images sequentially by using a simple Applescript. But I am having difficulty telling the script that there are images in the same folder that already have the same name.

For example, I have three images of a cat that are named Hello World 1, Hello World 2 and Hello World 3.

In the same folder I also have three more of the same image but with the name Test Image 1, Test Image 2 and Test Image 3.

I want to rename all of the "Test Images" to Hello World 4, Hello World 5 and Hello World 6 but I get the following error:

  error "Finder got an error: The operation can’t be completed because
  there is already an item with that name." number -48

How do I tell the script that there are other images in this folder that have the same name and that it needs to start from "Hello World 4" and continue renaming the rest of the images?

Please note that I will be using this as an embedded script in an application called Hazel (noodlesoft.com) and it does not accept handlers. So I will need a solution that does not use a handler.

Here is the script I am using that gives me the error when I try to rename the "Test Images":

tell application "Finder"
    set all_files to every item of (choose file with prompt "Choose the Files you'd like to rename:" with multiple selections allowed) as list
    set new_name to "Hello World"
    repeat with index from 1 to the count of all_files
        set this_file to item index of all_files
        set {itemName, itemExtension} to {name, name extension} of this_file
        set index_prefix to " "
        if itemExtension is "" then
            set file_extension to ""
        else
            set file_extension to "." & itemExtension
        end if
        set the name of this_file to new_name & index_prefix & index & file_extension as string
    end repeat
end tell

The main problem is similar to your other topic - the new name + suffix is not checked against what is already in the folder.  My answer to that topic used a general-purpose handler for getting a new name, so without using that, the (stripped down) contents are used instead:

set all_files to (choose file with prompt "Choose the Files you'd like to rename:" with multiple selections allowed)
set theName to "Hello World " -- includes separator text

tell application "Finder"
    set theFolder to container of first item of all_files -- the base folder
    repeat with this_file in all_files
        set theExtension to name extension of this_file -- keep existing extension
        if theExtension is not "" then set theExtension to "." & theExtension
        if name of this_file does not start with theName then -- don't rename renamed items

            # the "increment suffix number until the name is unique" part
            set counter to 1 -- starting suffix
            set newName to theName & counter & theExtension
            tell (get name of items of theFolder) to repeat while it contains newName -- get new name
                set counter to counter + 1
                set newName to theName & counter & theExtension
            end repeat

            set name of this_file to newName
        end if
    end repeat
end tell


Partition Map Failed Because No Slices Were Found I have an external hard drive that I've used with my Mac for years, with no issues. Today I tried to plug it into my work PC to get some files off it (Windows 8), and it wasn't recognized. I tried to look up how to reformat it, but realized it was going to delete my files. So, I decided to forget that idea and plugged it back into my Mac. Now, it won't run, and Disk Utility says that the Partition Type is Microsoft Reserved.

It won't let me repair or verify in the Disk Utility because it says "ERROR: Partition map check failed because no slices were found."

Now, I can't access my files on either computer, which has like my life's worth of photos on it. I am about to have a heart attack if I've lost all of my data! I've been searching online and have seen many things where it says to create new partitions, but from what I understand that will delete all the data on the existing drive, which I don't want to do because I obviously don't have it backed up anywhere else (because this external hard drive WAS my backup).

Please, someone out there help me!!

MacBook Pro, OS X Yosemite (10.10.3)

Ugh - the main thing with "your life's work of photos" is to slow down and don't panic. Don't try to fix things when you're desperate or rushed. Don't try something for the first time on that drive. The normal utilities exist to make the drive usable at the expense of losing your files. Or if the files are "lost" not, then at the expense of letting recovery software get some or all of them back.

Recover Deleted Files on Mac OSX [External NTFS]
I may have used Disk Utility to erase my drive - is there hope?
Recovering files from Time Machine backup disk after wrong dd
Accidently formated my external 1TB hard drive!

Instead, reach out to your network of friends to see if anyone has used a program like Data Rescue to repair/recover deleted files. Learn how to connect a drive in read-only mode (you might need to buy hardware or take the drive to someone that does this professionally or has at least gotten three successful recoveries under their belt before you entrust your only copy of your work with them).

You might have lost the photos, but I wouldn't recommend connecting the drive to either a PC or a Mac since both will try to run filesystem checks and if the part of the drive that tells either OS what is on the drive itself is corrupt or just not making sense, that computer could do more damage to your work trying to make the drive "usable" again.

https://en.wikipedia.org/wiki/GUID_Partition_Table

The reason I recommend having a partner is that you will then work together, slow down and be intentional about what steps you take. Just explaining what you are about to do is valuable even if the partner isn't experienced in data recovery.


Web cam sharing in MacOS X There is a very strange behaviour with Mac Os that i give access to web cam to multiple application like Skype and Face time .where as windows does not allow this ,any answers ??

your question is rather poorly worded, but i think you're asking: why does MacOS allow multiple Apps to simultaneously use/share the same camera, whereas Windows does not allow this? and how is that a problem?


“Hey Siri” does not respond while playing music It seems it’s impossible to wake Siri up using the “Hey Siri” functionality while playing music (using either internal speakers and headphones.)

Is there a way to solve this issue?

As far as I'm aware Hey Siri isn't actually supported while music is playing.

People on Reddit have reported the same issue about a year ago - https://www.reddit.com/r/iphone/comments/7ssnz7/hey_siri_not_working_when_music_is_playing/


/System/Library/LaunchAgents is locked in El Capitan I'm trying to achieve this:
Make my password protected SSH key expire or timeout after a while

In Yosemite, this worked fantastic, in El Capitan, using sudo, the files in /System/Libary/LaunchAgents is completely locked :(
I cannot chmod, write, or chown the files.

Using Finder -> Get info, the locked checkbox is disabled for the folder and the files in it (changing owner using finder doesn't work too).

El Capitan adds a new security feature named System Integrity Protection (SIP). Among other things, SIP prevents parties other than Apple from adding, deleting or modifying directories and files stored in certain directories:

/bin
/sbin
/usr
/System

Apple has indicated that the following directories are available for developers to access:

/usr/local
/Applications
/Library
~/Library

All directories in /usr except for /usr/local are protected by SIP.


Will Apple service secondhand iPad still under warranty? I bought an iPad on eBay a few weeks ago. It's still covered under the original Apple warranty. There's a clear problem with the battery. Will the Genius Bar staff look at and service this device if I'm not the original owner? Do I have to disclose that I'm not the original owner?

Normally saying that you've bought it as secondhand you're ok, even because, before they start working on it, they need to have "Find my iPhone" disabled so, if you have stolen that iPad, you wouldn't be able to disable that.


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

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


What functionality is lost without LTE? According to Apple, A1660 and A1661 cannot do LTE in most of the world.  My experience suggests that many functions are unpleasantly slow or even impossible without LTE.  But I haven't been able to find an A1784 or A1778 in Oregon or on the Apple website.

Contacted Apple and got an "expert" who insisted the A1661 works anywhere in the world and seemed to think that web page was inaccurate.

Online descriptions of LTE suggest that there is no hard-and-fast number to describe its bit-rate.

A related question suggests that I would not be happy with the CDMA choice, and the Apple page seems to say that for it  to work in Japan, I have to buy a model that is crippled anywhere else.

If I get a CDMA iPhone 7, is there a reliable description of what kinds of apps will not work in Mexico City or Toronto or Madrid or Seoul or similar places?

Yes.

Every iPhone has enough GSM frequencies to work with any carrier that wants to provide service and/or bill you international roaming.

Of course, in bad coverage areas, higher frequency signals are much shorter range so the traditional CDMA frequencies work better in rural areas.

With 250 plus carriers in 150 countries, you’ll always have some pain in some places, but an iPhone that’s still in Apple support is basically a universal communicator for social, monetary and technical reasons.

And in fact, after looking closer at the Apple page cited, we can see that the four models OP mentioned have exactly the same 41 bands.


"Use F1, F2 as standard function keys" no longer there: how can I control my volume through keyboard? Apparently this option is now gone in the keyboard settings on OSX Lion, or maybe it does not appear because I am using a Dell keyboard

Now, I am not particularly concerned about it. If I press F12, I get the dashboard. The problem is that I have no keys to set the volume anymore. How can I set the volume, considering I can't create a keyboard shortcut (there's no menu name to bind) ?

This seems to be the only answer (other than buy a mac keyboard): https://superuser.com/questions/61001/how-do-i-press-the-fn-key-using-a-pc-keyboard-on-a-mac


iphone podcast app deletes played episodes even if "delete" option is off I have "Delete Played Episodes" turned OFF for all my podcasts, both on the iPhone AND in my PC iTunes.

Whenever I finish playing an episode on the phone, the episode name remains visible but the audio content is deleted and a "cloud" icon appears next to the name.

What magic incantation do I need to utter to make the podcast player leave the podcasts on the device?  Clearly "Delete Played Episodes-OFF" must be in some alien language that happens to have certain words matching English but means something completely different.

I figured this out.  There's a global "Delete Played Episodes" option in the Settings app under Podcasts.  Rather than being a default setting, that is overridden by specific settings per podcast (as one would expect), this is a gobal override that renders totally ineffective any per-podcast settings.  With no indication anywhere inside the podcast player app that this is the case.

If you're going to make it a global override, the least you can do is make the player UI gray-out the setting on the individual podcasts to inform the user that changing it there will have no effect.

This is clearly a bug but I doubt I'd get anyone at Apple to listen.


Songs are continuously being deleted from my phone I recently bought songs from iTunes and every time I go to listen to them they get deleted. I'm able to re-download the songs but they don't stay on my phone for more than an hour.

iPhone 5c

Apple tends to do this because of competitors, I have been going through this for months now and have had at least 6 songs deleted. I downloaded them again, and thankfully apple had let me get them for free. but now, apple is making me purchase them. I am fed up. but heres a tip that hopefully help you out, download them on another website or platform. try not buy them on iTunes. I hope this works for you. and well wishes to you. ;)


Reset iPhone 5 without iCloud password First of all: No I didn't get the phone off of someone else and no I can't get the password by going to iforgot.apple.com (because the email address used for the account has been deleted, so emailing doesn't work)

The iPhone is currently in the state where it acts like you just got it (because I tried to reset the phone by typing the wrong passcode 10 times), but after going through a few steps it will ask for the iCloud username and password. I don't care about any of the data on it, I just need to delete everything off it, so I can actually do something with it.

Well if data on your iCloud account is not important to you, you can just simply create a new account and use it for your phone.

Just make sure you keep that email address this time! :)


Login screen on macOS Sierra suddenly with gray background yesterday after waking my Macbook Air (Early 2015) with macOS Sierra from sleep I was greeted with gray login screen. Now I have gray every time I wake up my Mac.

First time I had the same color as background on dock for some reason but that went away after I disabled "Reduce transparency" in Accessibility settings.

I did some googling and found that this may be related to FileVault (since everything is encrypted OS presents gray background) however I had FileVault turned on since I got my Macbook and never encountered this gray thing.

What is the cause? My main worry is that it might indicate some problems with my computer. Thanks.

When your machine restarts with FileVault enabled, the gray screen login is to unlock FileVault. There are no problems with your machine.


Will I be able to re-download Mountain Lion by using my redemption code in the future? Apple gives a free upgrade to Mountain Lion if a new Mac is purchased in a nearby time frame.

I got a redemption code.

Will I be able to download Mountain Lion again next time, for example in two months from now, will I need it?

Once you have purchased something in the App Store, you can always download it again without paying (This is the same on the Mac App Store and iOS). You will see it in your 'purchases' tab in the Mac App Store.

So once you use your redemption code, you have 'purchased' it, and can install it whenever you need it.


Will the battery from an iPhone 4 fit an iPhone 5 Will the battery from an iPhone 4 fit into an iPhone 5? The battery in my iPhone 5 is bad and I have an iPhone 4 I was thinking of exchanging the battery from.

This is not something I would even try to do.

The batteries on iPhones are designed for the particular model they're officially compatible with. Even an iPhone 5 battery is not compatible with an iPhone 5s or iPhone 5c. Likewise, the battery used for the iPhone 4 16GB and 32GB models is not officially compatible with the iPhone 4 8GB model (launched later).

In your example, they are also different in physical size and if you've ever seen the inside of an iPhone you will know how all the parts are designed to fit in perfectly with each other - even a fraction of a millimetre can make all the difference.

The above should be enough reason not to, but in addition to this, the actual specs of the batteries are different.

In a nutshell, it will be easier and cheaper in the end to just buy a replacement battery rather than do what you're suggesting. You can buy replacement batteries on eBay or specialist sites such as iFixit US, iFixit Europe or Macfixit Australia.

Also, if your iPhone 4 is still in working order, you never know when you may need it again (or need to lend it to someone else).

[EDIT]

I just realised I forgot to mention that you may be eligible for a replacement battery as part of an Apple recall program. To check if you are, refer to this info on Apple's website.


Why is the dictionary shortcut unreliable using Chrome? When using the dictionary lookup shortcut Ctrl + Cmd + D when using Chrome it works for some websites but not for others.

Does this have to do with Chrome itself or is it due to the fact that some websites are using Javascript and this is affecting the shortcut?

This bug is known to the Chrome developers and has been filed under...
Issue 90461: Dictionary keyboard shortcut doesn't work in Lion
Basically the problems are timing issues for some websites which take too long to respond to information needed to show the dictionary.
This is what resek@chromium.org says:

There's likely not much that we can do here. We have to block the UI
thread to implement this feature, which is bad and so that's done on a
timeout. If the web page takes too long to respond for the information
we need to display the popup, we give up and unblock the UI. If we
didn't do this, Chrome would look like it's hung, waiting on the web
page to respond.
We collect timing information about this, and most pages succeed well
below the timeout, but there's also some class of pages that do not
respond in time (more than 1500ms, which is what starts to be
perceived as sluggish/hung).


Finding Apps on my iPhone Where are downloaded apps located on my iPhone?  I went to download the Prisma App and the download page indicated that it was installed. Now I want to use the App but do not know how to find it.

You can launch an app on an iPhone multiple ways. A few of them are:

1. Swipe left (or right) until you are on the screen of the desired app. Then simply tap the image that is located above the name of the app and the application should launch.

2. Use spotlight search: To use spotlight search simply pull the screen down when you are on the home screen of your iPhone. Then simply type on the name of the desired app and it should appear. Then tap the image above the name of the app and it should launch

3. Siri: To use Siri to launch a app hold down on your phone's home button. Your phone should vibrate and then you should say: "Launch (the name of the desired app)". Then the app should launch.

These are a few of the basic ways to launch a app. There are other ways but they get more complicated.


How can I trigger my iPhone's alarm on receipt of an SMS message? I want to give certain people the ability to wake me up by sending an SMS message (e.g. "Wake Up!") to me, even when Do Not Disturb is on.  Is there a utility that makes this possible, or an app that already does something similar?

If you mark those people as "VIP's" on your phone, then their text messages will sound even when the Do Not Disturb mode is one.


LustyExplorer is not loading I added lustyExplorer to ~/.vim/plugin.  Then I ran MacVim and tried to run it with ":LustyFileSystemExplorer".  Error

  "Unknown Function: lustyExplorer#LustyFileSystemExplorerStart"

In the documentation it says:

Usage:
"                 <Leader>lf  - Opens the filesystem explorer.
"                 <Leader>lr  - Opens the filesystem explorer from the
"                               directory of the current file.
"                 <Leader>lb  - Opens the buffer explorer.
"                 <Leader>lg  - Opens the buffer grep, for searching through
"                               all loaded buffers
"
"               You can also use the commands:
"
"                 ":LustyFilesystemExplorer [optional-path]"
"                 ":LustyFilesystemExplorerFromHere"
"                 ":LustyBufferExplorer"
"                 ":LustyBufferGrep"

I also tried :lf and got Error:

  can't open errorfile errors.err

Am I executing it correctly?  What does the prefix <Leader> mean?

If you have dowloaded the file from github seems to be incorrect. Use the download link in the plugin page lusty-explorer.vim that works as expected


Moving SSD harddrive to another Mac I currently have my data and apps on a 2009 13" MacBook Pro and want to move to a 2012 13" MacBook Pro.  I want to move my SSD to the new computer as the new one has a standard SATA drive.  I am currently running Yosemite 10.10.5 and the new one is running Mojave.

Is the new computer going to start up with the change?

I don’t recommend moving drives or even loading a bootable copy. I do recommend a clean OS install and then running migration assistant. That tool has custom code to handle all sorts of useful functions like driver incompatibilities, disabling incompatible software and you just get a fresh clean install with your data and accounts on top.

https://support.apple.com/en-us/HT204350 (Migration KB)
https://support.apple.com/en-us/HT201462 (Target Disk Mode KB)

Use target disk for the migration Even if you have a solid back up. You could also migrate from your back up.

If you decide to just move the data directly, target mode helps there too.
Place the old Mac into target disk mode and connect with FireWire/Thunderbolt to the new Mac and the new Mac can boot from the old Mac so you can be sure all the drivers and data are good.

note, USB-C target disk is available on very recent machines as well, but FW/TB is more ubiquitous

Always boot and test before you remove any drive and same with moving the SSD. you'll need to get the iFixit or another tear down for the exact models and validate that the form factor and connectors are compatible. Then you will know that physically it should work, data wise it will work so if you put the drive in and it doesn't work, you don't have to guess - you'll know everything was fine except the connections.

Good luck - feel free to ask a follow on question if you can't find the repair manuals for each Mac. There is probably a general question here showing how to take a serial number or the About this Mac to get the exact model number and marketing year.

For me - the colloquially named 2015 MacBook or "MacBook One" is precisely:

MacBook (Retina, 12-inch, Early 2015)
MacBook8,1


NFS, AFP, SMB... Advantages and drawbacks on a Mac OS system Struggling to fix several issues since I switched to Lion (see here and there), I came across several ways of connecting network shares to my MBP: NFS, AFP, SMB, CIFS (maybe others).
What are the differences between all these protocols and what is the one giving the more advantages to a MacOS system?

Essentially, NFS is the Unix way of doing network shares, AFP is the Apple way, and SMB/CIFS (they're basically the same thing) is the Microsoft way. AFP will generally work best with a MacOS system (except that most third-party implementations are currently struggling to catch up with a change made in Lion where an older and less secure authentication method was dropped) because it's better integrated with OS X authentication and with Time Machine.


Is it possible to connect an external camera to an Ipad Mini? My son has started doing stop-motion animationusing his iPad Mini 4, but using the built in camera can be quite restricting in terms of positioning and ease of use. We thought we'd buy an external webcam as these are often used by the stop-motion community but all my initial research (discussions.apple.com for intance) says an iPad can't use one.

Is this really the case? I'm surprised given the normal Apple support for creative work.

Connecting a webcam to your iPad isn't as straightforward as you might think. The iPad doesn't natively support USB cameras through the Camera Connection Kit, nor can it wirelessly connect to a webcam over Wi-Fi.

Nevertheless, there is a way to view your webcam's video feed on your iPad and even record what it's seeing -- but only with a small number of webcams that have their own iPhone and iPad apps.

Ensure your webcam has its own dedicated iPad app. The easiest way is to search the App Store for the name of your webcam manufacturer. For example, typing "Linksys" reveals several apps that support wireless video streaming.
Install the app of your choice. The My Webcam app for iPad is compatible with Logitech and Creative webcams; the Viewer for AXIS Camera Companion app for iPad is compatible with AXIS Cameras.
Open the app and follow any on-screen instructions to connect to your webcam. Usually this involves entering your username and password before logging in to see the webcam feed.
Choose an app such as Viewer for AXIS Camera Companion if you have multiple cameras and you want to see each feed as a thumbnail. Apps such as My Webcam enable you to remotely move cameras by swiping your finger across the screen.

Things Needed

Webcam with the dedicated app

Tip
•   If you have an iPad 2 or later, you can use it as a dedicated webcam and stream the video feed from its camera across the Web. The app iWebcamer, available in the App Store, allows you to access the iPad's video feed using camera-enabled programs such as Skype.

Also, I recommend to explore on this too


How does one "Press 1 for English" using voice on iPhone during call with phone system menu? Is there a way to use my voice to "press" a button on the numeric keypad during a phone call, resulting in my handset sending the appropriate DTMF codes to the device on the other end?

I like to conduct business while riding my bike, and Siri can help me with most requests hands-free. However, interacting with a phone system on the other end seems to be where her assistance hits a hard stop -- I can't find a way to have Siri "press 1" or anything to that effect during a phone call.

While some phone systems accept voice input, many still rely upon DTMF tones to be sent through during the call to select certain menu items. Many times, hands are unavailable, and being prompted for keypad input can be frustrating and dangerous.

Is there a way to, for example, have Siri listen to calls for commands like "Siri, press one five one pound", to send the DTMF codes "151#" on behalf of my hands?

If the numbers are in your contacts.

You can Edit the contact by adding another number with some controls in.

i.e if you are always dialling : (888) 555 1212

And you need to wait 4 seconds and then enter a (1) for the selection.

You can Edit the contact and duplicate the number.

Then press the symbols button.

which will give you two new buttons.

Pause and Wait.

Pressing the Pause button will add a "," at the end of the number.

AFAIK each "," will pause for 2 seconds. I am not sure about wait. Which I expect will be longer.

Once you have your pauses you can add the DTMF number as shown I have entered two "," to get 4 seconds and a (1) for the DTMF.

Repeat as needed for any other pauses and numbers and save. And dail.


Image Editor with accurate dimensions I've recently purchased an iPad and I'm looking for an app that will allow me to resize and crop photos to specific dimensions.

There are plenty of editing apps that I have seen but nothing seems to have the ability to edit to set dimensions.

For example I have a photo that is 800x600 and I need to edit it to be 660x300.

A program called Everclipper Plus would appear to meet your requirements, however this is not a full featured Image Editor, just purely one that provides a set of correctional tools.

From the blurb

  Features

  Resizing. You can resize a photo on it's length scale of one to ten. You can see the result of resizing before save it.
  Customizable sets of resizing sizes. You can make presets of resizing sizes as you like.
  Cropping. You can crop a photo at any position and to any size.
  Customizable sets of cropping sizes. You can make presets of cropping sizes as you like.


Accessing iCloud passwords without a Mac I mostly use Macs and iOS devices, so I've started using the iCloud password manager for better account security. Of course, all the world is not a Mac, but passwords are ubiquitous.

When I am using a Mac under my control I can use the Keychain Access app to look up my single-site passwords, but sometimes I'm on someone else's computer, which is usually not a Mac, and sometimes I use a Linux device, and so on. Even with iOS apps, sometimes I need to use my website password to log in using the app, and most apps don't seem to support iCloud passwords (although a few thankfully do!).

I do always have an iOS device with me, so are there any applications for iOS that allow you to access the iCloud Keychain to retrieve the plaintext password, like OSX's Keychain Access? Or is there a way to access the Keychain via the web?

Obviously the most Apple approach would be for me to always have a MacBook Air with me, but that also isn't feasible...

How to manually view saved passwords and credit card numbers with iCloud Keychain

Launch the Settings app on your iPhone or iPad.
Tap on Safari.
Tap on Passwords & AutoFill under the General section.
Tap on either Saved Passwords or Saved Credit Cards.
Enter your 4-digit passcode if you are prompted to do so.
In this list, find the login you'd like to view the password for and tap on it.
Here you can see the login credentials for that specific account.

Source: How to view your saved passwords and credit card numbers with iCloud Keychain


How to perform a serial number search? I am looking for a way to search the serial number (of Apple products such as iPhones, iPads, Macs, etc.), and get information about the original configuration of that specific device.

I am aware of this (or the JSON version) page of Apple's site that allows you to get the specs page of the product from the serial number you search, but I would like to get the specific configuration of that particular device.

For example, if I search my serial number for the MacBook Pro 2017 with 3.5 GHz Core i7, 16GB of Memory, and 1TB storage, I get a general page without any of the information above. The page lists all the possible configurations instead of the specific configuration of my MacBook Pro.

Is there some way to search a serial number and get information about the configuration of a specific device?

If you’re looking for something on Apple’s site, I do not know of one. However, EveryMac.com has a lookup search that I have had a pretty good success with. You can look Apple products up by serial number, model number, EMC number, or a number of other identification numbers on this search page.


Which encryption model (single-key, per-file-key) does APFS use after 10.13 upgrade Based on Apple's developer documentation, APFS appears to support three models of disk encryption:

No encryption
Single-key encryption
Multi-key encryption with per-file keys for file data and a separate key for sensitive metadata

Following the upgrade to 10.13 and the in-place filesystem migration from CoreStorage/FileVault/HFS+ to Encrypted APFS, which of these models is in use?

diskutil and related tools do not appear to provide any indication of which model is in use, and I would like to know, for the purpose of data recoverability and O(1) secure file erasure capabilities, whether multi-key is in use on my machine and disks.

Hey you asked this a while ago but I asked the same question on the Apple community discussion board recently and apparently we were just misreading that documentation.

APFS uses both single-key and multi-key encryption models simultaneously. The single-key system encrypts the container, and each file within it is encrypted with its own key pair.


Problem downloading some urls with cURL on OSX I have problem downloading some applications with homebrew. I could get them when the download urls start with
https://

but curl fails when the urls start with,
ftp:// or http://

For example, I want to install GMT (generic mapping tools) with homebrew on my Mac OS 10.7.4. and I get the error below. I think curl has problem downloading .tar.gz file, but I have no problem downloading the same file with Firefox.

$ brew install homebrew/science/gmt
==> Tapping homebrew/science
Cloning into '/usr/local/Library/Taps/homebrew/homebrew-science'...
remote: Counting objects: 553, done.
remote: Compressing objects: 100% (551/551), done.
remote: Total 553 (delta 2), reused 67 (delta 1), pack-reused 0
Receiving objects: 100% (553/553), 432.61 KiB | 367 KiB/s, done.
Resolving deltas: 100% (2/2), done.
Tapped 546 formulae (572 files, 2.9M)
==> Installing gmt from homebrew/homebrew-science
==> Installing dependencies for homebrew/science/gmt: cmake, libpng, gifl
==> Installing homebrew/science/gmt dependency: cmake
==> Downloading http://www.cmake.org/files/v3.3/cmake-3.3.1.tar.gz

curl: (7) couldn't connect to host

As a workaround, I downloaded the make-3.3.1.tar.gz file with Firefox and copied it to /Library/Caches/Homebrew/ and it worked. So I downloaded the .tar.gz files for each dependency. They all worked until downloading a .zip file proj-datumgrid-1.5.zip which looks like a data file used by the dependency proj.

Maybe I need to rename the .zip file downloaded somehow so that Homebrew recognize it. Or should I need to put it elsewhere
. How does homebrew use these files?

$ brew install homebrew/science/gmt
==> Installing gmt from homebrew/homebrew-science
==> Installing dependencies for homebrew/science/gmt: proj, libgeotiff, geos, readline, sq
==> Installing homebrew/science/gmt dependency: proj
==> Downloading http://download.osgeo.org/proj/proj-4.9.1.tar.gz
Already downloaded: /Library/Caches/Homebrew/proj-4.9.1.tar.gz
==> Downloading http://download.osgeo.org/proj/proj-datumgrid-1.5.zip

curl: (7) couldn't connect to host
Error: Failed to download resource "proj--datumgrid"

Have you tried running

brew update

and

brew updgrade

before

brew install homebrew/science/gmt

Usually many problems with formulas may be solved by simply updating & upgrading homebrew and its formulas!


Trying to login to Pokémon Go with Google and I get a Error 403 code? I set up a Pokémon Go account for my 5 year old on an old iPhone and we've been using a hotspot so he can play. I also made him his own kids email account and Google account. A few days ago the app randomly logged him out and we can't get back into his account.
At first it said that I wasn't allowed to login because I don't have permission since it's a kids account. But now it's just giving me an error message. I'm at a loss, how can we get back in?

There is a Pokemon support article on this:

These error messages may indicate a temporary issue with the servers.
First, close and then reopen the Pokémon GO app:
iPhone X or later: Swipe up from the bottom of the screen and pause in the middle of the screen to view the most recently used apps. Swipe left or right to locate the Pokémon GO app, and then swipe up on the Pokémon GO app to close.
iPhone 8 or earlier: Double-tap the Home button to view the most recently used apps, swipe left or right to locate the Pokémon GO app, and then swipe up on the Pokémon GO app to close.
If that doesn’t resolve the issue, please visit the Niantic support page at https://niantic.helpshift.com/a/pokemon-go/?p=web for more information.
Note: The link takes you to a website that is not created or maintained by The Pokémon Company International.


Identify Menu Bar App — Up Arrow Line Underneath There is an up arrow with a line underneath it in my menu bar. Clicking, right clicking, and CMD + Click does nothing. Also cannot drag and remove. Thoughts? I've never seen this before.

Running Mojave 10.14.5

That looks like the caps lock icon from an external keyboard.

Are you using an external keyboard, maybe along with Logitech software?


Outlook 2011 - Cannot cancel large synch operation, cannot remove and start anew I have installed the native Microsoft Outlook for Mac 2011 client on my MBP and it's been running fine for 6 months.

Two weeks ago, I moved all emails to a subfolder I created with the name "archive."

Since then, Microsoft Outlook is stuck in a perpetual synch state. (Synching with Exchange Server)

I want to undo this but cannot.

I tried removing the app and the data directories, but upon reinstalling the old data was still intact.

If there is no way to cancel, I would like to at least (a) fully uninstall following the steps outlined on the Microsoft support site, and (b) put up with the large first time download (synchronization) of messages.

Any guidance would be appreciated.

Have you tried to rebuild the database and/or setup a new identity to 'try again'?

The first, rebuilding the database, is quite easy:

Make sure Outlook is not running
Hold the option (alt) key
Open Outlook 2011
Select your default profile, presumably Main Identity and select the [Rebuild] option
Wait... This could take a while.

The second option, creating a new identity is done in nearly the same way as the previous steps. Instead of selecting [Rebuild], select the plus sign [+]. This will allow you to create a new, second identity. Once configured, it'll get the state as known and persisted by the Exchange server itself.

As a second note: Normally, even with very large quantities of 'changes' in an Exchange account the sync should still be pretty reliable. Before trying again, have you looked into updating all latest servicepacks and updates through Help > Check for updates? There are lots of changes in the last month and several patches to improve sync as well as stability have been released by Microsoft to prevent problems you're experiencing.


iPhone 4 as webcam for Mac I'm searching for an app and software to to let me use my iPhone 4 as a webcam for MSN and others. My phone is 4.0.1 and jailbroken. I'm using Mac OS X 10.6.4.

Here's a link to iWebCamera for Mac. Let me know how that works!


More than one banner in Notification Center My question is simple, but I think, it's impossible. When more than one banner in Notification Center are rises, previous of them are ends and show last banner only. It would be nice if banners shows as a badges. I think we can't to change this, isn't it?

I think your issue is with the behavior of banners versus alerts.

Banners by design appear for several seconds and then disappear.
Alerts are designed to stay put. You can change the way an application's Notifications behave in the Notifications Preference Pane.

So switch your app's behavior to show alerts instead of banners and you should be fine.

Unless, of course, I'm misunderstanding your question.


How to revert OS X Snow Leopard default theme? Yesterday I tried to change my OS X default theme so I installed many themes one of them was Aqua Extreme. Non of them give me what I was looking for as a result I revert pack to default theme using ThemePark program but icons in the main menu lost its shadow. Is it possible to return pack to default theme settings?

Thanks

Aqua Extreme comes with a separate package called Remove Aqua Extreme which restores the default user interface.

If you download the latest Aqua Extreme from http://www.maxthemes.com/downloads/Aqua%20Extreme.dmg
you will find the Remove Aqua Extreme package inside the installation bundle.

Run this package, it should restore everything.