On Mar 31, 2004, at 6:53 PM, Bohdan Peter Rekshynskyj wrote:
I still would try to do something such as (rough script here)
open COMMAND ls *.files |; # Don't forget to code a die here if
unsuccessful in opening. Defensive programming!
while COMMAND {
$theParms .= $_; # you may or may
On Mar 29, 2004, at 16:17, Chris Devers wrote:
On Mon, 29 Mar 2004, Joseph Alotta wrote:
On Mon, 29 Mar 2004, ??? wrote:
Yes - I think you're kind of right, so, if you have the command line
as such: system open *.pdf;
This would expand to match everything such as: system open a.pdf
b.pdf c.pdf
Chris,
It works like a champ. Thank you so much. I think Mac::Glue is
really cool.
Joe Alotta
On Mar 24, 2004, at 11:24 AM, Chris Nandor wrote:
#!/usr/bin/perl
my $f = new Mac::Glue 'Finder';
$f-obj(file = [EMAIL PROTECTED])-open;
This does require the latest Mac::Glue, 1.19, uploaded
On Mar 29, 2004, at 11:31 PM, Paul McCann wrote:
Hi Joseph,
you wrote...
It's easy to replicate from the Finder. You highlight the files and
double click holding shift down.
Also, you can highlight, then control click getting the menu and then
select open.
Thanks for the explanation, but
John,
I tried modifying this to work on my system. The folder is
~/Desktop/charts and the files are .pdf's.
You got to love that explanatory error message.
Joe Alotta
[Abba:~/oldperlcode] josephal% du ~/Desktop/charts/
4928/Users/josephalotta/Desktop/charts/
[Abba:~/oldperlcode]
Yes - I think you're kind of right, so, if you have the command line
as such:
system open *.pdf;
This would expand to match everything such as: system open a.pdf
b.pdf c.pdf d.pdf;
Each of the items are treated in an Unix shell as separate arguments.
Now, for (heh heh) arguments sake, if we
On Mon, 29 Mar 2004, Joseph Alotta wrote:
On Mon, 29 Mar 2004, ??? wrote:
Yes - I think you're kind of right, so, if you have the command line
as such: system open *.pdf;
This would expand to match everything such as: system open a.pdf
b.pdf c.pdf d.pdf;
Each of the items are
On Mon, 29 Mar 2004, Joseph Alotta wrote:
[Abba:~/oldperlcode] josephal% du ~/Desktop/charts/
4928/Users/josephalotta/Desktop/charts/
[Abba:~/oldperlcode] josephal% cat applescript
#!/usr/bin/perl
my $script = EOS;
set charts to path to charts folder
tell application Finder
On Mon, 29 Mar 2004, Chris Devers wrote:
Unfortunately, I get the same error you do when I try to run it:
$ ./osatest.sh
## Component Manager: attempting to find symbols in a component alias of type
(regR/carP/x!bt)
syntax error: A unknown token can't go after this some
On Mon, 29 Mar 2004, Chris Devers wrote:
Unfortunately, I get the same error you do when I try to run it:
$ ./osatest.sh
## Component Manager: attempting to find symbols in a component alias of type
(regR/carP/x!bt)
This is some sort of issue with Toast; googling for the
On Mar 29, 2004, at 7:10 PM, Paul McCann wrote:
On Mon, 29 Mar 2004, Chris Devers wrote:
Unfortunately, I get the same error you do when I try to run it:
$ ./osatest.sh
## Component Manager: attempting to find symbols in a component
alias of type (regR/carP/x!bt)
This is some sort of
Hi Joseph,
you wrote...
It's easy to replicate from the Finder. You highlight the files and
double click holding shift down.
Also, you can highlight, then control click getting the menu and then
select open.
Thanks for the explanation, but my machine seems to be on a rather
Ned Day asked,
how on earth do i unsubscribe from this?
Try reading the mail headers of any message to the list:
List-Unsubscribe: mailto:[EMAIL PROTECTED]
Cheers,
Paul
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Joseph Alotta) wrote:
FWIW:
#!/usr/bin/perl
my $f = new Mac::Glue 'Finder';
$f-obj(file = [EMAIL PROTECTED])-open;
This does require the latest Mac::Glue, 1.19, uploaded last night (which
depends on Mac::Carbon 0.66, also uploaded last
At 10:02 am -0600 24/3/04, Joseph Alotta wrote:
I'm still playing around with the applescript code to try to make it
work according to the suggestions here. Seems it needs alias to
tell it to open files, but can't find them if you completely path
them.
My fault. I told you I was tired.
You
At 9:24 am -0800 24/3/04, Chris Nandor wrote:
As to your problems with AppleScript: it doesn't grok Unix paths natively.
There's something you can do like POSIX path to ... I forget the syntax.
/users as POSIX file as alias
-- = alias dxp:Users:
On Mar 23, 2004, at 19:57, Jim Correia wrote:
On Mar 23, 2004, at 6:35 PM, Chris Devers wrote:
Yeah, this bugs me too.
I *think* this is really a shell vs. Finder issue, and I don't know
what
the fix is, but generally it seems like if you want to work on a
collection of files, the Finder can
Greetings,
I have dozens of these one page pdf files. If I select them all in
finder and
double click, Preview opens them in one window as a multiple-page
document. This is
what I'd like to have happen.
If I do them in perl:
system open *.pdf;
Preview opens them as multiple windows. How
On Tue, 23 Mar 2004, Joseph Alotta wrote:
I have dozens of these one page pdf files. If I select them all in
finder and double click, Preview opens them in one window as a
multiple-page document. This is what I'd like to have happen.
Yeah, this bugs me too.
I *think* this is really a
You could use an applescript...
This seems to work
tell application Finder
open {Macintosh HD:Users:jerry:Pictures:ElephantHead.jpg, ¬
Macintosh HD:Users:jerry:Pictures:PB.jpg}
end tell
--Jerry
On Mar 23, 2004, at 6:35 PM, Chris Devers wrote:
On Tue, 23 Mar 2004, Joseph
At 2:01 pm -0600 23/3/04, Joseph Alotta wrote:
Preview opens them as multiple windows. How can I tell Preview to
open them as it does in finder?
You might try something like this and run the resulting script as an
osascript or one of the Mac modules:
It needn't be as verbose but it's late and
On Mar 23, 2004, at 6:35 PM, Chris Devers wrote:
Yeah, this bugs me too.
I *think* this is really a shell vs. Finder issue, and I don't know
what
the fix is, but generally it seems like if you want to work on a
collection of files, the Finder can operate on that collection as a
set --
hence
22 matches
Mail list logo