Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.acorn.programmer > #844
| From | Martin Wuerthner <spamtrap@mw-software.com> |
|---|---|
| Newsgroups | comp.sys.acorn.programmer |
| Subject | Re: shortcut for path |
| Date | 2011-10-05 12:12 +0200 |
| Organization | MW Software |
| Message-ID | <50405b1d52.martin@bach.planiverse.com> (permalink) |
| References | <e95b001d52.jim@nails.abbeypress.net> <7606051d52.martin@bach.planiverse.com> <b948201d52.jim@nails.abbeypress.net> <521d53820fchrisjohnson+news@spamcop.net> |
In message <521d53820fchrisjohnson+news@spamcop.net>
Chris Johnson <chrisjohnson+news@spamcop.net> wrote:
> In article <b948201d52.jim@nails.abbeypress.net>,
> Jim Nagel <jimnewsm10d@abbeypress.co.uk> wrote:
>> Unfortunately, when I get the Save box for the file I want to save
>> and type news:filename I get the message "To save, drag the icon
>> to a directory display."
> Ahhh - that suggests that the save code is not expanding the sys
> variable.
No. There is no need for the save code to expand anything.
What this suggests is that the save code follows the RISC OS user
interface guidelines, which say: "If there is no full stop in the user
supplied save path, then the application should refuse to save to it
and tell the user: To save, drag the icon to a directory display".
That rule is supposed to detect non-absolute paths because they would
cause the file to be saved to a non-obvious location. What the author
of that guideline did not realize is that you can enter an absolute
path by starting it with a path: reference.
Some applications (e.g., Zap) check for colons as well and allow you
to save to such a path, but most still follow that guideline to the
letter (e.g., Edit, but also EasiWriter and ArtWorks).
To work around that you can use <News$Write>.filename, which does have
a full stop and is therefore accepted. Of course, that is not quite as
simple and elegant as the original method.
--
Martin
---------------------------------------------------------------------
Martin Wuerthner MW Software http://www.mw-software.com/
RISC OS Software for Design, Printing and Publishing
---------------------------------------------------------------------
Back to comp.sys.acorn.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
shortcut for path Jim Nagel <jimnewsm10d@abbeypress.co.uk> - 2011-10-04 18:40 +0100
Re: shortcut for path Martin Wuerthner <spamtrap@mw-software.com> - 2011-10-04 20:31 +0200
Re: shortcut for path Jim Nagel <jimnewsm10d@abbeypress.co.uk> - 2011-10-05 00:28 +0100
Re: shortcut for path Chris Johnson <chrisjohnson+news@spamcop.net> - 2011-10-05 09:48 +0100
Re: shortcut for path Martin Wuerthner <spamtrap@mw-software.com> - 2011-10-05 12:12 +0200
Re: shortcut for path Chris Johnson <chrisjohnson+news@spamcop.net> - 2011-10-05 11:43 +0100
Re: shortcut for path Jim Nagel <jimnewsm10d@abbeypress.co.uk> - 2011-10-05 15:42 +0100
Re: shortcut for path Alan Wrigley <spamhater@keepyourfilthyspamtoyourself.co.uk> - 2011-10-05 16:22 +0100
Re: shortcut for path "Ste (news)" <steve@revi11.plus.com> - 2011-10-05 18:21 +0100
Re: shortcut for path Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-10-06 08:19 +0200
Re: shortcut for path Chris Johnson <chrisjohnson+news@spamcop.net> - 2011-10-04 20:05 +0100
Re: shortcut for path Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-10-05 05:57 +0200
Re: shortcut for path Jim Nagel <jimnewsm10d@abbeypress.co.uk> - 2011-10-05 15:33 +0100
Re: shortcut for path Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-10-06 08:21 +0200
Re: shortcut for path Jeremy Nicoll - news posts <jn.nntp.scrap007@wingsandbeaks.org.uk> - 2011-10-05 21:23 +0100
Re: shortcut for path Rick Murray <heyrickmail-usenet@yahoo.co.uk> - 2011-10-06 08:23 +0200
Re: shortcut for path Steve Fryatt <news@stevefryatt.org.uk> - 2011-10-06 20:36 +0100
Re: shortcut for path Jeremy Nicoll - news posts <jn.nntp.scrap007@wingsandbeaks.org.uk> - 2011-10-07 00:51 +0100
csiph-web