Export snapshot and Mandriva

2010-11-12 Thread Ludovic Thébault

Hello,

This script :

 export image "photo" to file "test.jpg" as JPEG

works under Debian 5 but under Mandriva 2008, all i have it's a  
"slurry of pixels".


Any workaround ?

Thanks

LiveCode 4.50
___
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: libURLDownloadToFile and LiveCode

2010-10-29 Thread Ludovic Thébault

Le 29 oct. 2010 à 10:38, Dave Cragg a écrit :
> 
> I'm not sure, but perhaps this has something to do with the new asynchronous 
> behavior of the hostNameToAddress function. It seems that urlStatus will now 
> return empty for a short period between issuing the load command and the 
> point after it has obtained the IP address of the host. (previously this 
> stage was done synchronously)
> 
> Are you checking for tStatus = empty in your switch? Does your switch control 
> do anything that stops the load continuing in that situation?

Yes !

Thanks, now it's work.___
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


libURLDownloadToFile and LiveCode

2010-10-28 Thread Ludovic Thébault
Hello,

Under Revolution 4, this script work like a charm :

on mouseup
...
 libURLDownloadToFile theUrl, theDestUrl, "Downloaded"
 wait 0 milliseconds with messages
 ShowInfo theUrl

end mouseup

on ShowInfo pUrl
local tStatus,tResult
put URLStatus(pUrl) into tStatus 
   switch
 case tStatus

   end switch
   send "ShowInfo" && pUrl to me in 10 milliseconds
end ShowInfo


But with liveCode i've haven't the status and nothing seem to happen.

What is wrong ?

Thanks !


___
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


Could someone could test this ?

2010-10-06 Thread Ludovic Thébault

Hello,

It seem that Revolution (4 and prior) doesn't play wmv videos that are  
on a CD-Rom under Windows Xp. I've tried with Parallels on my mac,  
it's work, i've tried on a real pc under Vista, it's works but under  
XP it doesn't works... but it work if it's a .mov video.


It's the same for you ?

If yes, i could "block" my app on Xp to try to load a wmv video on a  
cd-rom.


Thanks.


___
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: replaceText --> Regex question

2010-07-24 Thread Ludovic Thébault

Le 24 juil. 2010 à 19:39, Glen Bojsza a écrit :

> 
> This should be easy for the Regex experts ... or maybe I can do it another
> way?
> 
> I have to change the beginning of a string.
> 
> The original string is ALWAYS proceeded by _parm
[...]
> I have thousands of beginnings that need changing so I am trying
> 
> put replaceText (field "Gates", * & "_parm", "Study4") into field
> "StudyGroup"


Try put replaceText (field "Gates",  ".+_parm", "Study4") into field 
"StudyGroup"

___
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: Customize headers in a datagrid

2010-03-17 Thread Ludovic Thébault

Le 17 mars 2010 à 21:42, Trevor DeVore a écrit :

> The image appeared in the header.
> 
> Can you try those steps and see if it works for you?

It's works, thanks.___
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: Customize headers in a datagrid

2010-03-17 Thread Ludovic Thébault

Le 11 mars 2010 à 16:24, Trevor DeVore a écrit :

> 
> On Mar 11, 2010, at 1:35 AM, Ludovic Thébault wrote:
> 
>> It's possible to add a little icon before the label of a column ?
> 
> You are wandering into undocumented territory but now seems like a good time 
> to start documenting it. Here is some information that should help you out. 
> Let's see if we can accomplish what you are trying to do and then I can move 
> the relevant information into the manual.
> 
> YOUR OPTIONS
> 
> There are two ways you can manipulate how a column header behaves:
> 
> 1) You can override the default behavior for column headers by setting the 
> "default header behavior" property:
> 
> set the dgProp["default header behavior"] of group "DataGrid" to the long id 
> of button "MyCustomBehavior"
> 
> The default behavior is stored in button "Default Header" of stack 
> "revDataGridLibrary". You can create your custom behavior using that button 
> script as a starting point.
> 
> 2) You can create a custom column header template. You can specify a custom 
> template for a column header by adding a control to the data grid template 
> group named:
> 
> COLUMN_NAME [Header]
> 
> The Data Grid will use that control when drawing the column header.
> 
> 
> ONE APPROACH
> 
> A simple solution for adding an icon would be to update to the column header 
> behavior script to work with the HTMLText rather than the text. In the 
> "Default Header" script is a dgLabel setProp:
> 
> setprop dgLabel pValue
>set the text of field 1 of me to pValue
> end dgLabel
> 
> You could create your own behavior script that did this:
> 
> setprop dgLabel pValue
>set the htmltext of field 1 of me to pValue
> end dgLabel
> 
> You can could then assign htmltext to the column label using  to 
> specify the image id you want to display:
> 
> set the dgColumnLabel[ COLUMN_NAME ] of group "DataGrid" to " 
> My Label"
> 
> Let me know how it goes.


It's work, but only if i change the script in the library.
If i create a button in my stack, paste the script of button "Default Header" 
of stack "revDataGridLibrary" in it, change the script, and set the dgProp of 
the dataGrid to this button, the htmltext doesn't work : in the label of a 
column is see "my label" and my image and the label.

Then, i want to use my own "international" sort (but i saw there is a lesson 
about this).
The built-in international sort forgot "œ, é, à" i hope rev 4.5 come with a 
real international sorting !
 ___
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


Customize headers in a datagrid

2010-03-10 Thread Ludovic Thébault
Hello.

It's possible to add a little icon before the label of a column ?

Thanks.
___
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: Replace colors in imageData under linux doesn't work

2010-03-07 Thread Ludovic Thébault

Le 7 mars 2010 à 16:18, Jeffrey Massung a écrit :

> 
> Is the Linux machine you are on PPC (read: big endian)?

No, i've tried on a emulated linux (with Parallel on a iMac intel), on a pc and 
on a netbook intel___
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


Replace colors in imageData under linux doesn't work

2010-03-07 Thread Ludovic Thébault
Hello,

I've made a map wih several sectors. Each sector have a specific color.
For example sector one have this color : 245, 255, 255
sector two : 215,255,255
sector three : 194,255,255
...
The map appear in blue (each sector with a different blue)

Under MacOS and Windows, a script replace the color of a sector with an other. 
But under linux (Ubuntu, Mandriva, Xubuntu) it doesn't work. I've tested with 
Rev Studio 2.91 and RevMedia 4.

the script :
 get the imageData of image "carte" 

replace (numToChar(0) & numtochar(230) & numtochar(255) & numtochar(255)) with \
(numToChar(0) & numtochar(45) & numtochar(155) & numtochar(90)) in it
 
Under Linux, my map appear yellow !

