Re: MacOS X, player, long filename and accented chars : solved

2005-12-22 Thread Thomas McGrath III

Charles,

I would try working with players in buttons first and make sure you  
get those down pat,  then look at capturing the keystrokes. Maybe  
capture keystrokes to execute the buttons and then look at doing it  
all via scripts at the card level.


Create a bunch of buttons for all of the commands like:

on mouseup
  answer file "Please select a movie-file:"
  if the result is not "cancel" then set the filename of player 1 to it
end mouseup

on mouseup
  start player 1
end mouseup

on mouseup
  stop player 1
end mouseup

on mouseup
  set the paused of player 1 to true
end mouseup

on mouseup
  set the paused of player 1 to false
end mouseup

on mouseup
  put the currenttime of player 1 into field 2
end mouseup

on mouseup
  set the currenttime of player 1 to 0
end mouseup

on mouseup
  set the currenttime of player 1 to 4000
end mouseup

on mouseup
  set the playRate of player 1 to 2 -- 1 is normal, 0.5 is half  
speed, 2 is double speed

end mouseup

on mouseup
  set the playloudness of player 1 to 0 -- mute
end mouseup

on mouseup
  set playloudness of player 1 to 100 -- full
end mouseup

on mouseup
  set playloudness of player 1 to 50 -- half
end mouseup

on mouseup
  if the QTVersion < 3 then answer "Hey bub, you need Quicktime 3.0  
or later."
  if the QTVersion > 4 then answer "Great, you have a version of  
Quicktime that will work great with the app."

end mouseup


HTH

Tom




On Dec 17, 2005, at 11:21 AM, Charles Hartman wrote:

I haven't played with players before, and I have a really simple  
question:


If I want to add a keystroke handler to this player stack, how do I  
do it? I can put a rawKeyDown handler in either the stack or the  
card, and keystrokes are recognized. (Not if I put the handler in  
the script of the player itself.) But the player doesn't seem to  
respond to the commands I associate with keystrokes. I'm just  
trying to implement spacebar = pause/resume, arrow keys step  
forward/back.


Is the filename this player stack loads also the name of the clip?  
That is, if I put "put the filename of player 'Player' into  
theClip" at the top of my rawKeyDown handler (very inefficient; I'm  
just testing), can I then use theClip as the argument for various  
'play' commands? That's what I'm trying but it doesn't seem to do  
anything.


What am I missing? I can't seem to find a thread in the docs that  
clarifies this . . .


Charles Hartman


On Dec 17, 2005, at 6:43 AM, Thierry Arbellot wrote:


The stack is available on another server
Here are the links :

http://perso.wanadoo.fr/hal/player.rev
http://perso.wanadoo.fr/hal/player.rev.zip

Cheers,
Thierry

On 2005, Dec 16, , at 21:26, Thierry Arbellot wrote:


OK

I will put the stack without compression on the server on Monday.

Thierry

On 2005, Dec 16, , at 20:35, Eric Chatonet wrote:


Hi Thierry,

Dom is a mac user and he can't decompress your archive since the  
last available version of Stuffit is 9.01 on this platform.
I asked Klaus to send me your stack but I was unable too to open  
the archive he sent to me.
Since your stack is light, I suggest that you put it on your  
server as a binary file without compressing it.

Then we all be able to thank you :-)

Best Regards from Paris,
Eric Chatonet
--- 
---
http://www.sosmartsoftware.com/ 
[EMAIL PROTECTED]/



Le 16 déc. 05 à 20:25, Thierry Arbellot a écrit :

The archive was compressed with Stuffit 10. It may be not  
backward compatible with previous version


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


Thomas J McGrath III
[EMAIL PROTECTED]

Semantic Compaction Systems
SCIconics, LLC

Lazy River Metal Arts
Lazy River Software™
&
Meeting Wear™ - Unique Apparel Design






___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mai

Re: MacOS X, player, long filename and accented chars : solved

2005-12-17 Thread Dom
Thierry Arbellot <[EMAIL PROTECTED]> wrote:

> http://perso.wanadoo.fr/hal/player.rev.zip

ça roule !

that rolls!

:-)

-- 
Revolutionario

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: MacOS X, player, long filename and accented chars : solved

2005-12-17 Thread Charles Hartman
I haven't played with players before, and I have a really simple  
question:


