Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.acorn.programmer > #6153
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Ronald <gettingchoppy@gmail.com> |
| Newsgroups | comp.sys.acorn.programmer |
| Subject | Re: Calling Ghostscript from BASIC |
| Date | Sun, 14 Jun 2020 16:38:33 +1200 |
| Organization | - |
| Lines | 28 |
| Message-ID | <d5bc4f8058.beeb@-.-> (permalink) |
| References | <587d6e2a47rhnews@dsl.pipex.com> |
| Injection-Info | reader02.eternal-september.org; posting-host="ad8997512acfc152b99603c18e8ebb32"; logging-data="30775"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Z09c6meiHcpiWGSfUMg8B" |
| User-Agent | Messenger-Pro/1.00c (MsgServe/1.00a) (RISC-OS/5.24) NewsHound/v1.50-32 |
| Cancel-Lock | sha1:DOtdkg8TOn1q1Z+bfLZUjV5FIgo= |
| Xref | csiph.com comp.sys.acorn.programmer:6153 |
Show key headers only | View raw
In message <587d6e2a47rhnews@dsl.pipex.com>
"Rob Hemmings (News)" <rhnews@dsl.pipex.com> wrote:
> It is ages since I've been programming so apologies if this is a silly
> question.
>
> Is there a way to call GhostScript from inside a BASIC program and return
> control to the BASIC program afterwards? I've just tried invoking
> GhostScript from a program using an OSCLI command but although
> GhostScript then runs correctly it does not hand back control to the
> BASIC program which just ends. I think I understand why it is happening
> but is there any way to get around it?
>
Without going into the heavy Taskwindow stuff, one way is to filer_run
an obey file containing whatever, could even be a Taskwindow command
running yet another obey file with desired actions for within the
taskwindow.
The main consideration is that the BASIC file will continue to
the end unless you put have a wait routine straight after.
I guess checking for a file or system variable to be set with
some sort of wimp poll so it's not grinding away in a loop.
I've been experimenting with pause%=INKEY 2000
any key press will stop the wait, useable to a degree.
Ronald
Back to comp.sys.acorn.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Calling Ghostscript from BASIC "Rob Hemmings (News)" <rhnews@dsl.pipex.com> - 2020-06-08 15:22 +0100
Re: Calling Ghostscript from BASIC Harriet Bazley <harriet@bazleyfamily.co.uk> - 2020-06-08 15:39 +0100
Re: Calling Ghostscript from BASIC "Rob Hemmings (News)" <rhnews@dsl.pipex.com> - 2020-06-08 15:44 +0100
Re: Calling Ghostscript from BASIC Steve Fryatt <news@stevefryatt.org.uk> - 2020-06-08 16:19 +0100
Re: Calling Ghostscript from BASIC Martin Wuerthner <spamtrap@mw-software.com> - 2020-06-08 20:22 +0200
Re: Calling Ghostscript from BASIC Harriet Bazley <harriet@bazleyfamily.co.uk> - 2020-06-08 21:15 +0100
Re: Calling Ghostscript from BASIC druck <news@druck.org.uk> - 2020-06-09 10:58 +0100
Re: Calling Ghostscript from BASIC Harriet Bazley <harriet@bazleyfamily.co.uk> - 2020-06-09 15:09 +0100
Re: Calling Ghostscript from BASIC Ronald <gettingchoppy@gmail.com> - 2020-06-13 13:01 +1200
Re: Calling Ghostscript from BASIC druck <news@druck.org.uk> - 2020-06-13 12:03 +0100
Re: Calling Ghostscript from BASIC Ronald <gettingchoppy@gmail.com> - 2020-06-14 01:29 +1200
Re: Calling Ghostscript from BASIC "Rob Hemmings (News)" <rhnews@dsl.pipex.com> - 2020-06-08 23:37 +0100
Re: Calling Ghostscript from BASIC Ronald <gettingchoppy@gmail.com> - 2020-06-14 16:38 +1200
Re: Calling Ghostscript from BASIC Steve Fryatt <news@stevefryatt.org.uk> - 2020-06-14 07:40 +0100
Re: Calling Ghostscript from BASIC "Rob Hemmings (News)" <rhnews@dsl.pipex.com> - 2020-06-14 08:48 +0100
Re: Calling Ghostscript from BASIC Ronald <gettingchoppy@gmail.com> - 2020-06-14 20:27 +1200
Re: Calling Ghostscript from BASIC Steve Fryatt <news@stevefryatt.org.uk> - 2020-06-14 10:01 +0100
Re: Calling Ghostscript from BASIC Harriet Bazley <harriet@bazleyfamily.co.uk> - 2020-06-14 15:41 +0100
Re: Calling Ghostscript from BASIC Ronald <gettingchoppy@gmail.com> - 2020-06-15 14:51 +1200
Re: Calling Ghostscript from BASIC druck <news@druck.org.uk> - 2020-06-15 08:56 +0100
Re: Calling Ghostscript from BASIC Ronald <gettingchoppy@gmail.com> - 2020-06-15 20:30 +1200
Re: Calling Ghostscript from BASIC Harriet Bazley <harriet@bazleyfamily.co.uk> - 2020-06-14 15:44 +0100
csiph-web