[plt-dev] searching for bitmap% via f1 on mac os x

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Sat Feb 28 12:05:57 EST 2009

IMO, it is worth a look at the C-level api just to see if the problem
is possibly in the way osascritp is reading its arguments.


On Sat, Feb 28, 2009 at 10:44 AM, Eli Barzilay <eli at barzilay.org> wrote:
> On Feb 28, Robby Findler wrote:
>> No no -- your comments are quite welcome! We just have lots of
>> energy in our emails sometimes and the emotionless nature of email
>> communications can sometimes send that funny ways ...
> +1,
>> On Sat, Feb 28, 2009 at 10:36 AM, Thomas Chust <chust at web.de> wrote:
>> >
>> > all arguments to CFURLCreateWithBytes can be trivially filled in,
>> > except for the character data of the URL and its integer length,
>> > predefined constants can be used for all arguments. That some
>> > integer and enumeration types have speaking names for clarity of
>> > the API can hardly be held against it...
> Yes, my guess would be that trivial values are needed, but you need to
> read some API to know those values, but with
>  osascript -e 'open location "<URL>"'
>> >>> [...] I was just curious why the special OS API is used to open
>> >>> URLs on Windows but not on MacOS X.
>> >>
>> >> That's easy: `shell-execute' on Windows is not one random
>> >> function, it is a generic way to "start stuff", so it's part of
>> >> mred.  [...]
>> >
>> > The same is true for the LaunchServices API.
> (It wasn't (and still isn't) clear to me that this is the OSX
> equivalent of `shell-execute'.  If it is, then obviously there is a
> place for it -- but that would be at the mred layer, not neturl.)
>> > Anyway, judging by the offended tone of the replies I got, I must
>> > have inadvertently trodden on someone's foot with my question.
>> > This was certainly not my intention. I didn't even want to start a
>> > big discussion on that technical detail :-/
> No, not at all.  I barely know anything about OSX and I barely use it
> to be offended...
> --
>          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
>                  http://www.barzilay.org/                 Maze is Life!

Posted on the dev mailing list.