script interruption (suite)

2010-11-17 Thread Yves COPPE
Hi list


i've made a fld appearing on the screen
this fld show a text (coming from a variable)
this fld  is locktext 
his fld contains the script

on mouseUp
global gFlagEnd
put true into gFlagEnd
end mouseUp


the fld does appear
when I click inside the fld, the fld disappears
it's OK

BUT
i'd like that the fld will disapear spontaneously after 5 seconds

how can I add this command to the script below ?


my script

on toggleexercice tDerniereDate
   global gEndFlag
if gEndFlag is false then
  if tDerniereDate  empty then
 set the blendLevel of  fld showExercice to 100
 show fld showExercice
 repeat with x = 100 down to 35
set the blendLevel of  fld showExercice to x
wait 1 ticks
 end repeat
  end if
  send toggleexercice to me in 1
   else
  repeat with x = 35 to 100
 set the blendLevel of  fld showExercice to x
 wait 1 tick
  end repeat
  hide fld showExercice
  exit to top
   end if
end toggleexercice


thank you very much

Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: script interruption (suite)

2010-11-17 Thread Yves COPPE

Le 17 nov. 2010 à 19:45, Ian McKnight a écrit :

 How about sending another send in time message to change the global after 5
 seconds?
 I haven't tried itand there may be a more efficient way to code this but I
 think it should work.
 
 The only thing is you will have quite a number of unneeded calls of the
 secondTimer. To overcome this you need to record the send ID in a variable
 and then clear these IDs from the pending messages
 
 For more info look up send and cancel in the dictionary
 
 local myPendingMessages
 
 on toggleexercice tDerniereDate
  global gEndFlag
   if gEndFlag is false then
 if tDerniereDate  empty then
set the blendLevel of  fld showExercice to 100
show fld showExercice
repeat with x = 100 down to 35
   set the blendLevel of  fld showExercice to x
   wait 1 ticks
end repeat
 end if
 
 send secondTimer to me in 5 Sec
 -- record the message ID
 put the resultcr after myPendingMessages
 
 send toggleexercice to me in 1
 
  else
 repeat with x = 35 to 100
set the blendLevel of  fld showExercice to x
wait 1 tick
 end repeat
 hide fld showExercice
 clearMyPendingMessages
 exit to top
  end if
 end toggleexercice
 
 
 
 command secondTimer
 if gFlagEnd is false then put True into gFlagEnd
 end secondTimer
 
 command clearMyPendingMessages
 repeat for each line tMsg in myPendingMessages
 cancel tMsg
 end repeat
 put empty into myPendingMessages
 end clearMyPendingMessages
 




Hi Ian,

the script above runs but the fld showExercice doesn't disappear sponaneously
I still have to click in the fld to makes it disappear
please do you have another idea for me???
thank you very much

Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: script interruption (suite)

2010-11-17 Thread Yves COPPE

Le 17 nov. 2010 à 21:26, Ian McKnight a écrit :

 Hi Yves
 
 Try moving the lines
 
 send secondTimer to me in 5 Sec
 -- record the message ID
 put the resultcr after myPendingMessages
 
 out of the handler altogether, placing it immediately before the place where
 the main call to toggleexercice is made.
 
 This should mean that a timer is started as soon as you call the main
 handler.
 If nothing is touched then the flag should be set to true after 5 secs which
 is what the mouseclick does anyway. In this case you probably won't need the
 clearMyPendingMessages handler but, maybe its overkill on my part, whenever
 I use any send command I always like to clear up aftermyself this way -0
 just to make sure.
 
 Try that and see.
 


Hi Ian

no changes alas ...
after 5 secs, the fld doesn't disappear ...

Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: script interruption (suite)

2010-11-17 Thread Yves COPPE

Le 17 nov. 2010 à 21:26, Ian McKnight a écrit :

 Hi Yves
 

Hi Ian,


I have noticed that
command secondTimer
global gEndFlag
   if gFlagEnd is false then put True into gFlagEnd
 end secondTimer



this command is well activated after 5 secs but the fld doesn't disappear
something misses !


Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: script interruption (suite)

2010-11-17 Thread Yves COPPE

Le 17 nov. 2010 à 21:26, Ian McKnight a écrit :

 Hi Yves
 
 Try moving the lines
 
 send secondTimer to me in 5 Sec
 -- record the message ID
 put the resultcr after myPendingMessages
 
 out of the handler altogether, placing it immediately before the place where
 the main call to toggleexercice is made.
 
 This should mean that a timer is started as soon as you call the main
 handler.
 If nothing is touched then the flag should be set to true after 5 secs which
 is what the mouseclick does anyway. In this case you probably won't need the
 clearMyPendingMessages handler but, maybe its overkill on my part, whenever
 I use any send command I always like to clear up aftermyself this way -0
 just to make sure.
 
 Try that and see.
 
 All the best
 


Hi Ian


sorry, i've made a typo !
after correction, it works great ! yesss!!
many thanks 


Greetings.

Yves COPPE
yvesco...@skynet.be

___
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


script interruption

2010-11-16 Thread Yves COPPE
Hello list

I have a script

on doStuff
end doStuff

this script makes a fld appearing on the screen and writes different text in 
this fld in a repeat loop
I'd like that a click in this fld stops the loop : exit repeat
I don't find how to proceed

can anyone explain me how ?
thanks.

Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: script interruption

2010-11-16 Thread Yves COPPE

Le 16 nov. 2010 à 22:25, Ian McKnight a écrit :

 Hi Yves
 
 I did the following which I think gives you the behaviour you want:
 
 Create a stack with a scrolling field and a button.
 Lock the text of the field so that it can respond to mouse clicks.
 
 Put this in the script of the field (called Display)
 
 global gEndFlag
 on mouseup
   put true into gEndFlag
 end mouseup
 
 and put this in the script of the button
 
 global gEndFlag
 
 on mouseUp
   put false into gEndFlag
   randomText
 end mouseUp
 
 command randomText
   if gEndFlag is False
   then
 
 -- your line of  text
  put any line of the weekdaynames into theText
  put theTextcr after fld display
 
 
  send randomText to me in 1 sec -- timing can be varied
 
   end if
 end randomText
 
 
 send in time effectively is your repeat
 and allows other processes to continue
 namely the ability to check when you have clicked in the field
 which I don't think the repeat loop will allow since it is still running
 when you click in the field.



Hi,

works perfectly
thanks !

Greetings.

Yves COPPE
yvesco...@skynet.be

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

2010-10-28 Thread Yves COPPE

Hello,

on mac machine
I want to ask the user the name of a MS Excell file on the desktop
then

I want this script not in LiveCode language but applescript (for  
another purpose afterwards in the livecode script)


here is my applescript code that doesn't run  (!)

set le_chemin to (path to desktop) as unicode text
set le_nom to display dialog Saisissez le nom du classeur default  
answer .xlsx

set mon_classeur to le_chemin  :  text returned of le_nom

tell application Microsoft Excel
activate
open mon_classeur
end tell

Can someone help me ???

Amicalement.

Yves COPPE
yvesco...@skynet.be



Greetings.

Yves COPPE
yvesco...@skynet.be

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

2010-10-28 Thread Yves COPPE


Le 28 oct. 10 à 14:13, Mark Schonewille a écrit :


Hi Yves,

Runs fine here. What's your problem?



says

error
can't find file this has been destroyed or destroyed (in French !)



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


Greetings.

Yves COPPE
yvesco...@skynet.be

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

2010-10-28 Thread Yves COPPE


Le 28 oct. 10 à 14:37, Mark Schonewille a écrit :

That's strange. I don't get any errors at all, even if the file  
doesn't exist.


Which version of Mac OS X are you using? as unicode text might no  
longer be necessary.




leopard on a G5 and snow leopard on a Core 2 duo
same problem

Greetings.

Yves COPPE
yvesco...@skynet.be

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

2010-10-28 Thread Yves COPPE


Le 28 oct. 10 à 14:49, Mark Schonewille a écrit :


Hi Yves,

Why don't you use the choose file command? Much easier.



ok, I will change my script

thanks

Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: Sort question

2010-10-04 Thread Yves COPPE


Le 4 oct. 10 à 09:18, Andre.Bisseret a écrit :


Bonjour Yves,

I propose this one:

put fld fld1 into tText
replace slash with space in tText
set the itemDel to tab
sort lines of tText ascending numeric by word 1 of item 2 of each
sort lines of tText ascending numeric by word 2 of item 2 of each
replace space with slash in tText
put tText into fld fld2 -- or fld1 as well of course

Best regards from Grenoble



Hello André,

ok, it works fine
very easy solution
Thanks.
(et un grand bonjour de Belgique)

Greetings.

Yves COPPE
yvesco...@skynet.be

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

2010-10-03 Thread Yves COPPE

Hi list

I have a list of lines
each line has a first name  tab  a date (French format : DD/MM/)

