Verizon iPhone 4 - no Exchange push? I used to have a 2nd generation iPod Touch, and had it connected to my email account at work (Exchange 2003).  The iPod got push email as expected, and would often ping before Outlook (2010) would on my PC.  I have since upgraded to a Verizon iPhone 4, and it does not get push email, or anything else from Exchange.  I've deleted and re-added the account on the phone, and have verified that the delivery setting under Settings is set to Push.  If I open the Mail app, then it gets email just fine.  It won't even fetch it on its own; I have the interval set to 15 minutes, but I've never seen it receive email without the Mail app open.

Is anyone else experiencing this?  Is it a bug introduced in the Verizon iPhone's branch of iOS?

I'm currently running iOS 4.2.8 on it.

UPDATE: I got some logs off of the device, and have found this error a few times:

(date and time) unknown dataaccessd[47] : EAS|connection died with error Error Domain=NSURLErrorDomain Code=-1004 "Could not connect to the server." UserInfo=xxxxxx {NSErrorFailingURLStringKey=https://x.x.x.x/Microsoft-Server-ActiveSync?User=xxxxxx&DeviceId=xxxxxxx&DeviceType=iPhone&Cmd=Ping, NSErrorFailingURLKey=https://x.x.x.x/Microsoft-Server-ActiveSync?User=xxxx&DeviceId=xxxxx&DeviceType=iPhone&Cmd=Ping, NSLocalizedDescription=Could not connect to the server., NSUnderlyingError=0x2f17f80 "Could not connect to the server."} 0x2f2cf20

In the links in the answer posted by berberich, Ping is discussed as a command that the device issues to the server in the process of negotiating the push (if I understand correctly).

I have a Verizon iPhone 4, and while I'm not using it with an actual Exchange server, I have several Gmail and Google Apps accounts setup as Exchange accounts that push emails to me without issue.
I would try two things if I were you:

Setup a Google account on your iPhone as an Exchange account if you have't already, and see if those emails get pushed to you. If so, you can confidentially narrow the issue down to your specific Exchange server at work.
Talk to your IT department at work and see if they have any errors logged related to ActiveSync. They might be able to determine if this problem is server-wide, or specific to your account.

Based on what I've read, this could be an issue related to your Exchange 2003 server at work. This Microsoft TechNet discussion is marked "solved" with an answer that links to an Exchange Team blog post titled "Direct Push is just a heartbeat away" that provides technical details for Direct Push/ActiveSync.


Unable to Sign Out of my Apple ID on my mac Whenever I clicked the sign out button, this error is prompted in my screen. The same problem persist when signing out iCloud. I'd tried resetting my password in browser, but that doesn't helps. BTW I'm using catelina V 10.15.3 (19D76)

Some people have solved this by going to System Preferences/Internet Accounts, selecting an iCloud account there, and signing in. You need to repeat this for each iCloud account. Might be a corrupt .plist.

Do a backup, preferably 2 backups on 2 separate drives.
Quit System Preferences.

Go to Finder and select your user/home folder. With that Finder window as the front window, either select Finder/View/Show View options or go command - J.  When the View options opens, check ’Show Library Folder’. That should make your user library folder visible in your user/home folder.  Select Library. Then go to Preferences/com.apple.systempreferences.plist.  Move the .plist to your desktop.

Restart the computer, open the application, and test. If it works okay, delete the plist from the desktop.

If the application is the same, return the .plist to where you got it from, overwriting the newer one.


What does the "i" in Apple product names mean? iPhone, iPod, iPad, iCal, iLife, etc. Does the "i" mean anything? And is it a trademark for Apple?

When Steve Jobs first introduced the iMac in 1998, he proclaimed that the i stood for Internet. Jobs went on to say, "i also means some other things to us" and displayed a presentation slide with the keywords:

  internet
  individual
  instruct
  inform
  inspire

You can even view video of this event.

The "i" was first used on the iBook and iMac. These were produced as Steve Jobs wanted a pro and consumer model of a desktop and portable computer. This later rolled out with more products, iSight, iPod, iPhone, iPad.

Yes the products are trademarked, but using an "i" itself before a product is not trademarked and it cannot be. Here is Apple's trademark list


When adding a partition, should I expect to lose data or not? I'm trying to understand what is meant by the wording of this Disk Utility cautionary message that appears when attempting to add a new partition to a disk.

Partitioning this device will delete the data stored on some of the partitions,
and cannot be undone.

This partition will be added:

"Secondary"

This partition will be erased:

"Secondary"

This partition will be resized:

"Primary"

First point of confusion: It's going to be added and then erased?

Second point of confusion: Disk Utility is supposed to be able to add, resize, and delete partitions without losing data. Sources: 1, 2 So why the ominous message, and who to believe?

Update

I added a new partition and everything appears to have gone smoothly.
An answer to another similar question helped me to understand and decide to move forward with partitioning.

This guide, How to Use macOS Sierra Disk Utility to Partition, Erase Drives was also helpful.

Data should not be lost.
Just as Solar Mike said, do a backup if you can.

It creates a second partition, but the second will be empty, without any file system, so it will be erased to format it into the file system you choose.


Escaping the in-app browser in iOS apps Most iOS apps that open web pages open them in in-app browsers. These are somewhat restrictive, in that they don’t support bookmarks (and hence bookmarklets) or Handoff (although they do support AirDrop). Is there a quick way to open them in the full Safari iOS app?

The Share Sheet doesn’t seem to have one built in. You can copy and paste the URL, but that’s quite a bit of precise tapping.

This seems like functionality a third-party extension could add pretty easily. Not interested in jailbreaking though.

You can use "Add to Reading List" to store the URL and then open it in Safari. Still not ideal, but less clumsy than the copy/paste option.


How to get input volume level value in mac? As the title says, is there a way to get the input level in mac?

I want to get the value indicating in the input level bar(System Preferences -> Sound -> Input) in the pic.

Is it possible?

There are solutions on how to set the input and output volume but I can't find any solution to get the input level value.

Sorry, I got that you wanted the input volume, I just failed to word that comment a bit better. I was just looking at that code and thinking "it would push you to the right direction". Kinda like, if there is a piece of code that is like get window width... and I wanted the height instead, then the logical step is probably get window height.

I did come back to this before, but I thought someone answered this already...

Here are some examples of setting input volume.

You can find get volume settings documentation here.

Input Volume

-- Get input volume
input volume of (get volume settings)

-- Set input volume
set volume input volume 40

-- Increment input volume (+)
set volume input volume ((input volume of (get volume settings)) + 5)

Output Volume

-- Get output volume
output volume of (get volume settings)

-- Set output volume
set volume output volume 40

-- Increment output volume (+)
set volume output volume ((output volume of (get volume settings)) + 5)

You can test these in the /Applications/Utilities/Script Editor.app. If you stick this: return (get volume settings) at the very  end, after you've set volume levels, the result panel will give you the current values at the bottom of the window. Of course you could have the Sound preferences window open as well.


Software recommendations for locking down a OS X based school computer lab I am installing a computer lab with 25 brand new iMacs.

I would like to secure the machines to prevent students from tampering with them.

Some of the things I'd like to prevent including making changes to the computer/desktop/OS/software/settings, prevent installing software, direct file sharing, prevent bypass of startup events, limiting internet, limiting applications, limiting printing, limiting USB and optical drives, application/keystroke monitoring,  etc.

I have found one tool called FoolProof Security but would like recommendations on additional solutions.

Deep Freeze is a pretty cool solution, but that merely preserves the STATE of the computer. It doesn't prevent users from performing certain actions while logged in. That would be done with accounts and other management tools.  Posting from my phone, so I'll add hyperlinks later.  Added links. :)

MCX - Managed Client for OS X, uses Apple's Workgroup Manager (free) for configuration management. Examples include: showing a message at login, preventing certain applications from launching, forcing restarts at certain times of the day, etc. Workgroup Manager downloads for 10.9 and 10.8.

Casper Suite - Very robust management tool by JAMF, used widely in education and enterprise. Can do pretty much anything you can think of, but is not free.


system-wide password manager in iOS and OS X I'm booting up my AWS app in iOS and I'd like iOS to give me a stored password. Ideally I'd like it to be generated.  Is there any piece of software I can use to manage my passwords in the cloud and have access to them in any application in iOS, not just a browser?

Thanks

I personally use (and obviously prefer) 1Password. This is not cheap, but does regularly go on sale for much discounted prices.

1Password will do everything you want and more. It works across iOS, macOS, Android and Windows. You can watch a video highlighting its features. And, you can also try it out for free.

And of course, it offers extensions for Safari, FireFox, etc. You can also download it directly via the Mac and iOS App Stores.

Disclaimer: I have no affiliation with 1Password whatsoever.


OSX Maps displays a non existant iPhone I have recently had my iPhone 5 replaced at the apple store due to an antenna failure. At the time it was running iOS 7 and upon handing it over to receive the new one, iCloud was disabled and the phone was then erased and restored.

Now when I updated to Mavericks, the maps app now displays the old iPhone and the new one.

How can I get rid of the inactive iPhone? The two constantly swap around and if I want to send directions to my phone I'm forced to send it to both of them twice since every time I open the dropdown, they keep swapping around. And I realize that it's becoming a huge pain.

Finally found a fix for this!

The fault lies on the Mac itself. Simply signing out of iCloud on the Mac and signing back in removes any past iCloud enabled devices from Maps.

Although this caused a new problem, it fixed the annoying Maps problem. Other than that hope this helps others out there experiencing the same thing!


