Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

My scenario:

  • I use an app called Antetype for UI design.
  • Antetype uses OS X-native technologies for text rendering (it uses the system-standard text palette).
  • Antetype does not have a find and replace text function.
  • I want to find and replace text in an Antetype document.

I am wondering if, because Antetype is using native text, it is possible to use Applescript, Automator, or some other method to find and replace text within an Antetype document.

share|improve this question
    
What format does Antetype keep its data in? –  Mark Apr 29 '13 at 17:58
    
As far as I can tell it's just a proprietary blob. I am able to open it in a text editor and find and replace strings there, but saving it after doing so renders the document unusable. Here's a sample document for reference: dropbox.com/s/3fmgow59mrzg5vw/Text%20test.atype –  Ben Dansby Apr 29 '13 at 18:28
    
It is a SQLlite file and looking at the column names I would guess generated by CoreData –  Mark Apr 29 '13 at 18:55
    
So, you are looking for a post-processing tool to modify the saved data store rather than a UI scripting tool that would automate any find/replace function while the app is running with the document open? –  bmike Apr 29 '13 at 19:23
    
How I get there is immaterial to me. Whether I'm modifying the data store or using a script, I just want to change multiple instances of a string in one step. –  Ben Dansby Apr 29 '13 at 19:47

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.