Category "macos"

How to convert PDF to Excel on a Mac?

I have a lot of PDFs to convert to excel. I found the code below which converts PDF to excel by opening the pdf file in word but it fails at Dim fso As New File

How to increase IDE memory limit in IntelliJ IDEA on Mac?

I'm using IDEA 12 Leda on Mountain Lion. I wanted to increase the maximum memory that IDE can use. I set the VMOptions in Info.plist file to be -Xmx2048m -ea -X

How properly add MacOS Signature & Notarization to .app built with Qt

I have an application (built with Qt / QML) that I am trying to sign and notarize for Ad hoc distribution outside the App Store (it's for internal company use).

shell command fails when running from crontab

[Edit: the original title of this question was "Applescript running from crontab not accessing network?" but having found that the problem is about PATHs--not n

How to zoom the screen programmatically with private coregraphic methods (how to find function arguments)

as you may know Mac OS X has a pretty nice screen zooming functionality built in, which can be enabled in System Preferences => Universal Access. Now I'm tr

Simulate run on older OS X version

How can simulate a run on a older OS X version ? Right now my app works on 10.7 and 10.8 but I want to make it compatible with 10.6. Since I'm using some new

SwiftUI TapGesture onStart / TouchDown

I am using the TapGesture in SwiftUI for MacOS. TapGesture is only recognized on TouchInsideOut event, when releasing the press again. I want to call an action

Why can't Groovy find this program even though it's on my PATH?

tl;dr: Groovy cannot find a program (phantomjs, which is on my $PATH) when I attempt to execute the shell command from a class -- it's otherwise finds it just f

Zsh detects insecure completion-dependent directories

I get the following error messages when I open my terminal, Hyper: [oh-my-zsh] Insecure completion-dependent directories detected: drwxrwxr-x 7 dwaynethe2nd

Detect color under macOS mouse cursor

I want to know how to get the color of the pixel where the OS X / macOS mouse pointer currently is located. I programmed a console application, so I have no win

Node.JS [nodemon] Internal watch failed: ENFILE: file table overflow

[nodemon] 1.19.1 [nodemon] to restart at any time, enter `rs` [nodemon] watching: src/**/* [nodemon] starting `ts-node index.ts` [nodemon] Internal watch failed

How to disable Click through to a NSView behind another NSView

I have two NSViews on top of each other. One NSView presents a table with rows. On clicking a row another view is shown on top of that view. Now the problem i

How to change the order of list of in-app purchases in appstore app information section?

I have more than 20 in-app purchase subscription plans inside my app. I want to show few selected plans inside the Appstore information section and also I need

How do you reset the stored credentials in 'git credential-osxkeychain'?

I've followed the GitHub instructions for setting up my account, and I'm able to clone, but I'm unable to push remotely. When I do a "git push" I get the 403 e

Placing the toggle sidebar button on the sidebar toolbar

I have a three column layout macOS application with the first being the sidebar. I have a button that toggles that enabling the user to hide the sidebar. On Xco

AppleScript to remove icon from dock

I need to be able to run the script through Terminal only. I've seen other scripts that work as long as you change some settings in Accessibility; this is not a

AppleScript to remove icon from dock

I need to be able to run the script through Terminal only. I've seen other scripts that work as long as you change some settings in Accessibility; this is not a

dotnet --version gives "the folder [/usr/local/share/dotnet/host/fxr] does not contain any version-numbered child folders"

When I run dotnet --version in Terminal on my Mac it gives an error: A fatal error occurred, the folder [/usr/local/share/dotnet/host/fxr] does not contain any

Xcode 13 on Catalina

I downloaded Xcode 13.2.1 from Xcode Releases but as it is not supported for macOS Catalina I cannot install it. Are there any ways around this, other than to f

CrashReporter dialog doesn't show when mac app crashes

I have a Mac app store app that just silently disappears when it crashes. It doesn't show the CrashReporter dialog to give the user a chance to report the crash