On Thu, Jul 22, 2010 at 6:43 AM, björn <bjorn.winck...@gmail.com> wrote:
> On 21 July 2010 19:12, Benjamin Cullen-Kerney wrote:
>> Terribly sorry, the SDEF file did not make it into that patch. Here is
>> a correct patch.
>>
>> On Wed, Jul 21, 2010 at 10:01 AM, Benjamin Cullen-Kerney
>> <ben.ker...@gmail.com> wrote:
>>> This provides, among other things, support for moving/resizing windows
>>> via AppleScript, making the app a better OS X citizen in general.
>
> Hi Ben,
>
> It seems your first post got lost (I only got the above) so can you
> please tell us a little bit more what this patch is about?
>
> Thanks,
> Björn
>
> --
> You received this message from the "vim_mac" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php
>

Hi Björn,

That's odd. The patch just adds the Cocoa Standard AppleScript
dictionary (aka the Standard Suite), which provides basic objects like
"documents" and "windows," and operations like "open," "print," and
"bounds." For instance MacVim, with this patch, will respond to the
attached script, which opens 5 buffers and arranges them on the
screen. Rename the script to have an extension of "scpt" to run it.

Hope that helps--I personally use this functionality to arrange
application windows on my screens.

Ben

-- 
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
FasdUAS 1.101.10ÿÿÿÿ
k
lÿþÿþ!/usr/bin/osascript±           
&!/usr/bin/osascript


lÿýÿüÿûÿýÿüÿû

lÿúÿù
O
k
r

n
1        ÿø
ÿø
pbnd
n      
m      ÿ÷
ÿ÷
cwin
1ÿö
ÿö
desk
oÿõÿõ&0_screenresolution_screenResolution
r
n
4ÿô 
ÿô
cobj
 mÿóÿó
oÿòÿò&0_screenresolution_screenResolution
oÿñÿñ0_screenwidth_screenWidth!ÿð
!r"#
"n$%
$4ÿï&
ÿï
cobj
&mÿîÿî
%oÿíÿí&0_screenresolution_screenResolution
#oÿìÿì0
_screenheight
_screenHeightÿð
m''ÐMACSalisr
Macintosh HDÇÔ5aH+j
Finder.appËÇ´§Rÿÿÿÿ
    CoreServicesÇԗÑǵÒ
j&%3Macintosh HD:System:Library:CoreServices:Finder.app
Finder.appMacintosh 
HD&System/Library/CoreServices/Finder.app/ÿÿÿúÿù
()
(lÿëÿêÿéÿëÿêÿé)*ÿè
*l#+ÿçÿæ
+O#,-
,k!"../0
/I!&ÿåÿäÿã
ÿå.miscactvnullÿÿ€ÿÿnullÿäÿã012
1I',ÿâ3ÿá
ÿâ.aevtodocnull€alis
3m'(44±55aÿá267
6I-2ÿà8ÿß
ÿà.aevtodocnull€alis
8m-.99±::bÿß7;<
;I38ÿÞ=ÿÝ
ÿÞ.aevtodocnull€alis
=m34>>±??cÿÝ<...@a
...@i9>ÿÜBÿÛ
ÿÜ.aevtodocnull€alis
Bm9:CC±DDdÿÛAEF
EI?FÿÚGÿÙ
ÿÚ.aevtodocnull€alis
Gm?BHH±IIeÿÙFJK
JrGNLM
LmGJÿØÿØ
Moÿ×ÿ×0_thepadding1_thePadding1KNO
NrOVPQ
PmORÿÖÿÖ