What are the reasons that an imessage would send as a text message instead? I think my girlfriend is using facetime to talk to an ex-boyfriend so that it does not register as a call on our joint phone bill. (Or I'm the one worried about my secret relationships being spied upon and don't want to have someone knowing with whom and when I'm communicating to others by reading a phone bill).

Can someone explain if iOS can be set up to force and/or eliminate the possibility that something being sent as an iMessage would cross over into being sent as an SMS message?

iMessage will use sms/text messaging if the data link to the Apple servers are non-functional. You can configure the phone to send as text by default.

Note that all text messages on the phone are stored in a sqlite3 database file, so if you are concerned and want to access that information, performing an unencrypted backup of the phone will give you a copy of the sqlite3 database file. Though you would need to isolate it from the thousands of other files, all identified with a hash filename. Not that hard, actually.

The other option would be to jailbreak the phone and cd into the app folder for iMessage and access the messages database.

In either case, in answer to your original question, if access to the iMessage servers at Apple are inaccessible, then the phone will default to sms/text messaging.

Note, if someone wants to communicate secretly, there are plenty of apps for that. Plenty of Visual/Audio chat programs out there that completely bypasses the phone log systems.

If they are using FaceTime, then there is no need to use sms/text. Ie, the communication is all happening through the Apple servers.

If they delete it from their logs, then, depending on whether the log entry was purged or just flagged as not displayed, the entry may be recoverable. However, chances are, it's not recoverable.

IF your intention is to find out/keep track of someone's communication, then the only real practical way is to gain additional access to their phone. Ie, jailbreak and then installation of additional code.

One way to say retain the call logs, be they via sms/text or imessage, or factime, would be to:

Have a script or program continually locate the sqlite3 database for the iMessage app as well as the sqlite3 database for the Addressbook. The location changes in the event of iMessage being updated. Or an OS update.
Periodically backup the sqlite3 database and the addressbook database.
Have those copied to your private server somewhere.
Perform SQL queries against the databases to correlate which imessage goes with which addressbook entry, then generate a report based on the timestamps and correlated information.

If you want to do this without Jailbreaking the phone, you can write and publish an iOS app, which requests and accesses the Addressbook and the iMessage interfaces to achieve the same thing.


How can I remove an unwanted Just Join app from Mac.? Trying to remove Just.join app. without success message states "can't be removed because it's open" when I tried to open it states"can't open because it may be damaged".
can anybody tell me how to proceed please.
System High Sierra (10.13.6

Open Activity Monitor and force the app to quit. If you still can’t remove it you might need to use a safe boot or safe log in holding shift when you boot or shift when you enter your password to log in again to prevent the app from starting.


VNC Client that can send Ctrl+Alt+Delete? Is there a VNC Client for OS X that can send Ctrl+Alt+ Delete? I've googled, searched have not found. I frequently VNC into Windows machines and need to send this key combo in order to log in.

The built-in Screen Sharing application on OS X is a VNC client that can send Ctrl-Alt-Del:

Laptop keyboard: fn+control+command+delete

Full-size keyboard: control+option+delete


Erroneous "Installation Alert" upon installing Xcode 3.2.6 I am on a clean Mac OS X 10.6.8 machine (I erased the hard drive and reinstalled the OS yesterday). I do have to re-download a few apps, and Xcode happened to be one of the first.
I completed the configuration and it started the actual installing . It said 'estimated time: 1 hour' but when I checked after twenty minutes it was almost ready, though it had stopped. I was greeted with this:

OK, an informative error message. Just close iTunes and complete the installation, right? Wrong, iTunes wasn't running. (I do know the difference between closing a window and quitting an app.) So I tried opening and quitting iTunes, but that didn't work either. Then I had a look at the Activity Monitor, but I couldn't find a process from iTunes. What do I do now? Even the buttons to cancel the installation are greyed out, so I don't even know how to retry the installation.
PS: Clicking on the find symbol next to iTunes in the alert screen just starts iTunes.
Update
I found a process called 'iTunes Helper'. I assume that's what's causing the alert. Is it safe to just kill this process?
And I found this: http://osxdaily.com/2011/08/02/cant-install-xcode-because-itunes-fix/! That fixes it, restarting the computer will relaunch iTunesHelper. That should have fixed it, according to the linked article, but sadly, I still have the alert opened, the installation doesn't progress.

OK, I solved it. So I first found this article, which said to killall iTunesHelper. That didn't work. After that I found an Apple discussions thread on this where someone had to killall AlertAll (the process responsible for the Install Alert). I did that and the installation finished succesfully.
Step-by-step

Go through the installation and get this alert
Open Terminal and execute killall iTunesHelper (or kill it with Activity Monitor)
Execute killall AlertAll if the installation still doesn't proceed (Caution: after this the installer assumes iTunes is completely stopped. If it's not, things can of course go wrong. So better look over your processes list twice before doing this.)
Everything should be fine

This was exactly what I did, if it doesn't work for you: I'm sorry, but then your issue is different and you should ask a new question.


How do I see the currently running applications on an iPod Touch? There is only one button at the bottom of my iPod Touch. To close applications, I press the home button. Does it really close applications, or does it just display the home page and an extra thread runs in the background? Is there any way that I can see the currently running applications?

In iOS 3, you press the home button, with very few and only Apple-engineered exceptions (eg. the iPod app) the app is closed.

In iOS 4+, there is limited multitasking available to third-party apps. Apple freezes all processes in the background unless they're performing one of the following functions (ripped from Ars):

Audio: you can now listen to streaming music from apps, like Pandora or newscasts through the NPR app, while doing other activities on your phone.
VoIP: you can carry on Voice Over IP calls on services like Skype without having to quit the app if you need to perform other tasks.
Location: apps that need to poll your location, such as GPS and direction apps, will be able to do so in the background.
Local notifications: third-party apps no longer have to rely solely on push notifications if they want to alert you of something on your phone. If you have an alert set in, say, one of Omni's applications, it can ping you when the time comes instead of having to go through a convoluted series of Internet tubes to get to you.
Complete tasks: if you start a task in an application and then switch to another one (such as downloading a new map in your favorite game), it can now complete the task in the background instead of forcing you to sit there and wait on it.
Fast app switching: this is basically "pausing" an app where it is, which allows you to quickly switch away from it and then switch back, picking up where you left off.

In iOS 4, double-tapping the home button shows a tray holding both recently-used apps and apps performing the above limited-multitasking functions. You can close them/remove them from the tray by clicking the red "-" sign.


"open -t" vs. "open -ef" the Command:

syslog | tail | open -ef

works perfectly on my osx 10.8.5 and opens the required lines from syslog in textEdit, however when I run

syslog | tail | open -t

which should open the same lines in my default text editing program I get nothing and just the lines --No lines in buffer--

I am using MacVim as my default text editor.

The pipe (|) connect the standard output of a program to the standard input of another program. open does not read from stdinby default but from a file given as argument. It needs the -foption to read from the standard input.

That's why your first example work but not your second one.

syslog | tail | open -tf works well.


How does "Find My" application is working with location service changes in iOS 13 I have installed iOS 13 and gave it a shot to Find My application. First question is the location service and I have chosen "While Using App". But what does that really mean? Does it mean that I have to have Find My application running all the time so people can see where I am. I am a bit confused.

The While Using App permission means it's using your location when actively running (foreground) or in the background.

You can keep 'Find My' app in the background (do not force-quit) and it will be able to access your location.

Update: Source:

The Always Allow option, which grants an app “background” location access, has been removed from the initial location permissions prompt.

Instead, users can select Keep Only While Using (aka “foreground” permission) or select a new option, Allow Once.

So how does an app then get upgraded to “background” location permission? If the user continues to use the app, iOS 13 will now automatically and periodically prompt to upgrade location permissions from While Using to Always Allow.


macOS, Can't disable default calendar alerts I've been having this problem for probably about a year now, and I have no idea why.

I like having a default calendar alert, and I do use them.  However for many of my repeating calendar events, I don't want the default alert, instead wanting only to be notified at the time of the event, for example.

So on those events, I change the default alert value to "none", and when prompted if I want to save for all future events, I say yes.

If I then edit the event, I can confirm visually that the alert has been changed.  I can quit Calendar, re-open it, and again confirm that the former default alert is now set to "none".

But then if the event is more than a couple of hours away (like the next day for instance), the default alert will be back.  For all future events.

I do use iCloud calendars between my iMac (macOS Sierra), Macbook (High Sierra), and iPhone (iOS 11.3), and it doesn't matter which device I make the change on, it will always revert.

This is seriously annoying, does anyone know why this happens and how to fix it?

UPDATE:  Cancel all of this.  I just realized today that all my default 1-hour alerts are again back on my desktop device calendars.  However they are NOT back on my iPhone.  iOS shows no default 1-hour alert, but macOS does on both laptop and desktop (High Sierra and Sierra, respectively).
So I don't know if this is a bug in macOS Calendar or iCloud or what, but it's still driving me nuts.  Original "answer" follows.

At the moment it appears I have finally solved this.  Apparently I must not have tried changing all the alerts from my phone after all though I thought I had.  Changing them from macOS simply did not work, but changing them all one by one from the phone, seems to have done the trick.  This morning my usual alert at 9am that always would go off at 8am, did not.  It went off at 9am as desired.  So unless I find things revert back again... I'm going to call this the solution.

Change the alerts from an iOS device, not macOS.


Using a wireless mouse with an iPad I need to use my iPad mini as a computer for a while. I am planning to use an Apple TV to AirPlay mirror my iPad's display to an existing HD monitor through HDMI, but I need a good input method. I am A LOT more productive and faster using a mouse, and I only really need a web browser.

I have found that Puffin Browser might have something similar to what I need, namely, it has a "virtual trackpad," where it puts a cursor on the screen and you can swipe around in a small rectangle to move and click the cursor on the page. This is all well and good, but I would need some way of using a physical, Bluetooth mouse somehow like this. Any ideas?

You have to hurdles to overcome:

Apple's operating system does not pair with Bluetooth mice. You need to overcome that to use a mouse.
Apple's operating system is designed for multitouch as opposed to a single pointer, each application that you use will need to handle the mouse input and juggle it with other multitouch inputs.

You can review other people's failure to use a mouse with iOS on these questions:

Using mouse from OSX host on iOS device
How do I hover on the iPad?

Basically keyboards and stylus are supported. Mice and trackpads are not currently.


How can I automate window arrangement? I know and have been reading a few ideas about how to "import" the features of xmonad/tiling window managers in OSX. I don't care much about the X11/Xquartz windows, but about conventional OSX windows.

Now, all the solutions I have seen around lack the one feature I'd really like to have: not to worry about windows anymore.

Let me explain:

I'd like to have a system (as in xmonad on linux) in which I have 2/3 different modes (in xmonad I'd use Simplest, TwoPanes and Grid) and windows (newly created or existing) automagically adhere to the layout I have selected: no mouse involved, no keys to be pressed. Then I'd need a keyboard shortcut to be able to switch from one mode to another.

Obviously a big plus would be to be able to handle exceptions (as in xmonad, floating windows) or a keyboard shortcut to move around a window freely.

Try out Stay. It lets you save window configurations (position and size) in profiles. Unfortunately, these profiles only deal (multi) display arrangements.