I want to sort the list on the DD/MM date without taking the  into  
account


Here a sample :

Jean13/01/2017
Luc 03/07/2017
Bern02/09/2015
Michel  06/01/2018
Bert01/06/2016
Jo  13/02/2016
Rob 26/03/2018
Nick15/01/2015

gives

Michel  06/01/2018
Jean13/01/2017
Nick15/01/2015
Jo  13/02/2016
Rob 26/03/2018
Bert01/06/2016
Luc 03/07/2017
Bern02/09/2015

Can someone help me to to that ?

Thanks.

Amicalement.

Yves COPPE
yvesco...@skynet.be



Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: Sort question

2010-10-03 Thread Yves COPPE


Le 03-oct.-10 à 16:04, Mark Schonewille a écrit :


Hi Yves,

What about this:

set the itemDel to slash
sort lines of myList by item 2 of (word 2 of each) and item 1 of  
(word 2 of each)






Re,

No, I don't receive the right answer
it gives :

Jean13/01/2017
Luc 03/07/2017
Bern02/09/2015
Michel  06/01/2018
Bert01/06/2016
Jo  13/02/2016
Rob 26/03/2018
Nick15/01/2015

but the right answer is :

Michel  06/01/2018
Jean13/01/2017
Nick15/01/2015
Jo  13/02/2016
Rob 26/03/2018
Bert01/06/2016
Luc 03/07/2017
Bern02/09/2015




Hi list

I have a list of lines
each line has a first name  tab  a date (French format : DD/MM/ 
)


I want to sort the list on the DD/MM date without taking the   
into account


Here a sample :

Jean13/01/2017
Luc 03/07/2017
Bern02/09/2015
Michel  06/01/2018
Bert01/06/2016
Jo  13/02/2016
Rob 26/03/2018
Nick15/01/2015

gives

Michel  06/01/2018
Jean13/01/2017
Nick15/01/2015
Jo  13/02/2016
Rob 26/03/2018
Bert01/06/2016
Luc 03/07/2017
Bern02/09/2015

Can someone help me to to that ?

Thanks.

Amicalement.

Yves COPPE
yvesco...@skynet.be


___
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


Amicalement.

Yves COPPE
yvesco...@skynet.be

___
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: Sort question

2010-10-03 Thread Yves COPPE


Le 03-oct.-10 à 16:31, Jim Ault a écrit :

Use the technique of sorting by a function call for each line to set  
a value.


on testSort
  put the clipboarddata into theListOfFriends
  sort theListOfFriends numeric ascending by sortByThisValue(each)

  ;put theListOfFriends
end testSort

function sortByThisValue singleLineOfList
set the itemdel to /
get word 2 of item 1 of singleLineOfList  /  item 2 of  
singleLineOfList  /  01

  --English system -- remove the next line
get  item 2 of singleLineOfList   /  word 2 of item 1 of  
singleLineOfList  /  01

convert IT to seconds
 return IT
end sortByThisValue

This should do the task you want




re,

ye  !!
thank you

Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: Sort question

2010-10-03 Thread Yves COPPE


Le 03-oct.-10 à 16:32, Ben Rubinstein a écrit :

This is really the same as Mark suggested, but should work even if  
the numbers aren't zero padded:


function sortByMonthAndDay tText
  set the itemDelimiter to /
  sort lines of tText ascending numeric by item 1 of (word 2 of each)
  sort lines of tText ascending numeric by item 2 of (word 2 of each)
  return tText
end mouseUp

(I think Mark probably meant  instead of and)



Hi Ben,

it works fine  !!
thank you

Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: Sort question

2010-10-03 Thread Yves COPPE


Le 03-oct.-10 à 16:32, Ben Rubinstein a écrit :

This is really the same as Mark suggested, but should work even if  
the numbers aren't zero padded:


function sortByMonthAndDay tText
  set the itemDelimiter to /
  sort lines of tText ascending numeric by item 1 of (word 2 of each)
  sort lines of tText ascending numeric by item 2 of (word 2 of each)
  return tText
end mouseUp

(I think Mark probably meant  instead of and)

Ben






hi Ben

I still have a problem

some first names have 2 words !!!

and the sort is not correct

Should it be possible to sort on item 2 (tab delim of the list) and  
reorder the lsit afterwards ??



Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: Sort question

2010-10-03 Thread Yves COPPE


Le 03-oct.-10 à 16:47, Jim Ault a écrit :


use word -1 of item 1 of blahblah

to get the last word





ok
thank you


Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: Sort question

2010-10-03 Thread Yves COPPE


Le 03-oct.-10 à 16:49, Colin Holgate a écrit :


ok
thank you


Greetings.

Yves COPPE
yvesco...@skynet.be


___
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: [ANN] ChartMaker 2

2010-06-07 Thread Yves COPPE


Le 8 juin 10 à 03:21, planix a écrit :



Hi,

Looks interesting but there is no download link.




Hi,

here is the link :

http://www.FlexibleLearning.com/xtalk.htm



Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: [ANN] ChartMaker 2

2010-06-05 Thread Yves COPPE


Le 05-juin-10 à 10:36, Hugh Senior a écrit :


Hi list

I'm a Chartmaker user an I may say it's a fantastic tool
I recommand that you try or test  the chartmaker tool with the chart  
utility stack : you will be convinced



Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: strange color behavior in datagrid form

2010-03-15 Thread Yves COPPE


Le 15 mars 10 à 17:13, Trevor DeVore a écrit :


On Mar 14, 2010, at 1:29 PM, Yves COPPE wrote:


I have a grid (form type)
one fld of the grip is named check

in the  FillInData handler I have this script

if fld check of me contains OK then
set the foregroundColor of fld check of me to red
end if


You don't have an else statement to set the foregroundColor to empty  
if the field doesn't contain OK.





re,

no
I will try and lety you know

thanks

Greetings.

Yves COPPE
yvesco...@skynet.be

___
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


strange color behavior in datagrid form

2010-03-15 Thread Yves COPPE

Hello Trevor,

the else statement has completely solved the problem

Thanks !


Greetings.

Yves COPPE
yvesco...@skynet.be

___
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


strange color behavior in datagrid form

2010-03-14 Thread Yves COPPE

Hi list,


I have a grid (form type)
one fld of the grip is named check

in the  FillInData handler I have this script

if fld check of me contains OK then
set the foregroundColor of fld check of me to red
end if


ok, the command is executed, I can see that on the screen of the mac   
but ...