Here, a screenshot with the original map, the new map under MacOS and under 
Linux
http://img.skitch.com/20100307-11umgehf9gmes8p9k6yknc7w8d.jpg

Any ideas ? and any workaround ?  Thanks 
!___
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: Ask window and foreign language

2010-01-16 Thread Ludovic Thébault


Le 16 janv. 10 à 09:16, Phil Davis a écrit :



Try this:

   set the label of btn "Cancel" of stack "ask dialog" to ""
   ask "Use what value?"

Phil


So simply ! Thanks !

___
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


Ask window and foreign language

2010-01-15 Thread Ludovic Thébault

Hello,

It is possible to translate the "Cancel" button in the ask window ?

Thanks.


___
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: Applescrript from Rev

2010-01-08 Thread Ludovic Thébault

Le 9 janv. 2010 à 08:03, Yves COPPE a écrit :

> 
> Hello list
> 
> on mac OS X(leopard)
> I'd like do send an applescript from rev to mail.app
> it should be something like this :
> open mail.app
> open a new message
> fill the fields "To", "Object" and "Message" with variables
> 
> Can anyone help me in this task ?
> 
> thank you
> 

Hello Yves

here a script found on the net :

tell application "Mail" 
set newMessage to (make new outgoing message at end of outgoing 
messages with properties {subject:"@@", content:"##"}) 
tell newMessage 
make new recipient at end of to recipients with properties 
{address:"§§"} 
make new cc recipient at beginning of cc recipients with 
properties {address:"••"} 
send newMessage 
delay 45 
quit 
end tell 
end tell

Place it on a field

With Rev, change @@ with the subject, ## with the message, §§ with the email 
and •• with an other email if you 
want.___
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


Mouseenter for objects inside groups

2010-01-02 Thread Ludovic Thébault
Hello,

I've a group, inside that grp, i've an other grp with scrollbar, and inside 
this group i've an other group (!) where objects need to be active with a 
mouseenter.
It's not working (it's work if there is only the last group).

Only script's object have the mouseenter handler.

What i miss ?

Thanks and happy New Year !___
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: put URL doesn't work on windows

2009-12-09 Thread Ludovic Thébault


Le 9 déc. 09 à 12:08, Dave Cragg a écrit :

"invalid host address" suggests it's failing on a hostNameToAddress  
call, which suggests DNS problems. But if other net applications are  
working, it sounds strange. I don't have 2.9.1 on XP here, but 3.0  
works OK. Can you test the following, but try with some different  
host names.


on mouseUp
put hostNameToAddress("www.runrev.com")
if the result is not empty then answer the result
end mouseUp

on mouseUp
put hostNameToAddress("google.com")
if the result is not empty then answer the result
end mouseUp



Thanks. It's seem it's not a problem with Revolution but with my  
installation. I've tested in other place, it's work with windows.
But it's strange that with MacOS it's work and not with windows in the  
same place (with your script i've always "invalid host address" as  
result).

I've tested with the Google DNS it's the same.

___
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


put URL doesn't work on windows

2009-12-09 Thread Ludovic Thébault

Hello,

With Revolution 2.91

To update my application, i created a script to see on a web site if  
there are updates available.

It work fine under Macos X.
But doesn't work under Windows XP.

After test, a simple script like this :

put URL "http://www.runrev.com";
put cr & the result after msg

display "invalid host adress" on the message box under windows but  
display the html code of the web page under Macos X.


What happened ???

I've tried on a real pc and a virtual pc, it's the same (no firewall,  
internet connection is good, url is good...)


Thank !


___
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: WindowID and Revlet ?

2009-11-14 Thread Ludovic Thébault

Le 14 nov. 2009 à 17:01, Richard Miller a écrit :
> 
> Hope that does it for you.
> Richard Miller
> 

Thank ! It's perfect !
http://ludovic.thebault.free.fr/accueilonline.php?rub=geom___
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


WindowID and Revlet ?

2009-11-14 Thread Ludovic Thébault
Hello,

I need to do an import snapshot on a portion of my stack. But if it's work well 
in revMedia, on the web, the snapshot seem to be relative to the corner of the 
browser's window, not the stack's window.

How do this ?

Thx !___
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: Applescript, do command and ten statement problem

2009-10-23 Thread Ludovic Thébault


Le 23 oct. 2009 à 18:10, Ludovic Thébault a écrit :



Hello,

With rev 2.9.1

I write an applescript to import pictures on an xpress file  (i've  
thousand of pictures to put in it, in different pictures box).
It's in a fld and with Rev i change some values to make a loop and  
import all pictures.


The script works but after nine loops it fail with just an  
"execution error" in the result, if i copy/paste the applescript  
code just before the "crash" in the applescript editor, it work fine.


It seems i have reached the ten-statement limit but i'm working in  
the developpement environment  and i use an "alternatelanguageName".


So how do more than 9 loops ?

Thanks !



Just with a better debug of my code !

___
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


Applescript, do command and ten statement problem

2009-10-23 Thread Ludovic Thébault

Hello,

With rev 2.9.1

I write an applescript to import pictures on an xpress file  (i've  
thousand of pictures to put in it, in different pictures box).
It's in a fld and with Rev i change some values to make a loop and  
import all pictures.


The script works but after nine loops it fail with just an "execution  
error" in the result, if i copy/paste the applescript code just before  
the "crash" in the applescript editor, it work fine.


It seems i have reached the ten-statement limit but i'm working in the  
developpement environment  and i use an "alternatelanguageName".


So how do more than 9 loops ?

Thanks !



___
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


Two questions about trev

2009-09-13 Thread Ludovic Thébault

Hello,

