Re: Setting Finder Column width
Re: Setting Finder Column width
- Subject: Re: Setting Finder Column width
- From: Robert Poland <email@hidden>
- Date: Sat, 04 Oct 2014 21:23:44 -0600
On Oct 4, 2014, at 9:04:PM, Christopher Stone <email@hidden> wrote:
> On Oct 04, 2014, at 19:06, Robert Poland <email@hidden> wrote:
>> Try this; For some reason this won’t work when run from Smile
> ______________________________________________________________________
>
> Hey Bob,
>
> Making a few adjustments makes that work from Smile with no problem.
>
> -----------------------------------------------------------------------------------------
> tell application "Finder"
> activate
> tell window 1
> set {leftEdge, topSide, null, null} to bounds
> set xPosition to (leftEdge + 54) as integer
> set yPosition to (topSide - 11) as integer
> end tell
> end tell
> do shell script "/usr/local/bin/cliclick c:" & xPosition & "," & yPosition # move to green button
> -----------------------------------------------------------------------------------------
>
> * Note: the path to `cliclick` may be different on your machine.
>
> Your script isn't relevant to my problem though.
>
> My script double-clicked on the separator widget for the name column.
>
> The cursor moves, and the cursor icon changes - but the resize doesn't take place.
>
> --
> Best Regards,
> Chris
Chris,
The above script is only meant to click on the green button.
It takes much more to get to the divider and then a cliclick dc: to activate it.
I did’t find that "/usr/local/bin/“ is required.
>
>
Robert Poland
Fort Collins CO
_______________________________________________
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