On 3/19/15 at 2:33 PM, [email protected] (David Roland-Holst) wrote:

I need to search a large text file that is produced by another routine. When the latter exits, I run an Applescript to do the search, but the text file is often not yet fully loaded so I need to go the the File menu and "Reload from Disk" manually. How can I automate this by putting the Reload command in the Applescript before the search?


Pending more detail :-), as a first step I suggest having your script just wait a bit longer before opening the generated file (to ensure the latter's contents have been completely written out).

Also, may I ask what version of BBEdit you're using?


Regards,

 Patrick Woolsey
==
Bare Bones Software, Inc.             <http://www.barebones.com/>


--
This is the BBEdit Talk public discussion group. If you have a feature request or would like to report a problem, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

--- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].

Reply via email to