0

Is there a possibility to run an Apple Script File (.scpt) directly from TexMaker in macOS?

EDIT: My intention is to delete all not used data like .log, .acr ... to be able to share the raw .tex and .bib data with my colleagues who don't use tex right now. I saw some other post to this topic but I would like to do it my way. By the way: My Apple Script is ready to go and I would like to use it...

  • I suspect not, since TeXMaker is a crossplatform app that does not use the Cocoa API. But if it can run shell scripts, it's possible to call an Applescript from a shell script, so maybe you can. – Alan Munn Mar 15 '18 at 15:27
  • 1
    Since TeXMaker uses Javascript for scripting, it may be possible. See discussion here: forum.keyboardmaestro.com/t/… – Alan Munn Mar 15 '18 at 15:40
  • You could also use Automator to create a service for texmaker which executes the applescript. Maybe you could add to your question what the apple script is supposed to do. – user36296 Mar 15 '18 at 16:30
  • 1
    I don't know if this is also true for texmaker, but texstudio has a build functionality to clean up a customisable list of files. – user36296 Mar 15 '18 at 17:15
  • 1
    @Passe Texstudio is very similar, try it :) – user36296 Mar 15 '18 at 17:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.