Mac software for developing a product video I'm looking to develop a video for a software application that I make. I'm willing to spend a lot of time learning the software, so features are more important than simplicity.

I've got access to the full Adobe CS5 Suite, however I don't think anything in there suites my needs: Premiere Pro and After Effects seem more orientated to video shot with a camera than screenshots, adding text, etc. But I may be wrong.

What I want is a professional video with good voiceovers, slick movement, screenshots and some demonstrations of the product. Some effects will be required - It should look professional, not like something done in Movie Maker.

Any ideas? Multiple pieces of software used together is fine (I'm sure CS5 will come in useful in some regards).

You want ScreenFlow. The website isn't all that well designed, but ScreenFlow itself is a very nice and nice-looking Mac app.

Depending on how fancy you want to get with transitions and effects, you might find it useful to export clips from ScreenFlow and composite them in something else. But there are plenty of product demo videos for popular Mac apps that  were done completely in ScreenFlow (examples elude me; help, commenters?).


OS X Server 3.0 (Mavericks) Wiki / WebSites / Xcode I have a domain name registered called mydomain.com. I have a static IP address from my ISP. I set the dns information on GoDaddy for my domain as follows to point to my ISP:

mydomain.com A record 65.0.0.1
vpn.mydomain.com A record 65.0.0.1
www.mydomain.com CNAME mydomain.com (Not sure if this is needed)

At home, I have an AirPort Extreme with VPN and Mail opened up to pass through (port forwarding) to my Mac Mini running Server 3. My Mac Mini host name is server.mydomain.com.

I have DNS, File Sharing, Open Directory, Profile Manager, VPN, Wiki, Websites, Mail, and Xcode services running on the server.

On my Mac Mini Server I enabled Xcode and Wiki and disabled Websites, I open Safari, and if I go to mydomain.com I can see the Xcode page and if I click the Wiki link, it takes me to mydomain.com/wiki. However, if I enable Websites, neither the Xcode or wiki pages work anymore.

How can I set it up so that going to mydomain.com points to Websites folder. Going to mydomain.com/wiki OR if I can't have that, I wouldn't mind wiki.mydomain.com instead to display the wiki page. Same with Xcode (i.e. Xcode.mydomain.com)?

Note: I didn't port forward Xcode, wiki, or websites in the Airport Extreme because I want it only accessible when connected over VPN.

Edit: I can get Websites and Wiki to work together, but turning on Xcode changes the way mydomain.com is accessed. Xcode should be accessed by going to domain.com/xcode however domain.com still shows the same output as /xcode. If I turn Xcode off domain.com/ takes me to my html page and domain.com/wiki shows me the wiki page.

Thanks!

Resolution:

Remove /xcode and /wiki from Websites -> Server Website -> Index Files


Yosemite hangs exactly every 60 minutes Upgraded from Maverick. It froze every 60 minutes, exactly (yes, I timed it). Had to long press power button to force it to shutdown.

Then I erased the whole hard drive and did a fresh installation. No third party apps installed. Same issue.

The only way I found to get around this issue is: shutdown the computer 59 minutes (or less) after it boots, and then turn it back on. Clicking "Restart..." in the top left Apple logo menu doesn't help -- the 60-minute timer is still running.

Mid 2012 Macbook pro. The system is installed on an external USB3 SSD, not the internal SSD.

I've fired a radar with Apple a week ago. No reply so far.

Anyone has the same issue and/or know how to fix it?

Here come in depth solution that fixed same problem that I had, and maybe it will help you and others. First off all there is no magic wand solution for this, but I spend 3 days to fix it, and now it working 2 days with no freezing..

I have:
Mac (27-inch, Mid 2011), OS X Yosemite Public (installed from Maverick)...

Every 1-2 hours my Mac freezes, sometimes in PS, DropBox, Chrome, Creative Cloud... etc.. and I need to hard reset every time... also if I start doing "normal" reset or shutdown (if my mac is not in freezing mode), sometimes it only hangs with black screen and mouse working...

I tried:
- cleaning PRAM
- fix permission
- delete applications that sometimes craches
- remove logitech keyboard & mouse
- work only with safari, not chrome
- and nothing happens

Long story short...
- Boot you Mac in Safe mode, first.. it will take some time, and than start normal Yosmeite
- Then reset or shutdown, it needs to turn off really fast (30 sec max)...
- Than boot again only with Disc Utility (Command+R to boot into Recovery, or hold down OPTION), you cannot do this from Yosemite...
- Than Verify for errors, and fix those errors (approx. 2-3 hours of waiting)
- Again fix permisions..
- Yosemeith is working now, and don't freeze anymore...

Bottom line: Mac is really problematic with file handling, and if you had Maverick with lot's of install/uninstall applications, than Yosemite is even worse, so Fix disk errors, and everything will be ok...

Hope you will fix it this way..


What is the best practice for a daemon application running as root that needs access to the GUI? I'm porting over a C++/Qt application from Windows. On Windows, the program runs as a service. It's discouraged from programs running as a service to also interact with the user and display GUI elements.

Therefore, my program has two parts. The first part runs as a service daemon and plays audio in the background. The program starts up when the computer starts up. The second program, which starts up when any user logs in (Via Start Menu->All Users->Startup), communicates via local socket with the service daemon to display a GUI pop-up when the audio is playing.

Moving over to MacOS, what is the best practice to utilize the same program?

Should I merge both programs into one and run it as root via launchd and have the one daemon display GUI as well as play audio?

Or should I rather keep it as two programs like it is now - root daemon playing audio and find a way that the second program can automatically execute when each user logs in?

On macOS, you should avoid running any process as root. Apple would likely suggest keeping this type of application in two parts. Each part should be sandboxed with appropriate entitlements.

Your background computer wide process will not be able to access the graphical interface. You will need a second process running within the user's session to provide an interface to the user.

Use launchd to launch your computer wide process on-demand; see XPC services below. This way, while nothing is playing, you avoid consuming any resources.

XPC Services

For macOS, Apple want you to communicate using the XPC services architecture. This approach uses Mach ports at the low level, but your processes do not need to be too concerned about that detail.


Finding Multiple Files at Once I am learning French and I have a folder with 5000 words in it (ie 5000 mp3 files).

Out of the 5000 words there are 1243 that I still don't know. I want to extract those 1243 words and put them into a separate folder.

I have the 1243 file names listed in Excel, eg "autrement.mp3"

How do I search for them all at once, or in batches?

Thanks!

I found the answer here:

https://www.reddit.com/r/applehelp/comments/1qk525/how_do_you_search_for_multiple_items_all_at_once/

This worked for me:

Use the free software called EasyFind

Drag and drop your root folder in the window to set the source
Copy paste the list of photos you're looking for (you'll only see one in the box but they're all there if you arrow up/down.
Select "Any Word" in the options on the left
Hit enter to search
Select all the items in that list and copy (option+drag) or move them (drag) to a folder in finder.


iPhone iOS7 hangs and requires restart when Switching between apps Occasionally, the iPhone hangs and requires a restart when trying to switch between apps by double-clicking the home button. Mostly happens when in landscape mode, but yesterday that phone hanged while its in portrait.

Not sure what is causing this but does anyone else experience this ?

How can I fix this problem ?

It's a bug. It happens to me on occasion and I've heard that it's not an isolated occurrence.


Can I print to an Airport-shared printer from Linux? from iOS? I'm considering buying an Airport Express for wifi in my house.  I'll plug my printer into the USB port, so I can print from my Mac over wifi.

Two related questions:

Will I be able to print from my Linux box, which is connected via ethernet to the same router as the Airport Express will be?  (In the past, I've just plugged the USB cable into whichever machine, Mac on Linux, needed to print, so it certainly does support the printer.)  My thinking is that, if I can reach it over the network, I can print to it, but it's not clear from the documentation if it allows printing from the ethernet port, or if it only uses that for WAN communication.
Will I be able to print from iOS 4.2 from my iPod Touch?  There's not much AirPrint documentation yet -- really just a press release.  But it's not clear to me what it allows.  It says you can print to any shared printer, but then says HP's new printers will be the first to support it.  Which is it?  Can I print to my HP printer that's shared over an old-fashioned Airport Express?

Thanks!

I found a document called the "AirPortExpressSetupGuide.pdf", which has an answer to the first part of my question:

  All of the compatible computers on
  the AirPort network, both wireless and wired, can print to it.

So there seems to be no restriction on where you can print from.

iOS seems to have removed the ability to print to any printers except the 2 new ones HP is selling, so that's out.  Oh well.


Constrain Columns of Files in Finder to only 3? I like how in Finder, they only have 3 columns of files before the files wrap to a new row. However, when I lend out my USB to some friends, they don't have "Snap to Grid" enabled, which causes them to "add" in the 4th column, which messes up the view of the USB. Every time this happens, I have to manually drag everything back. This is quite time consuming and fine if I only have to do this once. However, I lend out my USB multiple times every week. It's quite a headache.

Is there a way to force Finder to constrain the columns of files to only 3 columns?

The setting your refer to, is stored in a hidden Finder file called .DS_STORE

This file is obviously overwritten by your friend’s Mac who obviously uses different settings.

As far as I know, there’s no way (other than perhaps making the file .DS_STORE read only in the USB so your friend’s Mac cannot write the “new annoying settings” to it).

You’ll need to jump into the Terminal (/Applications/Utilities/Terminal.app)

Connect your USB Drive, open Terminal.

In Terminal, type:

cd /Volumes
ls

You should see your own Macintosh HD (or whatever name your internal drive(s) have) and the USB drive (with the name it might have).

Cd into the USB drive like:

cd MyUSBDrive

if the drive has spaces in its name, you must enclose it between quotes

For example:

cd “My Strange USB”

Once in there, you can perform an ‘ls’ to view the contents of the USB. Do that to make sure it’s the right one. Else go back to cd  /Volumes and start over :)

Now adjust the settings in the finder the way you want them.

Done?

Now to change the permissions in the USB drive:

sudo chmod 444 .DS_Store

NOTE: The above command might ask you for your password, that is ok. The password won’t be seen when you type it. Just type your password and press enter. Remember the commands in Terminal are case sensitive.

What does that do?: chmod is a command that changes the permissions of files and/or directories. In this case, since the file is a hidden file from the finder, we have to do the job from the terminal (which can always see hidden things). The numbers (444) are read only for everybody.

If you don’t know what chmod does or how it works (or why 444) I recommend you take a look at the help (man page) for the command. In Terminal type:

man chmod

Will this work?
To be honest, I don’t know. I believe it will, but I’m not sure if ACLs are preserved in USB devices. If the USB is formatted with FAT32  (they usually are so Windows can read/write) the above might not work.

Other than that, there’s no magical way to tell finder do this, and do it this way. Because if there’s a .DS_Store file, Finder will read settings from there.


Can I get service for my Windows PC iTunes at a Genius Bar? I have a general question to ask.

If I have iTunes running on my Windows PC, and something was wrong, could I bring it into the Apple Store's Genius bar for them to service it?

Do they service Apple software outside of Apple hardware?

Apple retail stores support iTunes on PC. The depth of troubleshooting is typically deleting iTunes and associated applications from PC and re-downloading iTunes. That said many people have received great how-to info regarding iTunes on PC or Mac in Apple retail stores


How can I recalibrate quick look window? I have this issue where quick look window is away from its default position

I know I can drag it back, but is there a way to just resume its default position?
Thank you in advance!

I know I can drag it back, but is there a way to just resume it default position?

One way that I know of, without dragging the window back, is to in Terminal use the killall Finder command.
This works for me in macOS Catalina.


Apple Ipod Touch and Iphone So, I just got an iPod touch from a family member who used it for like couple of months, but somehow (even after resetting it) their photos that they take using their iPhone sync into my iPod photostream. And I need space on my iPod, so if I deleted all the pictures from photostream, will it delete pictures from their iPhone? I don't want to delete any of their items. I'm totally confused as to why it keeps doing that even after all this time.

Check and see whose Apple ID is being used by iCloud. Go to Settings -> iCloud -> Account. The Photo Stream associated with your device should be the one associated with the iCloud account that is logged into the same device.

Also, deleting items from the device will delete them from whichever user's account is associated with iCloud on the device.


ios: workflow app, is there a way to open several new tabs? I use the workflow ios app and I have created a workflow that opens a certain url once. This works fine and it opens this one url in a new tab. However, if I set this to repeat x amount of times it opens all urls in the same tab. (It could also be that the app "refuses" to repeat the command, hard to tell the difference. The central point is that I can only get one new tab, not more.)

The URL I use is https://pinboard.in/random/?type=unread which is a link that redirects to the URL of a random unread item in the bookmarking service pinboard.

The actions I use now are:

URL [$my_url]
Open URLs

With repeat it is:

URL $my_url]
Open URLs
Repeat 5

