Re: How to deactivate the "Replies" view in AppleScript Editor ?
Re: How to deactivate the "Replies" view in AppleScript Editor ?
- Subject: Re: How to deactivate the "Replies" view in AppleScript Editor ?
- From: Christopher Stone <email@hidden>
- Date: Sun, 27 Jul 2014 21:18:37 -0500
I have a script which use a huge text. So every time the text is used in the script, this generate a huge (and sloooooooooow with the death spin wheel) display in Replies view in the AppleScript Editor.
Does it exist a way to deactivate the Replies view?
______________________________________________________________________
Hey There,
You don't tell us enough about what you're doing to provide much help.
You cannot disable any of the Applescript Editor's UI, but you can ensure the final result is not a large text. That way you won't overload the AE by accidentally switching to the result panel.
Using Smile to search for a specific line in a 110K line text file (17.5 MB). Searching the file directly rather than opening it.
-------------------------------------------------------------------------------------- chrono set f to alias "Ryoko:Users:chris:test_directory:Large_Doc_Test.txt" log "Found Text:" & linefeed & (find text "^109996.+" in f with regexp and string result) & linefeed log "Elapsed Time: " & (format (get chrono) into "#.###") & " Seconds" -------------------------------------------------------------------------------------- # Result: -------------------------------------------------------------------------------------- Found Text:
Elapsed Time: 0.246 Seconds --------------------------------------------------------------------------------------
The found line is line 109,996 near the end of the file. As you can see the search was pretty fast.
Using the Satimage.osax (independent from Smile) you can do the same search in any AppleScript Editor/Runner.
-- Best Regards, Chris
|
_______________________________________________
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