Start a new topic

REQ Support for (some kind of) automation

Sorry, I cannot find the relevant postings so I'll just create a new topic.


I'd really welcome a means of automation. A Java macro tool, VBA or whatever cross-platform solution to add simple actions like:


- Change all words between tags to initial uppercase

etc. etc. etc.


Keyboard Maestro is just too problematic with CafeTran :(


1 person likes this idea

Regarding: Keyboard Maestro


I had everything working. Then came a new version of Keyboard Maestro. The developer had already declared that by no means he was going to facilitate Java apps :(. I'll have to redo nearly all my (mostly case conversion) macros. So a CafeTran-own solution would really be great for me.


I'm on Yosemite here, I'm making my brest wet what will happen if I move to El Capitan ...

BTW: An automation solution could also allow us to add features as: compare length of source segment with length of target segment ;).

@Hans: I'll have to redo nearly all my (mostly case conversion) macros.


Please don't say that you saw that coming ;).

Hans CafeTran Wiki: Please don't say that you saw that coming


I didn't see it coming, although I read somewhere on the forum Peter wasn't going to support Java apps.


Can't you just "put back" the old KBM build, or won't that run onder newer versions of OS X/Java either?


H.

Hans CafeTran Wiki: Change all words between tags to initial uppercase


Can you provide an example? A sentence, please? It's a macro, right? If you want to change all occurrences in the project file, a regex would be (much) easier.


H.

>Can you provide an example? A sentence, please? It's a macro, right? If you want to change all occurrences in the project file, a regex would be (much) easier.


As we say in Holland Caravan Land: dat blijft behelpen


In clear Anglais: native support of automation is always better.

>Hans CafeTran Wiki: Change all words between tags to initial uppercase


>Can you provide an example? A sentence, please? It's a macro, right? If you want to change all occurrences in the project file, a regex would be (much) easier.


Sentences like:


Don't press the red button.


In CafeTran there are two tags around the translation: 'rode knop'. I'd like to have initial uppercase for all button names:


Blijf met je tengels van de Rode knop af! (Ja, ook jij, Hans!)

Hans CafeTran Wiki: native support of automation is always better.


Native what? Java, CafeTran, or OS X?


Don't press the red button.


I don't understand. What did that KBM macro do?


H.

Find all tags and replace the first letter after a tag with the uppercase version of that letter. I have the same macro for opening quotes. And for characters/symbols that are often used to indicate menu items:


Algemeen > Wifi > Instellingen


It's awfully cool to have all words after such an '>' started with an uppercase letter with one keyboard shortcut. I'd even use the term 'ubercool' for that.

As I wrote in another posting: When you switch to El Capitán, you need to install the "new" Java 6 for OS X from Apple to run OpenOffice/LibreOffice and some other Java apps (do not ask why, OO/LO should run without it), but this won't interfere with the previously installed Oracle Java. 


When reading some news around this, I heard that there won't be any Java for OS X for the following OS 10.12, at least not from Apple, while Oracle will probably continue the development. Again: Don't ask me what that means. Perhaps these are only rumors.

So what you want is:


  • Find > followed by one word
  • Select that one word
  • Make initial capital
You should be able to do that with Satimage/SMILE osax.

Ubercool? There already is a shortcut for change case in CT, and WordService (which I mentioned several times) offers a Service for initial caps. Your macro would require the tag placeholder (which can mean anything) to be already in place, so you may just as well go to the next word, and make initial caps. I think.

H.

Torsten: When you switch to El Capitán


My educated guess: You did a "clean install" of El Capi, and thus copulated up everything.


H.

No, I must confess the install was dirty … indeed I was unsure whether to do a clean install or not, but as there is a major hardware upgrade planned (here on the desk), I preferred to do the whole reinstall hassle later, not now.


Note: El Capi and Parallels 10 are a real nightmare (despite having the last Parallels update installed, and I won't buy the update this time), but you switched to Fusion anyway, didn't you?

Torsten RE: you switched to Fusion anyway, didn't you?


Me no use Windows. I'm a Mac pur sang.


H.

Login to post a comment