1- What versions of Revolution are compatible with trev ? (i've 2.9.1)
2- It is possible to have a "tree" view in the code to reduce or  
extend loop like "if…else…end if" or "switch…case…end switch" ? It  
could be cool to verify the structure of the code when you have a lot  
of imbricated loop.


Thx___
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: RevMedia 4.0 alpha released

2009-07-22 Thread Ludovic Thébault


Le 22 juil. 09 à 21:34, Edward D Lavieri Jr a écrit :



I had the same issue with FireFox on a Mac (OS X).



Work great for me. Safari 4, MacOS X

Just a test of an app converted by one click in an web app !
http://ludovic.thebault.free.fr/test/test.html

I've noticed some "bugs" with others rapid tests :
all others stacks or windows opened by the web app are displayed in  
the background, behind the current window (so we don't see it)
MacOS menus are... small and not very responsive (look at the test  
over).___

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


Display pictures as iPhoto events ?

2009-07-16 Thread Ludovic Thébault

Hello, i want to display small pictures as iPhoto's events :
it's to show all pictures of a folder (event) by moving the mouse a  
few pixels inside the current displayed picture.


I wrote a script but it doesn't respond like iPhoto !

Any ideas ?
Thanks in advance


on mousemove -- script of the group
  get the width of grp "5lob"
  put round(it/the number of btns of grp "5lob") into tpix
  switch
  case item 1 of the mouseloc > item 1 of the tloc of me+tpix
lock messages
repeat with n=1 to the number of btns of grp "5lob"
  if the visible of btn n of grp "5lob" is true then put n into  
tvis

  hide btn n of grp "5lob"
end repeat
if tvis+1 > the number of btns of grp "5lob" then show btn 1 of  
grp "5lob"

else show btn (tvis+1)  of grp "5lob"
break
  case item 1 of the mouseloc < item 1 of the tloc of me-tpix
lock messages
repeat with n=1 to the number of btns of grp "5lob"
  if the visible of btn n of grp "5lob" is true then put n into  
tvis

  hide btn n of grp "5lob"
end repeat
if tvis-1 = 0 then show btn (the number of btns of grp "5lob") of  
grp "5lob"

else show btn (tvis-1)  of grp "5lob"
  end switch
  set the tloc of me to the mouseloc
end mousemove

___
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: Rev cannot open my jpeg !

2009-06-26 Thread Ludovic Thébault


Le 27 juin 09 à 08:06, Jerry J a écrit :


Vote for bug # 4026 !!
http://quality.runrev.com/qacenter/show_bug.cgi?id=4026

--Jerry J


Done !___
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: Rev cannot open my jpeg !

2009-06-26 Thread Ludovic Thébault


Le 27 juin 09 à 07:09, Colin Holgate a écrit :

You don't mention which OS you're on, but I wouldn't be surprised if  
you've hit a 4096 pixel limitation. If you use the 8 megapixel  
setting on the camera you should be ok, or resize the 13 megapixel  
images down to 4095 or less across.


I'm on MacOS X, and yes my pictures are taken at 13 Mpx.
At 8 Mpx it's work, but it's a "shame".

An we cannot use Rev to resize these pictures 
!___
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


Rev cannot open my jpeg !

2009-06-26 Thread Ludovic Thébault

Hello,

I've bought a new camera (Nikon coolpix p6000) and Revolution doesn't  
want to open my photos (with the "set the filename...".
It's just a normal jpeg file, but too big ? If i resize the photos,  
it's works.


Is there a workaround, i use Revolution to choose, name and tag my  
photos so i need to see it !


Thanks.

Rev. 2.91

I've test ith Rev 3.5 it's the same.
___
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: Help Revolutionize the Web

2009-05-19 Thread Ludovic Thébault

Hello,

Rev 4.0 is announced. If it revolutionize the web, i hope it  
revolutionize also the text ! When we could justify a paragraph ?


___
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: Cancel a repeat with a button

2009-05-13 Thread Ludovic Thébault


Le 13 mai 09 à 16:41, Jan Schenkel a écrit :



Change the repeat loop to something like this:



Thanks !
___
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


Cancel a repeat with a button

2009-05-13 Thread Ludovic Thébault

Hello,

How interrupt a repeat loop by a button ?
While a copy of a lot of files with rev, i want the user can cancel  
the copy.


 repeat for each line l in it
  if char 1 of l <> "." then
put convertpath(tstack&"/"&l) into tpath1
put convertpath(tlibrary&"/") into tpath2
get shell("cp "&tpath1&&tpath2)
end if
end repeat

Thanks.
___
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


Revprintifield & italic

2009-03-05 Thread Ludovic Thébault

Hello,

I need to print a field with italic and bold with the revprinfield  
command, if the bold is correctly displayed, the italic was missing on  
the paper (but not in the field).


I've tried with or without htmltext, on a new mainstack, it's the same


What i missing ?

Thx


Rev 2.9.1

___
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: Format a disk on MacOS X

2009-02-06 Thread Ludovic Thébault


Le 6 févr. 09 à 16:03, Thierry a écrit :


typo or error in your shell ?


I found !

Before in my script i've set the defaultfolder to "/Volumes/"&thedisk,  
so it's normal that MacOS X doesn't want to eject the disk.

___
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: Format a disk on MacOS X

2009-02-06 Thread Ludovic Thébault


Le 6 févr. 09 à 12:22, Richmond Mathewson a écrit :



Probably a naive question (well, they are my speciality),

but when I looked at the Help for Dosk Utility it said
that I can format a disk with MS-DOS (FAT) - is that 16 or
32; certainly a bit unclear from the documentation.

Yup, the GUI of Disk Utility smells "a bit off" -



But we cannot choose the format, and for "big" disk (> 1024 ko ?) Disk  
Utility format in FAT32.


For my problem, it's seem that Revolution block the unmount (i need to  
quit Rev for eject the device !) but i cannot find why (it's work one  
time but after not... !?)___

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


Format a disk on MacOS X

2009-02-06 Thread Ludovic Thébault

Hello,

I want to make a button to format a disk with the shell (in FAT16  
which is impossible to do with the GUI of MacoS X).

Here my script :

  get shell("df")
  put line lineoffset("/Volumes/"&the label of btn "disk", it) of it  
into tdisk

  set the itemdel to " "
  put item 1 of tdisk into tdisk
-- return /dev/Disks4s1
  get shell("diskutil umount "&tdisk)
 -- Fail to unmount (but works directly in the terminal)
  get shell("diskutil partitionDisk "&tdisk&" 1 MBRFormat ""e&"MS- 
DOS FAT16""e&"e&fld "newname""e&&"100%")

-- don't work because the disk is always mounted

Any idea ?

Thanks.
___
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: [OT] Google goes mad?..

2009-01-31 Thread Ludovic Thébault


Le 31 janv. 09 à 16:13, viktoras d. a écrit :



a few minutes ago I searched for runtime revolution, birds, webcam  
hints, climate change in google and each of these searches now is  
marked "This site may harm your computer". So if I click the link it  
redirects to www.google.com/insterstitial page "Warning- visiting  
this web site may harm your computer". Do you experience the same or  
is it any sort of "local" phenomenon ?..


Yes for an another "trusted" site : 
www.macbidouille.com___
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: La communauté Revolution est en deuil

2009-01-17 Thread Ludovic Thébault


Le 17 janv. 09 à 21:19, Jérôme Rosat a écrit :



Bonjour,

Je viens d'apprendre que Éric Chatonet est décédé mercredi. Toutes  
mes pensées vont à son fils et sa famille.


Jérôme


Je ne peux que m'associer aux nombreux hommages qui lui sont rendus.  
Il nous manquera.___

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: RevBrowser Doesn't Like Backdrop?

2008-12-19 Thread Ludovic Thébault



Le 19 déc. 08 à 11:14, Scott Rossi a écrit :



Can anyone confirm that RevBrowser doesn't render properly on OS X  
when a

backdrop is present?  (Rev 3.0)


Yes. I opened a bug report (for rev. 2.9) about this annoying bug.
___
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


Slider. i miss something ?

2008-12-01 Thread Ludovic Thébault

Hello,

It's not possible to force a slider to scroll only at pageinc ?  
(scroll only by multiple of 5 for example)


Thx.

PS : Rev 2.9.1
___
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


backdrop and alt-tab

2008-09-09 Thread Ludovic Thébault

Hello,

I've a stack with decorations sets to empty, the menubar is invisible  
and a backdrop hide the desktop.
If i select an other application with alt-tab (on windows) or cmd-tab,  
or space (on macos x) and, after, i come back to my rev app, i see  
only the backdrop. I need to set the backdrop to none, or show the  
menubar to replace my windows at the top.


Any workaround ?

Thanks.

___
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


idlerate it not the same between mac and windows

2008-07-19 Thread Ludovic Thébault

Hello,

Why with this script, and on a fld with several small images, windows  
is really fastest (1-2 sec)  than macos (7-8 seconds) ?


## btn script
local idrat
on mouseUp
   set the idlerate to idrat
   send descendre to fld "fleurs3"
end mouseUp

on mousestilldown
put the idlerate into idrat
set the idlerate to 2
send descendre to fld "fleurs3"
end mousestilldown

## field script :
on descendre
 if the vscroll of me + 1 < the formattedheight of me-115 then set  
the vScroll of me to the vScroll of me + 1

 else set the vscroll of me to 0
end descendre

thx.
___
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


Move the cursor ?

2008-05-23 Thread Ludovic Thébault

Hello,

Always for made a demo of the use of my stack without do a  
screenrecord, i want to move the cursor from an object to an another.  
But how ?


Thanks.

PS : to record actions, i've modified the revmessagewatcher to wrote  
in a file all messages and ids of objects, so it's already easier to  
make the script (but not very easy !).

___
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


Record actions on a stack ?

2008-05-21 Thread Ludovic Thébault

Hello,

I want to make a demo of the use of my futur application.
I could screenrecord a demo with SnapzPro for example, but i need to  
display the video on mac and Windows (and i don't want to force the  
user to install something for read these video) and it take a lot of  
place.


So perhaps it's possible to script actions directly in rev :
 move cursor from btn yy to btn xx
 send mouseup to btn xx
  ...

but if a stack or a plug-in exist  to record these actions and made  
the script automatically, it could be easier.

So, there is already a stack to do that ?

Thanks.

___
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: AW: Is it possible to hide the "windows side" of a hybrid CD on aMac?

2008-05-07 Thread Ludovic Thébault


Le 7 mai 08 à 11:53, Tiemo Hollmann TB a écrit :


Toast seems to be first class
Thanks for the info
Tiemo


With LiquidCd (free) it's also possible.
For each file or folder in the CD, go to btn "info" and choose the  
platform

___
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: Player don't stop !

2008-04-24 Thread Ludovic Thébault


Le 24 avr. 08 à 11:55, Mark Schonewille a écrit :


Hi Ludovic,

If you are sure that you have only one player, locking messages  
while hiding the group might help. I had a smilar issue.




Yes, it's works (but i need also to set the showcontroller of the  
player to false). thanks.



___
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


Player don't stop !

2008-04-24 Thread Ludovic Thébault

Hello,

If i play a movie on a group and i want to hide the group, the player  
continue to play !


on mouseup --btn to show grp with player 1
  show grp xx
end mouseup

-- manually i play the movie

on mouseup -- btn to hide the group
  stop player 1
  hide grp xx
end mouseup

but the movie continue to play... .
If manually, with the controller, i stop the movie, before i hide the  
grp, it's ok.

What i've  missed ?

thanks.

___
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


Revbrowser and copy command

2008-03-13 Thread Ludovic Thébault

Hello,

I want to copy, by script, some text from a web page in revbrowser  
(this text is automatically selected by the web page).

If i do manually a Edit/Copy, it's work, but if a use the script
on mouseup
  copy
  put the clipboarddata
end mouseup

it doesn't work.
What's wrong ?

Thanks.
___
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


RevprintField and font size

2008-01-23 Thread Ludovic Thébault

Hello

I want to print a field (with 3 columns). The font size of the field  
is 10 (fixed by script).
But when i print the font size seem to be 12 or 14 and my columns  
doesn't fit on the paper.


How fix this ?

thanks !


___
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: Virtual print driver for Windows

2008-01-23 Thread Ludovic Thébault


Le 23 janv. 08 à 19:50, J. Landman Gay a écrit :



I'm writing printing routines for a stack, and I want to send the  
printout to a virtual printer so I don't have to waste ink and paper  
on all those test copies. I tried Window's native "save to file"  
option but nothing I have will open those files.



You have microsoft xps writer (it's a "pdf like" by Microsoft)

http://www.microsoft.com/whdc/xps/default.mspx

There is also pdfCreator to make pdf.

___
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: Revbrowser & Standalone

2007-11-18 Thread Ludovic Thébault


Le 18 nov. 07 à 16:42, Mark Schonewille a écrit :


Hi Ludovic,

You may need something similar to:

XBrowser_Set "rect", the rect of this card,1

(where 1 is the browser instance ID).


It's already done : revbrowserset tBrowserID, "rect", the rect of  
image "xxx"


(i've take the script of the stack "browser sampler")

Perhaps a "Leopard" bug ???___
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


Revbrowser & Standalone

2007-11-18 Thread Ludovic Thébault

Hello,

In rev 281, on MacOS 10.5, my stack works fine with revbrowser but if  
i made a standalone (with browser as external) i haven't my web page  
with no errors.


The url is ok.
If i put  "answer tBrowserId" just after the revBrowserOpen function,  
i've "1" as result (so it's seem "ok" also). But why the web page is  
not display ?


Thanks.
___
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: Need for Speed (postscript)

2007-07-15 Thread Ludovic Thébault
On Sun, 15 Jul 2007 20:58:32 +0100, Beynon, Rob wrote:

Hello, try to append the result to a file, it's a lot faster :

> global seqDB
> 
> ON mouseUp
> 
> put the number of lines in field "massList" into peptides
> 
> put "Processing " & peptides & " masses, please wait..." into 
> field "Output"
> 
> put the long time into field "Start"
> 
>  --   put empty into outputData

ask file "Save as..."
put it into outputdata
open file outputData for write
close file outpudata -- it's to create an empty file if the fle already 
exists
open file outputdata for append

> set the tabstops of field "Output" to 120, 390, 10,20
> 
> put field "ppm" into ppm
> 
> REPEAT for each line pepMass in field "massList"
> 
> put "NEW SEARCH, MASS = " & pepMass & " at " & ppm & " ppm 
> error" & return after outputData
> 
> put  pepMass * ppm/100 into massError
> 
> REPEAT for each line peptide in seqDB
> 
> put the third word of peptide into dbMass
> 
>   --  IF abs(pepMass-dbMass) <= massError THEN put peptide & 
> "K" & tab & dbMass-pepMass & return after outputData

IF abs(pepMass-dbMass) <= massError THEN write peptide & 
> "K" & tab & dbMass-pepMass & return to file outputData


> END REPEAT
> 
> put "" & return after outputData
> 
> END REPEAT
read from file outputdata until eof
close file Outputdata
put it into fld "outputt"
>   --  put outputData into field "Output"
> 
> put the long time into field "Stop"
> 
> END mouseUp


Ludovic
http://www.botanic06.com
___
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


Protect a folder of pictures

2007-05-18 Thread Ludovic Thébault
Hello,

I'll have to made a CDRom (Mac/Win) with a lot of pictures.
All pictures are in a folder beside the app.

How protect this folder ?

Thanks.

Rev. 2.6.1 for now
___
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


HyperCard Flash effect

2007-01-28 Thread Ludovic Thébault
Hello

With hypercard we could use the "Flash" command to have a "flashy 
effect" of the screen 
but this command doesn't exist on Rev.
How simulate it ?

Thanks

Ludovic
http://www.botanic06.com
___
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: Display a text on a movie

2007-01-14 Thread Ludovic Thébault
On Sun, 14 Jan 2007 09:45:23 -0800, Joe Lewis Wilkins wrote:
> Hi Ludovic,
> 
> Take your movie into iMovie. There you should be able to add text or 
> all sorts. Save the movie and then use it in Rev. Obviously, I've 
> never done this, but that's the beauty of Macs, everything usually 
> works seamlessly together. Let me know if that does the trick.

Thanks, but i want add text in Rev.

I've made a little stack to sync subtitles, and there is a video 
preview, but actually, subtitles are outside the video because i can't 
put it on the video.
Look here (it's in french) :
http://ludovic.thebault.free.fr/download/reSync.zip

Ludovic
http://www.botanic06.com
___
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


Display a text on a movie

2007-01-14 Thread Ludovic Thébault
Hello,

It's not possible to put a field on a movie (rev 2.6.1 on macOS X).

But perhaps there is a workaround ?

Thanks.

Ludovic
http://www.botanic06.com
___
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] How identify a bundle with 'the folders' command ?

2006-12-25 Thread Ludovic Thébault
On Thu, 21 Dec 2006 14:54:05 -0600, J. Landman Gay wrote:
> Ludovic Thébault wrote:
>> Hello,
>> 
>> When i use the folders command, MacOS X bundle (.app, .key, 
>> .pages...) are listed as folder. How make the difference with real 
>> folders ?
> 
> This is fixed in the latest version of Rev. Are you using an older version?

I use rev 2.6.1
I've downloaded the lastest version of rev (2.7.4) and it's the same :
with the "long folders" command, bundle or macos x packages (.app, 
.rtfd, .key...) are listed as folder with nothing to identify it. With 
the "long files" command, they aren't listed.

Ludovic
http://www.botanic06.com
___
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


Sort by the number of items of each

2006-12-21 Thread Ludovic Thébault
Hello,

How sort a list by the number of items of each lines ?

In the documentation, i saw this :
"To create a custom sort order, use the each keyword to pass each line 
or item to a custom function. The value returned by the function is 
used as the sort key for that line or item."

but i don't know how do this.

Thks

Ludovic
http://www.botanic06.com
___
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] How identify a bundle with 'the folders' command ?

2006-12-20 Thread Ludovic Thébault
Hello,

When i use the folders command, MacOS X bundle (.app, .key, .pages...) 
are listed as folder. How make the difference with real folders ?

Thks.


Ludovic
http://www.botanic06.com
___
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: Newbie question

2005-10-09 Thread Ludovic Thébault
On Sun, 9 Oct 2005 13:08:58 EDT, [EMAIL PROTECTED] wrote:
> Is there something I can put in a script that'll stop it there and display 
> the script editing window at that point?

To debug it ?
Try "breakpoint"

Ludovic
___
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


Launch several files in a app ?

2005-10-08 Thread Ludovic Thébault
Hello,

It's possible to open an app with a document (launch mytext.txt with 
myApp), but how launch an app with several documents in one time ?

