Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #14442 > unrolled thread
| Started by | James Stein <james@stein.org> |
|---|---|
| First post | 2013-05-08 08:10 +0000 |
| Last post | 2013-05-10 04:31 +0000 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
Import vs Macintosh Aliases James Stein <james@stein.org> - 2013-05-08 08:10 +0000
Re: Import vs Macintosh Aliases Szabolcs Horvát <szhorvat@gmail.com> - 2013-05-10 04:31 +0000
| From | James Stein <james@stein.org> |
|---|---|
| Date | 2013-05-08 08:10 +0000 |
| Subject | Import vs Macintosh Aliases |
| Message-ID | <kmd190$4jg$1@smc.vnet.net> |
Prelude for those not familiar with Macs:
Some Macintosh Files are "aliases", meaning that its file content is
interpreted by the Mac OS as a (generalized) filename referencing a
"target" file.
Double-Clicking (opening) an alias file actually opens the target file
referenced by the alias file.
Software can distinguish alias files from other files, if desired.
Question:
It appears to me that Mathematica's Import function is oblivious to alias
files, returning errors such as:
Import::infer : Cannot infer format of file "logo.jpg".
A search for "Alias" in the help system returns nothing relevant (IMO).
Is there any workaround?
I can imagine dropping briefly into C-code, but I've never done that before
and the scheme seems fraught with complications.
[toc] | [next] | [standalone]
| From | Szabolcs Horvát <szhorvat@gmail.com> |
|---|---|
| Date | 2013-05-10 04:31 +0000 |
| Message-ID | <kmht7p$hlj$1@smc.vnet.net> |
| In reply to | #14442 |
On 2013-05-08 08:10:08 +0000, James Stein said: > Prelude for those not familiar with Macs: > > Some Macintosh Files are "aliases", meaning that its file content is > interpreted by the Mac OS as a (generalized) filename referencing a > "target" file. > Double-Clicking (opening) an alias file actually opens the target file > referenced by the alias file. > Software can distinguish alias files from other files, if desired. > > Question: > > It appears to me that Mathematica's Import function is oblivious to alias > files, returning errors such as: > Import::infer : Cannot infer format of file "logo.jpg". > A search for "Alias" in the help system returns nothing relevant (IMO). > Is there any workaround? > I can imagine dropping briefly into C-code, but I've never done that before > and the scheme seems fraught with complications. Perhaps instead of aliases you could use symlinks. Then you woulnd't have to deal with this problem. (You'd have the same problem with shortcuts on Windows)
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web