On 22 July 2010 17:34, Benjamin Cullen-Kerney wrote: > On Thu, Jul 22, 2010 at 6:43 AM, björn 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
Thanks for the patch and explanation Ben. I'll merge it later. Sorry for being a Apple Script noob, but how do I open and test your example script? It got attached to your post as .txt; I tried opening with the Apple script editor (after renaming to .applescript) but it just comes out as garbage? 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