Speed Issue

Rick Gaskin rgaskin at wdt.net
Fri Sep 28 09:27:02 CDT 2007


On Sep 28, 2007, at 10:03 AM, Steve Mills wrote:

> On Sep 28, 2007, at 08:38:56, Rick Gaskin wrote:
>
>> Yes, just closing and No, closer scripts.
>
> Does this happen on every document? Only on docs you've edited and  
> saved? What if you just open a saved doc and close it?
>


Interesting. I do not do anythings to the docs. but on open I have  
your script checking for gyphs.

If I save or just close it takes the same amount of time whether I do  
anything to doc. In other words I can just open the doc. and do  
nothing. But the script still runs thru it check of every text block.  
I choose to save or not (i don't save if i am just looking at  
something or checking a date etc) again, takes the same amount of time.

NOW, if i just open a new doc. and close it..the close is rapid. If I  
ad a text block, save then open and then close it takes the same  
amount of time...rapid.

The docs in question contain many many many text blocks..I wonder if  
that has anything to do with it??

Current script attached.

Maybe modify it to prompt the user (me : )) to run/check or  
not..becuase when its late in workflow..its just amtter of  
corrections and i am not adding new copy/cut text that might contain  
glyphers

using terms from application "MultiAd Creator Pro"
	on opened theDoc
		tell application "MultiAd Creator Pro"
			activate
			set num to number of text flows of document 1
			
			repeat with i from 1 to num
				set (every text of text flow i of document 1 where it is " ") to " "
			end repeat
		end tell
	end opened
end using terms from







More information about the Creator mailing list