In fact, i want to import several pictures with iPhoto.

Any Ideas ?

Thanks.

Ludovic
___
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


[FR] [EN] Mighty mouse and Scroll

2005-08-11 Thread Ludovic Thébault
Bonjour / hello

Heureux possesseur d'une mighty mouse d'Apple, je constate que la 
molette n'a aucun effet sur le défilement d'un groupe d'objet possédant 
un ascenceur.

Happy owner of the mighty mouse of Apple, i discover that the scroll 
doesn't work with the scroll ball on a group.

Comment faire pour que la molette fonctionne sur un groupe ?

How to make so that the scroll ball work on a group? 

J'ai testé ce script (basé sur un script de GregdeVore) / I'll try this 
script (based on a script of GregdeVore) :

On rawKEyDown theKeyNumber
  get the long name of the target
  if "id 1012" is in it then
   if theKeyNumber is 65308 then -- mouse wheel down
 put the vscroll of group id 1012 into tScroll
 add 10 to tSCroll
 set the  vscroll of group id 1012 to tScroll

   else if theKeyNumber is 65309 then -- mouse wheel up
 put the vscroll of group id 1012 into tScroll
 subtract 10 from tSCroll
 set the  vscroll of group id 1012 to tScroll

   else pass rawKeyDown
else pass rawKeyDown
end rawKEyDown

