Author Topic: headless Slick-C  (Read 4630 times)

bercikr

  • Community Member
  • Posts: 45
  • Hero Points: 2
headless Slick-C
« on: May 16, 2008, 04:05:34 PM »
I've been pretty impressed with the power of Slick-C thus far and the ability to write extremely powerful text-editing macros quickly. I was wondering if there was any way to run slick-c commands in a headless mode from the command line. I wouldn't mind writing certain batch scripts or replacing a couple of my perl tools with some slick-c stuff in the future. Is this possible?

Thanks,
Rob

hs2

  • Senior Community Member
  • Posts: 2761
  • Hero Points: 292
Re: headless Slick-C
« Reply #1 on: May 16, 2008, 09:45:34 PM »
Yes, have a look in the help 'Slick-C® Macro Programming Guide>Four Ways to Use Slick-C®>Batch Macros' and 'Appendix> Invocation Options' and maybe 'Slick-C® Macro Programming Guide>Command Line Interface' etc.
Basically you can write a batch macro module and run it with 'vs -p <batch_macro>.e [args]' quite similar to other script language interpreters.
HS2