if I scroll the group datagrid (because I have more rows in the  
datagrid than what's seen on the screen), all the flds check have  
the text in red !!!

the selection made with the if/then status doesn't appear anymore !


what happens ?

Thank you for your answers.

Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: an annual calendar somewhere?

2010-02-25 Thread Yves COPPE


Le 25-févr.-10 à 20:45, Robert Cole a écrit :


André:
On Mac OS X, I use a simple shell command to put the calendar into a  
field .

put shell(cal 2010) into field Calendar Field
Be sure to use a monospace font like Courier in the field
Bob
- - - - - - -




Re,

ye !

one question : is it possible to get the calendar in the chosen  
language in the preferences system (in my case : french) ?



Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: an annual calendar somewhere?

2010-02-25 Thread Yves COPPE


Le 25-févr.-10 à 21:56, zryip theSlug a écrit :


2010/2/25 Yves COPPE yvesco...@skynet.be:

one question : is it possible to get the calendar in the chosen  
language in

the preferences system (in my case : french) ?



Not sure that the calendar is stored in different languages.

For french, try this:

put shell(ncal -s FR 2010) into field Calendar Field




re

no, it doesn't work ...
it's a pity

Thanks for trying to help me !


Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: an annual calendar somewhere?

2010-02-25 Thread Yves COPPE


Le 25-févr.-10 à 22:37, zryip theSlug a écrit :




Okay, okay.

on mouseUp
  local tTheCal, tTheMonth, tTheFrenchMonth, tTheDay, tTheFrenchDay

  put  
January 
,February 
,March,April,May,June,July,August,September,October,November,December

into tTheMonth
  put  
Janvier 
,Février 
,Mars,Avril,Mai,Juin,Juillet,Aiut,Septembre,Octobre,Novembre,Décembre

into tTheFrenchMonth
  put Mo,Tu,We,Th,Fr,Sa,Su into tTheDay
  put Lu,Ma,Me,Je,Ve,Sa,Di into tTheFrenchDay

  put shell(ncal -s FR 2010) into tTheCal

  -- Translate month
  repeat with x = 1 to number of items in tTheMonth
 replace (item x of tTheMonth) with (item x of tTheFrenchMonth)  
in tTheCal

  end repeat

  -- Translate day
  repeat with x = 1 to number of items in tTheDay
 replace (item x of tTheDay) with (item x of tTheFrenchDay) in  
tTheCal

  end repeat

  put tTheCal into fld Calendar Field

end mouseUp

And now?




Re



 put shell(ncal -s FR 2010) into tTheCal


error  : /bin/sh: line 1: ncal: command not found

Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: an annual calendar somewhere?

2010-02-25 Thread Yves COPPE


Le 25-févr.-10 à 22:51, zryip theSlug a écrit :

I'm on OS X too, and it seems that the ncal and cal commands are  
linked.


When you type:
put shell(man ncal) into fld Calendar Field
What do you get?




re,
I get this :
No manual entry for ncal


Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: an annual calendar somewhere?

2010-02-25 Thread Yves COPPE


Le 25-févr.-10 à 23:05, zryip theSlug a écrit :




 put shell(ncal -s FR 2010) into tTheCal


error  : /bin/sh: line 1: ncal: command not found

Greetings.

Yves COPPE
yvesco...@skynet.be



Maybe you are in 10.4?






Re,

no, 10.5.7



Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: Print dialog question

2010-01-25 Thread Yves COPPE


Le 24-janv.-10 à 23:14, zryip theSlug a écrit :


2010/1/24 Yves COPPE yvesco...@skynet.be:

Hi list


I have a handler which ends with the standar print dlog

 open printing with dialog
 if the result = cancel then
   close stack To_print
   exit to top
 end if
 print card toDo
 close printing


I'd like to know how much copies the user mentions in the print DLOG

is it possible ?


Hi Yves,

Try :

get the printCopies


First you have to check that your printer manage copies like this :

if copies is among the items of the printerFeatures then...


Re,

it works fine

thank you very much

Greetings.

Yves COPPE
yvesco...@skynet.be

___
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


Print dialog question

2010-01-24 Thread Yves COPPE

Hi list


I have a handler which ends with the standar print dlog

  open printing with dialog
  if the result = cancel then
close stack To_print
exit to top
  end if
  print card toDo
  close printing


I'd like to know how much copies the user mentions in the print DLOG

is it possible ?


Thanks


Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: Print dialog question

2010-01-24 Thread Yves COPPE


Le 24-janv.-10 à 23:14, zryip theSlug a écrit :


2010/1/24 Yves COPPE yvesco...@skynet.be:

Hi list


I have a handler which ends with the standar print dlog

 open printing with dialog
 if the result = cancel then
   close stack To_print
   exit to top
 end if
 print card toDo
 close printing


I'd like to know how much copies the user mentions in the print DLOG

is it possible ?


Hi Yves,

Try :

get the printCopies


First you have to check that your printer manage copies like this :

if copies is among the items of the printerFeatures then...





Hi,

I will ry and let you kno

Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: [FR] Question pour la communauté fran cophone

2010-01-15 Thread Yves COPPE


Le 15 janv. 10 à 13:40, Jérôme Rosat a écrit :


Une question pour les utilisateurs francophones de Revolution:

Comment traduire le terme handlers qui est mentionné dans  
Revolution ? Procédures ? Scripts ?


Merci d'avance pour vos réponses.

Jérôme Rosat
___




Hello Jérôme,


un handler n'est pas pareil à un script

je pense que le mot instruction devrait être plus approprié
mais j'avoue que la traduction de ce mot n'est pas aisée


Amicalement.

Yves COPPE
yvesco...@skynet.be

___
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: [FR] Question pour la communauté fra ncophone

2010-01-15 Thread Yves COPPE


Le 15 janv. 10 à 14:29, Medard a écrit :


Jan Schenkel janschen...@yahoo.com wrote:

I would go for the word 'méthodes' as translation for 'methods' - a  
term
often used in object-oriented languages, which would cover both  
handlers
and functions. But French is not my native tongue, so I could be way  
off

:-)

ça serait pas mal non plus -- un sens légèrement différent de
procédure !?




re,


je voterai aussi pour Procédure

mais en préférant handler quand même

Amicalement.

Yves COPPE
yvesco...@skynet.be

___
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: Bill Marriott

2010-01-11 Thread Yves COPPE


Le 12 janv. 10 à 00:42, Kevin Miller a écrit :


Hi all,

It is with great sadness that I must inform you that Bill, our  
Marketing
Director here at RunRev, passed away unexpectedly on Friday. Bill  
was in his
mid 40s, had diabetes and had suffered a number of health problems  
recently,
including a heart attack. Unfortunately I’m not in a position to say  
much

more about the circumstances of his passing at the moment.






Kevin,

It makes me reminder the same sudden event with Eric previous year
I'm very sorry
I wish you all the best.

Greetings.

Yves COPPE
yvesco...@skynet.be

___
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-09 Thread Yves COPPE


Le 9 janv. 10 à 08:19, Sarah Reichelt a écrit :


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



Here is the script I use:

Here is the Rev part, fill in the recipVar, subjectVar and bodyVar
variables as required:

   put the cMakeEmail of this stack into makeEmail
   replace *addr* with quote  recipVar  quote in makeEmail
   replace *subj* with quote  subjectVar  quote in makeEmail
   replace *body* with quote  bodyVar  quote in makeEmail
   do makeEmail as AppleScript

And here is the AppleScript that I store in a custom property of the
stack, called cMakeEmail:

tell application Mail
activate
copy *addr* to recipVar
copy *subj* to subjVar
copy *body* to bodyVar

set newMessage to make new outgoing message with properties
{subject:subjVar, content:bodyVar  return  return}
tell newMessage
set visible to true
make new to recipient at end of to recipients with properties
{address:recipVar}
end tell
end tell

This is a very basic AppleScript that just assumes a single recipient
and no attachments, but it should be enough to get you started anyway.
If the body of the email contains any quotes, you need to escape them,
or replace them with single quotes first.

Regards,
Sarah



Hi Sarah

Works fine
Thanks.

Greetings.

Yves COPPE
yvesco...@skynet.be

___
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-09 Thread Yves COPPE


Le 9 janv. 10 à 08:21, Ludovic Thébault a écrit :



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




Hello Ludovic

Works also fine as the script I've received from Sarah

Thanks for you two ... I have now the choice between 2 scripts



Greetings.

Yves COPPE
yvesco...@skynet.be

___
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-09 Thread Yves COPPE


Le 09-janv.-10 à 18:21, J. Landman Gay a écrit :


Yves COPPE wrote:


Thanks for you two ... I have now the choice between 2 scripts


There is also the IDE command revMail which does it all for you.  
It's in the dictionary.






Re,

I didn't see it; Thanks !

Now, I have 3 scripts for answering my question !




Greetings.

Yves COPPE
yvesco...@skynet.be

___
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


Applescrript from Rev

2010-01-08 Thread Yves COPPE

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


Greetings.

Yves COPPE
yvesco...@skynet.be

___
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] Politically Incorrect - Sorry List Mum

2009-12-19 Thread Yves COPPE


Le 19-déc.-09 à 16:59, René Micout a écrit :

Je souhaite à tous de bonnes fêtes de Noël et une bonne et heureuse  
nouvelle année !
In english (shortly) : I wish you a merry chrismas ans a happy new  
year !

René de Paris






Hi, René

Bonjour de Belgique !
Merci de tes voeux et bonnes fêtes de fin d'année !

Amicalement.

Yves COPPE
yvesco...@skynet.be

___
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: Datagrid closeField editor

2009-11-28 Thread Yves COPPE


Le 28-nov.-09 à 16:09, Trevor DeVore a écrit :


On Nov 28, 2009, at 1:46 AM, Yves COPPE wrote:


I would like at this moment to change a menu in a pull down btn
I don't find how I can pick up the close fld editor msg ...


CloseFieldEditor. It is discussed under EditFieldText on the API  
page:


http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7344-Data-Grid-API 






Re

Thank you

my script was in the closefieldeditor handler but
I didn't think at the exitFieldeditor !!!


Its OK


Greetings.

Yves COPPE
yvesco...@skynet.be

___
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


Datagrid closeField editor

2009-11-27 Thread Yves COPPE

Hi list (and trevor !)


I have a form table with a custom behavior script to pick Up the  
mouseDown event

When I double click a body fld, the fld comes on edit mode
when I click outside the body fld the edit mode closes

I would like at this moment to change a menu in a pull down btn
I don't find how I can pick up the close fld editor msg ...

Thanks.


Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: dataGrid question

2009-11-24 Thread Yves COPPE


Le 24 nov. 09 à 14:54, Trevor DeVore a écrit :


On Nov 24, 2009, at 1:42 AM, Yves COPPE wrote:

When the fld of the row of the form table is in edit mode, I can  
select one of more words
at this moment I would like something like cntrl-clic or btn 3 of  
the mouse to pull down a menu with an item Store this words
but when the menu appears, my selectedtext is automatically de- 
selected, and in the selectedtext function returns empty


The default behavior closes the field editor when the user clicks  
the mouse. You can customize the field editor script and capture  
mousedown/release/up though:


http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7338-How-Can-I-Customize-The-Field-Editor-Behavior- 






Re Trevor,

yes, it is what I need
Thank you very much !



Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: dataGrid question