mais ça ne marche pas bien du tout / but it doesn't work very well


Merci / thanks

PS : je pense que pour une simple souris à molette le problème est 
identique
PS : i think that for a simple mouse with scroll wheel, the problem is 
the same.

MacOS X 10.4 - Rev 2.6


Ludovic
___
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


Rev 2.6 and Defaultfolder

2005-06-06 Thread Ludovic Thébault
Hello,

Someone use Defaultfolder ?

Rev 2.6 crash with it when you display an "Open dialog" (on tiger)
I exclude Rev from Defaultfolder and it works.

Because my english is too bad, someone can put this bug on bugzilla ?

Thx


Ludovic
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: OSX Menu Mystery

2005-03-09 Thread Ludovic Thébault
On Wed, 09 Mar 2005 15:00:16 -0800, Richard Gaskin wrote:
> It may seem odd at first, but having spent many hours in meetings 
> with the SuperCard team many years ago when they were still planning 
> a Windows version, I must say that Scott Raney's solution -- once 
> grokked -- is a wonder of simplicity and automation for HIG-compliant 
> apps.

And if you want translate menu, you need to change the label . 
But if the menu manager allows it, it would be more practical.

Ludovic
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


How fix the bug 2126 ?

2004-12-23 Thread Ludovic Thébault
Hello,

