Re: Mac-Growl

2004-11-11 Thread Chris Nandor
Where can I find the application glue for Growl? This is what I'm getting: You have to create it, as per the Mac::Glue docs, with gluemac. GrowlHelperApp is located in /Library/PreferencePanes/Growl.prefPane/Contents/Resources/. -- Chris Nandor [EMAIL PROTECTED]http

Re: iTunes shell

2005-01-05 Thread Chris Nandor
. (This was somewhat documented in the Mac::Glue POD, using iPhoto as an example, for a different problem.) Good luck, -- Chris Nandor [EMAIL PROTECTED]http://pudge.net/ Open Source Development Network[EMAIL PROTECTED] http://osdn.com/

Re: Mac::Glue and mod_perl

2005-01-14 Thread Chris Nandor
. It printed 3.1.2 and then brought Address Book to the front. My wild offhand guess is that you have a different mod_perl than installed perl: different version, or architecture, or something. -- Chris Nandor [EMAIL PROTECTED]http://pudge.net/ Open Source Development

TextWrangler

2005-01-20 Thread Chris Nandor
BBEdit for perl development, but didn't want to buy it, then now's your chance. -- Chris Nandor [EMAIL PROTECTED]http://pudge.net/ Open Source Development Network[EMAIL PROTECTED] http://osdn.com/

Re: installation weirdness with Mac::Glue

2005-01-20 Thread Chris Nandor
the right idea with the memory thing. If it continues to be a problem, I can try to hop on a dual G5 and try it out myself. -- Chris Nandor [EMAIL PROTECTED]http://pudge.net/ Open Source Development Network[EMAIL PROTECTED] http://osdn.com/

Re: Installing Mac::Glue

2005-02-11 Thread Chris Nandor
; make install manually from the shell from there. -- Chris Nandor [EMAIL PROTECTED]http://pudge.net/ Open Source Development Network[EMAIL PROTECTED] http://osdn.com/

Re: Next Problem...

2005-02-11 Thread Chris Nandor
. This didn't happen before. (that is, it worked on an older machine) I think you entered the filename incorrectly. There's a space: % sudo gluemac /Applications/Address\ Book.app -- Chris Nandor [EMAIL PROTECTED]http://pudge.net/ Open Source Development Network

Re: Question: glue for the Summarize service?

2005-02-14 Thread Chris Nandor
-summarize($mytext); -- Chris Nandor [EMAIL PROTECTED]http://pudge.net/ Open Source Development Network[EMAIL PROTECTED] http://osdn.com/

Re: Questions about Perl and Mac::Glue

2005-02-14 Thread Chris Nandor
need to make one explicitly. $mboxes = [ $account-obj('mailboxes')-get ]; -- Chris Nandor [EMAIL PROTECTED]http://pudge.net/ Open Source Development Network[EMAIL PROTECTED] http://osdn.com/

Re: Next Problem...

2005-02-15 Thread Chris Nandor
At 9:49 -0600 2005.02.15, Ken Williams wrote: Would be nice if the error was /Applications/AddressBook.app - no such file or directory then. You are most wise. :) -- Chris Nandor [EMAIL PROTECTED]http://pudge.net/ Open Source Technology Group [EMAIL

Re: set photo properties in iPhoto

2005-02-21 Thread Chris Nandor
): The date of the photo. (read-only) In Script Editor, you will see this as: date Unicode text [r/o] -- The date of the photo. There ain't nothing Mac::Glue can do to fix that problem. -- Chris Nandor [EMAIL PROTECTED]http://pudge.net/ Open Source Technology

Re: What Perl editor do you recommend?

2005-03-02 Thread Chris Nandor
editor. :-) Anyway, it's on SourceForge.net if you care. http://sf.net/projects/pudge/ -- Chris Nandor [EMAIL PROTECTED]http://pudge.net/ Open Source Technology Group [EMAIL PROTECTED] http://ostg.com/

Growl, PerlObjCBridge, Glue, etc.

