FAQ Database Discussion Community


Launch app at login in OS X 10.10 Yosemite

osx,cocoa,osx-yosemite,yosemite
I need to add my application to the login items in the system preferences when then user presses a button. I've seen other answers around Stack Overflow, but many of them rely on <10.8 or <10.10 and deprecated APIs like LSSharedFileServices. Some of the answers refer to LSSharedFileServices, to which...

Apple Script that copies/pastes text is broken in Yosemite

osx,applescript,automator,yosemite
I made a simple AppleScript that copies the layer names from Photoshop and pastes them into Illustrator. It worked fine in Mountain Lion but now it doesn't work properly in Yosemite. It repeats 6 times, but it doesn't seem to activate Illustrator on the first run through. It does activate...

WSGIScriptAlias Apache in MAC Yosemite

apache,alias,wsgi,yosemite
Hello I have configured SSL and MAMP finally I succeeded, but now I need to hold a controller server that is in wsgi, I configured the WSGIScriptAlias but the URL is not looking where I access. In the browser I can see the json to configure it to look for...

Populating ViewBased table from data in 6 different NSMutable arrays

objective-c,arrays,osx,yosemite
I have 6 different NSMutable arrays [(Arr(A); Arr(B); etc.] each of which represents data for one cell of a row in the table. The array is essentially the key representation. They are built in a prior classes, passed to the current class and have exactly the same number of string...

Color picker on mac os-x selects wrong colors

osx,colors,yosemite
Our designer gave me a color value: RGB 217,114,62 In mac image preview I open the color selector, switch to rgb and put in the rgb values. But the color preview seems to be too dark. So I take the color picker and select the color in the preview window....

NSView preventing window/content view from resizing horizontally

osx,autolayout,nswindow,nsviewcontroller,yosemite
I have an NSView inside my main view that is preventing my window/main view from resizing correctly. Even when I go fullscreen, My main view can't fill the screen (there's some black space at the right). I know that the cause is that particular view (or something inside) as when...

Mac IntelliJ cursor style/type does not change (stays as default)

java,osx,intellij-idea,cursor,yosemite
Sometimes (every 10 minutes in average) the cursor style/type does not change from the default to edit or drag/resize when hoovering between various window components in IntelliJ Idea (OSX Yosemite). It stays stuck in the default style unless I do some weird combo such as right click in the editor...

Using Yeoman aspnet generators (Updated)

asp.net,terminal,yeoman,yeoman-generator,yosemite
I am trying to develop ASP.NET applications using a macbook computer with the Yosemite operating system. I've retrieved the DNVM using Homebrew with the following commands: brew tap aspnet/dnx brew update brew install dnvm I've also setup the ASP.NET generator using the following commands: npm install -g yo generator-aspnet npm...

OS X Yosemite gcc unrecognized command line option 'mdll' after brew install gcc

c++,osx,gcc,brew,yosemite
I installed gcc using brew because I needed to install brew's Fortran package. It seems that the gcc package installed by brew install gcc does not support the mdll flag. How can I install the correct versions of Fortran and gcc? $ which gcc /usr/local/bin/gcc $ gcc --version gcc (GCC)...