the bug of disappearing menus in rev 2.5 seem to be fixed, as i saw it 
in bugzilla.
But how fix it on my rev app ?

I've the last release.

Thanks.
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Type in upper case

2004-09-30 Thread Ludovic Thébault
On Thu, 30 Sep 2004 09:32:27 +0200, Éric Chatonet wrote:
> It's a pity but toUpper rev function is unaware of the existence of 
> latin vowels :-)
> You are french. So  you need to uppercase them

Merci ! Thanks !


Ludovic
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Type in upper case

2004-09-29 Thread Ludovic Thébault
Hello,

I want the user type in upper case.
I've made a script with the keyup handler to convert lower letter in 
upper letter, but the conversion is visible.

How make the conversion in the keydown handler ? 

thanks


Ludovic
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rev doesn't want create standalone !

2004-09-27 Thread Ludovic Thébault
On Mon, 27 Sep 2004 12:24:12 +0200, Malte Brill wrote:

> What did you change in your stack?
> 
More scripts, one new substack

But finally, after several tests in the standalone builder, i delimit 
the "bug" :
- I "reload" icons for app and documents i've made, and also the 
generic icon of Rev (for windows version)
- i choose "Select inclusions..." instead of "Search for inclusions.."

And the standalone builder works...

-- 
Ludovic, sorry for my english
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Go last and substack

2004-09-21 Thread Ludovic Thébault
On Tue, 21 Sep 2004 21:39:06 +0200, Klaus Major wrote:
> Need more info about what you are doing here...
> What and where is the script?

Oups, i mean "back" and i wrote "Last" :-/

But my script use "go back"

In the mainstack i show pictures. If the user click on a picture, a 
substack is opened to show the picture in a taller size.

After closed the substack, if the user click on the "go back" btn, on 
the mainstack, it's the substack which is opened
[..]

Oh, i found "the recentcards" command in the doc.
so,

get the recentcards
go line 4 of it 

and it works !

Ludovic
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Date in Rev 2.5

2004-09-21 Thread Ludovic Thébault
On Tue, 21 Sep 2004 19:02:40 +0200, Yves COPPE wrote:
> Hi klaus,
> 
> I think I've found a serious subject of discussion...

I've the same bug.

Perhaps this bug is related to an other :
http://lists.runrev.com/pipermail/use-revolution/2004-March/034662.html


Ludovic
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: mp3/wma in Rev?

2004-09-19 Thread Ludovic Thébault
On Sat, 18 Sep 2004 19:30:12 -0700, untameYourself wrote:
> Hi all,
>  
> I was wondering if there is any way to play mp3 or wma files from within Rev
> (ideally without instantiating an external player.) 

With the player (quicktime) there is no problem for mp3/ogg*/aac and 
all formats supported by quicktime (for ogg a plug-in is needed)

For wma, i've readed a news that a company seem to create a quicktime 
plug-in for encode and decode wma.

Ludovic, sorry for my english
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


ImageData, colors and screen

2004-09-18 Thread Ludovic Thébault
Hello,

i use imagedata to replace one color by an other in a picture (which is 
inclued in the stack).

for example :

get the imagedata of mypicture
replace (numtochar(0)&numtochar(200)&numtochar(248)&numtochar(248)) 
with \
(numtochar(0)&numtochar(200)&numtochar(200)&numtochar(200)) in 
it


On my mac, it work. but on other mac, or pc, it doesn't work.

Why ? Colors are not the same ?


thanks

PS : With Rev 2.5

Ludovic
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


DreamCard : Protected Stacks and Custom properties

2004-09-07 Thread Ludovic Thébault
hello,


With Dreamcard we cannot make standalone.
We need to share the stack as .rev file, no ?
So, if we protect the stack with a password, it is possible to modify 
custom properties to save prefs  in the stack ?
Like we can with a standalone and a "splash" stack ?

Thanks.

Ludovic
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


[FUN] Rev 2.5 and MacOS X

2004-09-05 Thread Ludovic Thébault
Hello,

With Rev/DC 2.5, show the msg box, put it on the top-middle of the 
stack,
Close the stack with the widget btn (to show the alert window for 
saving the stack) and look.

Fun and helpful


Ludovic
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Why 10 hours for a newbie and 30 days for a "programmer" ?

2004-08-31 Thread Ludovic Thébault
On Wed, 01 Sep 2004 01:06:02 -0500, Ken Ray wrote:
> Download Dreamcard and take as long as you want to try it out, up to a limit
> of 10 hours of actual usage - click here
> 
> Note that this is "actual usage" vs. 30 days where you may or may not use it
> at all within that time. Still it is odd...

But if 10 hours of actual usage = 10 hours of rev is open, for a 
newbie, imho, it's too small :
Just to explore menus and docs, test some stacks example, and to do an 
"helloworld" stack.
Not enough of time to really test Dreamcard.


Ludovic
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Why 10 hours for a newbie and 30 days for a "programmer" ?

2004-08-31 Thread Ludovic Thébault
Hello,

Why the Dreamcard trial is limited to ten hours ?
A newbie need time to discover a language, to discover programming, or 
simply to discover a new program (especially a "rich" program like Rev).


Ludovic
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Rev equivalent to the php imageColorset ?

2004-08-25 Thread Ludovic Thébault
Hello,

I want to change the color of "sectors" of an png picture.

Each sector of the picture have an unique color.

With php, and the imageColorSet function, i can replace one color by an 
other in this picture, and colorize each "sector" as i want.

How do this with Rev (2.1) ? I think i need to use imagedata but i 
didn't understand how.

Thanks.

PS : If a frenchie known the response, he could post in the french rev 
list (my english is bad !)

Ludovic
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


RE: Filter and regex

2004-08-20 Thread Ludovic Thébault
On Fri, 20 Aug 2004 19:54:37 +0200, MisterX wrote:

> You'll have to find the right syntax that works with RR
>i feel better when I dont mess with grep's nasty syntax

Thanks, but these is not yet the right script ! ( i doesn't want the 
real week -- Monday to sunday) but only the day 1 to day 7, ...
Finally, i use this script, which work :

for first "week" (day 1 to 7):
filter myList with "*0[1-7]/05/*"