2005-03-03 Thread Chris Nandor
be of some interest. (Also perhaps of interest: the Makefile.PL automatically creates a glue for Growl, for Mac::Glue to use, so the user doesn't have to ... feel free to take that or give tips to me on how it can be improved.) -- Chris Nandor [EMAIL PROTECTED]http

Re: Mac::Glue script

2005-04-26 Thread Chris Nandor
look too hard to get an accurate and complete list of $state values. It's 0 when not connected, 8 when connected, and 1-7 while in different connection phases (dialing, authentication, etc.). -- Chris Nandor [EMAIL PROTECTED]http://pudge.net/ Open Source Technology

Re: Mac::Glue script

2005-04-26 Thread Chris Nandor
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Mark Wheeler) wrote: Thanks for the input. I'll start working on it and see what I can come up with. One question: Is Mac::Sound a module? I've not heard of it. It's included with Mac-Carbon, which is a prereq for Mac::Glue. -- Chris Nandor

Re: Mac::Glue script

2005-04-28 Thread Chris Nandor
-1.23.tar.gz -- NOT OK Running make test Can't test without successful make Running make install make had returned bad status, install seems impossible Somewhere in the snipped output, there would be the make output, showing an error. -- Chris Nandor [EMAIL

Mac::Glue and Tiger

2005-05-01 Thread Chris Nandor
. The scripts needed to do so are included too. cd /System/Library/Perl/Extras/bin/ sudo ./gluedialect sudo ./gluescriptadds sudo ./gluemac '/System/Library/CoreServices/System Events.app' sudo ./gluemac /System/Library/CoreServices/Finder.app -- Chris Nandor

Re: Mac::Glue and Tiger

2005-05-02 Thread Chris Nandor
At 1:48 -0400 2005.05.02, Sherm Pendley wrote: *However*, there's a note at the top of Carbon.h mentioning that type cast, so I assume you had a good reason for adding it in the first place... I should find out who wrote that note and ask him why he did it. -- Chris Nandor

Re: Mac::Carbon installation woes

2005-05-04 Thread Chris Nandor
for a small feature addition in 0.72, so there's really no great reason to wait for 0.73. Thanks, -- Chris Nandor [EMAIL PROTECTED]http://pudge.net/ Open Source Technology Group [EMAIL PROTECTED] http://ostg.com/

Re: Macperl list false advertising?

2005-05-04 Thread Chris Nandor
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Joel Rees) wrote: Anyone know why http://www.perl.org/community.html describes the macperl list as Mac Perl - OS 7-9 and X discussion Probably just old. You could try to contact whoever controls the page. -- Chris Nandor

Re: ActiveState is announcing support for Mac OS X

2005-06-07 Thread Chris Nandor
Perl and XS will run on Mac OS X/Intel! -- Chris Nandor [EMAIL PROTECTED]http://pudge.net/ Open Source Technology Group [EMAIL PROTECTED] http://ostg.com/

Re: Universal Binary vs. Perl5

2005-06-07 Thread Chris Nandor
, especially). But I've no reason to think that we won't be able to take care of what needs to be taken care of. -- Chris Nandor [EMAIL PROTECTED]http://pudge.net/ Open Source Technology Group [EMAIL PROTECTED] http://ostg.com/

Re: Script menu no longer runs perl scripts in Tiger?

2005-06-14 Thread Chris Nandor
to have to wrap every perl script in Apllescript :-( I noticed the same thing, but have not yet had a chance to try to debug it. -- Chris Nandor [EMAIL PROTECTED]http://pudge.net/ Open Source Technology Group [EMAIL PROTECTED] http://ostg.com/

Re: Mac::Glue, g_t, and dates

2005-06-14 Thread Chris Nandor
, $time)), )-get; # check our work for (@tracks) { print $_-prop('name')-get, : ; print scalar localtime $_-prop('played date')-get, \n; } -- Chris Nandor [EMAIL PROTECTED]http://pudge.net/ Open Source Technology Group [EMAIL PROTECTED] http://ostg.com/

Re: Get/set file type/creator in plain Perl?

2005-08-03 Thread Chris Nandor
scalar on derference, JPEG8BIM, is not really what it appears, as it has packed bits for fdFlags and fdLocation, and is length 16, not 8. OK, yes, it is a bit odd to use a SCALAR ref for that, but you should be using the methods so you don't need to care. :-) -- Chris Nandor

Re: Sendkeys

2005-08-30 Thread Chris Nandor
-dependent); the combined close with saving ## is the most efficient method # $pdf-save; $pdf-close(saving = enum('yes')); } -- Chris Nandor [EMAIL PROTECTED]http://pudge.net/ Open Source Technology Group [EMAIL PROTECTED] http://ostg.com/

Re: How to find out if an application is running