Is there some way to open one or more URLs in separate tabs with one workflow app workflow?

Open URLs action supports multiple URL input. Try putting the one URL in a List action, with however many list entries you need, and passing that into Open URLs. Should work


Yosemite: Disabling inertia scrolling using scroll wheel for the mouse Is there a way to disable inertia scrolling (scrolling speeds up the faster you scroll the mouse wheel) for Yosemite for only the mouse? I understand the reason for inertia scrolling for the trackpad, but makes no sense on the mouse.

I've tried various fixes in regards to this issue:

Downloading Scroll Reverser based on this thread.
Tried this thread's fixes.

But none of them disable the inertia scrolling for mouse. I would still like the default Windows mouse-scrolling behavior where one scroll is the same distance no matter how fast you spin the scroll wheel.

EDIT: Apparently you can disable inertia scrolling by enabling/disabling it in Mouse Options under Accessibility, but mine does not have the dropdown like other people seem to have:

This is the thread in question about mouse option inertia scrolling.

In Terminal, run the following command to disable mouse scaling.

defaults write -g com.apple.mouse.scaling -1

Similarly, the following disables scroll wheel scaling.

defaults write -g com.apple.scrollwheel.scaling -1


How to open/upload hidden files in apps or webapps? I can't view .DS_Store, .localized, ._.* and ._* with Finder: Show ALL files starting with a dot in Finder
user3439894 commented there that it's impossible to do so with Finder:

Some dot files, e.g. .DS_Store, you can see in Terminal using e.g. ls -a however the ones you used to see in Finder and cannot now see them is because Finder is programmed to not show those files files even with it's set to show hidden files. The ._* and ._.* are extended attributes/resource fork files and normally cannot be seen in Terminal or Finder when properly associated/linked to their normal files or if created on a filesystem which does support them and either viewed from Finder or brought back to an HFS+/APFS filesystem.

And an answer on SO Unable to show .DS_Store file on Mojave also says it's impossible with Finder.
So my question is, how can I send my handwritten file ._. to people on Discord?
I can't drag-and-drop the file to Discord, because I can't see it in Finder in the first place, and also the upload dialogue uses macOS' Finder file browser as most apps do so I also can't select the file manually after clicking the "Browse..." button.

Looking at your question, I can tell you that it is possible for you to create a file name "._." and then share it however, discord will automatically change the filename when you upload. This is how you do it tough. First, open the terminal then type the command touch ._. then type open ._. this will open the file in the text editor. Once you have the file opened type whatever you want in there, once you are done, open discord, and then drag the blank file icon from your text editor into discord. However, as I said, there is no point because discord will change the file name.


Resize filter for Apple compressor I use Apple Compressor to generate 60fps movie clips from sequences of PNG images. I use the HEVC coded with transparency. The resolution of the output movie is the same as of the input pictures, so no resizing is done.
Is it safe to ignore the Resize filter?

The resize filter only takes effect if the image is being resized, which you are not doing, since your export resolution is the same as the input.
E.g neared pixel option.:

Nearest Pixel (Fastest): Samples the nearest neighboring pixel when resizing an image.

In general this setting determines how the pixels are being calculated, e.g. if you resize from 4K to 2.7K or similar.
You can read more about all the settings at apple support.

As mentioned in another post in a comment, I would advise you to ask these video questions in a film/video forum. They will most likely give you more detailed and technical answers than here, since although you are using an Apple product, how to export videos is probably one of the most interesting/most discussed questions, because it determines what the actual audience will be able to see.


iPhone calendar "+" button to add events grayed out In my iPhone calendar, the "+" sign is grayed out and will not allow me to add an event.  I have tried going to calendars in iCloud (Settings, iCloud, turn on Calendars) and calendars was on, so I turned it off, waited a few seconds, and turned it back on; no success.  I closed all programs and rebooted the phone and still was not able to add an event into calendar,  also went to Settings, Mail, Contact, Calendar and all is on there as well.

I have Iphone 4s and this happens once or twice a year.I ignore signing in my emaail account when asked.This time I signed in to my account as if I wanted to send to my Calender and the plus sign turned back to red and now works.I don't normally sync to my account.I just keep info on phone.


In an AppleScript, how do I call/reuse a subroutine from another AppleScript? snippet 1a

on removeText(searchText, sourceText)
set prevTIDs to text item delimiters of AppleScript
set text item delimiters of AppleScript to searchText
set sourceText to text items of sourceText

set text item delimiters of AppleScript to ""
set sourceText to "" & sourceText
set text item delimiters of AppleScript to prevTIDs

return sourceText
end removeText

snippet 2a

on removeText(searchText, sourceText)
set prevTIDs to text item delimiters of AppleScript
set text item delimiters of AppleScript to searchText
set sourceText to text items of sourceText

set text item delimiters of AppleScript to ""
set sourceText to "" & sourceText
set text item delimiters of AppleScript to prevTIDs

return sourceText
end removeText

set theSentence to "I love Windows and I will always love Windows."
set theSentence to removeText("Windows", theSentence)

I found this subroutine (snippet 1a) is handy in snippet 2a and want to reuse it by calling its name. I googled for howto. Then I saved snippet 1a as /Users/henry/Library/Script\ Libraries/text.scpt and in snippet 2a I replaced

snippet 1b

on removeText(searchText, sourceText)
set prevTIDs to text item delimiters of AppleScript
set text item delimiters of AppleScript to searchText
set sourceText to text items of sourceText

set text item delimiters of AppleScript to ""
set sourceText to "" & sourceText
set text item delimiters of AppleScript to prevTIDs

return sourceText
end removeText

with

snippet 3

use script "text"

and got snippet 2b and then I ran snippet 2b, but I got an error saying «script» doesn’t understand the “removeText” message.

Reference: "use statement" (refer to the part found by searching use script "Happy Fun Ball" in https://developer.apple.com/library/mac/documentation/applescript/conceptual/applescriptlangguide/reference/ASLR_control_statements.html)

So I went back to google and found one suggesting I should save snippet 1a as "a script application".

Reference 2: at the bottom of https://developer.apple.com/library/mac/documentation/applescript/conceptual/applescriptlangguide/conceptual/ASLR_about_handlers.html

In that one's example, it's

snippet 4

tell application "NonStayOpen"
launch
stringTest("Some example text.")
end tell

so I exported snippet 1a as /Users/henry/Library/Script\ Libraries/text.app and wrote snippet 2c

snippet 2c

tell application "text"
launch
set theSentence to "I love Windows and I will always love Windows."
set theSentence to removeText("Windows", theSentence)
end tell

Then I ran it and got an error {} doesn't match the parameters {searchText,
sourceText} for removeText.

Afterwards, I have tried firstly to append removeText(searchText, sourceText) to snippet 1a (getting snippet 1c) and exported it to replace /Users/henry/Library/Script\ Libraries/text.app but got an error when running, failed;

secondly to replace removeText(searchText, sourceText) with removeText() in snippet 1a (getting snippet 1d) and exported it to replace /Users/henry/Library/Script\ Libraries/text.app but got an error when running, failed.

In snippet 2a, how do I call/reuse a subroutine (snippet 1a) from another AppleScript or "script application" (see Reference 2)?

Save this as text.scpt in Script Libraries folder

on removeText(searchText, sourceText)
    set {TID, text item delimiters} to {text item delimiters, searchText}
    set sourceText to text items of sourceText
    set text item delimiters of AppleScript to ""
    set sourceText to sourceText as text
    set text item delimiters to TID
    return sourceText
end removeText

Call it like this in another script:

set theSentence to "I love Windows and I will always love Windows."
tell script "text" to set theSentence to removeText("Windows", theSentence)


Is safe battery replacement for iPhone 5? My iPhone 5's (bought on January 2013) battery life is now something about 5-6 hours. I found some possibilities how to buy new battery and replace it. Does anybody have some experiences with this replacement? Does it work and solve the battery life problem?

iPhone 5 new battery

Before paying an independent dealer to replace your battery, first check if Apple will do it for free