2009-11-23 Thread Yves COPPE


Le 24 nov. 09 à 00:34, Trevor DeVore a écrit :


On Nov 22, 2009, at 6:57 AM, Yves COPPE wrote:


I have a question with DataGrid

A datagrid in Form Style
I have a fld body that I can edit by doubleclick (on  
mouseDoubleUp ...)


Now my text is editable
I'd like to make a selection in the edited Text (this can  
automatically) but I'd like to pick up this selectedtext in a  
handler, but don't know how


My goal is to store automatically this word in a list of data


Is this something you can handle in the preOpenFieldEditor message  
that is sent to the field when it opens?





Hi Trevor,

When the fld of the row of the form table is in edit mode, I can  
select one of more words
at this moment I would like something like cntrl-clic or btn 3 of  
the mouse to pull down a menu with an item Store this words
but when the menu appears, my selectedtext is automatically de- 
selected, and in the selectedtext function returns empty



do you have an idea ?


Greetings.

Yves COPPE
yvesco...@skynet.be

___
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


dataGrid question

2009-11-22 Thread Yves COPPE

Hello,


I have a question with DataGrid

A datagrid in Form Style
I have a fld body that I can edit by doubleclick (on  
mouseDoubleUp ...)


Now my text is editable
I'd like to make a selection in the edited Text (this can  
automatically) but I'd like to pick up this selectedtext in a handler,  
but don't know how


My goal is to store automatically this word in a list of data



Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: [ANN] Data Tree 0.9.8 beta

2009-11-02 Thread Yves COPPE


Le 2 nov. 09 à 13:59, Steve Checkley a écrit :


Hi all,

I've recently been beavering away on my Data Tree library for  
RunRev, which is a control that delivers platform compliant tree  
views for the Mac and Windows. With this latest version of the beta,  
I think that I'm not too far from launch.


The aim is to make great looking trees that adjust their appearances  
when deployed to both the Mac and to Windows, yet be as easy as  
possible to work with. With the feedback that I've been receiving  
over the last month or so, I think I'm achieving that. The library  
comes with a help manual stack, showcasing what you can do with it.


If you would like to try out the latest beta, you can find a  
download on the Downloads page of my site,  
www.theworcestersource.com . There is no longer any need to register  
with the site first.


Best wishes,




Re,

fantastic


Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: Error installing RevMedia 4.0 DP5

2009-10-31 Thread Yves COPPE


Le 30 oct. 09 à 18:33, David Coker a écrit :

Hello Yves,
I ran into exactly the same trouble the other evening when trying to  
do the update on my Vista machine. Couldn't find an uninstaller  
directly through the O/S, but did find one after digging around in  
the application folder (my system):


C:\Program Files\Revolution Media 4.0.0\Installation Data\

I ran the uninstaller, then re-installed the new version and all is  
well.


Best regards,



Hi David

Thank you very much, it works now !



Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: Error installing RevMedia 4.0 DP5

2009-10-30 Thread Yves COPPE


Le 30 oct. 09 à 00:34, J. Landman Gay a écrit :


Yves COPPE wrote:

Hi list
When I start installing revMedia 4 dp5 and after the unpacking of  
the 5 pkgs, hte installing is cancelled automatically and I get  
such a message :

An error occured installing the product
To inform revolution about this error, please quote error code 43F. 
10FC
Please clic try again of send error report to automatically  
post error information to Revolution


What OS are you running?





Re,

mac OS X Leopard 10.5.8 on an intel Core 2 duo macBook


Groetjes.

Yves COPPE
yvesco...@skynet.be

___
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: Error installing RevMedia 4.0 DP5

2009-10-30 Thread Yves COPPE


Le 30 oct. 09 à 17:55, J. Landman Gay a écrit :


Yves COPPE wrote:

Le 30 oct. 09 à 00:34, J. Landman Gay a écrit :

Yves COPPE wrote:

Hi list
When I start installing revMedia 4 dp5 and after the unpacking of  
the 5 pkgs, hte installing is cancelled automatically and I get  
such a message :

An error occured installing the product
To inform revolution about this error, please quote error code  
43F.10FC
Please clic try again of send error report to automatically  
post error information to Revolution


What OS are you running?


Re,
mac OS X Leopard 10.5.8 on an intel Core 2 duo macBook


I have the same machine and it installed without any problem. Did  
you use the Easy Install option? Are you running it in an account  
with full permissions (administrator account)?





re,

yes

easy install and administraor accout



Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: Error installing RevMedia 4.0 DP5

2009-10-30 Thread Yves COPPE


Le 30 oct. 09 à 17:55, J. Landman Gay a écrit :


Yves COPPE wrote:

Le 30 oct. 09 à 00:34, J. Landman Gay a écrit :

Yves COPPE wrote:

Hi list
When I start installing revMedia 4 dp5 and after the unpacking of  
the 5 pkgs, hte installing is cancelled automatically and I get  
such a message :

An error occured installing the product
To inform revolution about this error, please quote error code  
43F.10FC
Please clic try again of send error report to automatically  
post error information to Revolution


What OS are you running?


Re,
mac OS X Leopard 10.5.8 on an intel Core 2 duo macBook





Re

how can i throw away the files that are loaded to force a new downoad
When I ask to try again, it starts automatically with unpacking1/5

I think there could be a problem at the download time, so I'd like to  
re-donwload the files again



Greetings.

Yves COPPE
yvesco...@skynet.be

___
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


Error installing RevMedia 4.0 DP5

2009-10-29 Thread Yves COPPE

Hi list


When I start installing revMedia 4 dp5 and after the unpacking of the  
5 pkgs, hte installing is cancelled automatically and I get such a  
message :


An error occured installing the product
To inform revolution about this error, please quote error code 43F.10FC
Please clic try again of send error report to automatically post  
error information to Revolution


I've sent the error to Revolution more than once (but receive no  
answer) and I have tried again and again to install the application  
but without success !!!



What can I do ?
Do you have any idea to help me ?


Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: ca va demenager ( will rock ! )

2009-09-19 Thread Yves COPPE


Le 19-sept.-09 à 11:30, Thierry a écrit :


Hi all,


Great news from France :-)

This morning, reading a french magazine about Opensource ,
found a short article about RevMedia, RevStudio and Reventerprise !

not very often we can read about Revolution in France and in  
French






Indeed ! which magazine ?

Amicalement.

Yves COPPE
yvesco...@skynet.be

___
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


datagrid problem with arrow btn

2009-09-16 Thread Yves COPPE

Hi list

Little question about datagrid

I have a datagird form style

there is an arrow btn to close or open a fld (as in the webinar)

I have a mouseDown fuction in the behavior script

I want to close or open all the arrows at once
so my script is

  dgmouseDown
   if pmouseBtnNum is 1 then
  if the short name of the target is arrow then
   if the optionKey is down then
   put the dgData of group DataGrid historique into theData
   repeat for each key tkey in theData
  put false into theData[tKey][expanded]
  end repeat
  set the dgData of of group DataGrid historique to theData
  send ResetList to group DataGrid historique
   else
   ...

it doesn't work !

what is wrong ?

thanks

Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: datagrid problem with arrow btn

2009-09-16 Thread Yves COPPE


Le 16-sept.-09 à 22:07, Trevor DeVore a écrit :


On Sep 16, 2009, at 4:00 PM, Yves COPPE wrote:


I want to close or open all the arrows at once
so my script is

dgmouseDown
 if pmouseBtnNum is 1 then
if the short name of the target is arrow then
 if the optionKey is down then
 put the dgData of group DataGrid historique into theData
 repeat for each key tkey in theData
put false into theData[tKey][expanded]
end repeat
set the dgData of of group DataGrid historique to theData
send ResetList to group DataGrid historique
 else
 ...

it doesn't work !

what is wrong ?


It probably because you are trying to redraw the data grid from  
inside an event that was sent to a data grid control. The engine  
doesn't like it when you try to delete a control that is processing  
an event.


What Sorts of Things Should I Not Do In Order To Avoid Needless  
Suffering?: http://revolution.screenstepslive.com/spaces/revolution/manuals/datagrid/lessons/3093-What-Sorts-of-Things-Should-I-Not-Do-In-Order-To-Avoid-Needless-Suffering- 







Re,

So, there is no solution ?

Thanks for your quick reply

Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: datagrid problem with arrow btn

2009-09-16 Thread Yves COPPE


Le 16-sept.-09 à 22:36, David Bovill a écrit :


2009/9/16 Yves COPPE yvesco...@skynet.be



Re,




So, there is no solution ?

Thanks for your quick reply



You can and often need to :

send yourDatagridCommand to group Datagrid 1 in 2 ticks




Hope that makes sense - its a problem that the datagrid deletes all  
it's
inards and recopies them in all the time - so if your script is  
initiated
from a row template inside the datagrid - well it doesn't like  
deleting

itself :)



re,