2005-10-12 Thread Chris Nandor
, you need version 1.90; 1.91 is included in Tiger, so you should be fine if you're using that. Older versions of the module can still handle the four-char code syntax. -- Chris Nandor [EMAIL PROTECTED]http://pudge.net/ Open Source Technology Group [EMAIL PROTECTED

Re: How to find out if an application is running

2005-10-12 Thread Chris Nandor
In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Chris Nandor) wrote: Oops, typo. This: print 1 if grep 'Photoshop', `ps auxw`; should be: print 1 if grep /Photoshop/, `ps auxw`; And I forgot to mention -- just because it may be useful -- you can also convert between PID and PSN

Re: How to find out if an application is running

2005-10-14 Thread Chris Nandor
= IsRunning('com.apple.dock'); kill SIGTERM, GetProcessPID($psn); -- Chris Nandor [EMAIL PROTECTED]http://pudge.net/ Open Source Technology Group [EMAIL PROTECTED] http://ostg.com/

Intel Macs Break Mac::Glue etc.

2006-01-16 Thread Chris Nandor
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. -- Chris Nandor [EMAIL PROTECTED]http://pudge.net/ Open Source Technology Group [EMAIL PROTECTED] http://ostg.com/

Porting Mac::Carbon to Intel

2006-06-01 Thread Chris Nandor
at Apple. So by then, I plan to have new Intel-compatible releases of the Mac::Carbon/AppleEvents/OSA/Glue modules on the CPAN, along with my notes and so on. -- Chris Nandor [EMAIL PROTECTED]http://pudge.net/ Open Source Technology Group [EMAIL PROTECTED] http

Re: file creator id, etc

2006-06-14 Thread Chris Nandor
perl -MMac::Carbon -e1 real0m0.938s user0m0.570s sys 0m0.093s Of course, Mac::Carbon does not work on Intel systems ... not for another couple of weeks anyway. -- Chris Nandor [EMAIL PROTECTED]http://pudge.net/ Open Source Technology Group [EMAIL

Re: AppleScript Interface

2006-06-17 Thread Chris Nandor
::Glue, does not work yet on Intel; my port should be done in a week.) Hope that helps, -- Chris Nandor [EMAIL PROTECTED]http://pudge.net/ Open Source Technology Group [EMAIL PROTECTED] http://ostg.com/

Mac::Carbon for Intel ... Done?

2006-06-19 Thread Chris Nandor
. It is currently broken on Intel, too. -- Chris Nandor [EMAIL PROTECTED]http://pudge.net/ Open Source Technology Group [EMAIL PROTECTED] http://ostg.com/

Re: Installation of Mac::Growl fails

2006-06-20 Thread Chris Nandor
. -- Chris Nandor [EMAIL PROTECTED]http://pudge.net/ Open Source Technology Group [EMAIL PROTECTED] http://ostg.com/

Re: Mac::Carbon for Intel ... Done?

2006-06-20 Thread Chris Nandor
together to make it work. Finally, you can hardcode the path to helper.pl in desc.t and event.t and run the tests again. Thanks, -- Chris Nandor [EMAIL PROTECTED]http://pudge.net/ Open Source Technology Group [EMAIL PROTECTED] http://ostg.com/

Mac-Carbon-0.76

2006-06-21 Thread Chris Nandor
Thanks for all the input, I got a lot of small bugs fixed, in tests and docs mostly, and a small one in code. No major code changes, no Intel-specific code changes. The Intel box goes back to Apple in a few days, so ... test now! -- Chris Nandor [EMAIL PROTECTED]http

Re: Mac::Carbon for Intel ... Done?

2006-06-23 Thread Chris Nandor
, rather than making people upgrade their Test::More for this one test, I reverted it back to a plain require() for 0.76, which is on your CPAN shelves now. -- Chris Nandor [EMAIL PROTECTED]http://pudge.net/ Open Source Technology Group [EMAIL PROTECTED] http

Updates for Mac-Carbon, Mac-Glue, etc.

