Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Sep 13, 2012, 04:00 AM   #1
foxs
macrumors newbie
 
Join Date: Sep 2012
Finder column view modify width of active column

Is there a way in any language written for OSX (Applescript, C++, etc.) where I can access the function (adjust column width) in the context menu, when you right click on the two lines at the bottom of the Scrollbar in Finders Column View (AXMenu->AXMenuItem)? Same happens if you double click on the two lines.

Because, what I want to do is somehow get a shortcut on this function for »super-fast- finder-workflows«

thanks
foxs is offline   0 Reply With Quote
Old Sep 20, 2012, 08:16 AM   #2
foxs
Thread Starter
macrumors newbie
 
Join Date: Sep 2012
Is there no answer or does no one know?
foxs is offline   0 Reply With Quote
Old Sep 21, 2012, 09:48 AM   #3
bumper314
macrumors member
 
Join Date: Jun 2009
I explored this extensively a couple years back, but unfortunately there was no way to do it programmatically. I tried to do it by simulating mouse events, and it works OK, but not 100%...
bumper314 is offline   0 Reply With Quote
Old Sep 22, 2012, 06:17 AM   #4
foxs
Thread Starter
macrumors newbie
 
Join Date: Sep 2012
How do you detect where to double click with the mouse?
Because basically it should expand the column where im currently
active in. That would probably be the optimal case.


Thanks
foxs is offline   0 Reply With Quote
Old Jul 2, 2013, 06:15 AM   #5
foxs
Thread Starter
macrumors newbie
 
Join Date: Sep 2012
Pushing the thread to the top —*maybe someone got a solution by now
foxs is offline   0 Reply With Quote
Old Jul 23, 2013, 03:13 AM   #6
foxs
Thread Starter
macrumors newbie
 
Join Date: Sep 2012
trying to push again. It has to be possible somehow!
foxs is offline   0 Reply With Quote
Old Jul 24, 2013, 07:14 AM   #7
ArtOfWarfare
macrumors 603
 
ArtOfWarfare's Avatar
 
Join Date: Nov 2007
Send a message via Skype™ to ArtOfWarfare
Quote:
Originally Posted by foxs View Post
trying to push again. It has to be possible somehow!
If you can find a way to access the NSApplication, NSApplicationDelegate, or NSWindow, this is trivial. I feel like there's probably a fairly easy, hack for scanning through memory and finding the address. Then you just use introspection through the subviews until you find the column view and modify the relevant properties.

Alternatively, if Finder allows plugins, it may already let you know about the NSWindow.

It looks like Finder doesn't allow plugins, but other people have explored the methods that I was describing:

http://stackoverflow.com/questions/1...-finder-plugin

Some of those answers look pretty good to me.
__________________
Don't tell me Macs don't last: 2007 iMac, 2007 Mac Mini, 2008 MacBook Air, all Vintage.
(iMac obsoletion: April 28, 2015, MBA: October 14, 2015, Mac Mini: March 9, 2016)
ArtOfWarfare is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Finder Column View size carlsson OS X 10.8 Mountain Lion 9 Jun 19, 2014 01:40 PM
Sorting Finder Column View GerritV OS X Mavericks (10.9) 0 Dec 20, 2013 01:31 AM
Column-view: inconsistent behavior with new Finder windows roboboticus OS X 10.8 Mountain Lion 2 Sep 9, 2013 09:32 AM
Finder: Arrange by Kind glitch in Column View WrrN OS X 10.8 Mountain Lion 5 Jan 24, 2013 05:35 AM
Dimension and Duration info in Finder(Column View) heisenberg123 Mac OS X 10.7 Lion 0 Jul 18, 2012 07:38 PM

Forum Jump

All times are GMT -5. The time now is 10:00 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps