• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Setting Finder Column width
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setting Finder Column width


  • Subject: Re: Setting Finder Column width
  • From: Christopher Stone <email@hidden>
  • Date: Sat, 04 Oct 2014 17:57:36 -0500

On Oct 04, 2014, at 10:46, Robert Poland <email@hidden> wrote:
Is there any way to control width of, for example, the name column?
______________________________________________________________________

Hey Bob,

Same old, same old...

No.  There's no way to do that natively.

System Events can detect the separator though:

-------------------------------------------------------------------------------------------
tell application "System Events"
  set quit delay to 0
  tell application process "Finder"
    set frontmost to true
    tell window 1
      tell image 2 of UI element 1 of row 1 of outline 1 of scroll area 2 of splitter group 1
        set {xPosition, yPosition} to position
        set {xSize, ySize} to size
      end tell
      set {xPosition, yPosition} to {xPosition + (xSize div 2), yPosition + (ySize div 2)}
    end tell
  end tell
end tell
do shell script "/usr/local/bin/cliclick c:" & xPosition & "," & yPosition & " w:100 c:. c:."
-------------------------------------------------------------------------------------------

Unfortunately I can't get this to work.

I tried without success to have System Events do the clicks, but no go.

CliClick clicks at the correct spot, but the resize doesn't happen.  Damn it.

If anyone can make this work I'd like to know.

--
Best Regards,
Chris

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Setting Finder Column width
      • From: Robert Poland <email@hidden>
    • Re: Setting Finder Column width
      • From: Robert Poland <email@hidden>
References: 
 >Setting Finder Column width (From: Robert Poland <email@hidden>)

  • Prev by Date: Re: Yosemite impact
  • Next by Date: Re: Setting Finder Column width
  • Previous by thread: Re: Setting Finder Column width
  • Next by thread: Re: Setting Finder Column width
  • Index(es):
    • Date
    • Thread