Re: lingo-l accessing realtime decibel levels of QT audio

2004-02-22 Thread Valentin Schmidt
I don't think you that there's an easy way to get the amplitude value
for a quicktime sprite. I've checked Livestage, there is no
corresponding QScript Property. But for sound members (internal,
external, swa) AmplitudeXtra does what you want:
http://www.marmalademedia.com.au/

valentin


Charlie Fiskeaux II wrote:
 Does anybody know if it's possible to access the realtime
 decibel levels of the audio of a QuickTime sprite? I'd like
 to create a VU meter, and I know that QuickTime has one
 under Get Properties, so I'm curious if it's possible to
 access QT's built in VU meter.

 Or another option would be if there was a general way (via
 Xtra, maybe?) to access that data of all sounds in Director
 itself? I know there's an Xtra to read that data from sound
 input into the computer, but as far as I could tell, that
 Xtra didn't work for any kind of linked sound or video files.

 Ideas, anyone?

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


lingo-l postNetText and CGI

2004-02-22 Thread Teo Mattiozzi Petralia
Hello!
I would like to send a postNetText to a CGI script, the format to  
comunicate to the CGI is:

http://www.myerver.com/cgi-bin/Script.cgi? 
write=path_to_file=text_to_write

In other words I have to send to the CGI script to variable, a pathname  
and a text. I saw that I can use a property list too. How should I  
format the postNet Text command??

Thanks in advance for the help

Teo

[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo.  Thanks!]


Re: lingo-l postNetText and CGI

2004-02-22 Thread Mathew Ray
Teo,

It sounds like you need to send two different variables to the cgi 
script...a file path, and text. If you use postNetText, these values 
will be sent using the form POST method. In your example you showed, 
those variables are being sent with the GET method, meaning the 
variables are being passed through the url itself.

Question 1: which method does the CGI expect its parameters to come 
from, POSTed form variable, or GET variables coming from the url?

Question 2: in your example, you have the following pieces:
http://url? varname1=varvalue1=varvalue2
You probably need to get rid of the space after the ?
You probably also need to use two distinct variables so your cgi doesn't 
get confused, but it is difficult to say without knowing how it 
works...so it could look like this:
http://url?varname1=varvalue1varname2=varvalue2

As for how to format the command, I think the director help files are 
the best place to figure out the details.

~Mathew

Teo Mattiozzi Petralia wrote:
Hello!
I would like to send a postNetText to a CGI script, the format to  
comunicate to the CGI is:

http://www.myerver.com/cgi-bin/Script.cgi? write=path_to_file=text_to_write

In other words I have to send to the CGI script to variable, a pathname  
and a text. I saw that I can use a property list too. How should I  
format the postNet Text command??

Thanks in advance for the help

Teo


[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo.  Thanks!]


Re: lingo-l Resource Hacker

2004-02-22 Thread Deane Venske
Maybe try taking the ' out of the name. Who knows, resource hacker may 
mess things up when there is one in there.

On Mon, 23 Feb 2004 11:58:35 +1100, Alan Neilsen [EMAIL PROTECTED] 
wrote:

I have downloaded Resource Hacker, and am trying to use it to change the 
icon on my Director MX project (Called Directors' Duties.exe). Perhaps 
somebody can tell me what I am doing wrong. (1) I open my exe file in 
Resource Hacker, (2) I go to Actions/Replace Icon ..., (3) I select the 
icon I want to use (DD.ico), (4) I replace the icon, then (5) I save.

What I then end up with are 2 files One called Directors' 
Duties_original.exe (with the old Director MX icon) and one caller 
Directors' Duties.exe (with my new icon). The trouble is, this latter 
file does not work. When I double-click the exe to try to run the 
program, I get the error message:

Unable to load movie playlist. Does the .INI file exist? It must contain 
a section '[Movies]' with an entry 'Movie01=Pathname.dir'.

I do have an ini file with my projector (with [Settings] 
SingleInstance=1) - but I am not sure what I am meant to do to make this 
work.

Alan

Alan Neilsen
Multimedia Developer
Learning Services
Deakin University
Geelong Waterfront Campus
Geelong, Victoria 3217
Telephone : +61 03 5227 8155
E-mail: [EMAIL PROTECTED]
Please feel free to visit us at -
Learning Services: http://www.deakin.edu.au/learningservices
Exemplars of our work: http://cowan.ls.deakin.edu.au/exemplars/
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). 
Lingo-L is for learning and helping with programming Lingo.  Thanks!]


--
Deane Venske - Senior Programmer
www.eduss.com.au   [EMAIL PROTECTED]
+61 7 55974600  +61 405148718
Suite 29,  207 Currumburra Rd
Ashmore, Queensland, 4214
Australia
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]


Re: lingo-l Resource Hacker

2004-02-22 Thread Daniel Plaenitz

What I then end up with are 2 files
resHacker is trying to be nice. Before it modifies your .exe it saves the 
original as a backup.

One called Directors' Duties_original.exe (with the old Director MX icon) 
and one caller Directors' Duties.exe (with my new icon). The trouble is, 
this latter file does not work.
Just to get a precise picture at this point: did you test the original file 
and it run molto bene?

When I double-click the exe to try to run the program, I get the error 
message:

Unable to load movie playlist. Does the .INI file exist? It must contain a 
section '[Movies]' with an entry 'Movie01=Pathname.dir'.
Well, the trouble with MM error alerts is, they don't necessarily point to 
the problem involved. This alert seems so precise about what is the nature 
of the problem, only no one understands why this should be - contrary to 
the alert's text it is best known to raise its ugly head in situations 
where the applicationpath is longer then 127 Byte, (described like this on 
www.updatestage.com (quirks).)

I ' ve seen it once in a situation where clearly length of pathname was not 
a possible problem. I rebuild the projector and it disappeared, mysteriously.

Some days ago Rob Wingate posted on the very same error msg:
(RE: lingo-l Movie playlist, 19.02.04)
quote
One of our clients saw this error just last week. I researched it and found
it started appearing back in 2000. Back then, MACR's Jake Sapirstein said
they'd look into it, but evidently it's still around.
It apparently may also be caused by:

* a conflict with RAMDoubler on Mac
* user trying to run from a badly-replicated disc
Anyway, add the following lines to your MyProjectorName.ini (the Otto.ini
file):
[Movies]
Movie01=YourMainMovieName.dir
That will fix it.
/quote
I did not test his method, just posting it as an example that this lists 
archives may contain many more valuable infos re: this topic.

daniel plaenitz

[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo.  Thanks!]


Re: lingo-l Resource Hacker

2004-02-22 Thread Troy Rollins
On Feb 22, 2004, at 7:58 PM, Alan Neilsen wrote:

I have downloaded Resource Hacker, and am trying to use it to change 
the icon on my Director MX project (Called Directors' Duties.exe). 
Perhaps somebody can tell me what I am doing wrong. (1) I open my exe 
file in Resource Hacker, (2) I go to Actions/Replace Icon ..., (3) I 
select the icon I want to use (DD.ico), (4) I replace the icon, then 
(5) I save.
When I do this process and go to save, ResHacker ask me if I want to 
overwrite the original file - I tell it I do, and I end up with only 
the one projector file.

Note that the projector icon does not generally change on my authoring 
machine, and I'm not sure why (registry thing?), but it does change for 
the CD or distribution media.
--
Troy
RPSystems, Ltd.
http://www.rpsystems.net

[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo.  Thanks!]