Re: Mac::Glue and selections in iPhoto

2004-02-03 Thread Peter J . Hartmann
Am 02.02.2004 um 19:04 schrieb John Delacour: At 8:58 am -0800 2/2/04, Chris Nandor wrote: tell application "iPhoto" get item 1 of selection end tell That fails in AppleScript for me. Is there a way to do this in AppleScript? If so, I can tell you how to do it in Mac::Glue. :-) If

small consulting job

2004-02-03 Thread Joseph Alotta
Greetings, I am looking for someone to write a subroutine for me involving graphics and pdf files. The sub would take some data and plot a line graph and output the graph as a pdf file. If you are interested in doing this, please email me back and I will send you more detailed specs and we can agr

Re: small consulting job

2004-02-03 Thread Alexander von Below
Hello Joseph, your eMail does not seem to work... Alex

Re: Image::Magick - "Segmentation fault"

2004-02-03 Thread kynan
Hi, This is sorted now. There was a mismatch between my versions of Image::Magick and Image Magick - a binary I got last week from Marc Lyanage (http://www.entropy.ch:16080/software/macosx/#imagemagick). Once I'd worked that out, I downloaded Marc's binary again, installed it and "identify -v

Re: Mac::Glue and selections in iPhoto

2004-02-03 Thread John Delacour
At 1:59 pm +0100 3/2/04, Peter J. Hartmann wrote: Am 02.02.2004 um 19:04 schrieb John Delacour: If it were the Finder, you would need to say item 1 of (get selection) Same for Mail.app. It cost me quite a bit - too much in fact - time to find this out. Annoying. Is this somekind of a consist

Re: small consulting job

2004-02-03 Thread Doug McNutt
At 10:55 -0600 2/3/04, Joseph Alotta wrote: >I am looking for someone to write a subroutine for me >involving graphics and pdf files. Please reply to me offline with an email address that works.

MacPerl INC question

2004-02-03 Thread AWLeverenz
I've written the following to sweep a folder and set creator/type for pdf files (coming off a Linux server). This works from MacPerl, but I really need to run it from OSX Perl. How do I get Perl to use MacPerl.pm, which @INC can't locate? ( #!/usr/bin/perl use MacPerl; ... ). #!perl use s

Re: display problem with gtk2-perl on OS X 10.3/ Fink 0.6

2004-02-03 Thread dominix
Dominix wrote: > every gnome packages installed without problem, but when running the > gtk-demo it look like http://www.ifrance.com/dominix/gtk-demo.JPG > ... strange (no fonts ?) > my aim is to use gtk2-perl (which compile and install fine) but has > the same display problem. > what is THE fix

XML::Parser isn't working on OX 10.3.2

2004-02-03 Thread Noah Hoffman
Hello, I've just upgraded our build machines from 10.2.8 to 10.3.2 and now all of my perl scripts are broken. It seems XML::Parser is the culprit, I'm gettting an error of: "Can't load '/usr/local/lib/libExpant.dylib' formodule XML::Parser::Expat: /usr/local/lib/libexpat.dylib(2): Not a

How do I open a file passed in to my script from the finder?

2004-02-03 Thread Julian M Catchen
Hello, I am a long-time perl user, but am new to perl on OS X. I have written a very simple script that reads printer commands from a text file and cats them out to a USB/serial port in order to print barcodes on a old-school printer we have. I am trying to make it easy for the people who

Scripting Photoshop with Mac::Glue

2004-02-03 Thread jacques couzteau
Hello scripters, I'm trying to change a picture's color mode to CMYK in Photoshop (besides: Can i do that with ImageMagick or something similar too ?) Currently I'm using an AppleSkript that does the job with the following line: tell application "Adobe Photoshop CS" to convert current document

Re: How do I open a file passed in to my script from the finder?

2004-02-03 Thread John Delacour
At 4:28 pm -0800 3/2/04, Julian M Catchen wrote: If, however, I do this: % open -a ZfishLabelPrinter ~/Desktop/label-5-192.zfdb (where ZfishLabelPrinter is the installed name of my perl script) it can't find the file and it isn't passed in @ARGV. Does anyone know what is happening here? Do I n

Re: DBD mysql unable to install since Panther

2004-02-03 Thread Adam
Apple developer connection is free, I recommend you join if you develop software on OS X. However, the X Code CD should've come with your copy of Panther. To the best of my knowledge, its not a downloadable from ADC. On Jan 30, 2004, at 12:50 AM, Joseph Alotta wrote: Thanks everyone. The dev

[OT] MySQL for Web Apps

2004-02-03 Thread Bill Stephenson
If you're busy please forgive me and ignore this, if you have time to offer an opinion I'd really like to hear from this list on this subject; If I am building a web app from the ground up, what's the best way to deal with storing/retrieving data? For arguments sake let's say the app will have

Re: [OT] MySQL for Web Apps

2004-02-03 Thread Ian Ragsdale
On Feb 3, 2004, at 10:16 PM, Bill Stephenson wrote: I'd like to store using XML in a separate text file for each record created because it's easy and gives me flexibility. I can add data fields without tweaking tables in a MySQL database. I can add users easily and keep their data in a separate

Re: [OT] MySQL for Web Apps

2004-02-03 Thread kynan
Well, I'd vote for MySQL. That amount of hits seems way to heavy to leave it all to the server. I guess also it depends a bit on your data and the nature of your queries too. With MySQL you get the advantages of a relational database, so you can put your data sources together on the fly by joi

Re: [OT] MySQL for Web Apps

2004-02-03 Thread Rick Measham
On 4 Feb 2004, at 03:16 pm, Bill Stephenson wrote: As computers keep getting faster, and memory and storage cheaper, isn't it beneficial to program in the most simple, human readable, least learning required, method? Never. You're not going to ever read each 2500 user's 2000 x 40kb records th

Re: [OT] MySQL for Web Apps

2004-02-03 Thread Rick Measham
On 4 Feb 2004, at 03:39 pm, kynan wrote: The idea of having XML in the DB is sound though, if you do it thoughtfully. So long as you're not planning on searching on it or indexing it or ... I once used XML to store information about a webpage as a PostGreSQL field ... but later down the track I

Re: [OT] MySQL for Web Apps

2004-02-03 Thread Chris Devers
On Tue, 3 Feb 2004, Bill Stephenson wrote: > If I am building a web app from the ground up, what's the best way to > deal with storing/retrieving data? It's not by accident that databases have come to be popular for this kind of work. Pick one -- MySQL, PostgreSQL, SQLite, or something "real" --