it's not a delete command in this case

I just want to close/open all in once all the  disclosure triangle  
(arrow btn)

but I understand my script is nested in himself !
no issue !

Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: EditFieldText in datagrid

2009-09-03 Thread Yves COPPE


Le 3 sept. 09 à 17:45, Trevor DeVore a écrit :


On Sep 2, 2009, at 8:22 PM, Yves COPPE wrote:


when I use the command

EditFieldText the long id of the target, the dgIndex of me, theKey

I can edit the text of the fld : Ok

but
If I type a return in the txt (to create a new line) the  
CloseFieldEditor command is sent and the text is no further editable
Is it possible to make a distinction between return and enter  
in the edited fld ?


Hi Yves,

You can customize the behavior of the Data Grid field editor. I just  
added a lesson to the manual that shows how (all while watching  
Andre set up a web store in on-rev).


How Can I Customize The Field Editor Behavior?: http://revolution.screenstepslive.com/spaces/revolution_tools/manuals/datagrid/lessons/6212-How-Can-I-Customize-The-Field-Editor-Behavior- 






Re Trevor,

Exactly what I need !

Thanks !

Greetings.

Yves COPPE
yvesco...@skynet.be

___
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


EditFieldText in datagrid

2009-09-02 Thread Yves COPPE

Hi list


when I use the command

EditFieldText the long id of the target, the dgIndex of me, theKey

I can edit the text of the fld : Ok

but
If I type a return in the txt (to create a new line) the  
CloseFieldEditor command is sent and the text is no further editable
Is it possible to make a distinction between return and enter in  
the edited fld ?



Thanks.

Greetings.

Yves COPPE
yvesco...@skynet.be

___
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


Datagrid Form style and closefieldEditor

2009-09-01 Thread Yves COPPE

Hi list,


I have a problem


when i write such a sriipt in the datagrid behavior script of a  
datagrid in a form style :


on CloseFieldEditor pFieldEditor
   SetDataOfIndex the dgIndex of me, the short name of me, the text  
of pFieldEditor

end CloseFieldEditor

The text of the fld in the datagrid is not updated !!

if I ask

on CloseFieldEditor pFieldEditor
  answer the dgIndex of me,the short name of me,the text of  
pFieldEditor

end CloseFieldEditor
all the params are correct and the text of pFieldEditor contains the  
updated txt ...?


what is wrong ?


Thanks


Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: Datagrid Form style and closefieldEditor

2009-09-01 Thread Yves COPPE


Le 2 sept. 09 à 00:26, Trevor DeVore a écrit :


On Sep 1, 2009, at 5:04 PM, Yves COPPE wrote:

when i write such a sriipt in the datagrid behavior script of a  
datagrid in a form style :


on CloseFieldEditor pFieldEditor
 SetDataOfIndex the dgIndex of me, the short name of me, the text  
of pFieldEditor

end CloseFieldEditor

The text of the fld in the datagrid is not updated !!

...

what is wrong ?


When calling SetDataOfIndex the data grid does not refresh itself so  
that is most likely the problem. I imagine you got the code from http://revolution.screenstepslive.com/spaces/revolution/manuals/datagrid/lessons/4668-How-Do-I-Open-a-Table-Cell-For-Editing- 
 and it appears the example there is incorrect.


I've updated the lesson with code that should work. Does this work  
for you?


on CloseFieldEditor pFieldEditor
  put the dgIndex of me into theIndex
  put the dgDataOfIndex[theIndex] of the dgControl of me into theDataA
  put the text of pFieldEditor into theDataA[the dgColumn] of me
  set the dgDataOfIndex[theIndex] of the dgControl of me to theDataA
end CloseFieldEditor

--
Trevor DeVore
Blue Mango Learning Systems



Hi Trevor,

Now it works correctly.

thanks.

Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: another PHP-Revlet question

2009-08-30 Thread Yves COPPE


Le 30-août-09 à 00:50, Sivakatirswami a écrit :


Yves:

I second Dave's idea. Are you sure it does not have what you need:

POST tUploadData to url tURL
put it into tServerResponse

I use this a lot...

(not tested in revlet)

Christian Langers wrote:

Hi Yves,

may it be :

put http://www.mondomaine.com/myfunctionfile.php? 
var=urlencode(tVar) into tURL

put URL(File:tURL) into myNewVar

using $_GET[var] in PHP and echo the result ?


Greets,

Christian





Hi list,

Thanks for the many answers


if I use the script above (with POST) , I get an answer

BUT

if I use a php function with as last line of the PHP code :return $var;
I get in my it variable the ext of the function !!

if I use the same php function with as last line of the PHP code :  
echo $var;

then I get the appropriate answer

srange ? but it works


Greetings.

Yves COPPE
yvesco...@skynet.be

___
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


another PHP-Revlet question

2009-08-29 Thread Yves COPPE

Hi list

I have a PHP function which needs an argument and this PHP function  
returns an answer


How can I post an argument to a PHP function and recover the return  
value of the PHP function ?

The classic post command doesn't give the answer in a rev variable

Thanks.


Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: another PHP-Revlet question

2009-08-29 Thread Yves COPPE


Le 29-août-09 à 20:15, Pierre Sahores a écrit :


Hi Yves,

Should this help as a starter point (javascript support needed) ?

form2.irev :

html
headtitleiphplib/title
/head
body

form action=httpr2.php method=post
pType in this fieldbr
input type=text name=textfield
pinput type=submit value=Check
/form

/body
/html

httpr2.php :

htmlbody

Please, wait...

?php

$exAE = ;
	while (list($header, $value) = each($_POST)) $exAE .= $header= 
$value;
	echo 'form name=toirev action=httpl2.irev method=post  
id=toirev_idinput type=hidden name=contents  
value='.urlencode($exAE).'/form';


?

script language=JavaScript
   document.forms['toirev'].submit();
/script

/body/html

httpl2.irev :

html
head
titleiPHPLib/title  
/head
body

?rev

repeat for each key k in $_POST
put k  =  urldecode($_POST[k])   after aaa
end repeat

if aaa is not 
	then put fieldset class=contacttabletrtd  aaa  /td/ 
tr/table/fieldset
	else put fieldset class=contacttabletrtd  souci...   
/td/tr/table/fieldset


?

/body
/html

Let me know. If not, there is a second way to go (without js support  
need) in using curl


Best Regards,

Pierre



Re Pierre,

my goal is not to use a js code

Just a script in a revlet handler

for example

for a php command, I use

   put myVar=  urlEncode(fld myFld) adresse=   
urlEncode(tadresse) into myString

   post myString to URL http://www.mondomaine.com/codefile.php;

for a function I write

put http://www.mondomaine.com/myfunctionfile.php; into tURL
put URL(File:tURL) into myNewVar


but

now I have to post a var to a function and recover the result of the  
PHP function !


so I have to mix something between a post or a put


Greetings.

Yves COPPE
yvesco...@skynet.be

___
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


popUpmenu btn in a datagrid

2009-08-27 Thread Yves COPPE

Hello list,


I have a datagrid form
In the row template, I have placed a popUp menu btn

but, the menuPick handler of this btn is not send
if I use the btn in the row template of the datagird, it runs  
perfectly but if I choose an item of thi bnt in the datagrid, nothing  
happens ...



How can I resolve this problem ?

Thanks


Greetings.

Yves COPPE
yvesco...@skynet.be

___
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] Who still uses a Mac PPC?

2009-08-26 Thread Yves COPPE


Le 26-août-09 à 12:51, Richmond Mathewson a écrit :

With the advent of Mac OS 10.6; an Intel processor only OS I am  
interested to see who is
still depending on Mac PPC computers (G3,G4,G5) to get their work  
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




Hi

I have 5 macs at home and .. none MacIntel. They are all PPCs (G4 and  
G5) running Leopard.
I don't plan to go to snwo Leopard at this moment. I'm waiting the  
existing software become fully Snow Leopard compatible

And later, softly moving the computers to the new processors

Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: Datagrid: dgFormattedHeight geometry question

2009-08-22 Thread Yves COPPE


Le 22-août-09 à 17:37, David Bovill a écrit :

I'm having problems with the geometry of a datagrid - I have a row  
template
of variable height with a disclosure toggle arrow - much like that  
in the

Webinar. The problem is that the row templates at the bottom of the
datagrid, when expanded do not increase the range of the vertical  
scrollbar
of the datagrid resulting in records which you are unable to scroll  
down to

view. RefreshList has no effect. The script I use to toggle the row
templates expanded info group is:

on DiscloseView someBoolean

  lock screen
  put the rect of me into oRect
  set the visible of grp Toggle of me to someBoolean
  LayoutControl oRect
  RefreshList
  unlock screen
end DiscloseView





Re,

this point has been discussed abundantly this month.
The ti :
you have to set your rect first
then adapt the foramattedHeight
and set the rect again

see :

the question :

