Re: force garbage collection? (NSAppleScript call from Cocoa app)
Re: force garbage collection? (NSAppleScript call from Cocoa app)
- Subject: Re: force garbage collection? (NSAppleScript call from Cocoa app)
- From: Matt Neuburg <email@hidden>
- Date: Tue, 14 Sep 2010 17:01:42 -0700
- Thread-topic: force garbage collection? (NSAppleScript call from Cocoa app)
On Tue, 14 Sep 2010 03:05:03 +0300, eveningnick eveningnick
<email@hidden> said:
>Hello
>I am trying to call applescript functions (from my cocoa application - using
>NSAppleScript's -executeAndReturnError), to automate some operations in
>Microsoft Word.
>The problem is that after every Applescript call, the Word operates slower
>and slower
Then it sounds like this is not a Cocoa question, but rather an AppleScript
question. So it might be better ask it on the AppleScript-Users list.
(Actually, it's a Microsoft question, about why Word is so badly behaved;
but Apple doesn't have a Microsoft list.)
m.
PS My experience, for what it's worth, is that the solution to Word's
slowness during a script is to bring Word to the front and wave the mouse
around over the document window while the script runs. I am completely
serious about this; try it.
--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.apeth.net/matt/default.html#applescriptthings
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden