sudo on OSX

2002-10-05 Thread Simon Lord

Hi all, I have a minor problem with the StartupItems under OSX.  It's 
owned by root.  So the application I'm writing can't set a script there 
to launch on startup.  This is likely a security measure so my option 
is to send a command to sudo and write/copy the script to the 
StartupItems directory.  Problem is how does one do that?  I'll need to 
ask the user to enter the password (root only, users cannot modify) but 
then how do I actually run it in a command line *with* the password?  
IE,. I don't want to run the script and have the Terminal say "ok, 
what's the password", I want to include the password in the command to 
copy the script to the StartupItems folder.

Any ideas?

Sincerely,
Simon

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: sound

2002-10-05 Thread andu



--On Saturday, October 05, 2002 21:51:21 -0700 erik hansen 
<[EMAIL PROTECTED]> wrote:

>
>
>  andu wrote:
> I wish the archive had a search engine...
>
> ===
>
> it does.

I found that out eventually but... the link at the bottom of list mails,
"http://lists.runrev.com/mailman/listinfo/metacard";, points to a page where 
there is no mention of a search function. That one is on the metacard site 
and it points to xworlds.com/... which in turn has the correct links for 
searchable archive... unless I'm getting blind.

>
>
> [EMAIL PROTECTED]http://www.erikhansen.org
>
>
> -
> Do you Yahoo!?
> Faith Hill - Exclusive Performances, Videos, & more
> faith.yahoo.com



Regards, Andu Novac
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Sound blues in Linux

2002-10-05 Thread Alejandro Diaz Infante

I noticed that in certain soundcards (including mine, a SB Live! with OSS
driver), using "play somesound.au" or "play audioclip somesound.au" results a
garbled audio output. There's nothing wrong with the audio files, and I can 
even play them perfectly in a console or terminal emulator, using "xanim
somesound.au" or "play somesound.au".

Curiously, the only way I had found to play correctly those files in MetaCard 
is using something like "start player somesound".

Does somebody know why the play command does not work well in MetaCard with
some soundcards, even though when 'xanim' is up and running? Is there a
way to solve it without having to create a player for each audio file?
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: sound

2002-10-05 Thread erik hansen
 
 andu <[EMAIL PROTECTED]>wrote:I wish the archive had a search engine...
===
it does.[EMAIL PROTECTED]    http://www.erikhansen.orgDo you Yahoo!?
Faith Hill - Exclusive Performances, Videos, & more
faith.yahoo.com

Re: odd-shaped cards

2002-10-05 Thread Scott Rossi

>> I tried to use this prop without success.
>> What I did was to crate a ping image in Graphic Converter, make
>> transparent
>> a part of it, import the ping into a stack and put "on openstack; set the
>> windowshape of this stack to 1009; end openstack" into the
>> stack's script.
>> Nothing happened.
>> Can anyone assist me please?

The windowShape property will work with GIF images and 8 bit PNG images that
have masks.

The source image must be imported into the stack.

For best results, the source image should be positioned with a topLeft of
0,0.

The property can be set at any time:

   set the windowShape of this stack to the id of image myImage

Regards,

Scott Rossi
Creative Director

Tactile Media, Multimedia & Design
Email: [EMAIL PROTECTED]
Web: www.tactilemedia.com

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



RE: odd-shaped cards

2002-10-05 Thread andu



--On Saturday, October 05, 2002 20:55:16 -0500 Chipp Walters 
<[EMAIL PROTECTED]> wrote:

> Andu,
>
> try it with a transparent gif.
> it only has a 1-bit transparency channel whereas transparent PNGs can have
> an 8 bit channel which won't work.

Tried that too without success, thanks.

>
> -Chipp
>
>> -Original Message-
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED]]On Behalf Of andu
>> Sent: Saturday, October 05, 2002 6:50 PM
>> To: [EMAIL PROTECTED]
>> Subject: Re: odd-shaped cards
>>
>>
>>
>>
>> --On Friday, October 04, 2002 11:41:42 -0700 Richard Gaskin
>> <[EMAIL PROTECTED]> wrote:
>>
>> > jbv wrote:
>> >
>> >> The info slips my mind right now...
>> >> Could someone remind me which MC version
>> >> was the first to allow the use of a PNG img as
>> >> a source for non-rectangular & odd shaped cards,
>> >> and what is the name of the associated property ?
>> >
>> > I don't know this first version it was introduced in, but it's the
>> > windowShape property.
>>
>> I tried to use this prop without success.
>> What I did was to crate a ping image in Graphic Converter, make
>> transparent
>> a part of it, import the ping into a stack and put "on openstack; set the
>> windowshape of this stack to 1009; end openstack" into the
>> stack's script.
>> Nothing happened.
>> Can anyone assist me please?
>>
>> >
>> > --
>> >  Richard Gaskin
>> >  Fourth World Media Corporation
>> >  Custom Software and Web Development for All Major Platforms
>> >  Developer of WebMerge 2.0: Publish any database on any site
>> >  ___
>> >  [EMAIL PROTECTED]   http://www.FourthWorld.com
>> >  Tel: 323-225-3717   AIM: FourthWorldInc
>> >
>> > ___
>> > metacard mailing list
>> > [EMAIL PROTECTED]
>> > http://lists.runrev.com/mailman/listinfo/metacard
>> >
>>
>>
>>
>> Regards, Andu Novac
>> ___
>> metacard mailing list
>> [EMAIL PROTECTED]
>> http://lists.runrev.com/mailman/listinfo/metacard
>
> ___
> metacard mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/metacard
>



Regards, Andu Novac
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



RE: odd-shaped cards

2002-10-05 Thread Chipp Walters

Andu,

try it with a transparent gif.
it only has a 1-bit transparency channel whereas transparent PNGs can have
an 8 bit channel which won't work.

-Chipp

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of andu
> Sent: Saturday, October 05, 2002 6:50 PM
> To: [EMAIL PROTECTED]
> Subject: Re: odd-shaped cards
>
>
>
>
> --On Friday, October 04, 2002 11:41:42 -0700 Richard Gaskin
> <[EMAIL PROTECTED]> wrote:
>
> > jbv wrote:
> >
> >> The info slips my mind right now...
> >> Could someone remind me which MC version
> >> was the first to allow the use of a PNG img as
> >> a source for non-rectangular & odd shaped cards,
> >> and what is the name of the associated property ?
> >
> > I don't know this first version it was introduced in, but it's the
> > windowShape property.
>
> I tried to use this prop without success.
> What I did was to crate a ping image in Graphic Converter, make
> transparent
> a part of it, import the ping into a stack and put "on openstack; set the
> windowshape of this stack to 1009; end openstack" into the
> stack's script.
> Nothing happened.
> Can anyone assist me please?
>
> >
> > --
> >  Richard Gaskin
> >  Fourth World Media Corporation
> >  Custom Software and Web Development for All Major Platforms
> >  Developer of WebMerge 2.0: Publish any database on any site
> >  ___
> >  [EMAIL PROTECTED]   http://www.FourthWorld.com
> >  Tel: 323-225-3717   AIM: FourthWorldInc
> >
> > ___
> > metacard mailing list
> > [EMAIL PROTECTED]
> > http://lists.runrev.com/mailman/listinfo/metacard
> >
>
>
>
> Regards, Andu Novac
> ___
> metacard mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/metacard

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: sound

2002-10-05 Thread kweto



Sorry, can't advise about sound, but...
 
> I wish the archive had a search engine...
 
The archive_s_ do. These are the urls for the two 
archives I know of:
 
(new archive) 
http://www.mail-archive.com/metacard%40lists.runrev.com/
 
(old archive)
http://www.mail-archive.com/metacard%40lists.best.com/
 
Cheers.
 
Nicolas Cueto


Re: sound

2002-10-05 Thread andu



--On Saturday, October 05, 2002 16:49:14 -0700 Phil Davis 
<[EMAIL PROTECTED]> wrote:

> I thought the archive does have a search feature:

That's what I thought too but couldn't find the url at 
http://lists.runrev.com/mailman/listinfo/metacard
where I expected it, thanks.

>
>
>
> http://www.mail-archive.com/cgi-bin/htsearch?method=and&format=short&conf
> ig=metacard_lists_runrev_com&restrict=&exclude=&words=record+playback
>
> Phil
>
>
> - Original Message -
> From: "andu" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, October 05, 2002 1:38 PM
> Subject: sound
>
>
>> Could someone help me with sound related properties (MacOS 9.1):
>> I want to record some voice to a file and then play it.
>> This is what I have so far:
>>
>> record sound file x
>> stop recording
>> start player 1
>>
>> but the playback sounds very funny. I know I may have to set some
>> recording/playback properties but I know nothing about sound in general.
>> Also, can I record to a variable instead of file?
>> I wish the archive had a search engine...
>>
>> Regards, Andu Novac
>> ___
>> metacard mailing list
>> [EMAIL PROTECTED]
>> http://lists.runrev.com/mailman/listinfo/metacard
>
> ___
> metacard mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/metacard
>



Regards, Andu Novac
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: odd-shaped cards

2002-10-05 Thread andu



--On Friday, October 04, 2002 11:41:42 -0700 Richard Gaskin 
<[EMAIL PROTECTED]> wrote:

> jbv wrote:
>
>> The info slips my mind right now...
>> Could someone remind me which MC version
>> was the first to allow the use of a PNG img as
>> a source for non-rectangular & odd shaped cards,
>> and what is the name of the associated property ?
>
> I don't know this first version it was introduced in, but it's the
> windowShape property.

I tried to use this prop without success.
What I did was to crate a ping image in Graphic Converter, make transparent 
a part of it, import the ping into a stack and put "on openstack; set the 
windowshape of this stack to 1009; end openstack" into the stack's script. 
Nothing happened.
Can anyone assist me please?

>
> --
>  Richard Gaskin
>  Fourth World Media Corporation
>  Custom Software and Web Development for All Major Platforms
>  Developer of WebMerge 2.0: Publish any database on any site
>  ___
>  [EMAIL PROTECTED]   http://www.FourthWorld.com
>  Tel: 323-225-3717   AIM: FourthWorldInc
>
> ___
> metacard mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/metacard
>



Regards, Andu Novac
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: sound

2002-10-05 Thread Phil Davis

I thought the archive does have a search feature:

  
http://www.mail-archive.com/cgi-bin/htsearch?method=and&format=short&config=metacard_lists_runrev_com&restrict=&exclude=&words=record+playback

Phil


- Original Message - 
From: "andu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, October 05, 2002 1:38 PM
Subject: sound


> Could someone help me with sound related properties (MacOS 9.1):
> I want to record some voice to a file and then play it.
> This is what I have so far:
> 
> record sound file x
> stop recording
> start player 1
> 
> but the playback sounds very funny. I know I may have to set some 
> recording/playback properties but I know nothing about sound in general.
> Also, can I record to a variable instead of file?
> I wish the archive had a search engine...
> 
> Regards, Andu Novac
> ___
> metacard mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/metacard

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



sound

2002-10-05 Thread andu

Could someone help me with sound related properties (MacOS 9.1):
I want to record some voice to a file and then play it.
This is what I have so far:

record sound file x
stop recording
start player 1

but the playback sounds very funny. I know I may have to set some 
recording/playback properties but I know nothing about sound in general.
Also, can I record to a variable instead of file?
I wish the archive had a search engine...

Regards, Andu Novac
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: MC Book-other ideas

2002-10-05 Thread andu



--On Saturday, October 05, 2002 10:34:59 -0400 [EMAIL PROTECTED] wrote:


> I have to admit, although I'd love to have such a book Andu makes some
> good  points. This has come up on the list before and nothing has come of
> it. An  online strategy is good, but Richard's point about hosting issues
> is well  taken. So here's another idea. Maybe we could contribute to
> Revolution's "Tip  of the week"  just to get things going and see where
> it goes from there? If  we develop a good method for getting things
> written, then maybe we can  consolidate what's done and expand to more
> extensive documentation. Anyone  from Revolution care to comment on the
> idea?  Maybe Scott would be willing to  add something similar to the MC
> site.

Tim is getting it. Richard's point only confirms that without a strong 
incentive things go nowhere.
RR will see the benefits in attracting more traffic to their site and 
invest in replacing their tips page with a more extended database as 
discussed before.
If they could also mention Metacard by name so that MC users don't feel 
intruding...

> --Tim Bleiler
> University at Buffalo
> ___
> metacard mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/metacard
>



Regards, Andu Novac
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



MC Book-other ideas

2002-10-05 Thread TBleiler

Andu writes, 

> These users 
> although very helpful on the mailing list don't seem to be the kind of
> crowd to invest a lot of time and energy in activities which don't present
> some possibility of profit

And Phil writes,
> One possibility (maybe more easily doable, probably less fraught with
> ownership issues, and certainly more current, than a book) would be to 
create
> a MC documentation site similar to the one for MySQL (see
> http://www.mysql.com/doc/en/index.html ).

and Richard MacLemale writes
>The idea of doing a documentation site IS better, except for one detail...
>It would have to be hosted by MetaCard itself...
>We did this in the Macintosh Manager world
>...and the thing disappeared a few months later.
>I'll never, never do that again.


I have to admit, although I'd love to have such a book Andu makes some good 
points. This has come up on the list before and nothing has come of it. An 
online strategy is good, but Richard's point about hosting issues is well 
taken. So here's another idea. Maybe we could contribute to Revolution's "Tip 
of the week"  just to get things going and see where it goes from there? If 
we develop a good method for getting things written, then maybe we can 
consolidate what's done and expand to more extensive documentation. Anyone 
from Revolution care to comment on the idea?  Maybe Scott would be willing to 
add something similar to the MC site.

However we decide to distribute the work, I think we need to take a few small 
steps in creating it and see how it goes.

Link to Revolution Tip of the week
http://www.runrev.com/revolution/developers/articles/tipoftheweek/6.html

--Tim Bleiler
University at Buffalo
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



Re: MC Book-other ideas

2002-10-05 Thread Richard MacLemale

Andu writes, 

> These users 
> although very helpful on the mailing list don't seem to be the kind of
> crowd to invest a lot of time and energy in activities which don't present
> some possibility of profit

And Phil writes,
> One possibility (maybe more easily doable, probably less fraught with
> ownership issues, and certainly more current, than a book) would be to create
> a MC documentation site similar to the one for MySQL (see
> http://www.mysql.com/doc/en/index.html ).

I agree with Andu that we're not going to get a high percentage of MC users
to contribute, but I disagree with the generalization that we won't be
willing to invest a lot of time and energy.  Some of us would.  I would.

The idea of doing a documentation site IS better, except for one detail...
It would have to be hosted by MetaCard itself, or it would not work...
Meaning that smart people would be reluctant to put a lot of time and energy
into updating a db on a site that may vanish in 6 months.  We did this in
the Macintosh Manager world... A bunch of people all contributed to this
guy's troubleshooting db, and the thing disappeared a few months later.
I'll never, never do that again.  I'd only post if it were hosted by
MetaCard.  Another alternative would be if it were hosted like 5 or 6
different places (mirrored) and MetaCard kept a list of the mirrors posted.
That would work (but would require a whole lot more effort.)  A third would
be for MetaCard to fund someone else hosting it.  Then it wouldn't be on
their "official" site, but we'd have a promise that it wouldn't vanish in
the wind.  My 2 bits per usual...

-- 
:)
Richard MacLemale
Network Administrator
J. W. Mitchell High School

___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard



RE: MC Book-other ideas

2002-10-05 Thread eric engle

I am an academic and need to publish so I would be
interested in either contributing some stacks (with
commentary, i.e. explanation) or editing. 


=
My Web sites:
http://www.lexnet.bravepages.com/ind.htm (law)
http://www.geocities.com/newtontechspecs (Newton)

Help! I need to buy a copy of code warrior pro version 4 (i.e. with pascal) for x86 
work (nowhere on ebay germany)

__
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com
___
metacard mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/metacard