2006-07-07 Thread Chris Nandor
instead of the speakers, which I am using for my online radio show (podcast to some of you), where I generate questions from people using speech synthesis (http://pudge.net/ask/). -- Chris Nandor [EMAIL PROTECTED]http://pudge.net/ Open Source Technology Group [EMAIL

Re: iCal modules

2006-08-09 Thread Chris Nandor
calendar. For the latter part, you may wish to just use Mac::Glue to script iCal. You can create calendars, add new events, and so on. -- Chris Nandor [EMAIL PROTECTED]http://pudge.net/ Open Source Technology Group [EMAIL PROTECTED] http://ostg.com/

Re: iCal modules

2006-08-10 Thread Chris Nandor
At 19:03 +0100 2006.08.10, John Delacour wrote: At 8:45 pm -0700 9/8/06, Chris Nandor wrote: For the latter part, you may wish to just use Mac::Glue to script iCal. You can create calendars, add new events, and so on. Chris, where do I get glue for BBEdit and other things? My glues directory

Re: iCal modules

2006-08-10 Thread Chris Nandor
the CPAN, then ... I dunno, it probably should be in your path. It wouldn't hurt to install latest Mac::Glue (and Mac::Carbon too), if you are using the one that shipped with Tiger (esp. if you have an Intel Mac, since the one that shipped doesn't work!). -- Chris Nandor [EMAIL

Re: Eudora glue

2006-08-18 Thread Chris Nandor
, in ex/eudora_send_mail, along with a bunch of other examples. Feel free to ask any such questions, though you might want to Cc: me when you mail the list, since I only glance at the list about once a week or so. -- Chris Nandor [EMAIL PROTECTED]http://pudge.net/ Open

Re: Code Examples for NewAlias

2006-11-06 Thread Chris Nandor
, '') or die $Mac::Errors::MacError; CloseResFile($res); # set alias attribute my $finfo = FSpGetFInfo($alias) or die $Mac::Errors::MacError; $finfo-fdFlags( $finfo-fdFlags | kIsAlias ); FSpSetFInfo($alias, $finfo) or die $Mac::Errors::MacError; -- Chris Nandor

Re: How to gather some basic info (front-most app and title)

2007-01-18 Thread Chris Nandor
tell application app_name set win_count to count of windows if (win_count is greater than 0) then set win_name to name of window 1 end if end tell end try Tim. -- Chris Nandor

Re: Fwd: Code Examples for NewAlias

2007-01-18 Thread Chris Nandor
Mac::Glue; my $finder = new Mac::Glue 'Finder'; $finder-obj(file = $alias)-update; Cheers, -- Chris Nandor [EMAIL PROTECTED]http://pudge.net/ Open Source Technology Group [EMAIL PROTECTED] http://ostg.com/

Re: Mac::Carbon issues

2007-03-28 Thread Chris Nandor
ppc -nostdinc # -B/Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc # -B/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc # -isystem/Developer/SDKs/MacOSX10.4u.sdk/usr/include # -F/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks # -fno-strict-aliasing -pipe # -Wdeclaration-after-statement -- Chris

Re: Mac::Carbon issues

2007-04-10 Thread Chris Nandor
At 16:12 -0400 2007.04.09, Sherm Pendley wrote: On Mar 28, 2007, at 7:57 PM, Chris Nandor wrote: What cpan requires File::HomeDir::Darwin? CPAN.pm, or some script ... ? The latest CPAN.pm requires File::HomeDir, which in turn requires File::HomeDir::Darwin. I'm not certain when that change

Re: CamelBones: Will hack for food!

2007-05-07 Thread Chris Nandor
worthy than some of the other grants they've done. -- Chris Nandor [EMAIL PROTECTED]http://pudge.net/ Open Source Technology Group [EMAIL PROTECTED] http://ostg.com/

Re: Detecting OS X version from perl

2007-10-15 Thread Chris Nandor
. This is nice in that it doesn't depend on external processes (sw_vers, Finder) or files. use Mac::Gestalt qw(%Gestalt gestaltSystemVersion); (my $version = sprintf(%x, $Gestalt{gestaltSystemVersion()})) =~ s/^(\d+)(\d)(\d)$/$1.$2.$3/; -- Chris Nandor [EMAIL PROTECTED

Re: Thanks Apple! You snubbed perl yet again!

2007-10-18 Thread Chris Nandor
expansion project soon, and will be looking for wishlist items. Stay tuned. -- Chris Nandor [EMAIL PROTECTED]http://pudge.net/ Open Source Technology Group [EMAIL PROTECTED] http://ostg.com/

Re: MacPerl::DoAppleScript and Perl v5.10.0

2011-03-07 Thread Chris Nandor
to resolve the problem of how to contrive a portable Perl script incorporating a 'MacPerl::DoAppleScript call? Suggestions would be most welcome. Alan Fry -- Chris Nandor pu...@pobox.com http://pudge.net/

<    1   2   3