• 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: Sun, 05 Oct 2014 10:49:44 -0500

On Oct 04, 2014, at 22:23, Robert Poland <email@hidden> wrote:
It takes much more to get to the divider and then a cliclick dc: to activate it.
______________________________________________________________________

Hey Bob,

My script DOES FIND the divider as I mentioned before.

Okay.  I was doing two single-clicks with `cliclick`, because I missed the dc: command.

Using 'dc:x,y' this works every time on my 10.9.5 system:

-------------------------------------------------------------------------------------------
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
set shCMD to "/usr/local/bin/cliclick dc:" & xPosition & "," & yPosition
do shell script shCMD
-------------------------------------------------------------------------------------------

I also tried using Keyboard Maestro to click the coordinates provided by System Events.  It works too.

--
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

References: 
 >Setting Finder Column width (From: Robert Poland <email@hidden>)
 >Re: Setting Finder Column width (From: Christopher Stone <email@hidden>)
 >Re: Setting Finder Column width (From: Robert Poland <email@hidden>)
 >Re: Setting Finder Column width (From: Christopher Stone <email@hidden>)
 >Re: Setting Finder Column width (From: Robert Poland <email@hidden>)

  • Prev by Date: Re: Setting Finder Column width
  • 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