Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
Perl

Journal pudge's Journal: Intel Macs Break Included Software 7

It looks like Intel Macs do not properly send Apple events using the included Mac::Carbon library (which I maintain). This, from the command line, should bring the Finder to the front:

perl -MMac::AppleEvents::Simple -e 'do_event(qw/misc actv/, { bund => q[com.apple.Finder] })'

It's equivalent to this AppleScript:

tell application "Finder" to activate

Much of Mac::Carbon does work fine, but ... this doesn't work at all. I don't know if it is due to a bug in the Intel Macs, or a changed behavior, or a bug in my code (most likely in AESend(), in AppleEvents.xs).

That also means Mac::Glue doesn't work.

I don't have real access to an Intel Mac, so I have no hope of fixing it anytime soon.

This discussion was created by pudge (3605) for no Foes, but now has been archived. No new comments can be posted.

Intel Macs Break Included Software

Comments Filter:
  • couldn't you hook up with Apple and ssh into a IntelMac?

    I mean they are probably willing to work with someone who maintains an important part of an important scripting language. And really what would it cost them to open one machine to an ssh connection?
  • this week i should have a macbook pro on order. though it looks like it won't be here anytime soon. but when it does get here I can get you ssh access to it. just ask if you need it.

  • Just ran it on my 17" powerbook.. and it doesn't do anything. Unless I open a finder window first, and drop it into the background.. then it'll bring that to the front.

    Won't open a new window if one's not already open though.

    Is that the expected behavior?

Never buy what you do not want because it is cheap; it will be dear to you. -- Thomas Jefferson

Working...