Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.postscript > #1445

Is it possible to get the file-name of the script

From Cecil Westerhof <Cecil@decebal.nl>
Newsgroups comp.lang.postscript
Subject Is it possible to get the file-name of the script
Organization Decebal Computing
Date 2013-07-15 17:49 +0200
Message-ID <87bo63ddr3.fsf@Aspire.decebal.nl> (permalink)

Show all headers | View raw


I want to do something depending on the language. For example:
    [
        isDutch { % ifelse
            (Waarschuwing:)
            ()
            (dit is een SATIRE.)
        } { % ekse
            (Warning:)
            ()
            (this is SATIRE.)
        } ifelse
    ]  arrayOnPage

I was thinking about doing this through the script-name. So when the
name is like:
    script-eng.ps

isDutch is false, otherwise it is true. (At the moment I only need two
languages.) But for this I need to know the name of the script. Can
this be done? (Otherwise I just need to use a parameter for it.)

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof

Back to comp.lang.postscript | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Is it possible to get the file-name of the script Cecil Westerhof <Cecil@decebal.nl> - 2013-07-15 17:49 +0200
  Re: Is it possible to get the file-name of the script ashley willis <"s/^.*/valid/&&print' address'"@hostscript.org> - 2013-07-15 18:30 +0000

csiph-web