Enter your serial number on this page - Apple: iPhone 5 Battery Replacement Program


Remap SHIFT + SPACE to underscore? I'd like to remap the shift key (⇧) + space (␣) to underscore (_)

I'd prefer to not have to install any third party tools if possible.

Similar question for windows

If you don't want to use a third party tool, you will face a similar problem as the OP in this question (DefaultKeyBinding.dict: Syntax error near unexpected token) that only applications which use the Cocoa text system will support this.

Additionally it appears that the shift ⇧ key can't be properly used as modifier key if shift ⇧+some key doesn't have another representation than an unmodified some key - and shift ⇧+space doesn't have one.

You may either create a DefaultKeyBinding.dict or install Karabiner and configure a custom keycode.

DefaultKeyBinding.dict (only applications which use the Cocoa text system will support this)

Open Terminal and enter:

mkdir ~/Library/KeyBindings
touch ~/Library/KeyBindings/DefaultKeyBinding.dict

Use nano ~/Library/KeyBindings/DefaultKeyBinding.dict to add (using another shortcut like cmd ⌘ctrl ^space here):

{
    "@^ " = ("insertText:", "_");
}

to output an underscore.

Karabiner (all apps should support this)

Download, install and open Karabiner
Open in the menulet Karabiner -> Preferences
Open the tab Misc & Uninstall
Hit the button Open private.xml
Open the file private.xml with an appropriate editor
Enter the customized keycode

<?xml version="1.0"?>
<root>
    <item>
        <name>Shift Space to Underscore</name>
        <appendix>(Change Shift-space to _)</appendix>
        <identifier>remap.shiftspace2underscore</identifier>
        <autogen>__KeyToKey__ KeyCode::SPACE, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_SHIFT, KeyCode::MINUS, MODIFIERFLAG_EITHER_LEFT_OR_RIGHT_SHIFT,</autogen>
    </item>
</root>

Save the file
Open in the menulet Karabiner -> Preferences the tab Change Key
Hit the ReloadXML button
Enable the remapping. It should be listed at the beginning.


How to clear the settings of default app to the files with special file extension? I set the default app to open the files with special file extension by mistake: the app could not open them at all for they're only file fragments (or, say, no app can until I combine them as one file).
So I want to clean the settings of default app (set no default app), but no solutions found. Any ideas? Hope for your answers!

It's free, and configurable per extension.

http://www.rubicode.com/Software/RCDefaultApp/


How to pause YouTube video via keyboard shortcut or from menu bar? Is there a piece of software that allows one to pause (& un-pause) a currently playing YouTube video (or, ideally, any online video/audio media), with a keyboard shortcut or a conveniently accessible button (e.g., a button that sits in the menu bar, located at the top-right of the screen)? The fewer necessary clicks, the better.

The key here is that I want the ability to pause the video in any application, that is, when Google Chrome is not the foremost application (e.g., TextEdit or Microsoft Word is the foremost application).

iOS has this shortcut built-in. If one swipes from the bottom of the screen to the top, media controls appear. These controls can manipulate any and all audio that originates in a Safari tab.

My web browser is Google Chrome.

OS X El Capitan, version 10.11.6.

I would also be open to accomplishing this with an AppleScript (that can then be assigned to a key combination in FastScripts.app). But, I cannot imagine that such a complex task is possible via AppleScript.

********** UPDATED SOLUTION **********
This update is a direct solution to the OP's original question.
This following AppleScript code will add a "Play/Pause YouTube" status menu item with the options to play or pause any YouTube video in either Google Chrome or Safari, whether the browsers are visible or not. Save this following AppleScript code as a "stay open" application in Script Editor.app.
use framework "Foundation"
use framework "AppKit"
use scripting additions

property StatusItem : missing value
property selectedMenu : ""
property defaults : class "NSUserDefaults"
property internalMenuItem : class "NSMenuItem"
property externalMenuItem : class "NSMenuItem"
property newMenu : class "NSMenu"

my makeStatusBar()
my makeMenus()

on makeStatusBar()
    set bar to current application's NSStatusBar's systemStatusBar
    set StatusItem to bar's statusItemWithLength:-1.0
    -- set up the initial NSStatusBars title
    StatusItem's setTitle:"Play/Pause YouTube"
    -- set up the initial NSMenu of the statusbar
    set newMenu to current application's NSMenu's alloc()'s initWithTitle:"Custom"
    newMenu's setDelegate:me (*
    Requied delegation for when the Status bar Menu is clicked  the menu will use the delegates method (menuNeedsUpdate:(menu)) to run dynamically update.*)
    StatusItem's setMenu:newMenu
end makeStatusBar