http://www.mail-archive.com/use-revolution@lists.runrev.com/msg122882.html

and the solution:

http://www.mail-archive.com/use-revolution@lists.runrev.com/msg122922.html

Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: datagrid problem resolved

2009-08-17 Thread Yves COPPE


Le 17 août 09 à 15:46, Trevor DeVore a écrit :



To sum up, Yves had a field in his data grid template whose height  
was adjusted to fit the text contents. His original code was setting  
the rect of the field in one pass. The problem with setting the rect  
in one pass when the field is being resized to fit the text height  
is that the width of the field before setting the rect might not be  
the width of the field after setting the rect. This means the  
formattedHeight value might not be incorrect.


The proper way to have a field that adjusts height according to  
content is:


on LayoutControl pControlRect
   ## ...

   ## First adjust width
   put the rect of field MyAdjustableHeightField of me into theRect
   put item 3 of pControlRect into item 3 of theRect ## adjust field  
to new width

   set the rect of field MyAdjustableHeightField of me to theRect

   ## Now adjust height
   put item 2 of theRect + the formattedHeight of field  
MyAdjustableHeightField of me \

   into item 4 of theRect
   set the rect of field MyAdjustableHeightField of me to theRect

   ## ...
end LayoutControl




Hi Trevor,

thanks for helping me in english language

meanwhile, I did this week end another grid and had the same problem  
solved on the same way


Greetings.

Yves COPPE
yvesco...@skynet.be

___
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


datagrid problem resolved

2009-08-16 Thread Yves COPPE

Hi list

if you have a fld in a datagrid ( Form style) and this fld (let us  
name him : body) contains from row to row a variable text,

you will use a layout script in the following form :
   put item 2 of theRect + the formattedHeight of field Body of me  
into item 4 of theRect


It gives problems. if you want to avoid problems, you have to put a  
height to your fld body which is high enough so that the  
formattedheight can return a good value


   put item 2 of theRect + 50 into item 4 of theRect  -- 50 is  
arbitrary

   -- then set the rect
   set the rect of fld Body of me to theRect
   -- now get the correct value of the Formattedheight
  put item 2 of theRect + the formattedHeight of field Body of me  
into item 4 of theRect

  set the rect of fld Body of me to theRect

This work perfectly

Thanks to Trevor, I have send many mails to him to say There is a  
problem, the layout script doesn't run appropriately !

But Trevor didn't lose his patience and he found the solution !
Also my English is limited. Perhaps some users can give more  
sophisticated explanations.



Greetings.

Amicalement.

Yves COPPE
yvesco...@skynet.be

___
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


revlet and php

2009-08-16 Thread Yves COPPE

Hi

I have a php function file which without any argument returns a value  
calculated by the php script


How can I get the result of this php script from a rev script ?

I've found a POST command but I don't need to send any argument to the  
php script file ??


Thanks.


Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: revlet and php

2009-08-16 Thread Yves COPPE


Le 16-août-09 à 13:09, Björnke von Gierke a écrit :

it depends on how you interact with the php file, as you said,  
you're using a revlet, which behaves like a client app on the  
persons computer who is interacting with it in his browser.  
Therefore you need to query the php via an url from your server.


put url http://www.YvesServer.com/file.php;




Re

OK, it's good
Thanks.

Greetings.

Yves COPPE
yvesco...@skynet.be

___
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


Datagrid strange behavior

2009-08-14 Thread Yves COPPE

Hi list

I have a datagrid in the form type

3 flds

fld 1 : on the first half of the first line
fld 2 : on the second half of the first line

fld 3 : under the 2 flds above. Is a scroll fld with a variable height

my layout script : for this third fld (name : Body)

   put item 1 of pControlRect +25 into item 1 of theRectTrois -- a  
little bit further than the left margin : 25 px
   put item 2 of pControlRect+25 into item 2 of theRectTrois -- to  
create a second line in my row, a little bit lower 25 pix
   put item 3 of pControlRect into item 3 of theRectTrois -- expand  
to the right until the right margin of the grp datagrid 1
   put item 2 of theRectTrois + the formattedHeight of field Body  
of me  - the bottomMargin of field Body of me into item 4 of  
theRectTrois -- the variable height of my fld body

   set the rect of fld Body of me to theRectTrois


--until here, it works perfectly

now

   put item 1 of pControlRect,item 2 of pControlRect,item 3  
of pControlRect,item 4 of theRectTrois into r


   set the rect of graphic Background of me to r
end LayoutControl

now 2 possibilitiies

if the number of rows with data in the grid is more than the height of  
the grp datagird 1, I can scroll the datagrid 1 : perfect !


BUT

if the number of rows with data in the grid is less than the height of  
the grp datagrid 1 (so no need to scroll the datagrid grp) there is  
a large white row after the last row with data and then further the  
empty rows displayed normally



where is the error ??

all the flds and the datagrid has no checked fixed line height in  
the inspector



thanks.

Greetings.

Yves COPPE
yvesco...@skynet.be

___
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


password in a script

2009-08-12 Thread Yves COPPE

Hello,



i've made a simple script :

   put myLogIn into userName
   put myPasswd into userPassword
   put http://;  URLEncode(userName)  :   
URLEncode(userPassword)  @www.mondomaine.com/MyFileText.txt into  
fileURLToGet

   put URL fileURLToGet into tmp
   answer tmp


It runs very good
BUT

Run I any risk when sending so my passwd to my server on the web ?


thanks.


Greetings.

Yves COPPE
yvesco...@skynet.be

___
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


Revlet question

2009-08-12 Thread Yves COPPE

Hi list

Suppose you have a revlet imbed in a html page and this revlet  
contains in his (pre)openstack script confidential password;

Can this confidential data be vulnerable to an attack ?

thanks.

Greetings.

Yves COPPE
yvesco...@skynet.be

___
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


Script to a php file

2009-08-11 Thread Yves COPPE

Hi list

I have a very easy php file

?php
$myTx = file_get_contents('http://www.monDomaine.com/file.txt;
echo $myTx;
?


i want to get the variable  $myTx in a revlet

How can i proceed ?

thanks.

Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: Script to a php file

2009-08-11 Thread Yves COPPE


Le 11-août-09 à 23:07, Mark Schonewille a écrit :


Hi Yves,

Have a look at the default html file for revlets, particularly the  
additional parameters inside the embed tag.


--
Best regards,

Mark Schonewille





Hi Mark,

yes, I will have a look and see already a solution !


Thanks.

Greetings.

Yves COPPE
yvesco...@skynet.be

___
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


post command

2009-08-09 Thread Yves COPPE

Hello,


I have a big problem
  put fld myFld into Myvar
  post Myvar to http://www.mondomaine.be/dossierscripts/test.php;


the php script doesn't takeUp the variable MyVar

If I send a text from a form in a web page onto the test.php script,  
the text is taken by the php script



what is wrong ?

Thanks.

Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: post command

2009-08-09 Thread Yves COPPE


Le 09-août-09 à 22:49, Mark Schonewille a écrit :


Yves,

What is the contents of your field?





re,

text fld

text tab text tab text
text tab text tab text
text tab text tab text

about 10 lines


Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: post command

2009-08-09 Thread Yves COPPE


Le 09-août-09 à 23:12, Mark Schonewille a écrit :


Yves,

First of all, you need to define a variable. Without variables, php  
isn't even aware that you tried to send something. Second, you need  
to urlEncode your data. For example:


put myVar=  urlEncode(fld myFld) into myString
post myString to url http://www.mondomaine.be/dossierscripts/ 
test.php


If you have multiples variables, myString should be of the following  
format:


myVar1=  myData1  myVar2=  myData2

where myDataX is urlEncoded.






re Mark,

yesss ! it works !!

thank you very much

Bonjour from Belgium !

Greetings.

Yves COPPE
yvesco...@skynet.be

___
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


revlet saves txt file

2009-08-08 Thread Yves COPPE

Hi list


I've a big problem

I have a revlet which saves prefs in a txt file

But on my webserver

1) my webHoster doesn't support the post command
2) my webhoster doesn't support CGI
3) my webhoster does support SQL but RevMedia has no drivers for SQL
5) my webhoster does support PHP. So perhaps through PHP it should be  
possible but I have no idea how I can make a PHP script within rev


So, has anybody an idea how to proceed ??

Thanks.

Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: revlet saves txt file

2009-08-08 Thread Yves COPPE


Le 08-août-09 à 09:48, Brian Yennie a écrit :


Yves,

I assume you mean PUT command (not POST).

Does your host give you FTP access?

As for PHP, yes, you could probably write a simple PHP script -- not  
sure what you mean by within rev. You would write the PHP script  
in any text editor, and save it to your server.





Re Brian,

thanks for your quick answer
My previous mail was not so clear
I will try to make it more comprehensive


I've tried to save my text with PUT and POST command
None work
So I try another solution

