• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Slashes in filenames (was: Elementary fie naming question)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Slashes in filenames (was: Elementary fie naming question)


  • Subject: Re: Slashes in filenames (was: Elementary fie naming question)
  • From: Emmanuel <email@hidden>
  • Date: Tue, 13 Jan 2004 14:58:31 +0100

At 1:27 PM +0100 13/01/04, Axel Luttgens wrote:
> choose file name
> --> [bing bing bing]
>
>Each time you try to enter a slash, you just get a beep.[3]

A bug IMHO. Satimage osax' "navchoose file name" shows the same bug, I suppose it's Navigation Services which is not up to date: it accepts neither the slashes nor the colons, that's absurd.

>I don't have Tex-Edit+ and thus can't experiment; but it seemed that an error explicitely occured.

A bug IMHO.

>With BBEdit:
>
>Hmmm. Looks like to behave as Tex-Edit+ does...

A bug IMHO.

>With Script Editor (yes, why not?):
>
>Silently fails (no error message, no file created).
>Note that you may enter slashes in a "Save as..." dialog, but the save operation fails.

A bug IMHO.

>Does all the above mean that everybody comes with their own libraries and conventions?
>Or that lots of bugs are kreeping here and there?
>Or?

Not everything is perfectly documented, and programmers sometimes have to make guesses and spend lots of time to have everything work transparently. So, yes, if you want, there are lots of bugs here and there.

With Smile:

tell application "Smile"
save window 1 in file "Disk:Users:luttgens:Desktop:aaa/bbb"
end tell

Works. The file is created.

>[4] But the window title then becomes "aaa:bbb"... You need to close and reopen the file to get a correctly named window.

Here you see where bugs may come from: the UNIX path is "/Users/blah blah", all right. The AS path is "Disk:Users:blah blah", OK. But, what is "the" name of the file? Is it "aaa/bbb" or "aaa:bbb"?

Emmanuel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Slashes in filenames (was: Elementary fie naming question)
      • From: Axel Luttgens <email@hidden>
    • Re: Slashes in filenames (was: Elementary fie naming question)
      • From: Walter Ian Kaye <email@hidden>
References: 
 >Slashes in filenames (was: Elementary fie naming question) (From: Axel Luttgens <email@hidden>)

  • Prev by Date: Re: script keeps sending events to remote machine
  • Next by Date: Re: script keeps sending events to remote machine
  • Previous by thread: Slashes in filenames (was: Elementary fie naming question)
  • Next by thread: Re: Slashes in filenames (was: Elementary fie naming question)
  • Index(es):
    • Date
    • Thread