on makeMenus()
    newMenu's removeAllItems() -- remove existing menu items
    set someListInstances to {"Play/Pause YouTube - Safari", "Play/Pause YouTube - Chrome", "Quit"}
    repeat with i from 1 to number of items in someListInstances
        set this_item to item i of someListInstances
        set thisMenuItem to (current application's NSMenuItem's alloc()'s initWithTitle:this_item action:("someAction" & (i as text) & ":") keyEquivalent:"")
        (newMenu's addItem:thisMenuItem)
        (thisMenuItem's setTarget:me) -- required for enabling the menu item
    end repeat
end makeMenus

on someAction1:sender
    clickClassName2("ytp-play-button ytp-button", 0)
end someAction1:

on someAction2:sender
    clickClassName("ytp-play-button ytp-button", 0)
end someAction2:

on someAction3:sender
    quit me
end someAction3:

to clickClassName2(theClassName, elementnum)
    if application "Safari" is running then
        try
            tell application "Safari"
                tell window 1 to set current tab to tab 1 whose URL contains "youtube"
                do JavaScript "document.getElementsByClassName('" & theClassName & "')[" & elementnum & "].click();" in document 1
            end tell
        end try
    end if
end clickClassName2

to clickClassName(theClassName, elementnum)
    tell application "Google Chrome" to (tabs of window 1 whose URL contains "youtube")
    set youtubeTabs to item 1 of the result
    tell application "Google Chrome"
        execute youtubeTabs javascript "document.getElementsByClassName('" & theClassName & "')[" & elementnum & "].click();"
    end tell
end clickClassName

If you want your new... Play Pause YouTube Status Menu.app to only be visible in the status menu and not in the Dock, you can right-click on the app in Finder and select the option to "Show Package Contents".  In the Contents folder, open the Info.plist file in any text editor and add the following two lines.  Then save and close that file.
<key>LSBackgroundOnly</key>
<true/>

If you are not comfortable editing the .plist file directly, this following AppleScript code will allow you to choose the application to hide from the Dock when it is running.
If the chosen application is already set to be hidden from the Dock, the only option you will be given is to unhide the application from being visible in the Dock while it is running… And vice versa.
This script is especially handy for a hiding "stay open applications" with idle handlers' application icons from appearing in the Dock while running.
property fileTypes : {"com.apple.application-bundle"}
property plistFileItem : "  <key>LSBackgroundOnly</key>" & linefeed & " <true/>"

activate
set chosenApp to (choose application with prompt ¬
    "Choose  The Application You Want Hidden From The Dock While It Is Running" as alias)

tell application "System Events" to set appName to name of chosenApp
set plistFile to ((POSIX path of chosenApp) & "/Contents/info.plist") as string
set plistFileContents to (read plistFile)
set plistFileItemExists to plistFileItem is in plistFileContents

if plistFileItemExists then
    activate
    set theChoice to button returned of (display dialog ¬
        "Would you like to un-hide " & quote & appName & quote & ¬
        " from the Dock while it's running?" buttons {"Cancel", "Un-Hide"} ¬
        default button 2 cancel button 1 with title "Make A Choice")
else
    activate
    set theChoice to button returned of (display dialog ¬
        "Would you like to hide " & quote & appName & quote & ¬
        " from the Dock while it's running?" buttons {"Cancel", "Hide"} ¬
        default button 2 cancel button 1 with title "Make A Choice")
end if

if theChoice is "Hide" then
    tell application "System Events" to tell contents of property list file plistFile ¬
        to make new property list item at end with properties ¬
        {kind:string, name:"LSBackgroundOnly", value:true}
else if theChoice is "Un-Hide" then
    tell application "System Events" to tell contents of property list file plistFile ¬
        to make new property list item at end with properties ¬
        {kind:string, name:"LSBackgroundOnly", value:false}
else
    return
end if

************ ORIGINAL SOLUTION ************
This script will click on the Play/Pause button on a video playing in YouTube in Google Chrome, whether or not Google Chrome is visible.
to clickClassName(theClassName, elementnum)
    tell application "Google Chrome" to (tabs of window 1 whose URL contains "youtube")
    set youtubeTabs to item 1 of the result
    tell application "Google Chrome"
        execute youtubeTabs javascript "document.getElementsByClassName('" & theClassName & "')[" & elementnum & "].click();"
    end tell
end clickClassName

clickClassName("ytp-play-button ytp-button", 0)

This is the script version to work with Safari
to clickClassName2(theClassName, elementnum)
    tell application "Safari"
        tell window 1 to set current tab to tab 1 whose URL contains "youtube"
        do JavaScript "document.getElementsByClassName('" & theClassName & "')[" & elementnum & "].click();" in document 1
    end tell
end clickClassName2

clickClassName2("ytp-play-button ytp-button", 0)

In an effort to give the OP A complete AppleScript solution, I have taken my original answer one step further..
UPDATE
I finally figured it out.  I created an AppleScript application in Xcode.  Originally, my project only started with a one button window to control YouTube videos currently active in Chrome or Safari.  This project has grown a little bit into an application that contains several utilities.  This GIF shows the YouTube Pause button controlling YouTube in Chrome and Safari.  I linked the button actions to the AppleScript I originally wrote in script editor.

This is a snapshot of the Xcode application Working in the AppDelegate.applescript file.

Here is the code in that file I created to make the program work.
script AppDelegate

    property parent : class "NSObject"

    -- IBOutlets
    property theWindow : missing value

    to clickClassName(theClassName, elementnum) -- Handler for pausing YouTube in Chrome
        if application "Google Chrome" is running then
            try
                tell application "Google Chrome" to (tabs of window 1 whose URL contains "youtube")
                set youtubeTabs to item 1 of the result
                tell application "Google Chrome"
                    execute youtubeTabs javascript "document.getElementsByClassName('" & theClassName & "')[" & elementnum & "].click();"
                end tell
            end try
        end if
    end clickClassName

    to clickClassName2(theClassName, elementnum) -- Handler for pausing YouTube in Safari
        if application "Safari" is running then
            try
                tell application "Safari"
                    tell window 1 to set current tab to tab 1 whose URL contains "youtube"
                    do JavaScript "document.getElementsByClassName('" & theClassName & "')[" & elementnum & "].click();" in document 1
                end tell
            end try
        end if
    end clickClassName2

    on doSomething:sender -- Calls the Chrome YouTube Handler
        clickClassName("ytp-play-button ytp-button", 0)
    end doSomething:

    on doSomething14:sender -- Calls the Safari YouTube Handler
        clickClassName2("ytp-play-button ytp-button", 0)
    end doSomething14:

    on doSomething2:sender -- Hide and or show the Menu Bar
        tell application "System Preferences"
            reveal pane id "com.apple.preference.general"
        end tell
        tell application "System Events" to tell process "System Preferences" to tell window "General"
            click checkbox "Automatically hide and show the menu bar"
        end tell
        delay 1
        quit application "System Preferences"
    end doSomething2:

    on doSomething3:sender -- Sets Display resolution to the second lowest setting (15 inch Built In Retina Display - MBP)
        tell application "System Preferences"
            reveal anchor "displaysDisplayTab" of pane "com.apple.preference.displays"
        end tell
        tell application "System Events" to tell process "System Preferences" to tell window "Built-in Retina Display"
            click radio button "Scaled" of radio group 1 of tab group 1
            click radio button 2 of radio group 1 of group 1 of tab group 1
        end tell
        quit application "System Preferences"
    end doSomething3:

    on doSomething4:sender -- Sets Display resolution to the second highest setting (15 inch Built In Retina Display - MBP)
        tell application "System Preferences"
            reveal anchor "displaysDisplayTab" of pane "com.apple.preference.displays"
        end tell
        tell application "System Events" to tell process "System Preferences" to tell window "Built-in Retina Display"
            click radio button "Scaled" of radio group 1 of tab group 1
            click radio button 4 of radio group 1 of group 1 of tab group 1
        end tell
        quit application "System Preferences"
    end doSomething4:

    on doSomething5:sender -- Sets Display resolution to the highest setting (15 inch Built In Retina Display - MBP)
        tell application "System Preferences"
            reveal anchor "displaysDisplayTab" of pane "com.apple.preference.displays"
        end tell
        tell application "System Events" to tell process "System Preferences" to tell window "Built-in Retina Display"
            click radio button "Scaled" of radio group 1 of tab group 1
            click radio button 5 of radio group 1 of group 1 of tab group 1
        end tell
        quit application "System Preferences"
    end doSomething5:

    on doSomething6:sender -- Sets Display resolution to the lowest setting (15 inch Built In Retina Display - MBP)
        tell application "System Preferences"
            reveal anchor "displaysDisplayTab" of pane "com.apple.preference.displays"
        end tell
        tell application "System Events" to tell process "System Preferences" to tell window "Built-in Retina Display"
            click radio button "Scaled" of radio group 1 of tab group 1
            click radio button 1 of radio group 1 of group 1 of tab group 1
            delay 0.1
            click button "OK" of sheet 1
            quit application "System Preferences"
        end tell
    end doSomething6:

    on doSomething7:sender -- Displays a dialog with your current IP
        tell current application to display dialog (do shell script "curl ifconfig.io") with icon 2 buttons "OK" default button 1 with title "Your Current IP Address Is.." giving up after 5
    end doSomething7:

    on doSomething8:sender -- Shows hidden files in Finder
        do shell script "defaults write com.apple.finder AppleShowAllFiles TRUE\nkillall Finder"
    end doSomething8:

    on doSomething9:sender -- Hides hidden files in Finder if they are showing
        do shell script "defaults write com.apple.finder AppleShowAllFiles FALSE\nkillall Finder"
    end doSomething9:

    on doSomething10:sender  -- Brightness Highest
        tell application "System Preferences"
            reveal anchor "displaysDisplayTab" of pane "com.apple.preference.displays"
        end tell
        tell application "System Events" to tell process "System Preferences" to tell window "Built-in Retina Display"
        set value of value indicator 1 of slider 1 of group 2 of tab group 1 to 12
        end tell
        quit application "System Preferences"
    end doSomething10:

    on doSomething11:sender -- Brightness Lowest
        tell application "System Preferences"
            reveal anchor "displaysDisplayTab" of pane "com.apple.preference.displays"
        end tell
        tell application "System Events" to tell process "System Preferences" to tell window "Built-in Retina Display"
        set value of value indicator 1 of slider 1 of group 2 of tab group 1 to 0.1
        end tell
        quit application "System Preferences"
    end doSomething11:

    on doSomething12:sender -- Zoom
        tell application "System Events"
            key code 28 using {command down, option down}
        end tell
    end doSomething12:

    on doSomething13:sender -- Dictation On/Off
        tell application "System Events"
            keystroke "x" using {option down}
        end tell
    end doSomething13:

    on doSomething15:sender -- Enables Screensaver as Desktop background
        tell application "System Events"
            do shell script "/System/Library/Frameworks/ScreenSaver.framework/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine -background"
        end tell
    end doSomething15:

    on doSomething16:sender -- Kills Screensaver Desktop background
        try
            tell application id "com.apple.ScreenSaver.Engine" to quit
        end try
    end doSomething16:

    on applicationWillFinishLaunching:aNotification
        -- Insert code here to initialize your application before any files are opened

    end applicationWillFinishLaunching:

    on applicationShouldTerminate:sender
        -- Insert code here to do any housekeeping before your application quits

        return current application's NSTerminateNow
    end applicationShouldTerminate:

    on applicationShouldTerminateAfterLastWindowClosed:sender -- Quits app when clicking red x

        return TRUE

    end applicationShouldTerminateAfterLastWindowClosed:

end script

I updated the code so that the YouTube tab in Chrome doesn't need to be the visible or active tab when clicking the YouTube Pause Button created in Xcode
Here is a link to download the entire Xcode project

WARNING: The desktop screen saver function will freeze the App.  After force quit and re-open, The desktop screensaver function to exit active screen saver will work.
Afterthoughts:  I probably should have wrapped each of the AppleScript codes in "try" statements to avoid all sorts of error messages for those playing with this project,who don't have the same system and computer type that I do. (MacBook Pro 15" OS Sierra 10.12.6)
For the zoom function To work, it must be enabled in system preferences.

For the toggling of “Dictation on/off” to function correctly, the short cut to enable dictation commands in system preferences must match the shortcut used in the script

on doSomething13:sender -- Dictation On/Off
    tell application "System Events"
        keystroke "x" using {option down}
    end tell
end doSomething13:

Currently I am working on the ability to toggle between the application running windowed or menu bar only


Effects of changing shell Recently Apple changed the default shell to zsh from bash.  In the past I made significant changes to my .bashrc file.  How should I incorporate those changes into the zsh terminal?

Stay with bash and install a newer bash with brew (v5.0.11 instead of Apple's bash v3.2.57). Add the path to brew's bash to /etc/shells. In the advanced options of the System Preferences > Users & Groups > (alt-click) your user > login shell change the login shell to brew's bash. Some things may break though.

OR

Start using zsh: move the POSIX-compliant .bashrc content to .profile and source this file in .zshrc like this:

[[ -e ~/.profile ]] && emulate sh -c 'source ~/.profile'

Some things may break though.

OR BEST

Start from scratch and learn how to configure zsh. A lot of things in your .bashrc like aliases and env variables should work in .zshrc though.

There is no Google translator from bashin to zshlish. If you don't post the content of your .bashrc (we still can't look over your shoulder!), we won't be able to tell what may go wrong.


iOS Keyboard & Arrow Keys Running the iOS 9.2.1 on an iPhone 6S and an iPad 4 Mini, I notice that the iPhone keyboard in landscape mode now includes left & right arrow keys (how long, I wonder?). This does not appear to be the case in the iPad, even though you would expect that they would fit more easily there.

Is there a way I can get these arrow keys for the landscape orientation or for the iPad?

(I don’t mean on specialised keyboards in some apps, but on the standard keyboard).

Thanks

With the iPads, you can hold two fingers on the keyboard and move the cursor around by moving your two fingers around.

Additionally, you can double tap you fingers on the keyboard and it will select current word. If you double tap but keep your fingers down on the screen on the second tap, you can use this to select text by cursor position.

On the iPhone 6S, you can actually hard press (3D touch) to move the cursor, rather than using arrow keys in landscape.


Will iMessage be re-delivered when the recipient attains wifi access? I went into Settings > Messages > Learn More and it says that iMessage only works in Wifi mode. I am on Wifi and I have been trying to send iMessages to another person. Each time I send it "delivered" appears under the message. The other person calls me saying that she has not been receiving my iMessages. However, when I turn off iMessage in Settings > Messages, she starts responding to me, implying that regular SMS messages work. I am wondering whether the iMessages that I've sent have disappeared forever or will she start downloading the undelivered iMessages them when she attains wifi access?

My guess is that you both need to be on wifi, or you need to restart BOTH of your devices.


Missing swap file since latest update- Sierra I noticed the swap file went missing after the latest update to Sierra (10.12.5) though swap seems to be working.

vm_stat
Mach Virtual Memory Statistics: (page size of 4096 bytes)
Pages free:                             2152219.
Pages active:                            898204.
Pages inactive:                          276296.
Pages speculative:                       437656.
Pages throttled:                              0.
Pages wired down:                        427700.
Pages purgeable:                         133196.
"Translation faults":                  67396051.
Pages copy-on-write:                    6410771.
Pages zero filled:                     30858807.
Pages reactivated:                           31.
Pages purged:                             42928.
File-backed pages:                       715857.
Anonymous pages:                         896299.
Pages stored in compressor:                   0.
Pages occupied by compressor:                 0.
Decompressions:                               0.
Compressions:                                 0.
Pageins:                                 414848.
Pageouts:                                     0.
Swapins:                                      0.
Swapouts:                                     0.

Has anyone else seen this behavior and can confirm it’s intended and/or harmless?

In previous versions of OS X I always had at least one swapfile. That never went 'away'. Regardless of how much RAM was available.

But since Mavericks the memory management improved steadily (including zram-like vm-compression) and on the latest macOS after a fresh reboot I also do not see a swapfile. It gets then created as needed.

Only if you have low amounts of RAM in the machine and never see such a file created is there a reason for concern.

If you open a few apps and then Safari with a few tabs filled you shall see those files again.


How can I use my Bluetooth speaker for 2 Apps Spotify + Microphone Apps at same time? I would like to play the music on my Bluetooth speaker while singing over the music played from another application such as Spotify or YouTube. (Microphone Apps can be downloaded from the Apple store and works fine with my speaker, but it cuts of Spotify Apps)  iPhone 8 iOS12.

Musixmatch does it at monthly subscription charge and requires external microphone.

Rex.

What will work out of the gate is to:

Start something playing in the background (including Spotify).
Open GarageBand, and make a new project to record the microphone.
On the righthand side of the GarageBand window, turn on the monitor.

It will help you to go to the Advanced section of Song Settings, and switch on "Run in Background." That way the mic will be what's in the background, not your music app.

Now you'll hear your voice on top of the other audio - there might be a really big delay between when you speak/sing and when you hear it on the speaker, but this will have to do with what hardware is involved. Turning on "Send MIDI clock" might help, and turning off all effects on the track might as well... but better would be to try different hardware.

Either Audiobus 3 or AUM should do this too - neither is a free program, however, and I didn't test them.

Good luck!


Could my data have been accessed on my lost iPhone 4 with iOS 7? Yesterday, someone stole my iPhone 4 (it was updated with iOS 7), but iCloud backup was not enabled. My iPhone was locked with a 4 digit passkey.

I have confidential personal data on my iPhone, and I dont want this data to be accessed. I did quick search with 'Play sound', 'Lost mode'. After almost 1 hour I decide to use the 'Erase iPhone' option.

One hour later it shows me that my iPhone was erased.

I have the below questions:

Is it possible that my peronal data was accessed by the thief? even before I started the Lost mode and Erase iPhone options?
Is it possible that my iPhone was accessed through iTunes?
Since the iPhone was shown in iCloud as 'Erased', does it mean the iPhone was for sure connected to Internet? How does he enable Wi-Fi if there was a required 4 digit passkey?
Is there any extra protection with iOS 7?

It is only possible if the thief knew (or guessed) your passcode.
If your data was in standard apps(Mail, safari), then there's nothing to worry about, if it was stored in apps that allow for filesharing through the 'apps'-tab on iTunes, then I don't really know how iTunes handles that.
Yes it was connected to the Internet, but it could be with 3G (was it on when it was stolen?) or a public network that automatically connects (like Apple Stores or Starbucks) without needing a password.
Don't really know

In any case, report this to your local police office (bring the serial number, it should be on the box) and let them handle the theft.


Software was blocked from opening because it is not from an identified developer I went to run LibreOffice on my OS X 10.9 and it would not let me install it. It said it was from an unidentified developer. I'm aware of the security features of the Mac and went to System Preferences to allow the software to run.

When I opened this setting I saw a button that said, '"LibreOffice" was blocked from opening because it is not from an identified developer.' and there was a button next to it that said "Open Anyway". I clicked this button and nothing happened. I clicked it multiple times, like a hundred, out of frustration. Is there something else I need to do? Could someone verify this is not a bug?

UPDATE:
I've included the photo below of what my System Preferences screen looked like and the button I pushed that didn't work.

UPDATE II:
So I tried opening the application again and went into the system preferences and pressed the "Open Anyway" button again and nothing happened at first but a few minutes later while I was typing an email something flashed across my screen, possibly another dialog (or more likely a chewpacabra), but it quickly disappeared and the next thing I know LibreOffice launched!

System Preferences → Security and Privacy → Allow apps downloaded from… and select either Anywhere or (preferably) Mac App Store and identified developers (more secure option).

If you don't set it to Anywhere, to run the app right-click (⌃ ctrl-click) on the app and select Open, then take it from there (this is only needed the first time you launch the app).

I downloaded LibreOffice 4.1.2 on OS X 10.9 and tested this (I have my security setting at Mac App Store and identified developers) and was able to launch without any problems as above.


Spam iCloud Calendar Invitations Today I've suddenly received spam calendar invitation for $19.99 Ray Ban sunglasses (never subscribed, checked, searched or visited any related site, so clearly spam) and it has other visible email accounts within the invitation.
I'm wondering if I should be worried whether my accounts been compromised or a simple email from anywhere just plops this in my calendar without review.
Questions to be answered:

What should I check/setup in order to make sure my iCloud account is safe?
How can I delete this invitation without sending a notification to the sender, so as to prevent them from knowing my email address is live?
How can I prevent these notifications in the future?

Here's an image:

Regarding how to prevent this in the future (question #3):

Log in to iCloud Calendar on a computer web browser
Authenticate if needed, then select the Calendar view
Select the Settings Gear icon ⚙ in the bottom left corner then hit Preferences...

Select Advanced

Choose the option to receive calendar invitations by email instead of allowing the server to insert them without review into your calendar:

Select Email to [youremail] instead of In-app notifications

You now get to decide and delete or process calendar spam like regular email spam, allowing you to filter out these spam calendar invitations systematically.


Does Apple provide replacement tips for their In-Ear Headphones? One of my earbud tips has been lost. I'd like to replace it. I'd prefer not to use a third-party service, as the quality of the material is never as high as Apple's.

Do you know if Apple will replace them?

I know it used to be not a big hassle to change them. You could just send them to Apple and a few days later, the new earbuds arrived. But since many people took advantage of this system, Apple came up with a limit (both in quantity as in warranty time).

Now days, my best guess is to go to the Apple Store and ask if they will replace it.

But why would you exclude non-Apple earbuds? There are some very good (and cheap) ones. For example on DealExtreme or even on eBay.


How can I upgrade all my Pages '09 documents to Pages '13? I have a very substantial body of Pages 09 documents that I work on.  I've upgraded to Pages '13 recently.  Now, every time I open one of those old documents to work on it, I am greeted with the following dialog upon my first keypress:

Is there any way to mass upgrade them?  Or to default this behavior to "Upgrade Already!!"

I was able to fix this by doing the following steps:

Create a new pages document, and just throw in whatever text. Save it.
A .pages file is actually a .zip file, so right click on that and unzip it.
In your 09 pages file, right click and select "Show Package Contents"
Copy everything from the Index directory of your 09 pages doc to the Index directory of the new one.
Zip up your new one, the one you unzipped and copied in the 09 index files.
Rename the zip file you just created with a .pages extension
Open in pages.


OS X Ukrainian spellcheck I did some research and still have trouble to find any way to enable Ukrainian language spell check in OS X.

Please advise how to make it happen.

Get the .dic and .aff files from

https://github.com/titoBouzout/Dictionaries

And put them in home/library/spelling


Using hotcorners to move between spaces/desktops I would like to use hot corners to move between desktop/spaces. Right now, the only way to move between desktop with a mouse, is to go via Mission Control and clicking on the desired desktop. I want something faster without using keyboard shortcuts.
Is there any programs available or is there a code I should edit?

If you have a magic mouse with gestures turned on you can two finger swipe left or right to scroll through the desktops.


Google Drive File Stream listed many times in Finder Since I have installed Google drive file stream, the drive is listed many times in the toolbar.

I have already tried to unmount or remove them from the view, one by one. But everytime I mount the drive they show up again.

As a last tentative, I have reinstalled file stream, but it didn't solve the issue.

I have used both terminal and diskutil, but I couldn't find a way to solve the problem.

Well, I had the same issue on Mojave.
You can try this:

1 - Open Google Drive File Stream Preferences

2 - Copy Local cached files directory

3 - Disable Launch Drive File Stream on system startup

4 - Sign out and close Google Drive File Stream

5 - Go to Launchpad -> Other -> Terminal

6 - Type command = sudo -s

7 - Type your password

8 - Type command = cd [the local cached files directory location you copied before at step 2]

9 - Type command = pwd (to be sure where you are)

10 - If you're on the same directory name you got at step 2, type command = rm *

11 - Confirm deletion of all files (if asked)

12 - Type command = ls -la (to be sure all files are gone)

13 - Restart computer

14 - Open Google Drive File Stream, login again, follow the instructions

15 - Check finder to see what happens


SMS iPhone history chaos after migration from Android I used the "Move to iOS" app to transfer data from my old Android phone to a iPhone SE. SMS were transferred but the history is totally chaotic: Older messages are displayed after newer one and the timestamp is wrong in most of them.
I don't know where to start to solve (if possible) this problem. Any hint is appreciated.

I would reset the whole iPhone and start over. Most likely the file was not read correctly after the transfer from the Android phone and the message history was corrupt/moved.
Look at this tutorial how to transfer messages from Andriod to iPhone.
Here is the official document from apple about "Move from Android to iPhone, iPad, or iPod touch".


Can I use an iMac as monitor for MacBook Pro? Is this possible with an early 2009 iMac without Thunderbolt and a 2011 MacBook Pro?

My dream solution looks like a Apple Thunderbolt Display!

No, as the first iMac which allows this is the 27-inch Late 2009 iMac, as explained here.

There are, though, some Applications which may achieve something similar, requiring both computers to be connected to the same LAN/WiFi/VPN, and sending all the information, the one to be displayed on the second computer working as a display, through it. Such as ScreenRecycler. You can find some more here.


Safari Extension like ShowIP For reasons that are unimportant, I really need an extension just like the ShowIP extension for firefox but for Safari. Tried google and the safari extensions gallery but got nowhere.

On top of this, I need a version for mobile safari, but I'm not sure if that is even in the art of the possible.

It's not an extension but the Quix bookmark has a handy host command that works with any browser - even mobile safari.


Macbook Pro 2016 freezing after MacOS High Sierra 10.13.2 update I have a Macbook Pro 2016, maxed out. After I updated to High Sierra, I experienced two freezes within the first day. In both instances, the screen freezes, except for the mouse, and the fan gradually ramps up to max speeds.

The first time I experienced the freeze, I had a lot of programs running, however, I only had a few programs running during the second freeze.

Are there know issues with High Sierra, and is there something I can do to troubleshoot them?

Try resetting your System Management Controller (SMC).
https://support.apple.com/en-gb/HT201295


OSX 10.6.8 internal mic does not register voice in PhotoBooth but registers in system preferences I am having issues where so far PhotoBooth video recordings and flash based web applications do not register my voice using the internal mic.

I have also tried with and without plugging in headphones (no mic on head phones).

System Preferences -> Sound -> Input however does register my voice as well as System Preferences -> Speech -> Speech Recognition -> Calibrate

I know this is a stupid question but it just caught me when I was looking into your problem. Are you sure you have output set to Internal Speakers not something else like an Airplay device?

When you set the "Sound Effect" do you get noise out of the speakers


El Capitan, expand desktop thumbnails by default in Mission Control On previous versions of OS X, desktop thumbnails were showing by default in the Mission control.

In El Capitan, however, they are collapsed by default and only the names are showing (i.e., Desktop1, Desktop2, etc.). I have to place the mouse pointer onto them to expand it and see the thumbnails.

Is there any way I can get the previous behaviour back?

Edit 1/30/16:
After using a few different options in my daily workflow over the past few months, I've settled on almost exactly the solution proposed by @Arctus. Despite requiring a 3rd-party program, BetterTouchTool (BTT), I believe it to be the best current option.

See @Arctus's answer for the general method and a helpful screenshot. Here are the specifics that were missing from that post:

You want to make sure that you have the mission control gesture turned on in your system preferences and set to either a 3- or 4-finger swipe up (the only options). (I tried adding a step to my BTT macro to open mission control, but I abandoned that because you lose the ability to use the inverse gesture, a 3- or 4-finger swipe down, to close Mission Control.)
For the "Delay Next Action" step, you'll most likely need to set it to at least 0.06 seconds. I settled on 0.08 seconds. (I tried shorter durations like 0.02 and 0.03 seconds, but they didn't work consistently. It seems that sometimes that was too fast so it didn't trigger the expansion. YRMV on this, so if it's not working for you, or if it only works sometimes, try increasing this a bit.)
For the "Move Mouse To" step, I found best results using the exact top-middle of my screen. (ex: My screen width is 1280 pixels, so I used x=640, y=0.)

You'll probably notice that BTT actually has a predefined action called "Mission Control & Immediately Show Desktop Previews". Unfortunately, it has an annoyingly long delay between opening mission control and expanding the desktop previews that made it unusable for me. This custom solution is very smooth, very consistent, and doesn't seem to cause any undesired behavior.

The other main variation of the BetterTouchTool method is to use either the top-left or top-right hot-corners to open mission control and then to use BTT to move your mouse to the corner and back upon your chosen gesture. This allows other gestures besides 3- or 4-finger swipe up, but it introduces a hot corner that you may not want. I found that I was triggering the hot corner accidentally far too often for this to be a viable option for me. Again, YRMV.

I'm not an expert at BTT by any means, but if anyone has any questions, I'm happy to try to help. Good luck!

/edit

Original Post:

El Capitan Mission Control Mechanics

As Fletcher91 mentioned, thumbnails are collapsed by default if you launch Mission Control from a "Desktop Space" (a Space with a name like "Desktop 1", "Desktop 4", etc.) whereas the thumbnails are expanded by default if you launch Mission Control from a "Fullscreen App Space" (a Space that was generated by fullscreen-ing a window and that is named for that app window, like "Notes" or the title of a webpage if it's a browser window).

The reason for this is that Mission Control serves two functions:

Display all open windows in your current Desktop Space to enable easy switching between them (the "all-open-windows" view).
Display the list of all Spaces to enable easy switching between them.

An Apple rep I spoke to told me that that the motivation behind collapsing the thumbnails when opening Mission Control from a Desktop Space was to provide more screen real-estate to the all-open-windows view and to reduce clutter. When opening Mission Control from a Fullscreen App Space, the focus changes to the all-open-windows view for the most recently viewed Desktop Space and the thumbnails are expanded (unfounded speculation: presumably this is because for Fullscreen App Spaces, there are no other windows in the same Space, so the only reason to open Mission Control would be to switch Spaces).

Any way to always show thumbnails by default?

The Apple rep also confirmed that there is currently no way to enable thumbnail expansion by default.

However, I did some research and tested out a few other answers and I've been able to confirmed some special cases that may be useful:

If you use "Hot Corners" System Preferences >> Mission Control and set either the top-left or top-right corners to open Mission Control, it simulates the old behavior, but only because in triggering the Hot Corner callback, you've placed your mouse within the area that triggers the thumbnail expansion anyway). Unfortunately, this is probably the best option at this point, even though it involves changing a habit which isn't always easy. If you go with this approach, I recommend disabling the trackpad gesture so that this is the only way you can do it—at least until the habit sinks in.
As akaRem mentioned, if you open enough Spaces, Mission Control thumbnails will be expanded by default! I tested this on my 13" 2013 MBP Retina using all fullscreen Chrome Spaces, all desktop Spaces, and various combinations of the two along with some other random Spaces (including the Dashboard Space both on and off) and it always took exactly 13 spaces to make it so that the thumbnails were expanded by default when opening Mission Control from a Desktop Space, which is a different number from akaRem. I don't know if it varies with hardware or what, but it's interesting. (If anyone else tests this, let me know your results). Ultimately though, this is not a practical solution.
The closest thing to a usable workaround that we have at this point (if you want to open Mission Control with gestures or hotkeys) is to use third-party software like BetterTouchTool to create a macro that executes on your chosen gesture like Arctus's did.

Like others here, I have submitted feedback to Apple for this issue. Here's the link if you want to do the same.


Make Gboard default keyboard I'm new to using iOS with regularity. (Employer-issued phone is an iPhone 7.)

I can't stand the built-in keyboard. I've installed Gboard, but I can't figure out how to get it to come up.

When I press the globe on the default keyboard I don't get Gboard as an option. In any event, I'd like Gboard to come up as my new default rather than having to choose it each time (which I currently can't do anyway).

What do I need to do?

Open Settings → General → Keyboard → Keyboards.
Choose Add New Keyboard… and select Gboard under Third-party keyboards.

To set Gboard as default, tap Edit, then drag Gboard to the top of the list.


just got new imac with fresh Mavericks install, old data still remaining, how to find and delete? I just bought a 24' used iMac.

The previous owner reinstalled Mavericks and sent it to me.

I looked at the disk usage info and it appears as if all the old data, movies, music, and everything else, is still there. Only 100gigs are free on a 500gig drive.

Is there a way to find this old data and reclaim my hard drive space?

I don't have a disk.

You do not need a disk to reinstall Mavericks, since it has a recovery partition that will download Mavericks and do a fresh install, if you prefer to do that.

Erase and reinstall Mavericks: http://support.apple.com/kb/PH14243

Otherwise, you can probably just delete the user account, which will offer to delete all the user's info, freeing up considerable space.


What is the netstat command for particular port if that's connected or not? Need to know what is the exact netstat command to find out if a port is connected with any network or it's open through OS X Terminal. I want info on a particular port, such as port number 80, so the netstat command should include the port number.

Probably the best you can get is

netstat -f inet -n | grep .port

or

netstat -f inet | grep .servicename

Examples:

machine:~ user$ netstat -f inet -n | grep .443
tcp4       0      0  192.168.114.5.58471       192.111.0.25.443       ESTABLISHED
tcp4       0      0  192.168.114.5.57990       192.111.0.25.443       ESTABLISHED
tcp4       0      0  192.168.114.5.56813       192.111.0.25.443       ESTABLISHED

machine:~ user$ netstat -f inet | grep .https
tcp4       0      0  machine.example.co.58471 stackoverflow.co.https ESTABLISHED
tcp4       0      0  machine.example.co.57990 stackoverflow.co.https ESTABLISHED
tcp4       0      0  machine.example.co.56813 stackoverflow.co.https ESTABLISHED

Please consider that using port numbers below 256 in the first command may collide with one or more of the 4 octets of IP-numbers.


Macbook Retina 15" camera - hardware, firmware or software issue? When I try to use camera on my macbook in photo booth / skype there's no image coming from it. Camera's LED blinks (with approx 1 second interval).

How do I fix that or confirm that's a hardware related problem?

Anything else I should try aside PMU and SMC reset?

The green LED is hardwired to the camera. If the green light is on, the camera is on. If the green light is off, the camera is off. So, I believe your camera is turning on and off, on and off, on and off…

There are a couple other things you can try:

Try a different user account: if you have another user account on your MacBook, log in to it and try to use the camera. If not, first create a new user account via the System Preferences. If the camera works in the alternate user account, then you can safely say that something with your account's settings aren't quite right.
Determine whether your MacBook properly recognizes the camera: Check System Profiler (in the Utilities folder, inside the Applications folder). Under the USB header, check to see if the iSight camera is detected.

(I found these troubleshooting steps on Apple's Support Website:
How to Troubleshoot iSight.)

If these don't help, then it's probably a hardware issue: you'll need to take your MacBook to a local Apple Store Genius Bar (or other authorized Apple Service Provider) for further help.


What font is used for the file extensions in mac icons? The fonts on one of our macs have become corrupted. I was able to fix most of the problem by copying across a non-corrupt version of Lucida Grande from another Mac. However, the font used to display the file extension on the icons remains corrupted.

The image below shows a non-corrupted version of what I am referring to:

What font is used to display the filetype in the above image?

I suggest trying the Helvetica Neue and Avenir families, as Apple uses them elsewhere.


How can I completly clear all browser history, caches, and keychain passwords? Borrowed a laptop from a friend and would like to clear all internet history and clear all flash caches etc, and forget passwords from the keychain (if it stores these?)

Been using incognito mostly but yeah, and weird cookies stored in a random subolder or anything?

Thanks in advance!

If you're using Safari, go to Safari -> Reset Safari and select check every box. Then click reset.

If you're using Chrome, click Cmd-Shift-Del and check the desired boxes. Here's an image:

Hope this helps!


Can I manually/programmatically put the battery charging on hold? I have a 2016 MBP and due to my work-from-home setup I need to use an external monitor for working, which force the Mac to use the discrete graphic card and thus a faster battery drainage (together with other software).
Given the advertised feature that should put the battery charging on hold at 80%, the last weekend I have updated the OS from 10.14 to 11.1, but that feature doesn't seems to work as expected: even if enabled (by default), it always charge up to 100%; sometime it happend to actually stop charging, but after a few seconds it ramped again up to 100% automatically.
My question is, is there a way to force that behavior ? I've looked at pmset's man-page, but I haven't seen anything related.
Thanks in advance!

Here's a tool that I've seen recommended by others:
https://github.com/davidwernhart/AlDente
It can limit your charging to specific percentages. However, I've not used it myself.