My question is
If I have a PHP script on my server which does the work, how can I  
wakeup this script from rev : a btn which saves the text of a fld  
and send it to a php script



Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: revlet saves txt file

2009-08-08 Thread Yves COPPE


Le 08-août-09 à 10:11, Brian Yennie a écrit :


Hi Yves,

You can POST the data *to* a PHP script. PUT command is designed for  
uploading a file (and many hosts do not support it). POST command as  
far as I know is supported by every host -- but you must have a  
script to receive the data. You cannot POST to just any URL.


So for example you would do something like:

post myData to http://myserver.com/myscript.php;

And then you would have a PHP script which receives the data and  
writes it to the appropriate file:


(note: brackets used here so email doesn't turn this snippet into an  
HTML tag)


[?php

$pref1 = $_POST[pref1];
$pref2 = $_POST[pref2];

...

// write the prefs data to a file

?]

Hope that gets you a bit closer.







Re Brian,


Yes, it is exactly what I want to do
Thanks


Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: revlet and path

2009-08-06 Thread Yves COPPE


Hi,


For example, let's say my revlet is at:

 http://devin.com/revlets/mystackpage.html

It should be fairly simple to either derive the URL within the  
revlet stack or to pass the URL as a parameter when launching the  
revlet. (I haven't tried this myself yet, but I've seen others  
describe here how to pass params.) Once your revlet stack has that  
information, just have it do:


 set the itemdelimiter to /
 put item 1 to -2 of tURLreceivedAsParam  /resources/myprefs.txt  
into tPrefsURL

 put URL tPrefsURL into tMyPrefs
 -- now do whatever you want with the prefs.





Hi Devin,

i don't understand

what is tURLreceivedAsParam 



Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: revlet and path

2009-08-06 Thread Yves COPPE


Le 06-août-09 à 20:23, Devin Asay a écrit :



On Aug 6, 2009, at 11:12 AM, Yves COPPE wrote:


Hi Devin,

i don't understand

what is tURLreceivedAsParam 


Hi Yves,

That is just a hypothetical variable name that I made up for this  
example. It assumes that you have been able to pass a parameter to  
the revlet from the web page that calls it and you have put the  
parameter data into that variable. The variable could have any name  
you wanted. In the example I was proposing, you would pass the URL  
to the revlet, then parse the stack name out of the URL, leaving  
only the path to the revlet stack.


Regards,




Hi,

Thank for the explanation, but I cannot do what you say

can you explain me an How to for passing a parameter from the loaded  
web pae to the revlet ???


What you are saying is very importan because it's a questino that oftn  
comes : how to start using a stack in an handler of a revlet !!!



Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: revlet and path

2009-08-06 Thread Yves COPPE


Le 06-août-09 à 21:43, Devin Asay a écrit :



On Aug 6, 2009, at 12:37 PM, Yves COPPE wrote:


Thank for the explanation, but I cannot do what you say

can you explain me an How to for passing a parameter from the  
loaded

web pae to the revlet ???

What you are saying is very importan because it's a questino that  
oftn

comes : how to start using a stack in an handler of a revlet !!!


Sorry, Yves. I don't know how to pass parameters to a revlet from a  
web page; I only know that someone recently posted to this list how  
to do it. You should be able to find it by searching the list  
archives, or maybe someone will respost this information. Anyone  
have it?


Devin




Hi Devin

Thank you for your quick answer
I cross my fingers someone can explain me the way !!!

If it is through a CGI script, it's an half solution because not every  
webHoster support CGI


Meanwhile, thank you very much. We approach an answer to the problem

I will make a search in the archive to find an idea of answer on my  
question How to !!


Greetings.

Yves COPPE
yvesco...@skynet.be

___
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


revlet and path

2009-08-05 Thread Yves COPPE

Hi list

Here is a very simple script :

on mouseUp
put empty into fld resultat
   set itemDel to /
   put item 1 to -2 of the effective fileName of this stack into tPath
   set itemDel to comma
   put tPath into fld resultat
end mouseUp

In the IDE, it gives the right path
when I build a revlet, put it on my server and open it with Safari, it  
gives ... nothing ! fld resultat stays empty


Any idea ?

Thanks.

Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: start using...

2009-08-02 Thread Yves COPPE


Le 01-août-09 à 19:43, Yves COPPE a écrit :


Hi list


I want to use the following script

start using stack xxx on a server with a revlet

how can I get the directory of a stack on a server ?

the stack is in the same folder (dir) as the revlet on the server

thanks.

Greetings.

Yves COPPE
yvesco...@skynet.be


Re List


Has anybody any suggestion for my question above ?

Thanks.


Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: start using...

2009-08-02 Thread Yves COPPE


Le 02-août-09 à 22:46, Pierre Sahores a écrit :


Hi Yves,

In remote access mode, the directory of the stack can be handled as  
any other kind of http url (html, xml, txt,etc...).


If you just try to have the server's stack available as a script lib  
of the revlet in following the start using stack n by insert the  
script of cd/script of stack n in the back/front, the simplest way  
to try would be to just use a


1.- put url http;//yourdomainnameserver/thepathtoyourfile into  
myscriptlib_var where yourfile is a txt file containing the scripts  
you want to to run inside the plugin,
2.- and than make myscriptlib_var available inside the plugin ram  
instance in running the command insert myscriptlib_var in the back/ 
front.


Should this be handy ?

Else, could you explain a little more about the process you want to  
set up, including the type of communication you want to establish  
beetwin the revlet and the server stack ?




Re,
Surely,
I have a library in a stack. This library is not the mine. The stack  
with the library is password protected

So the only way to use the library is to start with

Start using sack containing the lib

If I write
put url (binfile:http://www.mydomainname.com/myFolder/mystack;  
into myscriptlib

and then start using stack myscriptlib
it fails

If I write start using stack http://www.mydomainname.com/myFolder/mystack 


it also fails

If I write on my main stack, when this stack becomes a revlet
answer the filename of this stack
I get an empty answer

So I cannot set the defaultFolder and I cannot pick a scrip tof a  
library


How do I do in this case ?


Thanks.

Greetings.

Yves COPPE
yvesco...@skynet.be

___
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


start using...

2009-08-01 Thread Yves COPPE

Hi list


I want to use the following script

start using stack xxx on a server with a revlet

how can I get the directory of a stack on a server ?

the stack is in the same folder (dir) as the revlet on the server

thanks.

Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: [Data grid] an inert data grid ; how is it possible ?

2009-07-30 Thread Yves COPPE


Le 30-juil.-09 à 15:47, Andre.Bisseret a écrit :


Bonjour,

I have a data grid in a substack. It was running well for weeks up  
to yesterday evening.

But, this morning, it was as disabled !

Impossible to select a line, to sort any column, to get the dgText  
of it, to add a line to it, and so on !


Fortunately, there was not too much work to replaced it by a brand  
new one which is working nicely,


I would like to understand what  I could have done inadvertently to  
get such a broken data grid

and then, what I should have done to fix it ?

Thanks a lot in advance for any advice

Best regards from Grenoble

André




Bonjour André,

I also had this problem
I have noticed it to Trevor

Momently I can get around the problem with this line of script in the  
handler of the main script :


send resetList to group yourDataGrid of cd xxx of stack substack

I put this line at the end of the script just before I open the substack
go to cd xxx of stack substack as sheet (or as modal,)

Amitiés de Belgique.

Yves COPPE
yvesco...@skynet.be

___
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: Revlet save a txt file

2009-07-28 Thread Yves COPPE


Le 28-juil.-09 à 19:20, Howard Bornstein a écrit :




I have been wondering about this also and am confused as to why the  
standard
read and write file commands would not work. The revlet is sitting  
in a
directory on a server, just like a stack sits in a directory on your  
local
hard disk. You want to read or write a file in a directory relative  
to the

stack or revlet. So why wouldn't

open file fpath for write -- where fpath is the directory your  
revlet is

in, for example
write fld data to file fpath
close file fpath

work on the server just like it works on your local hard drive,  
especially

if the plugin is supposed to support virtually all of Rev's commands?




Hi Howard,

You give me an idea
I will make a test and let you know

Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: Revlet save a txt file

2009-07-28 Thread Yves COPPE


Le 28-juil.-09 à 19:39, Devin Asay a écrit :



It won't work because of the security model the web is based on.  
Client processes cannot write to a web server. The only way to get  
around this is to FTP from the client, POST data to a server side  
script of some kind (CGI, PHP) or store the data in a server-side  
database such as MySQL.


A revlet can write to the local file system (although it seems we're  
unsure of whether open file/write to file works), but only if the  
user gives permission.


Hope I'm understanding the question.




Hi Devin

You're right

I've tried such a revlet

on mouseUp
   put empty into fld resultat
   put the long name of this stack into tmpPath
   delete word 1 of tmpPath
   delete char 1 of tmpPath
   delete last char of tmpPath
   set itemDel to /
   delete last item of tmpPath
   set itemdel to comma
   put tmpPath into fld resultat
end mouseUp

on my mac, the fld resultat contains the path
on a webserver, the fld resultat is empty


Greetings.

Yves COPPE
yvesco...@skynet.be

___
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


mac and pc text file

2009-07-27 Thread Yves COPPE

Hi list


I've made a soft which create a texte file
The problem is that if this text file is saved on a Pc and then read  
on a mac, some characters are not readable
How can I make a script that saves a text contained in a variable to a  
text file with the same characters on mac AND on windows ?


Thanks.

Greetings.

Yves COPPE
yvesco...@skynet.be

___
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


Revlet save a txt file

2009-07-26 Thread Yves COPPE

Hello list,

I've tried a revlet which creates a text file
this text file is a tab-return file


I have two questions :

1) how can I save the txt file on my personal web site  (it is not a  
rev-server)
2) how can I easily transform the tab-return file in html format to  
incorporate the table in a html page



Thanks or your ideas ...


Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: Revlet save a txt file

2009-07-26 Thread Yves COPPE


Le 26-juil.-09 à 19:51, Richard Gaskin a écrit :


Yves COPPE wrote:

1) how can I save the txt file on my personal web site  (it is not  
a  rev-server)


Two ways to send data to a server are FTP and POST via HTTP.  From  
anything running on a public client FTP would expose your password  
unnecessarily, so using POST to send the data to a CGI would  
probably be the better option.


2) how can I easily transform the tab-return file in html format  
to  incorporate the table in a html page


You could walk through the data and put the necessary HTML tags  
around the data with a function like this:


function TabToHtmlTable pData
 set the itemdel to tab
 put tablecr into tHtml
 repeat for each line tLine in pData
   put tr after tHtml
   repeat for each item tItem in tLine
 put td tItem /td after tHtml
   end repeat
   put /trcr after tHtml
 end repeat
 put /table after tHtml
 return tHtml
end TabToHtmlTable







Hi Richard,


Thank you, the function above does exactly what  I need

but for question 1)
I don't master the POST comand

I've hav read it in the dictionary
but I cannot send the file on my webserver

Can you please give me an example ?


Let's say my name is yves and my password is 1234
The variable containing the data to save is in a script of a revlet
I first transform my data(in the variable) with the function above

How can I create a file on the server using the post command with the  
variable data transformed in HTML ?



Thanks.


Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: Revlet save a txt file

2009-07-26 Thread Yves COPPE


Le 26-juil.-09 à 21:07, Richard Gaskin a écrit :


Yves COPPE wrote:


Le 26-juil.-09 à 19:51, Richard Gaskin a écrit :

Yves COPPE wrote:

1) how can I save the txt file on my personal web site  (it is  
not  a  rev-server)

...

but for question 1)
I don't master the POST comand
I've hav read it in the dictionary
but I cannot send the file on my webserver
Can you please give me an example ?


This function can be used in a CGI to read incoming data and put it  
into  an array you can use later to obtain elements by name:


on _cgiGetInput
 if dev is in the environment then
   -- testing locally:
   put gLocalTestInput into tBuffer
 else
   put empty into tBuffer
   if $REQUEST_METHOD is POST then
 -- POST:
 repeat until (len(tBuffer) = $CONTENT_LENGTH)
   read from stdin until empty
   put it after tBuffer
 end repeat
 --
   else
 -- GET:
 put $QUERY_STRING into tBuffer
   end if
   --
 end if
 put tBuffer into gCGIDataInA
 split gCGIDataInA by  and =
end _cgiGetInput

I wrote it to use either the GET or POST method, and regardless  
which one it uses it puts the data into the global array gCGIDataInA.


On the web data is often sent via POST using forms.  So if you have  
a form element containing your data whose value was MyData, in the  
CGI you can get that data like this:


global gCGIDataInA

on startup
 _cgiGetInput
 put gCGIDataInA[MyData] into tData
 --- do whatever else you need with that...
end startup

Since you're sending the data from a stack rather than from a web  
form, all you need to do is package the data in the standard format,  
in which the data is set up in name-value pairs, where the name and  
value are separated by = and the pairs are separated with , e.g.:


 MyData=SomeDataMyOtherData=MoreData

Rev makes sending this to the CGI a convenient one-liner:

 post tData to url tCgiUrl

...where tData contains whatever data you want sent to the CGI, and  
tCgiUrl is the url to your CGI, e.g.:


 http://fourthworld.net/cgi-bin/revnet.cgi


For general info on getting started with Rev CGIs, check out  
Jacque's excellent tutorial:

http://www.hyperactivesw.com/cgitutorial/tutorialtoc.html

It may take some experimentation to get things working well, but  
once you do you'll have a really wonderful time with all the  
possibilities it opens up.


RevNet contains examples of some of this stuff, such as the Feedback  
form, which is just a stack that uses some handlers like  
revnetSubmitForm stored in a backscript named RevNet_BS.  You can  
find RevNet in your Rev install in the menus at Development-Plugins- 
GoRevNet.  You're welcome to use any scripts there you find handy.








Re,

thank you very much

I will try after reading the tuto of Jacque


Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: [BETA] ChartMaker v2

2009-07-16 Thread Yves COPPE


Le 14 juil. 09 à 09:20, Hugh Senior a écrit :


If you would like to review and assess the ChartMaker update to v2,
specifically the built-in Library, let me know at
admin(at)FlexibleLearning.com. Chart samples are available at
www.flexibleLearning.com/xtalk/chartmaker/v2beta/ChartMaker2_Samples.zip

/H
Hugh Senior
The Flexible Learning Company






Hi Hugh,

i see in the chartsMaker2 samples some kinds of charts (for samples  :  
lines) which I don't see in the documentation


How can I get a line chart : the script samples show pie or bar  
charts ?



Greetings.

Yves COPPE
yvesco...@skynet.be

___
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


question on ChartEngine

2009-07-12 Thread Yves COPPE

Hi list

i've followed the fantastic webinar on chartEngine
Very interesting
I'm now playing with the Engine

I have two questions :

Here is my script which creates my chart :

on mouseUp
   local tChart
   chartsCreatechart MyGraph
   put the result into tChart
   put fld Data1 into tdata
   set the charts[data] of tChart to tdata
   set the charts[chartStyle] of tChart to lines
   chartsRefresh tChart
end mouseUp

It works correct

Now I want two manipulations of the chart and don't find the way :

1) I'd like to add somme data to the existent data and update the chart

  put the charts[data] of group MyGraph  into tdata
  put cr18,5 after tdata
   set the charts[data] of group MyGraph  to tdata
   chartsRefresh group MyGraph

it doesn't work ...

2) I have a second btn to completely change the graph

   put fld Data2 into tdata
   set the charts[data] of group MyGraph to tdata
   chartsRefresh group MyGraph

it doesn't work ...


How can I proceed with those 2 scripts ???

Thanks


Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: question on ChartEngine

2009-07-12 Thread Yves COPPE


Le 12 juil. 09 à 19:31, Malte Brill a écrit :


Hi Yves,

you got it almost right. The appending of data is all correct.

To refresh the chart use

chartsRefresh the long name of grp myGraph

or

chartsRefresh the long ID of grp myGraph

or

send chartsRefresh to grp myChart

Hope that helps,

Malte




Hi Malte,

thanks, I missed the last line
It's now good



Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: Missing Menu Lines?

2009-07-03 Thread Yves COPPE


At your services, Sire! :-)





Hi Klaus,

I use Rev 3.5 (studio) but I have no file engine cange log.txt

Where can this file be found ?

Thanks.

Greetings.

Yves COPPE
yvesco...@skynet.be

___
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: Missing Menu Lines?

2009-07-03 Thread Yves COPPE


Le 3 juil. 09 à 10:49, kl...@major.on-rev.com a écrit :


Bonjour Yves,


At your services, Sire! :-)


Hi Klaus,

I use Rev 3.5 (studio) but I have no file engine cange log.txt
Where can this file be found ?


It got installed into my 3.5.0-gm-2 folder.
I can send you the file off list if you do not have it.




Hi Klaus

willingly

Thanks.

Amicalement.

Yves COPPE
yvesco...@skynet.be

___
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


DataGrid form question

2009-05-27 Thread Yves COPPE

Hi List

I'm very happy with the datagrid !!!

I still have a question : about a click on a line of DataGrid Form

I want to use a contextual menu
I used therefore the follwing script in my popup Btn to know the  
data of the clickedLine


 put the dgHilitedLines of group DataGrid 1 into theLine
 put the dgDataOfLine[theLine] of group DataGrid 1 into theDataA

BUT

If I control-click a line,
it gives me the previous hilitedLine. In fact I have to first click  
the line to make it hilited and then click again with controlKey  
to have the correct theDataA


Can you help me ?
thanks.

Greetings.

Yves COPPE
yvesco...@skynet.be


___
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


  1   2   3   4   5   6   >