Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #14465
| From | Szabolcs Horvát <szhorvat@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Import vs Macintosh Aliases |
| Date | 2013-05-10 04:31 +0000 |
| Message-ID | <kmht7p$hlj$1@smc.vnet.net> (permalink) |
| References | <kmd190$4jg$1@smc.vnet.net> |
| Organization | Time-Warner Telecom |
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)
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread
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
csiph-web