for second week (day 8 to 14):
put mylist into mylist2
filter myList with "*0[8-9]/05/*"
filter myList2 with "*1[0-4]/05/*"
put mylist&cr&mylist2 into mylist

...

Ludovic
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Filter and regex

2004-08-20 Thread Ludovic Thébault
On Fri, 20 Aug 2004 09:58:21 -0700, Mark Wieder wrote:
> Well, if that's what you really want, then this does the trick:
> 
> 0[1-7]/05/*

Thanks, but it's more difficult. I'm on french system, also the date 
format is DD/MM/YY.
I want to found for example all datas of the first week of a month, or 
the second week, the third week..

For the first week, your script work fine but for the rest.. i've tried 
(to find datas from 8 may to 14 may)
((0[8-9])|(1[0-4]))/05/* but it doesn't work. 

PS : This regex works with BBedit (without *).

Ludovic
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Filter and regex

2004-08-20 Thread Ludovic Thébault
Hello,

I want to filter a list by date. For example i want all lines which 
contains a date between 01/05/* to 07/05/*
I try this :

filter myList with "(01|07)/05/*"
filter myList with "((01)|(07))/05/*"
filter myList with "[01|07]/05/*"

but it doesn't seem to work.

Any idea ? thanks


Ludovic
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


load, url and repeat

2004-01-03 Thread Ludovic Thébault
Hello and happy new year !

How use the url command in a loop ?

I want to get a lot of web page which an url like this :
http://domain.com/page.php?ID=88

I just need to change the number of ID to get all pages.

But it's seem that the loop is too fast to get the info, even with a 
"load" command.

I try with this script :

on mouseup
repeat with n=1 to 810
put "http://domain.com/page.php?ID="&n into turl
load url turl
put n&&the urlstatus of turl&cr after msg
if the urlstatus of turl = "cached" then downloadcomplete
end repeat 
end mouseup


  on downloadcomplete
   -- do my stuff
unload url turl
  end downloadcomplete

How do my stuff after the url is really cached ?

Thanks
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re:

2003-10-17 Thread Ludovic Thébault
On Fri, 17 Oct 2003 19:00:50 +0200, Pierre wrote:
> I'm trying to call a function which is defined in a card, from 
> another card of the same stack. I've been tryinng with the "get" and 
> "call" keyword but each time, revolution tells me "can't find 
> handler".
> Does anyone can give me the right syntax to call a function ?
> Do I need to define this function as a "global function" (if it is 
> possible ...) ?

Put your function into the stack script.

Ludovic
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: .mp4 Mac file type?

2003-10-07 Thread Ludovic Thébault
On Tue, 07 Oct 2003 11:33:28 -1000, Thomas Speitel wrote:
> Hi Folks,
> I am looking for the Macintosh file type for .mp4 files and .mp3 
> files. For instance .mov files are Mac file type "MooV". I need the 
> info to filter file types using ANSWER FILE.

Natively, mp4 are not readable on mac. A (free) component for quicktime 
is necessary.
After installation, mp4 files have this creator & type : TVODmpg4


Ludovic
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: check box and closefield

2003-09-14 Thread Ludovic Thébault
On Sun, 14 Sep 2003 22:16:16 -0600, Michael Young wrote:
> What I cannot figure out how to do is create x buttons with x fields 
> and send the field information to the output text field in the button 
> order, i.e.

try :
on mouseUp
  if hilite of me is true
 then put fld ("Field "&last word of the short name of me) into fld 
"Output"
 else put "" into fld "Output"
end mouseUp

Field 1 script:
on closefield
  if hilite of btn ("Button "&last word of the short name of me) is 
false
  then hilite btn ("Button "&last word of the short name of me)
  put me into fld "Output"
end closefield
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: play an mp3?

2003-09-06 Thread Ludovic Thébault
On Fri, 5 Sep 2003 22:54:03 +0200, Klaus Major wrote:
> This will let you select a file and sets the filename to the absolute 
> path to your
> mp3. Now the filename is set and "start player My Player" should work...

Recently i want also to play mp3, but i've got problem :
I've a bad noise when i want to play directly (without player) an mp3.
Don't try : 
play "/Macintosh HD/Users/ludo/Music/iTunes/my.mp3" if you want to keep 
your ears !
And when i use a player i need to delete first item of the path :

/Macintosh HD/Users/ludo/Music/iTunes/my.mp3 -- the player doesn't 
"recognize" the path
/Users/ludo/Music/iTunes/my.mp3 -- the player works.
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: The Manhole - not free

2003-08-26 Thread Ludovic Thébault
On Tue, 26 Aug 2003 20:53:23 +0200, Ludovic Thébault wrote:
> On Tue, 26 Aug 2003 10:25:43 -0600, Barry Levine wrote:
>>  Oops! Didn't go far enough through that link I gave earlier. The site 
>>  is now charging a subscription. Sorry.
>>  
> try http://www.oldware.net/Dl.php?Lien=TWFuaG9sZS56aXA=

Not this one, this is not Manhole.
This one (but the pc version)
http://www.the-underdogs.org/downloadfile.php?file=games/m/manhole/files/manhole.zip&id=679
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: The Manhole - not free

2003-08-26 Thread Ludovic Thébault
On Tue, 26 Aug 2003 10:25:43 -0600, Barry Levine wrote:
> Oops! Didn't go far enough through that link I gave earlier. The site 
> is now charging a subscription. Sorry.
> 
try http://www.oldware.net/Dl.php?Lien=TWFuaG9sZS56aXA=
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Old versions and licence

2003-08-26 Thread Ludovic Thébault
Hello,


I've just purchased Rev. 2.1.

After the release of a new version, can i download rev 2.1 if i need to 
reinstall it, or i must stock it ?

Thanks. 
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: repeat for each....

2003-08-25 Thread Ludovic Thébault
On Mon, 25 Aug 2003 13:45:28 +0100, Mark Smith wrote:

> I haven't yet been able to make the 'repeat for each...' structure 
> work at all, not even once, in any circumstance, in a year of trying 
> it from time to time. I can find nothing in the electronic docs to 
> help me. I am mystified.


repeat with n=1 to the number of items of myvar 
-- return a number (the position of the current item in the loop)

repeat for each item n in myvar
-- return the value of  the current item in the loop
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Multi column scrolling with checkbox

2003-08-23 Thread Ludovic Thébault
On Sat, 23 Aug 2003 02:27:22 -0400, [EMAIL PROTECTED] wrote:
> Can anyone tell me if there's a way to create a 2 column text field, 
> where the user can have editable text in the left column, and in the 
> right column have a checkbox?  (So that the checkboxes all line up 
> with the text and scroll with the text if the vertical scrollbar is 
> used).  Special bonus if I can have the rows with alternating colored 
> backgrounds.


You can simulate this with the imagesource command, clickchar and 2 
images : the checkbox hilited and non hilited, but it's not 
multiplatform compliant ;-). 
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: How to purge a stack from memory by script?

2003-08-22 Thread Ludovic Thébault
On Sat, 23 Aug 2003 00:43:58 +0200, François Cuneo wrote:
> Hello!
> I'm completely unable to works with saved and closed stack with my code.
> When I close the stack and I save it, if I load the stack again or change
> her name, I have a message that says that I'm trying to load a stack already
> opened.
> So when I close the stack, I want to purge it from memory.
> Is it possible??

In Stack Property, check the 'Purge stack on close'.

But why this button is not "true" by default ?
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Deleting lines within a 'repeat for each' loop

2003-08-19 Thread Ludovic Thébault
On Tue, 19 Aug 2003 18:00:07 +1000, Martin Steer wrote:

Try, (if you are sure that you don't need any empty line) :

on mouseUp
> 
>   put ".ds_store" & return & "Help File 1.xml" & return & "Help File 
> 3.xml" into fileList
> 
>   put 1 into i
> 
>   breakpoint
>   repeat for each line currLine in fileList
>put "" into line i of fileList
> add 1 to i
>   end repeat
> replace cr&cr with cr in filelist
> end mouseUp
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Metal and drag

2003-08-17 Thread Ludovic Thébault
Hello,

With Rev 2.1 we can metalize MacOS X stacks, but to respect the 
guidlines, it is "necessary" to be able to move the window by its metal 
background and not only by the title bar.

How do this ? 

A 'grab me' in the card or stack script doesn't work. 

With this script it doen't work very well (the move is very flashy) :

on mouseDown
   put true into lMouseDown
end mouseDown

on mouseMove x,y
   if lMouseDown then set the loc of this stack to x,y
end mouseMove

Thanks.
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: button resize

2003-08-16 Thread Ludovic Thébault
On Fri, 15 Aug 2003 12:33:16 -0700, Andrew wrote:
> The main problem that I'm having with Revolution is getting an 
> image's rect to be the right size.  Say I create a cartoon of a man 
> in photoshop and I paste him into Revolution.  Then my little man 
> becomes an "image" in Revolution language.  However, when I paste him 
> in, the rect of the image is the size of the entire card!  How can I 
> get the rect of my little man to be exactly the size of him?

I've made this little script to resize an image :

set the lockloc of image "image" to false
get the rect of image "image"
 put (item 3 of it-item 1 of it) into hor
 put (item 4 of it-item 2 of it) into ver 
-- i use a square in background to have "square border" even if the 
rect of image is not a square :
 put the rect of graphic "tbackground"  into trect
-- to see the border :
 repeat with i=3 to 4
   subtract 2 from item i of trect
 end repeat
if hor >= ver and hor > (item 3 of trect-item 1 of trect)  then set the 
rect of image "image" to (item 1 of trect, item 2 of trect, item 3 of 
trect, (item 2 of trect+(ver*(item 3 of trect-item 1 of trect))/hor))
 else 
if ver > hor and ver > (item 4 of trect-item 2 of trect) then set the 
rect of image "image" to (item 1 of trect, item 2 of trect, (item 1 of 
trect+(hor*(item 4 of trect-item 2 of trect))/ver), item 4 of trect)
end if
set the loc of image "image" to the loc of graphic "tbackground" 
set the lockloc of image "image" to true
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Rev. 2.1 andd licence

2003-08-05 Thread Ludovic Thébault
Hello,

I want to take an "Express" licence of rev (with the limited time 
offer). If Rev 2.1 is not released before 31 august, the update in rev 
2.1 would be it possible ?

Thanks.
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Telnet and eMail

2003-07-24 Thread Ludovic Thébault
Hello,

for fun and for learn, i want to wrote a little app to connect to my 
pop server by telnet, to delete spam messages.

I'm not able to get messages from the host :

on mouseup
  open socket to pop.myhost:110 
  read from socket pop.myhost:110 with message "itswork" -- ok, it's 
work
  write "USER"&&mylogin & cr to socket pop.myhost:110 with message 
"itsdone"
write "PASS"&&myPass & cr to socket pop.myhost:110 with message 
"itsdone"
write "LIST" & cr to socket pop.myhost:110 with message "itsdone"
end mouseup

on itswork socketID, theMsg
put theMsg into fld "Messages"
end itswork

on itsdone socketID
put cr & socketID after fld "Messages"
end itsdone

- how to display messages (like "+OK password required") send by the 
host in a field ? The callbackmessage display only the socket host.

- Why i need to click several time to the button to have the list of 
emails ? And why this doesn't work in debug mode ?


Thanks.

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


Eliminate doubles in a long list field

2003-06-27 Thread Ludovic Thébault
I've a long list field with double entry

I want to eliminate double.

I use this script :

 repeat for each line l in myLongList
   if l is not in myLongListWithoutDouble then
 put l&cr after myLongListWithoutDouble
   end if
 end repeat

But it's long. There is an another solution ? Thanks.
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Revolution 2.0 Beta Now Available - And Special Offer

2003-04-04 Thread Ludovic Thébault
Sylvain Bouju wrote:
>Same for me, after trying twice, once with the Mac OS 9 version,
>the other with the Windows version.

For me too.

And error with the download engine.
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [OT] More French questions

2003-02-07 Thread Ludovic Thébault
sims wrote:
>>>2.  After you click on a day in the calendar does the month display
>>>in French in the first field.
>>
>>Yes.
>
>Well! That is most encouraging, thank you Ludovic!

For me the first field is the field inside the calendar.
Two others field with the month name are in english.
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: [OT] More French questions

2003-02-07 Thread Ludovic Thébault
sims wrote:
>
>I need to know from someone who has a French System
>
>1. Do the month names display correctly in French?

No. Month names are in english

>2.  After you click on a day in the calendar does the month display 
>in French in the first field.

Yes.
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: Rev 1.1.1 and Mac OS X 10.2.3 FR

2003-01-15 Thread Ludovic Thébault
Yves COPPE wrote:

>download the altThumbViewer from
>
>http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm
>
>It worked for me with Mac OS X 10.1.x FR
>It doesn't work anymore with OS X 10.2.3 FR
>
>Can anyone answer me ???

Work with me.
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: Rev 1.1.1 and Mac OS X 10.2.3 FR

2003-01-15 Thread Ludovic Thébault
yves COPPE wrote:
>Hello Ludovic

 On peut se dire bonjour ;-) 

>When you type in the msg box : answer the filename of this stack
>
>do you get a ".../user/..." filename

Yes !

And in the finder browser i've "Utilisateurs"

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



  1   2   >