QoÿÕÿÕ0_thepadding2_thePadding2ORS
RrW^TU
TmWZÿÔÿÔô
UoÿÓÿÓ0_thepadding3_thePadding3SVW
Vr_fXY
Xm_bÿÒÿÒd
YoÿÑÿÑ0_thepadding4_thePadding4WZ[
Zrgn\]
\mgjÿÐÿÐ
]oÿÏÿÏ0
_theoffset
_theOffset[^_
^roƒ`a
`lobÿÎÿÍ
b6ocd
c2orÿÌ
ÿÌ
cwin
d=u~ef
e1vzÿË
ÿË
pvis
fm{}ÿÊ
ÿÊboovtrueÿÎÿÍ
aoÿÉÿÉ0_thewindows_theWindows_gh
gr„ij
iI„‹ÿÈkÿÇ
ÿÈ.corecnte********
ko„‡ÿÆÿÆ0_thewindows_theWindowsÿÇ
joÿÅÿÅ*0_thenumberofwindows_theNumberOfWindowshlm
lr—no
no“ÿÄÿÄ*0_thenumberofwindows_theNumberOfWindows
ooÿÃÿÃ0
_thecountdown
_theCountdownmpÿÂ
pX˜"qÿÁr
qk¬sstu
tr¬ôvw
vJ¬ðxxyz
yl¬»{ÿÀÿ¿
{[¬»|}
|[±~
~m¬­ÿ¾ÿ¾
o­°ÿ½ÿ½0_thepadding1_thePadding1
}l±º€ÿ¼ÿ»
€]±º‚
l±¶ƒÿºÿ¹
ƒ\±¶„…
„o±´ÿ¸ÿ¸0
_thecountdown
_theCountdown
…m´µÿ·ÿ·ÿºÿ¹
‚o¶¹ÿ¶ÿ¶0
_theoffset
_theOffsetÿ¼ÿ»ÿÀÿ¿z†‡
†l»Ìˆÿµÿ´
ˆ[»Ì‰Š
‰[»Â‹Œ
‹m»¾ÿ³ÿ³
Œo¾Áÿ²ÿ²0_thepadding2_thePadding2
ŠlÂˍÿ±ÿ°
]Âˎ
ŽlÂǐÿ¯ÿ®
\ÂǑ’
‘oÂÅÿ­ÿ­0
_thecountdown
_theCountdown
’mÅÆÿ¬ÿ¬ÿ¯ÿ®
oÇÊÿ«ÿ«0
_theoffset
_theOffsetÿ±ÿ°ÿµÿ´‡“”
“lÌݕÿªÿ©
•\Ìݖ—
–\Ìј™
˜oÌÍÿ¨ÿ¨0_screenwidth_screenWidth
™oÍÐÿ§ÿ§0_thepadding3_thePadding3
—lÑܚÿ¦ÿ¥
š]Ñܛœ
›lÑ؝ÿ¤ÿ£
\Ñ؞Ÿ
žoÑÔÿ¢ÿ¢*0_thenumberofwindows_theNumberOfWindows
ŸoÔ×ÿ¡ÿ¡0
_thecountdown
_theCountdownÿ¤ÿ£
œoØÛÿ ÿ 0
_theoffset
_theOffsetÿ¦ÿ¥ÿªÿ©” ÿŸ
 lÝî¡ÿžÿ
¡\Ý
¢\Ý⤥
¤oÝÞÿœÿœ0
_screenheight
_screenHeight
¥oÞáÿ›ÿ›0_thepadding4_thePadding4
£lâí¦ÿšÿ™
¦]âí§¨
§lâé©ÿ˜ÿ—
©\â骫
ªoâåÿ–ÿ–*0_thenumberofwindows_theNumberOfWindows
«oåèÿ•ÿ•0
_thecountdown
_theCountdownÿ˜ÿ—
¨oéìÿ”ÿ”0
_theoffset
_theOffsetÿšÿ™ÿžÿÿŸ
woÿ“ÿ“0
_thebounds
_theBoundsu¬­
¬rõ®¯
®Jõ°°±²
±lõû³ÿ’ÿ‘
³nõû´µ
´4øûÿ¶
ÿ
cobj
¶mùúÿÿ
µoõøÿŽÿŽ0
_thebounds
_theBoundsÿ’ÿ‘²·¸
·lû¹ÿÿŒ
¹nûº»
º4þÿ‹¼
ÿ‹
cobj
¼mÿÿŠÿŠ
»oûþÿ‰ÿ‰0
_thebounds
_theBoundsÿÿŒ¸½¾
½l¿ÿˆÿ‡
¿nÀÁ
À4ÿ†Â
ÿ†
cobj
Âmÿ…ÿ…
Áoÿ„ÿ„0
_thebounds
_theBoundsÿˆÿ‡¾Ãÿƒ
Ãl
Äÿ‚ÿ
Än
ÅÆ
Å4

ÿ€Ç
ÿ€
cobj
Çmÿÿ
Æo
ÿ~ÿ~0
_thebounds
_theBoundsÿ‚ÿÿƒ
¯nÈÉ
È1ÿ}
ÿ}
pbnd
Éoÿ|ÿ|0
_thewindow
_theWindow­Êÿ{
ÊrËÌ
Ë\ÍÎ
Íoÿzÿz0
_thecountdown
_theCountdown
Îmÿyÿy
Ìoÿxÿx0
_thecountdown
_theCountdownÿ{ÿÁ0
_thewindow
_theWindow
ro›žÿwÿw0_thewindows_theWindowsÿÂ
-mÏÏÌVIMMalisn
Macintosh HDÇÔ5aH+ÆÒ
MacVim.appÊHÈlp˜ÿÿÿÿ
    ApplicationsÇԗÑÈlÓ
ÆÒÅܒó.Macintosh HD:Users:ben:Applications:MacVim.app
MacVim.appMacintosh 
HD!Users/ben/Applications/MacVim.app/
ÿÿÿçÿæÿèÿvÐÑÒÿuÿtÿsÿrÿqÿpÿoÓÿnÿmÿlÿkÿjÿiÿvÐÿhÿgÿfÿeÿdÿcÿbÿaÿ`ÿ_ÿ^ÿ]ÿ\ÿ[ÿZÿY
ÿh.aevtoappnull€****ÿg&0_screenresolution_screenResolutionÿf0
_screenwidth_screenWidthÿe0
_screenheight
_screenHeightÿd0_thepadding1_thePadding1ÿc0_thepadding2
_thePadding2ÿb0_thepadding3_thePadding3ÿa0_thepadding4
_thePadding4ÿ`0
_theoffset
_theOffsetÿ_0_thewindows_theWindowsÿ^*0_thenumberofwindows_theNumberOfWindowsÿ]0
_thecountdown
_theCountdownÿ\ÿ[ÿZÿYÑÿXÔÿWÿVÕÖÿU
ÿX.aevtoappnull€****
Ôk#××ØØ*ÿTÿTÿWÿVÕÿSÿS0
_thewindow
_theWindowÖ#'ÿRÿQÿPÿOÿNÿMÿLÿKÏÿJ4ÿI9>chÿhÿgÿfÿeÿdÿcÿbÿ...@ÿ?Ùÿ>ÿ=ÿ<ÿ;ÿ:ÿ9ÿ8
ÿR
desk
ÿQ
cwin
ÿP
pbndÿO&0_screenresolution_screenResolution
ÿN
cobjÿM0_screenwidth_screenWidthÿLÿK0
_screenheight
_screenHeight
ÿJ.miscactvnullÿÿ€ÿÿnull
ÿI.aevtodocnull€alisÿHÿG0_thepadding1_thePadding1ÿF
ÿE0_thepadding2_thePadding2ÿDôÿC0_thepadding3
_thePadding3ÿBdÿA0_thepadding4_thepadding4...@ÿ?0
_theoffset
_theOffsetÙ
ÿ>
pvisÿ=0_thewindows_theWindows
ÿ<.corecnte********ÿ;*0_thenumberofwindows_theNumberOfWindowsÿ:0
_thecountdown
_theCountdown
ÿ9
koclÿ80
_thebounds
_theBoundsÿU$à*á,â,ã,EÔOÄåm/EÖOÄåç/EØUOé*j
OëjOíjOîjOïjOaj
OaE`OaE`OaE`OaE`OaE`O*â-a,\Ze81E`O_j
E`O_E` O‰_[a!ålkhj__ k_ a__ k_ Æ___ 
_ È___ _ çvE`"O_"åk/_"ål/_"åm/_"åç/çv ã,FO_ kE` 
[OYÿ‰UÒÿ7Úÿ7Úÿ6ÿ5ÿ4ÿ3ÿ6ÿ5ÿ4ÿ3 ÿuÿt ÿsÿr
ÿqôÿpdÿoÓÿ2Ûÿ2ÛÿnÿmÿlÿkÿjÿiascrúÞÞ­

Reply via email to