If I want to add a keystroke handler to this player stack, how do I  
do it? I can put a rawKeyDown handler in either the stack or the  
card, and keystrokes are recognized. (Not if I put the handler in the  
script of the player itself.) But the player doesn't seem to respond  
to the commands I associate with keystrokes. I'm just trying to  
implement spacebar = pause/resume, arrow keys step forward/back.


Is the filename this player stack loads also the name of the clip?  
That is, if I put "put the filename of player 'Player' into theClip"  
at the top of my rawKeyDown handler (very inefficient; I'm just  
testing), can I then use theClip as the argument for various 'play'  
commands? That's what I'm trying but it doesn't seem to do anything.


What am I missing? I can't seem to find a thread in the docs that  
clarifies this . . .


Charles Hartman


On Dec 17, 2005, at 6:43 AM, Thierry Arbellot wrote:


The stack is available on another server
Here are the links :

http://perso.wanadoo.fr/hal/player.rev
http://perso.wanadoo.fr/hal/player.rev.zip

Cheers,
Thierry

On 2005, Dec 16, , at 21:26, Thierry Arbellot wrote:


OK

I will put the stack without compression on the server on Monday.

Thierry

On 2005, Dec 16, , at 20:35, Eric Chatonet wrote:


Hi Thierry,

Dom is a mac user and he can't decompress your archive since the  
last available version of Stuffit is 9.01 on this platform.
I asked Klaus to send me your stack but I was unable too to open  
the archive he sent to me.
Since your stack is light, I suggest that you put it on your  
server as a binary file without compressing it.

Then we all be able to thank you :-)

Best Regards from Paris,
Eric Chatonet
 
--
http://www.sosmartsoftware.com/ 
[EMAIL PROTECTED]/



Le 16 déc. 05 à 20:25, Thierry Arbellot a écrit :

The archive was compressed with Stuffit 10. It may be not  
backward compatible with previous version


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: MacOS X, player, long filename and accented chars : solved

2005-12-17 Thread Thomas McGrath III
The file opened in Rev and was a player window with a button to  
select a file. It was not 0Kb. the stuffit error did not effect the  
file.


HHmm...

Tom

On Dec 17, 2005, at 6:37 AM, Dom wrote:


Thomas McGrath III <[EMAIL PROTECTED]> wrote:


I got the same error, however the file was unstuffed even with the
error.


but it was a 0 Kb file ;->

--
Revolutionario

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


Thomas J McGrath III
[EMAIL PROTECTED]

Semantic Compaction Systems
SCIconics, LLC

Lazy River Metal Arts
Lazy River Software™
&
Meeting Wear™ - Unique Apparel Design






___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: MacOS X, player, long filename and accented chars : solved

2005-12-17 Thread Klaus Major

Hi all,


Thomas McGrath III <[EMAIL PROTECTED]> wrote:


I got the same error, however the file was unstuffed even with the
error.


but it was a 0 Kb file ;->


I hope Thierry does not mind if i put that namely stack in OS X zip  
format

on my homepage:

http://www.major-k.de/staxx/macurlencode.mc.zip

Have fun.


Revolutionario


Venceremos! :-)


Regards from cold and snowy germany

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: MacOS X, player, long filename and accented chars : solved

2005-12-17 Thread Thierry Arbellot


On 2005, Dec 16, , at 20:35, Eric Chatonet wrote:


Hi Thierry,

Bonjour Eric,



Dom is a mac user and he can't decompress your archive since the last  
available version of Stuffit is 9.01 on this platform.
I'm on a Mac (10.3.8) too and use Stuffit 10. Why not upgrade ? It's  
free :-)


I asked Klaus to send me your stack but I was unable too to open the  
archive he sent to me.
Since your stack is light, I suggest that you put it on your server as  
a binary file without compressing it.

Then we all be able to thank you :-)

Best Regards from Paris,
Eric Chatonet
--- 
---

http://www.sosmartsoftware.com/[EMAIL PROTECTED]/


Best Regards from Villeneuve St Georges ;-)
Thierry

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: MacOS X, player, long filename and accented chars : solved

2005-12-17 Thread Thierry Arbellot

The stack is available on another server
Here are the links :

http://perso.wanadoo.fr/hal/player.rev
http://perso.wanadoo.fr/hal/player.rev.zip

Cheers,
Thierry

On 2005, Dec 16, , at 21:26, Thierry Arbellot wrote:


OK

I will put the stack without compression on the server on Monday.

Thierry

On 2005, Dec 16, , at 20:35, Eric Chatonet wrote:


Hi Thierry,

Dom is a mac user and he can't decompress your archive since the last  
available version of Stuffit is 9.01 on this platform.
I asked Klaus to send me your stack but I was unable too to open the  
archive he sent to me.
Since your stack is light, I suggest that you put it on your server  
as a binary file without compressing it.

Then we all be able to thank you :-)

Best Regards from Paris,
Eric Chatonet
-- 


http://www.sosmartsoftware.com/[EMAIL PROTECTED]/


Le 16 déc. 05 à 20:25, Thierry Arbellot a écrit :

The archive was compressed with Stuffit 10. It may be not backward  
compatible with previous version


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: MacOS X, player, long filename and accented chars : solved

2005-12-17 Thread Dom
Thomas McGrath III <[EMAIL PROTECTED]> wrote:

> I got the same error, however the file was unstuffed even with the  
> error.

but it was a 0 Kb file ;->

-- 
Revolutionario

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: MacOS X, player, long filename and accented chars : solved

2005-12-16 Thread Thomas McGrath III
I got the same error, however the file was unstuffed even with the  
error.


Tom

OSX 10.4
On Dec 16, 2005, at 2:35 PM, Eric Chatonet wrote:


Hi Thierry,

Dom is a mac user and he can't decompress your archive since the  
last available version of Stuffit is 9.01 on this platform.
I asked Klaus to send me your stack but I was unable too to open  
the archive he sent to me.
Since your stack is light, I suggest that you put it on your server  
as a binary file without compressing it.

Then we all be able to thank you :-)

Best Regards from Paris,
Eric Chatonet
-- 


http://www.sosmartsoftware.com/[EMAIL PROTECTED]/


Le 16 déc. 05 à 20:25, Thierry Arbellot a écrit :

The archive was compressed with Stuffit 10. It may be not backward  
compatible with previous version


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution


Thomas J McGrath III
[EMAIL PROTECTED]

Semantic Compaction Systems
SCIconics, LLC

Lazy River Metal Arts
Lazy River Software™
&
Meeting Wear™ - Unique Apparel Design






___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: MacOS X, player, long filename and accented chars : solved

2005-12-16 Thread Yves COPPE

Hi Yves,

I tested with a file named Sébastien.mov
and I got the correct encoding Se%CC%81bastien.mov
The player can open the file.
Is it possible we don't have the same character é ?



Hi Thierry


in fact, I use a shell function to use spotlight

function mdfind pQuery
  -- This one find matching files based on a given query.
  return shell("mdfind" && pQuery)
end mdfind


  ask "Quel mot" as sheet
  if it is empty then exit to top
  put it into tSearch
  put mdfind(tSearch) into tmp

the variable "tmp" contains "unreadable" pathToFile
I hoped with your function to retrieve the files given with the  
pathToFile

but it doesn't work ...

Perhaps you have a tip ?

Thanks.


Greetings.

Yves COPPE
[EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: MacOS X, player, long filename and accented chars : solved

2005-12-16 Thread Thierry Arbellot

On 2005, Dec 16, , at 21:00, Yves COPPE wrote:



Hi,

I have a filename with a name in French
Sébastien

with your code it gives :

SeA%CC%83A%CC%8Abastien

Can you help me ?

Thanks.

Greetings.

Yves COPPE
[EMAIL PROTECTED]


Hi Yves,

I tested with a file named Sébastien.mov
and I got the correct encoding Se%CC%81bastien.mov
The player can open the file.
Is it possible we don't have the same character é ?

Thierry
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: MacOS X, player, long filename and accented chars : solved

2005-12-16 Thread Thierry Arbellot

OK

I will put the stack without compression on the server on Monday.

Thierry

On 2005, Dec 16, , at 20:35, Eric Chatonet wrote:


Hi Thierry,

Dom is a mac user and he can't decompress your archive since the last  
available version of Stuffit is 9.01 on this platform.
I asked Klaus to send me your stack but I was unable too to open the  
archive he sent to me.
Since your stack is light, I suggest that you put it on your server as  
a binary file without compressing it.

Then we all be able to thank you :-)

Best Regards from Paris,
Eric Chatonet
--- 
---

http://www.sosmartsoftware.com/[EMAIL PROTECTED]/


Le 16 déc. 05 à 20:25, Thierry Arbellot a écrit :

The archive was compressed with Stuffit 10. It may be not backward  
compatible with previous version


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: MacOS X, player, long filename and accented chars : solved

2005-12-16 Thread Yves COPPE


Le 16-déc.-05 à 20:25, Thierry Arbellot a écrit :



On 2005, Dec 16, , at 19:55, Dom wrote:


Thierry Arbellot <[EMAIL PROTECTED]> wrote:


http://www.tokitest.com/download/player.rev.sitx





Hi,

I have a filename with a name in French
Sébastien

with your code it gives :

SeA%CC%83A%CC%8Abastien

Can you help me ?

Thanks.

Greetings.

Yves COPPE
[EMAIL PROTECTED]

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: MacOS X, player, long filename and accented chars : solved

2005-12-16 Thread Eric Chatonet

Hi Thierry,

Dom is a mac user and he can't decompress your archive since the last  
available version of Stuffit is 9.01 on this platform.
I asked Klaus to send me your stack but I was unable too to open the  
archive he sent to me.
Since your stack is light, I suggest that you put it on your server  
as a binary file without compressing it.

Then we all be able to thank you :-)

Best Regards from Paris,
Eric Chatonet
 
--

http://www.sosmartsoftware.com/[EMAIL PROTECTED]/


Le 16 déc. 05 à 20:25, Thierry Arbellot a écrit :

The archive was compressed with Stuffit 10. It may be not backward  
compatible with previous version


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: MacOS X, player, long filename and accented chars : solved

2005-12-16 Thread Klaus Major

Hi all,



On 2005, Dec 16, , at 19:55, Dom wrote:


Thierry Arbellot <[EMAIL PROTECTED]> wrote:


http://www.tokitest.com/download/player.rev.sitx


Ahem...

"an error has occured while expanding (bla bla) This an unsupported
archive version"


The archive was compressed with Stuffit 10. It may be not backward  
compatible with previous version


worked here with version 9.01...

But there are some known issues with stuffit!
Maybe you could you post it in OS X zip format, too?


--
Revolutionario


Regards

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: MacOS X, player, long filename and accented chars : solved

2005-12-16 Thread Thierry Arbellot


On 2005, Dec 16, , at 19:55, Dom wrote:


Thierry Arbellot <[EMAIL PROTECTED]> wrote:


http://www.tokitest.com/download/player.rev.sitx


Ahem...

"an error has occured while expanding (bla bla) This an unsupported
archive version"


The archive was compressed with Stuffit 10. It may be not backward 
compatible with previous version




--
Revolutionario

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-revolution



___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: MacOS X, player, long filename and accented chars : solved

2005-12-16 Thread Dom
Thierry Arbellot <[EMAIL PROTECTED]> wrote:

> http://www.tokitest.com/download/player.rev.sitx

Ahem...

"an error has occured while expanding (bla bla) This an unsupported
archive version"



-- 
Revolutionario

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: MacOS X, player, long filename and accented chars : solved

2005-12-16 Thread Rick Rice

On Dec 16, 2005, at 9:22 AM, Klaus Major wrote:

I made a sample stack to show this solution:
http://www.tokitest.com/download/player.rev.sitx


I get an error message when I try to un-sit this.
Rick

___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: MacOS X, player, long filename and accented chars : solved

2005-12-16 Thread Klaus Major

Bon soir Thierry,


Hi All,

I would like to share a solution allowing to open movies with long  
filenames and accented characters in a player on MacOS X


I made a sample stack to show this solution:
http://www.tokitest.com/download/player.rev.sitx

It should work with latin characters only
I have tested with all characters I can key in from my keyboard,  
but if you have a file with characters that cause problem, please  
let me know.


Mon dieux, c'est MERVEILLEUX!!
You just kind of saved my life!

:-)


Kind Regards,
Thierry


Very deep regards from germany

Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


MacOS X, player, long filename and accented chars : solved

2005-12-16 Thread Thierry Arbellot

Hi All,

I would like to share a solution allowing to open movies with long 
filenames and accented characters in a player on MacOS X


I made a sample stack to show this solution:
http://www.tokitest.com/download/player.rev.sitx

It should work with latin characters only
I have tested with all characters I can key in from my keyboard, but if 
you have a file with characters that cause problem, please let me know.


Kind Regards,
Thierry
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution