How do you resize a snapshot from rect?

2010-11-17 Thread William de Smet
Hi there all,

I take a snapshot from a card put I want the exported file to be saved
resized (bigger).
I do the same with printing but then I set the printscale to 1.8.
Can anyone tell me what the best way is to do this?

 --
set the fileType to ogleJPEG
   ask file Save: with *.jpg
   if char -4 to -1 of it  .jpg then put .jpg after it
   export snapshot from rect -2,48,507,557  of this card to file it as JPEG
-


greetings,

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


LiveCode external/plugin question

2010-11-03 Thread William de Smet
Hi there,

I wonder if there is a external/plugin for LiveCode that gives Apps on
Windows a kiosk style/mode?
And I mean true kiosk so ALTF4, CTRLALTDEL and the Windows
Keys are disabled.
Any advise is welcome.

(maybe an idea for a developer and make is a paid external?)

greetings,

William
___
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: LiveCode external/plugin question

2010-11-03 Thread William de Smet
@Matthias and Mark: Thanks for your replies!
I was looking for true kiosk mode so Marks advise using IE isn't the
right thing for me.
I need all keys to be blocked. Editing the registry seems the only way
but it needs the computer to reboot.

I need my app on startup to block these keys without rebooting the machine.
After closing the app  the keys need to function again.
Is this even possible?

Greetings,

William



2010/11/3 Mark Schonewille m.schonewi...@economy-x-talk.com:
 Hi William,

 As an easy alternative to Matthias' solution, you could run your stack as a 
 revlet in Internet Explorer and start IE in kiosk mode
 http://support.microsoft.com/kb/154780

 --
 Best regards,

 Mark Schonewille

 Economy-x-Talk Consulting and Software Engineering
 Homepage: http://economy-x-talk.com
 Twitter: http://twitter.com/xtalkprogrammer
 KvK: 50277553

 Download the Installer Maker plugin for Runtime Revolution at 
 http://qurl.tk/ce Create installers for Mac and Windows on *every* 
 Rev-compatible platform. No additional software needed.

 On 3 nov 2010, at 14:10, Matthias Rebbe wrote:

 William,

 at

 http://www.northcode.com/blog.php/2007/07/25/Securing-Windows-For-Use-As-A-Kiosk

 you find information how to solve this by modifying the registry.
 I used that for XP some time ago. But i do not know, if this works with 
 Windows Vista/7 also.

 Maybe this helps.

 Regards,

 Matthias


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

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


Re: Flipping graphic with a Key

2010-10-13 Thread William de Smet
Hi there,

Maybe you van use 'flushEvents'?
Check the dictionary for this.

Greetings,

William



2010/10/13 Richmond richmondmathew...@gmail.com:
  On 10/13/2010 04:35 PM, Michael Kristensen wrote:

 Hi there

 I want to flip a graphic while key F is down and when it is released the
 graphic shall flip back again.

 if it was a mouseDown handler it would go like this:

 on mouseDown
    put the points of graphic into oldPoints
    DoTheFlipping
    wait while the mouse is down
    set the points of graphic to oldPoints
 end mouseDown


 But when i use a keyDown handler I have a problem because when i hold the
 F key down repetition of the message set in and the graphic is flipped
 back and fourth.

 How do I avoid the repetition of the keyDown message?


 I have just tried this with rawKeyDown/rawKeyUp  and keyDown/keyUp  and have
 the same
 problem; unfortunately while there is mouseStillDown there is NOT
 keyStillDown.
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

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


Re: Open printing to PDF bug?

2010-09-25 Thread William de Smet
Hi everyone,

Thanks for the replies.
Indeed it seems that Printmargins and PrintScale affect the cuttoff of
text and images.
Thats a pity because I want to increase text and images by setting the
PrintScale to to 1.1.
It looks as if Printscale doesn't work with images and with 'printing
to PDF'  and printPaperOrientation 'Landscape'.

And I was so happy when they announced 'printing to PDF'!!!

greetings,

William



2010/9/24 JosepM jmye...@mac.com:

 This work for me, without change the exact size of the elements, but l lost
 about 2 cm at the bottom of the page.
 I need to force the stack size and move to some position that I can edit
 later, so if I use it in my laptop the stack is resized and when I print the
 PDF only show the visible area of the stack. The idea is make this stack
 invisible.

 Put the margin to 0 left about 2 cm at top and at bottom, left and right are
 about 1cm...

 on mouseUp
   set the location of this stack to 600,600
   set the width of this stack to 595
   set the height of this stack to 842

   set the printPaperSize to 595,842
   put 595,842 into thePaperSize

   put 0 into theMargin

   -- get the page area:
   set the printMargins to theMargin,theMargin,theMargin,theMargin
   -- put theMargin,theMargin, item 1 of thePaperSize - theMargin, item 2 of
 thePaperSize - theMargin into destinationRect
   -- print into that rectangle:
   open printing to pdf /Users/joss/Desktop/card_test.pdf
   print this card --into destinationRect
   close printing

 end mouseUp

 Salut,
 Josep
 --
 View this message in context: 
 http://runtime-revolution.278305.n4.nabble.com/Open-printing-to-PDF-bug-tp2550663p2552864.html
 Sent from the Revolution - User mailing list archive at Nabble.com.
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

___
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: Open printing to PDF bug?

2010-09-25 Thread William de Smet
Hi there,
I will report it in the next coming days but I think you need to do it aswell 
Dar.
The more the better!

Greetings,

William

-
Verstuurd vanaf mijn iPhone!

Op 25 sep. 2010 om 19:32 heeft Dar Scott d...@swcp.com het volgende 
geschreven:

 I have seen the page cutoff problem with landscape (but not the other 
 concerns), so if William doesn't report it, I'm willing to report that much.  
 -- Dar
 
 On Sep 25, 2010, at 11:06 AM, J. Landman Gay wrote:
 
 On 9/25/10 6:59 AM, William de Smet wrote:
 Hi everyone,
 
 Thanks for the replies.
 Indeed it seems that Printmargins and PrintScale affect the cuttoff of
 text and images.
 Thats a pity because I want to increase text and images by setting the
 PrintScale to to 1.1.
 It looks as if Printscale doesn't work with images and with 'printing
 to PDF'  and printPaperOrientation 'Landscape'.
 
 And I was so happy when they announced 'printing to PDF'!!!
 
 Bug report it, there may be something RR can do.
 
 -- 
 Jacqueline Landman Gay | jac...@hyperactivesw.com
 HyperActive Software   | http://www.hyperactivesw.com
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution
 
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Open printing to PDF bug?

2010-09-22 Thread William de Smet
Hi there,
It seems I have the same problem!
I use almost the same code as Joseph (asked earlier today) to print on
A4 paper. When I want a PDF preview on OSX everything is/looks fine.
When using the code  below and adding 'open printing to PDF'  about
1/4 of the printed text is cut off.
Is this a bug or are we doing something wrong?

---
open printing to pdf test.pdf
 set the printRotated to true
 set the printMargins to 72,36,72,36
set the printScale to 1.1
print this card from 193,90 to 833,570
close printing
---


greetings,

William
___
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: Open printing to PDF bug?

2010-09-22 Thread William de Smet
Hi Jacqueline,

Thanks for your reaction.
I just tested with an image and the same thing happens.
I never set formatForPrinting.

Anyone else?


groeten,
William



2010/9/22 J. Landman Gay jac...@hyperactivesw.com:
 On 9/22/10 11:44 AM, William de Smet wrote:

 Hi there,
 It seems I have the same problem!
 I use almost the same code as Joseph (asked earlier today) to print on
 A4 paper. When I want a PDF preview on OSX everything is/looks fine.
 When using the code  below and adding 'open printing to PDF'  about
 1/4 of the printed text is cut off.
 Is this a bug or are we doing something wrong?

 ---
 open printing to pdf test.pdf
  set the printRotated to true
  set the printMargins to 72,36,72,36
 set the printScale to 1.1
 print this card from 193,90 to 833,570
 close printing
 ---

 One thing I just found out is that PDF printing will cut off text and ruin
 the layout if you have formatForPrinting set to true on Windows. It is the
 one time you do not want to use that property for printing text.

 --
 Jacqueline Landman Gay         |     jac...@hyperactivesw.com
 HyperActive Software           |     http://www.hyperactivesw.com
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

___
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: Slow launch times on Windows 7

2010-09-16 Thread William de Smet
I don't know if it is related but Mark Schonewille advised me to 'set dontuseQT 
to true' on startup on a very slow app on Win7 (core2duo with 2 Gb ram). It 
worked perfectly! 

Greetings,

William

-
Verstuurd vanaf mijn iPhone!

Op 17 sep. 2010 om 01:31 heeft zryip theSlug zryip.thes...@gmail.com het 
volgende geschreven:

 On Fri, Sep 17, 2010 at 1:15 AM, zryip theSlug zryip.thes...@gmail.com 
 wrote:
 On Fri, Sep 17, 2010 at 12:58 AM, J. Landman Gay
 jac...@hyperactivesw.com wrote:
 On 9/16/10 5:49 PM, zryip theSlug wrote:
 
 That seems not logical here if your problem could be solved by a new
 installation of Seven and not by a code modification.
 
 Just to clarify, the tech queue (I work there for a couple hours daily) had
 one other RR customer who reported the same problem and he solved it by
 reinstalling Win7. Riccardo did not reinstall, he is trying to find the root
 cause instead. That appears to be difficult to do. :(
 
 If Ricardo can install a new Seven on another PC and try a launch of
 his application in it, we could be sure that he has the same problem
 than the other customer. So it could be a good mean to confirm a
 system problem or exclude this possibility.
 In my experience on supporting things, sometimes you think to have an
 identical symptom but you have several causes.
 
 
 Regards,
 -- 
 -Zryip TheSlug- wish you the best! 8)
 http://www.aslugontheroad.co.cc
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Create HTML file from rev app

2010-08-25 Thread William de Smet
Hi there all,

It's been a while since my last question but working hard on some apps.
For my daily job I needed a quick app to create a HTML file. In the
app I have some fields and in one of them I put a URL (just
www.domainname.com).
In some hidden fields I put the needed HTML and the all come together
when I save the file.
All works fine but when I look at the sourcecode in IE8 or Safari the
HTML isn't completely correct.
In a link it misses the quotes () at the beginning or the end of the URL.

What I do is this:
put  a href= http://   fld link     target= _blank  
 fld link /a   br/    br/ after tData

I also tried this but that doesn't works either:
put  a href= quot; http://;   fld link  quot;   
target= quot;  blank  quot;fld titel /a
after tData
(the quot; isn't translated then into a quote)

I start the HTML file with:
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;
html xmlns=http://www.w3.org/1999/xhtml;


Anyone knows why I don't get the qoute?
And is there a way to get them?


Greetings,

William
___
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: Create HTML file from rev app

2010-08-25 Thread William de Smet
Hi Mark,

Now it works!
You're helpful as always.

@Bruce: in HTML you use quote;  to get .
I thought I had to use this in Rev as well.

groeten,
William



2010/8/25 Mark Schonewille m.schonewi...@economy-x-talk.com:
 Hi William,

 You got it almost right:

 a href= quote  http://;   fld link  quote   target=  quote  
 _blank  quote fld link /abr/br/ after tData


 --
 Best regards,

 Mark Schonewille

 Economy-x-Talk Consulting and Software Engineering
 Homepage: http://economy-x-talk.com
 Twitter: http://twitter.com/xtalkprogrammer
 KvK: 50277553

 From 15th August, we'll have time for new projects! Be the first in line and 
 contact me now!

 Download the Installer Maker plugin for Runtime Revolution at 
 http://qurl.tk/ce

 On 25 aug 2010, at 10:03, William de Smet wrote:

 Hi there all,

 It's been a while since my last question but working hard on some apps.
 For my daily job I needed a quick app to create a HTML file. In the
 app I have some fields and in one of them I put a URL (just
 www.domainname.com).
 In some hidden fields I put the needed HTML and the all come together
 when I save the file.
 All works fine but when I look at the sourcecode in IE8 or Safari the
 HTML isn't completely correct.
 In a link it misses the quotes () at the beginning or the end of the URL.

 What I do is this:
 put  a href= http://;   fld link     target= _blank  
  fld link /a   br/    br/ after tData

 I also tried this but that doesn't works either:
 put  a href= quot; http://;   fld link  quot;   
 target= quot;  blank  quot;fld titel /a
 after tData
 (the quot; isn't translated then into a quote)

 I start the HTML file with:
 !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN
 http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;
 html xmlns=http://www.w3.org/1999/xhtml;


 Anyone knows why I don't get the qoute?
 And is there a way to get them?


 Greetings,

 William

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

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


Re: Create HTML file from rev app

2010-08-25 Thread William de Smet
Thanks Richard,

That looks so much easier. I never used 'merge' before.
I will definitely use this.

Greetings,

William



2010/8/25 Richard Gaskin ambassa...@fourthworld.com:
 William de Smet wrote:

 It's been a while since my last question but working hard on some apps.
 For my daily job I needed a quick app to create a HTML file. In the
 app I have some fields and in one of them I put a URL (just
 www.domainname.com).
 In some hidden fields I put the needed HTML and the all come together
 when I save the file.
 All works fine but when I look at the sourcecode in IE8 or Safari the
 HTML isn't completely correct.
 In a link it misses the quotes () at the beginning or the end of the URL.

 What I do is this:
 put  a href= http://;   fld link     target= _blank  
  fld link /a   br/    br/ after tData

 You've discovered why I hate concatenating HTML in xTalks. ;)

 I've found it far less tedious to just write the HMTL as I want it in the
 final output and use the merge function to assemble the dynamic parts.

 For example, you could have this in a field named template:

 a href=http://[[fld link]] target=_blank [[fld
 link]]/abr/br/

 ...and then just use this to get the assembled output:

 put merge(fld template) into tData

 Check out the merge function in the RevTalk dictionary.  It's a life-saver
 for tasks like this (and a good many others).

 --
  Richard Gaskin
  Fourth World
  Rev training and consulting: http://www.fourthworld.com
  Webzine for Rev developers: http://www.revjournal.com
  revJournal blog: http://revjournal.com/blog.irv
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

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


Re: Repeat until the MouseClick to stop 'flashing' button?

2010-06-09 Thread William de Smet
Thanks Mark,
Works great so far!

2010/6/8 Mark Wieder mwie...@ahsoftware.net:
 William-

 Tuesday, June 8, 2010, 1:14:16 PM, you wrote:

 @ Mark: easier to read now?

 Hi there,

 I have a flashing button 1  with this script:
 on mouseUp
 set the backgroundcolor of grc dummy to pink
      repeat
     hide me
     wait 25 ticks
   show me
   wait 25 ticks
 end repeat
 end mouseUp

 The idea is that while button 1 is flashing I want to click at
 button 2  so button 1 stops flashing and executes its own script:
 on mouseUp
    set the backgroundcolor of me to the backgroundcolor of grc dummy
 end mouseUp

 I try adding 'repeat until the MouseClick' in button 1 but that only
 stops the flashing (what I want) but doesn't execute the script in
 button 2.
 To run the script on button 2 I have to click on button 2 again.
 So I have to click twice and that is not what I want :-(.

 Is this possible?
 Anyone has any other idea's on how to do this?

 Yep - that's much better. Lots of ways to do this. Here's one:

 button1:

 on mouseUp
  set the IsFlashing of me to true
  send flashme to me in 25 ticks
 end mouseUp

 on flashme
  if the IsFlashing of button 1 then
    if the visible of me then
      hide me
    else
      show me
    end if
    send flashme to me in 25 ticks
  end if
 end flashme


 button 2:

 on mouseUp
  set the IsFlashing of button 1 to false
 end mouseUp

 --
 -Mark Wieder
  mwie...@ahsoftware.net

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

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


Repeat until the MouseClick to stop 'flashing' button?

2010-06-08 Thread William de Smet
Hi there,

I have a flashing button 1  with this script:
---

*on* mouseenter

  *set* cursor to hand

  *lock* cursor

*end* mouseenter


*on* mouseleave

  *unlock* cursor

  *set* cursor to arrow

*end* mouseleave


*on* mouseUp

*set* the backgroundcolor of grc dummy to pink

 *repeat*

*hide* me

*wait* 25 ticks

  *show* me

  *wait* 25 ticks

*end* *repeat*

*end* mouseUp

---


The idea is that while button 1 is flashing I want to click at button 2
 so button 1 stops flashing and executes its own script:

---

*on* mouseenter

  *set* cursor to hand

  *lock* cursor

*end* mouseenter


*on* mouseleave

  *unlock* cursor

  *set* cursor to arrow

*end* mouseleave


*on* mouseUp

   *set* the backgroundcolor of me to the backgroundcolor of grc dummy

*end* mouseUp

---



I try adding 'repeat until the MouseClick' in button 1 but that only stops
the flashing (what I want) but doesn't execute the script in button 2.

To run the script on button 2 I have to click on button 2 again. So I
have to click twice and that is not what I want :-(.


Is this possible?

Anyone has any other idea's on how to do this?


Greetings,


William
___
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: Repeat until the MouseClick to stop 'flashing' button?

2010-06-08 Thread William de Smet
Hi Mark,

That's just my way to make clear what I am doing.
I do't use them in the script.

Greetings,

William

2010/6/8 Mark Wieder mwie...@ahsoftware.net

 William-

 What's with the asterisks and the double spacing?

 --
 -Mark Wieder
  mwie...@ahsoftware.net

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

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


Re: Repeat until the MouseClick to stop 'flashing' button?

2010-06-08 Thread William de Smet
@ Mark: easier to read now?

Hi there,

I have a flashing button 1  with this script:
on mouseUp
set the backgroundcolor of grc dummy to pink
     repeat
    hide me
    wait 25 ticks
  show me
  wait 25 ticks
end repeat
end mouseUp

The idea is that while button 1 is flashing I want to click at
button 2  so button 1 stops flashing and executes its own script:
on mouseUp
   set the backgroundcolor of me to the backgroundcolor of grc dummy
end mouseUp

I try adding 'repeat until the MouseClick' in button 1 but that only
stops the flashing (what I want) but doesn't execute the script in
button 2.
To run the script on button 2 I have to click on button 2 again.
So I have to click twice and that is not what I want :-(.

Is this possible?
Anyone has any other idea's on how to do this?

Greetings,

William

2010/6/8 Mark Wieder mwie...@ahsoftware.net

 William-

 Tuesday, June 8, 2010, 12:28:14 PM, you wrote:

  That's just my way to make clear what I am doing.

 It's too hard for me to read. I'll pass on this one.

 --
 -Mark Wieder
  mwie...@ahsoftware.net

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


Re: Delay in opening the first card. How can I solve this?

2010-06-03 Thread William de Smet

Hi there all,

Setting the 'dontuseQT' to true solves my problem on Win7. There is no  
delay anymore. It workes fine using Win32 aswell.


Thanks Richard, Francis and Mark.

Greetings (from a sunny Delft - Netherlands),

William



-
Verstuurd vanaf mijn iPhone!

Op 2 jun 2010 om 21:59 heeft Richard Gaskin  
ambassa...@fourthworld.com het volgende geschreven:\



Francis Nugent wrote:


What if the system is 64bit? Do I replace 32 with 64 in the script?


All Windows systems return Win32 from the platform command,
including Windows 7 !


IIRC the platform will always return Win32 on all Win systems,  
because Rev doesn't (yet) offer a 64-bit engine.


However, if you need to differentiate processors I believe the  
processor will return a distinctive string for 64-bit.


--
Richard Gaskin
Fourth World
Rev training and consulting: http://www.fourthworld.com
Webzine for Rev developers: http://www.revjournal.com
revJournal blog: http://revjournal.com/blog.irv
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your  
subscription preferences:

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

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


Re: Delay in opening the first card. How can I solve this?

2010-06-03 Thread William de Smet
Hi Richard,

No I don't use player controls.
I will report a bug then.

greetings,

William

2010/6/3 Richard Gaskin ambassa...@fourthworld.com

 William de Smet wrote:

 Setting the 'dontuseQT' to true solves my problem on Win7. There is no
 delay anymore. It workes fine using Win32 aswell.


 Does your app use player controls?

 If not then QT should never be loaded, and you have found a bug.

 If that's the case, please consider dropping a report into the RQCC:
 http://quality.runrev.com/qacenter/


 --
  Richard Gaskin
  Fourth World
  Rev training and consulting: http://www.fourthworld.com
  Webzine for Rev developers: http://www.revjournal.com
  revJournal blog: http://revjournal.com/blog.irv
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

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


Delay in opening the first card. How can I solve this?

2010-06-02 Thread William de Smet
Hi there,

I notice quite some delay in opening cards in my new app on Win 7. On OSX
all is fine (I asked before on the list).
I click a button and nothing happens (so it seems). After some time the next
card is shown.
It is just a button with the most simple script: go cd start_2x2.

In the end it will be an app with about 100 cards in it I think so the delay
can take a while?
For now I came up with the following, so the user has some visual feedback.

*on* mouseUp

   *unlock* cursor

   *set* cursor to watch

   *lock* cursor

   *wait* 7 sec

   *go* cd start_2x2

*end* mouseUp

The 7 sec is just my idea and it can take much longer.
Is there another way to do this? I want the 'wait' to be an exact time
(after the wait the next card opens).

Thanks in advance.

greetings,

William
___
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: Delay in opening the first card. How can I solve this?

2010-06-02 Thread William de Smet
Hi Mark,

I just used 'if the platform is Win32 then set the dontUseQT to true'  on
preOpenStack

Tested it on WinXP (Pentium 4 2.8 Ghz with 500 MB RAM) and I noticed a
little difference in speed. Without the script there is a little delay but
not as much as on Windows 7. Will test that as soon as possible as well as
with Windows Vista. I will keep you informed.


What if the system is 64bit? Do I replace 32 with 64 in the script?


Thanks again!


greetings,


William




2010/6/2 Mark Schonewille m.schonewi...@economy-x-talk.com

 Hi William,

 The wait command in your script just adds another delay, because RunRev is
 completely blocked while waiting. If you add with messages to the command,
 you'll give the engine a chance to do its thing while your script waits. I
 don't think this will make much of a difference, except that going to the
 next card will always take more than 7 seconds.

 I have had the same problem several times, too. I wonder whether it has
 something to do with QuickTime. Getting the QTVersion in the preOpenStack
 handler will load QT before the first card shows. Maybe this moves the delay
 to the startup time of your programme/stack. Setting the dontUseQT to true
 doesn't load QT at all, which might take away the delay completely. I might
 be all wrong about this, but I'm curious whether it makes any difference.

 Do any scripts run when cd start_2x2 opens?

 P.S. There's also http://runrev.info/rrforum

 --
 Best regards,

 Mark Schonewille

 Economy-x-Talk Consulting and Software Engineering
 Homepage: http://economy-x-talk.com
 Twitter: http://twitter.com/xtalkprogrammer

 Economy-x-Talk is always looking for new projects. Contact me for a quote
 http://economy-x-talk.com/contact.html
 Download Clipboard Link http://clipboardlink.economy-x-talk.com and share
 the clipboard of your computer over the local network.


 On 2 jun 2010, at 11:00, William de Smet wrote:

  Hi there,

 I notice quite some delay in opening cards in my new app on Win 7. On OSX
 all is fine (I asked before on the list).
 I click a button and nothing happens (so it seems). After some time the
 next
 card is shown.
 It is just a button with the most simple script: go cd start_2x2.

 In the end it will be an app with about 100 cards in it I think so the
 delay
 can take a while?
 For now I came up with the following, so the user has some visual
 feedback.

 *on* mouseUp

  *unlock* cursor

  *set* cursor to watch

  *lock* cursor

  *wait* 7 sec

  *go* cd start_2x2

 *end* mouseUp

 The 7 sec is just my idea and it can take much longer.
 Is there another way to do this? I want the 'wait' to be an exact time
 (after the wait the next card opens).

 Thanks in advance.

 greetings,

 William


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

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


Re: RevSudio on sale for $50

2010-06-02 Thread William de Smet

Hi Mark,

With the Studio version you can make standalones. The free version  
can't do this.


Greetings,

William

-
Verstuurd vanaf mijn iPhone!

Op 2 jun 2010 om 16:22 heeft Mark Swindell mdswind...@cruzio.com het  
volgende geschreven:\


Is this Rev 4?  What is the difference between the free RevMedia  
version and this one if one is just developing private stacks for a  
classroom?  (A teacher friend who is about to take the leap asked me  
and I'm still not sure).  I did discover that RevStudio is not  
compatible with aspects of tRev, which is a bad thing because tRev  
is such a good thing.


Thanks
Mark

On Jun 1, 2010, at 11:51 PM, François Chaplais wrote:


see
http://www.themacsale.com/
spread the word!

Best,
   François

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

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


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

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

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


Slow opening of cards in .exe file

2010-03-22 Thread William de Smet
Hello there,

In a new app I am working on I am experiencing slow opening of cards in the
.exe file on Windows 7 (on Mac OSX the app works fine and smootly).
It seems that all of the cards are send to memory at once because after the
first mouseclick and about 10 sec wait it all works fine.

In the button there is just a single line of code:
on mouseup
go cd xxx
end mouseup

I use a 'on preopencard' script on each card but I just hide some buttons in
there.
Nothing to difficult either.

Is there a way to speed things up or a way to improve performance?

Thanks!

Greetings,

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


Color cursors in RunRev 4.5?

2010-03-09 Thread William de Smet
Hi there all,

Can anyone give me a clue on how the color cursors work in the coming update
4.5?
On what platforms will it be supported?

Now I use  'set cursor to hand' a lot.
Will this be colored too?

Thanks!

greetings,

William
___
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: How do I change the script for 100 buttons in one time?

2010-03-05 Thread William de Smet
Thanks for your answers!


2010/3/5 Andre.Bisseret andre.bisse...@inria.fr

 Bonjour,

 I suggest a mix of Jacques' and Jim ' scripts
 and addition of a line to eliminate the current scripts of the 100 buttons

  on changeScripts
   --put fld newScript into baseScript

   repeat with k = 1 to the number of cards
  repeat with m = 1 to the number of btns in cd k
 get word 1 of the short name of btn m of cd k
 if char 1 of IT = d and char 2 to -1 of IT  101 then
set the behavior of btn m of cd k to the long ID of button
 BCommonscript of cd 1
set the script of btn m of cd k to empty -- clean the script of
 the button

 end if
  end repeat
   end repeat
 end changeScripts

 Best regards from Grenoble

 André

 Le 4 mars 10 à 20:25, Jim Ault a écrit :


  Yours is the best solution, Jacques, if using Rev 3.0 or later.
 Repeat loops will work on all versions 2.2+

 Jim Ault
 Las Vegas


 On Mar 4, 2010, at 11:05 AM, Jacques Hausser wrote:

  Hi William

 A good case for using behaviors ! Set the script of an hidden btn
 BCommonScript as you want and then put somewhere in the opening process of
 your stack:

 repeat with i = 1 to 100
  put d i into tButtonName
  set the behavior of btn tbuttonName to the long ID of button
 BCommonscript
 end repeat

 Jacques

 Le 4 mars 2010 à 19:46, William de Smet a écrit :

  Hi there,

 I have a stack with 100 buttons in it and they all have the same script.
 The buttons are called d1 to d100.

 How do I change the code for all of them in one time?
 I don't feel like copy/paste 100 times.






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




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

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


Re: How do I 'shorten' this script?

2010-03-05 Thread William de Smet
@ everyone: thanks a lot! The script works.

2010/3/5 Mark Wieder mwie...@ahsoftware.net

 Jim-

 Friday, March 5, 2010, 8:19:27 AM, you wrote:

  That's OK Mark because I can tell you typed this into an email and not
 your
  editor. Had you typed it into your editor (and because I know you have
  explicitVars turned on) you would have gotten an error at *tName*. ;-)

 Uh oh... busted...

 --
 -Mark Wieder
  mwie...@ahsoftware.net

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

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


What's wrong with the revWeb Plugin on OSX?

2010-03-05 Thread William de Smet
Hi there,

I am using Safari 4.04 and FireFox 3.6 on OSX 10.6.2 (Snow Leopard).
I started testing with revlets and they seem to work in these browsers but
after putting another revlet on the web (size 1 MB) they both load the
revlet but it doesn't go further than the runrev logo.
FireFox even freezes! (The first revlet was less than 200 KB and still works
fine).
Everytime I reload the page  the plugin asks for permissions as well.
Very annoying!  On Win 7 with IE8 and FireFox 3.6 the revlet works fine and
fast!

Do you have the same experience?

greetings,

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


How do I change the script for 100 buttons in one time?

2010-03-04 Thread William de Smet
Hi there,

I have a stack with 100 buttons in it and they all have the same script.
The buttons are called d1 to d100.

How do I change the code for all of them in one time?
I don't feel like copy/paste 100 times.

Thanks!

Greetings,

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


How do I 'shorten' this script?

2010-03-04 Thread William de Smet
Hi there,


I am having trouble with 'shortening' some script but don't know why.

The first script works but the second one doesn't. What am I doing wrong?

Thanks!


Greetings,


William

*
*

*
*

*on mouseUp*

*if* the backgroundcolor of grc A1 of grp A = the backgroundcolor of grc
 A1 of grp B and \

*if the backgroundcolor of grc A2 of grp A = the backgroundcolor of grc
 A2 of grp B and \*

*if the backgroundcolor of grc A3 of grp A = the backgroundcolor of grc
 A3 of grp B and \*

*if* the backgroundcolor of grc A4 of grp A = the backgroundcolor of grc
 A4 of grp B and \

*if* the backgroundcolor of grc A5 of grp A = the backgroundcolor of grc
 A5 of grp B

 *then* *answer* AnswerA

*else* *answer* AnswerB

*end* mouseUp




*on* mouseUp

   *repeat* with x = 1 to 5

  *put* A x into tName

  *end* *repeat*

 *if* the backgroundcolor of grc tName of grp A = the backgroundcolor of
grc tName of grp B

*then* *answer* AnswerA

*else* *answer* AnswerB

*end* mouseUp
___
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: Printing rubbish

2009-11-28 Thread William de Smet
Hi Richmond,

I tried this before and found the following script in one of my files:
---

*put* fld name into tName

  *put* tName into url (file:specialFolderPath(Desktop)/test.pdf)

---


This generates a PDF file on the desktop (OSX) and gets a Preview Icon.

But when opening the file it gives an error. Probably there is still
something missing.


Greetings,


William

2009/11/28 Richmond Mathewson richmondmathew...@gmail.com

 On 11/28/09 7:29 PM, BNig wrote:

 Richmond,

 if I put this into a button
 on mouseUp
revprintfield (Field  1)
 end mouseUp
 it starts a little dialog that looks unfamiliar but if I OK it then I get
 the usual printer dialog. If I then choose preview as output I get a PDF
 in
 preview. And I can save to a pdf-file in the usual manner.
 Mind you field 1 is a scrolling field with about 1 page worth of text of
 which only the 5 first lines are visible on the card. Everything is in the
 pdf. This is on MacOSX 10.5.8, Rev 4.0.0
 regards
 Bernd



 Thanks BNig,

  However, I was trying to find a way, in Mac OS X, to print directly from
 a field to a PDF file.

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

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


How do I determine/set the active layer of a graphic?

2009-11-25 Thread William de Smet
Hi there,

I got two graphical clock arms (ovals with set startangles) that can rotate
on mouseup. Their size is different: 450x450 and 327x327.
They need to rotate independent from each other and that works but only when
I click on the outer size of the bigger clock arm (and not on the middle
because then you got the overlap of the smaller clock arm).

So I tried to set the layer of both graphics with:
on mouseup
set the layer of me to top
end mouseup

But then I still need to click on the outer size of the bigger clock arm to
rotate it.
The problem is that both graphics are squares and they overlap.
Is there a way to determine on which graphic I click (or am about to
click).
Maybe with mouseLoc?

Any suggestions?

Greetings,

William
___
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: How do I determine/set the active layer of a graphic?

2009-11-25 Thread William de Smet
Thanks Craig,

In my opinion the problem still is that the two graphics are squares.
When I use the mouseloc I can set the layer of the graphic on top but only a
small part of the whole graphic is the clock arm:
If the mouseloc is within the rect of grc ... . But the actual clock arm
is set by the startangle of the grc.

Any suggestions on how to combine the mouseloc and the startangle of the
grc?

greetings,

William




2009/11/25 dunb...@aol.com

 In a real clock, if the hands overlap, you have to carefully grab one or
 the other to move them. If the big hand is over the little hand, you have
 to
 grab the outer portion of it.

 Is it that you need the small graphic to come to the front when you need it
 to? I think you had the right idea, that if the mouseLoc is within the rect
 of the small hand, then you can do what you want. This will be evaluated
 regardless of whether the big hand in in front or not.

 Use the mouseMove message to test the mouseLoc. If it is within the rect of
 the small hand and the layer of the small hand is less than the layer of
 the big hand, then bring the small hand to the front. You seem more than
 able
 to write this.

 Craig Newman


 In a message dated 11/25/09 9:19:09 AM, williamdes...@gmail.com writes:


  But then I still need to click on the outer size of the bigger clock arm
  to
  rotate it.
  The problem is that both graphics are squares and they overlap.
  Is there a way to determine on which graphic I click (or am about to
  click).
  Maybe with mouseLoc?
 
  Any suggestions?
 

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

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


Re: Blocking the 'Windows keys' doesn't work. Why?

2009-11-24 Thread William de Smet
Hi there Jim,

I place my code as a 'stack script'.
I use it to make a fullscreen app in which I also block the arrowkeys, the
menubar and the taskbar.

On Windows when you hit the 'Windows key' I don't want it to respond because
otherwise you will still see the taskbar and the startmenu.
I used the code suggested on the mailinglist before but it doensn't work,
which means: I still get the taskbar and the startmenu when I hit the
'Windows key'. Hopes this explains my 'problem'.

Can anyone help me to block the Windows key?

greetings,

William

2009/11/23 Jim Bufalini j...@visitrieve.com

 William,

  Hi there all,
 
  Can someone explain to me why blocking the Windows keys doesn't work?
  As suggested a while ago on this forum I use the following code:
 
  *
  *
 
  *---*
 
  *on* rawKeyDown theKeyNumber
 
 *if* theKeyNumber is not 65388 and theKeyNumber is not 65389
 
*then*
 
 *pass* rawKeyDown
 
 *end* *if*
 
  *end* rawKeyDown
 
 
  *on* rawKeyDown pKey
 
   *if* pkey  65388 and pkey  65389 *then* *pass* rawKeyDown
 
  *end* rawKeyDown

 If you are going to get an answer to this question, you need to be more
 specific about where you placed this code and what you mean by doesn't
 work.

 Aloha from Hawaii,

 Jim Bufalini

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

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


Blocking the 'Windows keys' doesn't work. Why?

2009-11-23 Thread William de Smet
Hi there all,

Can someone explain to me why blocking the Windows keys doesn't work?
As suggested a while ago on this forum I use the following code:

*
*

*---*

*on* rawKeyDown theKeyNumber

   *if* theKeyNumber is not 65388 and theKeyNumber is not 65389

  *then*

   *pass* rawKeyDown

   *end* *if*

*end* rawKeyDown


*on* rawKeyDown pKey

 *if* pkey  65388 and pkey  65389 *then* *pass* rawKeyDown

*end* rawKeyDown





greetings,


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


Is it possible to choose cards at random

2009-11-19 Thread William de Smet
Hi there,

I got a stack with 10 cards and want to dynamically change the order of the
cards.
Is it possible to choose 'on mouseup' a card at random?

greetings,

William
___
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: Sanskrit Typewriter RC1

2009-11-04 Thread William de Smet
Hi there Richmond,

I quickly tested your Sanskrit Typewriter on Mac OSX 10.6 and I noticed the
following things:
- the background of the page and the writer (green) are not the same color.
Should it be the same?
- the background of confirmation dialog after exporting is also green. I
don't think it's very nice and handy.
- the fonts doesn't resize
So far my first comment. Congratulations on your first RC!

Greetings,

William

2009/11/4 Richmond Mathewson richmondmathew...@gmail.com

 Be there or be square . . .  :)

 http://andregarzia.on-rev.com/richmond/test.html

 Please try and break it and throw me any criticism
 and suggestions for improvement.

 sincerely, Richmond Mathewson.

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

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


Re: Off-Line revlets?

2009-11-02 Thread William de Smet
Hi Richmond,

There was a few days ago a thread called:
RevMedia Question: Securing the revlet?
Some answers were given but I didn't test it yet myself.

greetings,

William

2009/11/2 Richmond Mathewson richmondmathew...@gmail.com:
 Maybe another of my goofy questions; not sure.

 Is it possible for an end-user to 'salvage' a revlet from
 a browser cache and thereby continue using it, effectively
 as a free-standing program, when not connected to the internet?

 AND;

 If this is, at least theoretically possible, is there a way to prevent it?
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

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


Re: How do I check which field has the focus on / is active?

2009-11-02 Thread William de Smet
@ Jan, Klaus and Sarah: the dentist pulled my tooth (bummer) but your
answer solved my little 'problem'.
Must have been the tootache :-) Thanks!

Greetings,

William

2009/11/2 Sarah Reichelt sarah.reich...@gmail.com:
 Hope your tooth is better now.

 I think you need to use both solutions.
 Jan suggests setting the button's traversalOn to false so that it
 doesn't become the focusedObject when clicked.
 Klaus points out that you need to use the short name of the
 selectedField for your current script to work.

 If you put both these solutions together, then I think it should work,
 but if not, please post more details and we can trya gain.

 Cheers,
 Sarah


 On Fri, Oct 30, 2009 at 11:37 PM, William de Smet
 williamdes...@gmail.com wrote:
 Hi Jan  Klaus,

 None of your answers works for me :-)
 Must be something else then that is bugging me.
 Could be the dentist! Got to go there within the hour because of an
 awful toothache.

 to be continued

 Greetings,

 William

 2009/10/30 Klaus Major kl...@major.on-rev.com:
 Hi William,

 Hi there all,

 How do I check which has the focus on / is the active one?
 When I use: 'answer the selectedField' it shows me the correct field
 but when I put the next code into a button it doesn't work anymore:
 --
 on mouseUp
 put the name of the selectedField into tData

 if tData = number1
 then send mouseup to btn check
 ...
 end mouseUp

 ...
 put the name of the selectedField into tData
 ...

 If you look at the content of the variable tDate you will see something
 like this:
 FIELD Name of field here...
 !!!

 So if you change the line to:
 ...
 put the SHORT name of the selectedField into tData
 ...
 your script will run as exspected :-)

 --
 Thanks!
 Greetings, William

 Best

 Klaus

 --
 Klaus Major
 http://www.major-k.de
 kl...@major.on-rev.com

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

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

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

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


How do I check which field has the focus on / is active?

2009-10-30 Thread William de Smet
Hi there all,

How do I check which has the focus on / is the active one?
When I use: 'answer the selectedField' it shows me the correct field
but when I put the next code into a button it doesn't work anymore:
--
on mouseUp
put the name of the selectedField into tData

if tData = number1
then send mouseup to btn check

 if tData = number3
then send mouseup to btn sum1

 if tData = number6
then send mouseup to btn sum2

 if tData = number9
then send mouseup to btn sum3

if tData = number12
then send mouseup to btn sum4

if tData = number15
then send mouseup to btn sum5
end mouseUp

--

Thanks!

Greetings, William
___
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 Question: Securing the revlet?

2009-10-30 Thread William de Smet
Hi Mark,

Can you give an example of how to do this?
I read your answer in Malte's question but really don't know how to use this.
I really want to avoid that any revlet will be distributed in the way
David describes.

Greetings,

William

2009/10/30 Mark Schonewille m.schonewi...@economy-x-talk.com:
 Hi David,

 You can't prevent people from downloading the revlet, but you can prevent
 them from using it. Yesterday, there was a question by Malte about including
 the current url in the HTML code in such a way that it can be checked by the
 revlet. You might want to look that up. If you use PHP or iRev, you can
 create an encrypted parameter based on the date and the location and decrypt
 this parameter in the revlet. That should be quite effective.

 --
 Best regards,

 Mark Schonewille

 Economy-x-Talk Consulting and Software Engineering
 Homepage: http://economy-x-talk.com
 Twitter: http://twitter.com/xtalkprogrammer

 Download Strõm Flow Chart Software
 http://flowproject.economy-x-talk.com

 On 30 okt 2009, at 13:56, David Coker wrote:

 Hello folks,
 This has probably been asked before but I was unable to find a
 reference to it...

 Is there (or will there be) any way to secure a revlet from being
 downloaded to the end user's hard drive?

 e.g. FileSave AsWeb Page Complete


 Best regards,
 David Coker


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

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


Re: How do I check which field has the focus on / is active?

2009-10-30 Thread William de Smet
Hi Jan  Klaus,

None of your answers works for me :-)
Must be something else then that is bugging me.
Could be the dentist! Got to go there within the hour because of an
awful toothache.

to be continued

Greetings,

William

2009/10/30 Klaus Major kl...@major.on-rev.com:
 Hi William,

 Hi there all,

 How do I check which has the focus on / is the active one?
 When I use: 'answer the selectedField' it shows me the correct field
 but when I put the next code into a button it doesn't work anymore:
 --
 on mouseUp
 put the name of the selectedField into tData

 if tData = number1
 then send mouseup to btn check
 ...
 end mouseUp

 ...
 put the name of the selectedField into tData
 ...

 If you look at the content of the variable tDate you will see something
 like this:
 FIELD Name of field here...
 !!!

 So if you change the line to:
 ...
 put the SHORT name of the selectedField into tData
 ...
 your script will run as exspected :-)

 --
 Thanks!
 Greetings, William

 Best

 Klaus

 --
 Klaus Major
 http://www.major-k.de
 kl...@major.on-rev.com

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

___
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: How do I check for two conditions to be true?

2009-09-27 Thread William de Smet
Thanks Devin and Jim for your answers.This helps me a lot!!

Greetings,

William

2009/9/25 Jim Ault jimaultw...@yahoo.com

 Just a little further down the logic trail

  put the the startangle of grc bar into barAng
   if ( the startangle of grc foo is 270 AND \
  ( barAng  90 OR barAng   180 ) \
  then
 -- barAng not in 2nd quadrant
   end if

 if ( the startangle of grc foo is 270 ) OR \
  ( the startangle of grc bar is 20 ) \
  then
  -- do stuff
   end if

 Hope this adds a bit to your fun.

 Jim Ault
 Las Vegas


 On Sep 25, 2009, at 10:51 AM, Devin Asay wrote:


 On Sep 24, 2009, at 1:34 PM, William de Smet wrote:

  Hello there,
 This must be an easy one but it got me puzzled: How do I check for two
 conditions to be true at the same time?
 I want to check the startangle of two graphics to be true: the startangle
 of
 grc 1 is 270  the startangle of grc 2 is 20
 Do I use if..then?
 on mouseup
 If the startangle of grc 1 is 270  the startangle of grc 2 is 20
 (???,
 this doesn't work)
 then ..(following code)
 end mouseup

 What to do with the check for the second graphic?
 How do I combine these?


 You're very close. Just use the keyword AND (not case senstive, just in
 upper case for clarity):

 if the startangle of grc foo is 270 AND \
   the startangle of grc bar is 20 then
  -- do stuff
 end if

 HTH

 Devin

 Devin Asay
 Humanities Technology and Research Support Center
 Brigham Young University

 ___
 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


 Jim Ault
 jimaultw...@yahoo.com




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

___
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


How do I check for two conditions to be true?

2009-09-25 Thread William de Smet
Hello there,
This must be an easy one but it got me puzzled: How do I check for two
conditions to be true at the same time?
I want to check the startangle of two graphics to be true: the startangle of
grc 1 is 270  the startangle of grc 2 is 20
Do I use if..then?
on mouseup
If the startangle of grc 1 is 270  the startangle of grc 2 is 20 (???,
this doesn't work)
then ..(following code)
end mouseup

What to do with the check for the second graphic?
How do I combine these?

Thanks!

greetings,

William de Smet
___
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


How I check if words from two fields match?

2009-09-18 Thread William de Smet
Hi there all,

I have a field number 1 with a word in it (put in by user)
Next I am putting a lot of words from a remote .txt file into another field
number 2.
How do I check if the word from fld number1 is within the words of fld
number2?

For now I use:
find string the text of fld number1 in fld number2

But how do I proceed?
When they match I want to use something like: answer Well done!

Greetings,

William
___
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: How I check if words from two fields match?

2009-09-18 Thread William de Smet
@ Craig  Richmond: thanks!

2009/9/18 dunb...@aol.com

 Richard's solution deals with strings, and would return true if the word
 you were checking for was yes, and the user entry data was I went home
 yesterday.

 If you want to make sure that only full words returned a valid match, just
 change the script to:

 on mouseUp
put fld Field1 into TWORD
put fld Field2 into TSTRING
 if TWORD is among the words of TSTRING then answer Well Done!
 end mouseUp

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

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


Re: 4.0 Webinar Invite - Its Today!

2009-06-23 Thread William de Smet
Same here!

2009/6/23 viktoras d. vikto...@ekoinf.net

 Is the webinar postponed? It displays: 'waiting for Organizer' :-)

 Viktoras


 Heather Nagey wrote:

 Dear List Folks,

 Have you signed up yet? The biggest and most important Revolution Webinar
 yet is happening today, Tuesday 23rd June, at 2.00pm EDT. That's 7pm if
 you're in the UK or on British Summer Time, 8pm for most of Europe, and if
 you're still not sure what time it is for you, sign up and the webinar
 software will tell you, or check Mark Waddingham's patent world time
 checker, here:

 http://samples.on-rev.com/world-clock/world_clock.irev

 Here's the link:

 https://www2.gotomeeting.com/register/920553874

 Here's why you want to be there:

 Revolution 4.0 is the breakthrough version that brings the power and
 ease-of-use of Rev scripting to the Internet via multimedia plugin and
 server scripting. Your hosts Runtime Revolution CEO Kevin Miller and
 Marketing Director Bill Marriott will show you live examples of stacks
 embedded in Web pages and communicating with server scripts also written in
 Rev.

 Additionally, we are ready to take off the wraps on some very exciting
 news we know you’ll love, so it’s not to be missed. This free event is open
 for all Revolution fans.

 After registering you will receive a confirmation email containing
 information about joining the Webinar.

 System Requirements
 PC-based attendees Required: Windows® 2000, XPHome,
 XP Pro, 2003 Server, Vista
 Macintosh®-based attendees Required: Mac OS® X 10.4 (Tiger®) or newer

 See you there!

 Warm Regards,

 Heather

 Heather Nagey
 Customer Services Manager
 Runtime Revolution Ltd
 http://www.runrev.com
 follow me on twitter
 http://www.twitter.com/lainopik

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


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

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


Re: How do I block the Windows keys?

2009-06-09 Thread William de Smet
Thanks for your replies but both Tiemo's and Marks suggestion doesn't work
:-(.Neither have I found a working solution for my first question. What
Craig suggested might work.
To be continued...

Greetings,

William


2009/6/8 dunb...@aol.com

 Maybe I misunderstood. Do you want to invoke by simply pressing both those
 keys, or by some other event which just checks to see if both keys are
 down?
 I do the first, Mark does the second.

 You can always do both ;-)

 Craig Newman


 In a message dated 6/8/09 1:17:25 PM, li...@futilism.com writes:


  on mouseUp
 if the controlKey is down and the commandKey is down then show img
  tImg
  end mouseUp
 
  Hope I've understood,
 




 **
 Download the AOL Classifieds Toolbar for local deals at your
 fingertips.
 (
 http://toolbar.aol.com/aolclassifieds/download.html?ncid=emlcntusdown0004
 )
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

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


How do I block the Windows keys?

2009-06-08 Thread William de Smet

Hi there,

I am looking for a way to block the Window keys (65388 and 65389) but  
is doesn't work because I don't know how:

on rawKeyDown theKeyNumber
   if theKeyNumber is 65388 then .
   if theKeyNumber is 65389 then .
end rawKeyDown

And is there a way to use both CTRL and COMMAND key at the same time?  
When these keys are down I want to show an image and when these keys  
are up again the image is hidden.


Thanks!

Greetings,

William
___
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: How to draw a line between objects or letters?

2009-06-06 Thread William de Smet
Thanks Graig, Mark  Kay,

You helped me a lot and again I learned a lot.
Wish I could do this all day :-)

Thanks!!

Greetings,

William

2009/6/6 Kay C Lan lan.kc.macm...@gmail.com

 On Sat, Jun 6, 2009 at 3:17 AM, William de Smet williamdes...@gmail.com
 wrote:

  Yes, they are in different fields.But to make it more difficult: it can
 be
  images as well that I want to use (Look for the same image?).
  Maybe this is too difficult to do?
 

 William, the image I get from your description is something for very young
 children, to check they correctly identify a letter or image on the left
 side of the screen with multiple answers, letters or images, on the right
 hand side of the screen. The question letter/image on the left will always
 be in the same place, and the three or four answers letter/images will
 always be in the same place on the right.

 If this is sort of what your after then read on, if not, completely forget
 it :-)

 Why not use buttons? You can leave the name of all the buttons the same and
 simply set their Label to the required letter or set the Image. With the
 default setting you can test if a student can match A to a, or if you set
 caseSensitive to true you can test for exact matches.

 If the buttons don't move then it is simple to draw all the lines in place
 beforehand and simply hide them. When a student presses the right sequence
 of buttons, show the appropriate line (graphic). With a sensible naming
 convention is should be relatively easy to check that the correct graphic
 has been shown. ie if button three contains the correct answer then you
 could check that graphic three is visible.

 Even if the buttons moved, it's pretty easy to determine the location of
 each of the corners, which are the closest corners and draw a line
 dynamically between those corners.

 Even if there were far more than just a few buttons involved, ie you wanted
 to do something like a join-the-dots drawing with 50+ connections, and have
 all the connections made in the correct sequence, I think I'd still stick
 with buttons.

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

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


Re: How to draw a line between objects or letters?

2009-06-06 Thread William de Smet
Oops, that is Craig with a C! Sorry!!

2009/6/6 William de Smet williamdes...@gmail.com


 Thanks Graig, Mark  Kay,

 You helped me a lot and again I learned a lot.
 Wish I could do this all day :-)

 Thanks!!

 Greetings,

 William

 2009/6/6 Kay C Lan lan.kc.macm...@gmail.com

 On Sat, Jun 6, 2009 at 3:17 AM, William de Smet williamdes...@gmail.com
 wrote:

  Yes, they are in different fields.But to make it more difficult: it can
 be
  images as well that I want to use (Look for the same image?).
  Maybe this is too difficult to do?
 

 William, the image I get from your description is something for very young
 children, to check they correctly identify a letter or image on the left
 side of the screen with multiple answers, letters or images, on the right
 hand side of the screen. The question letter/image on the left will always
 be in the same place, and the three or four answers letter/images will
 always be in the same place on the right.

 If this is sort of what your after then read on, if not, completely forget
 it :-)

 Why not use buttons? You can leave the name of all the buttons the same
 and
 simply set their Label to the required letter or set the Image. With the
 default setting you can test if a student can match A to a, or if you set
 caseSensitive to true you can test for exact matches.

 If the buttons don't move then it is simple to draw all the lines in place
 beforehand and simply hide them. When a student presses the right sequence
 of buttons, show the appropriate line (graphic). With a sensible naming
 convention is should be relatively easy to check that the correct graphic
 has been shown. ie if button three contains the correct answer then you
 could check that graphic three is visible.

 Even if the buttons moved, it's pretty easy to determine the location of
 each of the corners, which are the closest corners and draw a line
 dynamically between those corners.

 Even if there were far more than just a few buttons involved, ie you
 wanted
 to do something like a join-the-dots drawing with 50+ connections, and
 have
 all the connections made in the correct sequence, I think I'd still stick
 with buttons.

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



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


How to draw a line between objects or letters?

2009-06-05 Thread William de Smet
Hi there,
I found some script on the list on how to draw a line:
---

*on* mouseUp

 *create* grc

*set* style of last grc to line

*set* points of last grc to 34,120  *return*  542,126

*end* mouseUp

---


As a teacher I am looking for a way to do this in an exercise: draw a line
to the same letter!

So lets's say there are two letters A and the student needs to draw a line
between them.

It also needs to check whether the drawn line is right.

Can anyone help me with this one?


Greetings!


William
___
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: How to draw a line between objects or letters?

2009-06-05 Thread William de Smet
Hi Greg,
Thanks for your answer but I don't get it :-( !!
Let's say on my screen there is a letter A on the left and the letters A,B.C
on the right.
The exercise would be to draw a line between the same letters.

How would I use foundLoc in this situation?
I like the student to click twice (once on the left letter A and once on one
of the letters on the right side) and then there is a line drawn between the
letters.

Thanks!

Greetings,

William

2009/6/5 dunb...@aol.com

 You can use the foundLoc function to get the coordinates of the
 characters you are interested in, and the draw a line from one to the
 other.

 The dicey part is figuring out which (in your example) two A's you want if
 there are many in the text. Of course you can use the mouse to explicitly
 locate any two of them.

 is this what you meant?

 Craig Newman


 **
 We found the real ‘Hotel California’ and the ‘
 Seinfeld’ diner. What will you find? Explore WhereItsAt.com.
 (
 http://www.whereitsat.com/#/music/all-spots/355/47.796964/-66.374711/2/Youve-Found-Where-Its-
 At?ncid=emlcntnew0007)
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

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


Re: How to draw a line between objects or letters?

2009-06-05 Thread William de Smet
Yes, they are in different fields.But to make it more difficult: it can be
images as well that I want to use (Look for the same image?).
Maybe this is too difficult to do?



2009/6/5 dunb...@aol.com

 william.

 Are the two letters in different fields?

 Craig Newman

 In a message dated 6/5/09 1:54:34 PM, williamdes...@gmail.com writes:


  tters on the right side) and then there is a line drawn between the
  letters.
 




 **
 We found the real ‘Hotel California’ and the ‘Seinfeld’
 diner. What will you find? Explore WhereItsAt.com.
 (
 http://www.whereitsat.com/#/music/all-spots/355/47.796964/-66.374711/2/Youve-Found-Where-Its-At?ncid=eml
 cntnew0007)
 ___
 use-revolution mailing list
 use-revolution@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/mailman/listinfo/use-revolution

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


How to put the text of several TXT files in just one text field with a single mouseclick?

2009-02-05 Thread William de Smet
Hi there,
Say I have several .TXT files in a directory and I want the contents of them
all to be shown in just one text field with just one mouseclick.
I know how to do this with one .TXT file but not with say 30 files.
And all these files have different names.

Any idea's or scripts are welcome!

Greetings,

William
___
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: Button Basher

2009-02-04 Thread William de Smet
Hi Richmond,
I checked out the latest version but on several cards the button doesn't
resize and the preset colors don't work either.
Just to let you know :-).

greetings,

William


2009/2/4 Richmond Mathewson gerada...@yahoo.com

 Bernd Niggemann has been at it again; with wonderful results:

 Just uploaded the latest version.

 sincerely, Richmond Mathewson.

 

 A Thorn in the flesh is better than a failed Systems Development Life
 Cycle.
 



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

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


Re: Button Basher

2009-02-04 Thread William de Smet
Hi Richmond,
Tried it again and it works perfectly
Sorry for the inconvenience but I was scripting all morning and I had 'Show
invisible objects' active on RR 2.7.4 on Mac OSX 10.4.11 when I opened your
stack.

greetings,

William



2009/2/4 Richmond Mathewson gerada...@yahoo.com

 William de Smet scrieved:

 on several cards the button doesn't
 resize and the preset colors don't work either.

 As soon as I saw your posting I opened up the latest version,
 i.e. the one I uploaded about 40 minutes ago, just before I went out
 to buy some bread - despite my semi-divine status I still have to eat :)

 1. on the G4 Mac: it worked; no problems with either
 resize or preset colours (DreamCard 2.6.1),

 1 and a half. on the G4 Mac: it worked; no problems with either
 resize or preset colours (Metacard 2.6.6),

 2. on the Ubuntu Pentium 4; it worked; no problems with either
 resize or preset colours (Runtime Revolution 2.2.1),

 3. on Windows XP inside VPC;  it worked; no problems with either
 resize or preset colours (Runtime Revolution 2.0.1),
 Mind you, RR 2.0.1 didn't go for some of the other code in a big
 way; but let's hope I'm the last person on the planet using a
 version that ancient.

 So, I would be extremely grateful if you could download the latest
 version/build and try it out; should there still be problems I would
 be very grateful if you could let me know the following:

 1. Your Operating System,

 2. The version of RR and/or Metacard you tried the stack with.

 Bernd has now set the gradient sliders to a default of 75 (i.e. 75%
  transparent); this means that on some displays the colours may be
 a bit hard to see (c.f. my recent posting about middle-aged eyes).

 sincerely, Richmond Mathewson.

 

 A Thorn in the flesh is better than a failed Systems Development Life
 Cycle.
 



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

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


Strange cursor behavior on several fields

2009-02-01 Thread William de Smet
Hi there all,
I got some 'strange behavior' of the cursor after  'on mouseup':
the cursor keeps jumping from field to field but not all fields.
I tried to cope with it by setting the focus on one field but no result
either.
I don't see why this happens. Anyone knows?

*on* mouseUp

   *if* the icon of me = 1217

   *then* *set* the icon of me to 1223

   *else* *set* the icon of me to 1217

   *repeat* with x = 1 to 50

  *put* tPrefix  x into tVarName

  *if* the lockText of fld tVarName = true

  *then* *set* the lockText of fld tVarName to false

   *then* *set* the listBehavior of fld tVarName to false

   *then* *set* the showborder of fld tVarName to true

   *then* *set* the autohilite of fld tVarName to true

   *--focus on fld b1*

*else*

  *set* the lockText of fld tVarName to true

  *set* the showborder of fld tVarName to false

  *set* the listBehavior of fld tVarName to true

  *set* the autohilite of fld tVarName to false

  *end* *if*

   *end* *repeat*

*end* mouseUp


Greetings,


William
___
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 cursor behavior on several fields

2009-02-01 Thread William de Smet
Thanks George, but yes the tPrefix is a local variable!
William

2009/2/1 George C Brackett gbrack...@luceatlux.com

 One tiny thought: tPrefix isn't initialized unless it's a script local
 variable.

 George


 On Feb 1, 2009, at 8:51 AM, William de Smet wrote:

 Hi there all,
 I got some 'strange behavior' of the cursor after  'on mouseup':
 the cursor keeps jumping from field to field but not all fields.
 I tried to cope with it by setting the focus on one field but no result
 either.
 I don't see why this happens. Anyone knows?

 *on* mouseUp

  *if* the icon of me = 1217

  *then* *set* the icon of me to 1223

  *else* *set* the icon of me to 1217

  *repeat* with x = 1 to 50

 *put* tPrefix  x into tVarName

 *if* the lockText of fld tVarName = true

 *then* *set* the lockText of fld tVarName to false

  *then* *set* the listBehavior of fld tVarName to false

  *then* *set* the showborder of fld tVarName to true

  *then* *set* the autohilite of fld tVarName to true

  *--focus on fld b1*

 *else*

 *set* the lockText of fld tVarName to true

 *set* the showborder of fld tVarName to false

 *set* the listBehavior of fld tVarName to true

 *set* the autohilite of fld tVarName to false

 *end* *if*

  *end* *repeat*

 *end* mouseUp


 Greetings,


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


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

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


How to make sounds as small as possible?

2009-01-29 Thread William de Smet
Hi there,
I use spoken words and sentences in one of my apps.
There will be a lot of these so I am probably talking about a lot of MB.
I use Quicktime Pro on my Mac to record and edit them.
When exporting them I get a lot of choices and I noticed the size and sound
difference on 16 bit, 8 bit, stereo, mono, aiff, wav

What is the best way to do this?

Thanks!

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


How do I import and set images based upon their width and height?

2009-01-28 Thread William de Smet
Hi there,
I am trying to import images and put them into their own 'dummyimage'  based
upon their width and height.
The 'dummyimages' are called Photo and Photo2.
It doesn't work!
Can someone help me with this one?

*on* mouseUp

   *put* empty into img Photo

  *put* empty into img Photo2

  *answer* file Choose a photo:

  *if* it = empty

  *then* *exit* mouseUp

  *put* url (binfile:  it) into tPhoto

  *put* the width of the last image into tWidth

  *put* the height of the last image into tHeight

  *if* tWidth = tHeight

  *then* *put* tPhoto into img Photo2

  *if* tWidth = tHeight

  *then* *put* tPhoto into img Photo
*end* mouseUp

Thanks!

Greetings,

William (from a very cold Holland)
___
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: How do I import and set images based upon their width and height?

2009-01-28 Thread William de Smet
Hi Terry and Mark,
Thanks for your replies.
I will give it a try later today.
Mark I will start using the Dutch forum more often and it is less cold than
some time ago but when bringing my son to school this morning at 08.15 my
hands were freezing off :-)

Greetings!

2009/1/28 Mark Schonewille m.schonewi...@economy-x-talk.com

 Hi William,

 I used this to adjust images to the card size:

 function rescale theImgWidth,theImgHeight,theCdWidth,theCdHeight
  if theCdWidth/theImgWidth  theCdHeight/theImgHeight then
put theCdWidth / theImgWidth into myRatio
  else
put theCdHeight / theImgHeight into myRatio
  end if
  put theImgWidth * myRatio into myNewWidth
  put theImgHeight * myRatio into myNewHeight
  return myNewWidth,myNewHeight
 end rescale

 The parameters theImgWidth and theImgHeight are the formattedWidth and
 formattedHeight of your image object and theCdWidth and theCdHeight are the
 width and height of the destination area. The function returns the new width
 and height for your image object.

 I didn't think it is that cold here. It is almost 20 degrees warmer than
 some time ago. Btw maybe you should have asked in the Dutch forum... ;-)

 --
 Best regards,

 Mark Schonewille

 Economy-x-Talk Consulting and Software Engineering
 http://economy-x-talk.com
 http://www.salery.biz
 Dutch forum: http://runrev.info/rrforum

 We are always looking for new projects! Feel free to contact us to discuss
 your custom software project!


 On 28 jan 2009, at 11:07, William de Smet wrote:

  Hi there,
 I am trying to import images and put them into their own 'dummyimage'
  based
 upon their width and height.
 The 'dummyimages' are called Photo and Photo2.
 It doesn't work!
 Can someone help me with this one?

 *on* mouseUp

  *put* empty into img Photo

  *put* empty into img Photo2

  *answer* file Choose a photo:

  *if* it = empty

  *then* *exit* mouseUp

  *put* url (binfile:  it) into tPhoto

  *put* the width of the last image into tWidth

  *put* the height of the last image into tHeight

  *if* tWidth = tHeight

  *then* *put* tPhoto into img Photo2

  *if* tWidth = tHeight

  *then* *put* tPhoto into img Photo
 *end* mouseUp

 Thanks!

 Greetings,

 William (from a very cold Holland)



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

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


Truly rotating an image?

2009-01-16 Thread William de Smet
Hi all,
I am trying to rotate a PNG image and having a lot of difficulties with it.
Of course I tried things like:
- set the angle of img x to x
- rotate img x by x
- set the imageData of image x to the imageData of image x

What I want is true rotatation. So on mouseclicks the image rotates say like
5 degrees each time.
Is this possible without loosing the quality of the original img?

Greetings,

William
___
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: How to change the layer of the image in a group?

2009-01-05 Thread William de Smet
Hi Jan,
Now it works as planned!
And above all: learned a new thing :-).

Greetings,

William

2009/1/5 Jan Schenkel janschen...@yahoo.com

 --- William de Smet williamdes...@gmail.com wrote:
  Hi there,
  I have serveral images in a group and I want on
  dragging to change its
  layer.
  When not grouped it works fine: set the layer of me
  to 100
  But when grouped I get an error: card not open or
  object in group.
 
  How do I change the layer of the image in a group?
 
  greetings,
 
  William
 

 Hi William,

 Check out the 'relayerGroupedControls' global property
 in the docs - by default, it is set to false; set it
 to true, and you can relayer controls that are in a
 group.
 Bear in mind, however, that it can get a little
 'hairy' as it also means you can move items in and out
 of groups, which may not always be what you want - so
 you'll have to bear in mind the layer of the group and
 the number of controls in the group.

 HTH,

 Jan Schenkel.

 Quartam Reports  PDF Library for Revolution
 http://www.quartam.com

 =
 As we grow older, we grow both wiser and more foolish at the same time.
  (La Rochefoucauld)



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

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


Strange scrollbar behaviour on Windows (OSX is fine)

2009-01-05 Thread William de Smet
Hi there,
I got several groups with images and sliders in it.
The sliders have all different names and so do the groups.
I am using Rev 2.7.4 on OSX

I got this strange thing after making a standalone: the slider scrollbar
doesn't work right on/doesn't show right Windows but perfectly on OSX.
When I just put in a slider (with no code) it shows on Windows and you can
slide it.
Am I overseeing anything?
Anyone any idea?

Thanks!

Greetings,

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


How to change the layer of the image in a group?

2009-01-04 Thread William de Smet
Hi there,
I have serveral images in a group and I want on dragging to change its
layer.
When not grouped it works fine: set the layer of me to 100
But when grouped I get an error: card not open or object in group.

How do I change the layer of the image in a group?

greetings,

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


Clone image trouble?

2009-01-02 Thread William de Smet
Hi there all,
For my son I am starting to create an app in which he use 'stamps' to create
his own drawing.
So far I have some small icons (graphics) and a dummy graphic.
I started with the following code:

-

on mouseup

  set text of img dummy to the text of the me

  clone img dummy

end mouseup

-

The dummy graphic can be moved around with 'grab me'.

I am trying to delete the cloned image with:

---

delete image dummy (I put this in the dummy image as well)

---

but then the original dummy graphic is deleted and not the cloned one
probably because the cloned one is the active image?

What am I missing?

I want the dummy image to stay as dummy/template image.


Greetings,


William
___
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: Clone image trouble?

2009-01-02 Thread William de Smet
Hi Eric and Jim,
It is so obvious it has to do with the name and of course your suggestion
works.
After playing with it I got the idea of resizing the 'stamp'.
I got a scrollbar to do this but it only works if I limit it to just one
stamp.
So I grouped the whole thing (stamp and scrollbar) and cloned it.
The cloning works of course :-)  but now I am stuck with the name again.
The new grouped controlls get the same name and the resizing and dragging
doesn't work anymore.

How do I get a 'unique' name for the grouped controls while cloning the
templategroup?

Thanks!

Greetings,

William

2009/1/2 Jim Sims s...@ezpzapps.com


 On Jan 2, 2009, at 4:43 PM, William de Smet wrote:

  Hi there all,
 For my son I am starting to create an app in which he use 'stamps' to
 create
 his own drawing.
 So far I have some small icons (graphics) and a dummy graphic.
 I started with the following code:


 snip

  delete image dummy (I put this in the dummy image as well)

 ---

 but then the original dummy graphic is deleted and not the cloned one
 probably because the cloned one is the active image?

 What am I missing?

 I want the dummy image to stay as dummy/template image.



 From the docs:
 If the object is a control, its copy is placed on the current card, 32
 pixels below and to the right of the original object. The copy's name and
 other properties are the same as those of the original.


 Maybe use:

 on newImage
 --  assign name for new image here
 end newImage

 That help?

 sims

 s...@ezpzapps.com
 Skype:   sims.jim
 iChat:   techietours
 __
 Opportunity by Design





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

___
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: Backup sort of thing?

2008-12-30 Thread William de Smet
Bonsoir Eric,
I just found what I meant. Richmond got a stack TEXTIFIER . It is no longer
in his space on REV so I contacted him offlist.
Thanks for your reply.

Have a happy new year!

Greetings,

William

2008/12/30 Eric Chatonet eric.chato...@sosmartsoftware.com

 Bonsoir William,

 Le 29 déc. 08 à 22:10, William de Smet a écrit :

  There used to be a thread about saving .rev files as .txt files.


 I am afraid you are confused:
 Stacks files contain binary data then it does not appear possible to save
 them as text files that are not able to keep binaries but ASCII text only.

 Best regards from Paris,
 Eric Chatonet.
 
 Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
 Email: eric.chato...@sosmartsoftware.com/
 


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

___
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: Backup sort of thing?

2008-12-30 Thread William de Smet
Hi Richard,
I made an App in which customers and clothes are stored (all on their own
card).
I wanted a way to backup the 'store' in TXT files but today I decided to
backup the whole stack on closing the App.
It is primarily needed as backup in case the 'store' gets corrupted.

Any ideas are welcome!

Greetings,

William


2008/12/30 Richard Gaskin ambassa...@fourthworld.com

 William de Smet wrote:

 There used to be a thread about saving .rev files as .txt files.
 I don't know whether it was a backup-sort-of-thing anymore but is there
 anyone out there who knows what I am talking about?
 I couldn't find it on the list.


 We could probably help find a solution fresh.

 What would you like to do?

 --
  Richard Gaskin
  Fourth World
  Revolution training and consulting: http://www.fourthworld.com
  Webzine for Rev developers: http://www.revjournal.com

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

___
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


Backup sort of thing?

2008-12-29 Thread William de Smet
Hi all,
There used to be a thread about saving .rev files as .txt files.
I don't know whether it was a backup-sort-of-thing anymore but is there
anyone out there who knows what I am talking about?
I couldn't find it on the list.

Greetings,

William
___
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: Is it possible to use 'sheet' stack and then go to a specific card of that stack?

2008-12-14 Thread William de Smet
Hi Mark,
One again you're my hero for the day!
I trtied several things and now it works:

*on **mouseup*

*  put **fld dr into tNaam*

  if the hilitedLine is not empty

  then put the value of the clickline into tData

  --then go card tData of stack tNaam

  -- then sheet stack tNaam

  --then go card tData of stack tNaam

  then go cd tData of stack tNaam as sheet

end if

end mouseup


Sometimes the easy ones are the most difficult :-)

I was scripting all day and couldn't get it to work anymore last night.


Thanks again!


Greetings,


William



2008/12/14 Mark Schonewille m.schonewi...@economy-x-talk.com

 Hi William,

 go cd 2 of stack bla as sheet

 works fine for me. I think that the card reference used in your script is
 incorrect. What exactly do you have in your field?

 --
 Best regards,

 Mark Schonewille

 Economy-x-Talk Consulting and Software Engineering
 http://economy-x-talk.com
 http://www.salery.biz
 Dutch forum: http://runrev.info/rrforum

 We are always looking for new projects! Feel free to contact us to discuss
 your custom software project!


 On 13 dec 2008, at 19:51, William de Smet wrote:

  Hi there,
 I wonder if it is possible to use 'sheet' stack and then go to a specific
 card of that stack?
 I call the cards of a stack in a field and when I click on it it will open
 the card. This works fine!
 Because I like 'sheet' stack on OSX I'd like to combine both.
 Is this possible?

 When I use the code below it doesn't work:

 then put the value of the clickline into tData

  then sheet stack tNaam

  then go card tData of stack tNaam



 Greetings,


 William 'MacSmet' de Smet


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

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


Is it possible to use 'sheet' stack and then go to a specific card of that stack?

2008-12-13 Thread William de Smet
Hi there,
I wonder if it is possible to use 'sheet' stack and then go to a specific
card of that stack?
I call the cards of a stack in a field and when I click on it it will open
the card. This works fine!
Because I like 'sheet' stack on OSX I'd like to combine both.
Is this possible?

When I use the code below it doesn't work:

then put the value of the clickline into tData

  then sheet stack tNaam

  then go card tData of stack tNaam



Greetings,


William 'MacSmet' de Smet
___
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: I want to go to a different card of another stack. This works but not always in my script?!

2008-10-17 Thread William de Smet
Bonjour Eric,

When I started learning and using Rev I got a stack in which it was
done this way.
So I thought this was the only way and the right way to do it.
You showed and learned me today that it can and should be done differently.
Still learning Rev every day and loving it (me being a teacher myself).

Greetings,

William 'MacSMet' de Smet

2008/10/16 Eric Chatonet [EMAIL PROTECTED]:
 Bonsoir William,

 Le 16 oct. 08 à 21:12, William de Smet a écrit :

if the hilite of btn Y of cd i of stack X is true
then put the short name of cd i of stack X into ab
then put ab into fld C of stack X

 I go late in this thread but there is something I don't understand in your
 code:
 What is this 'if' followed by two 'then'?
 There is something weird here ;-)

 Every 'if' can have a 'then' only (and possibly and 'end if'):
 I would understand:

 if the hilite of btn Y of cd i of stack X [is true] then -- *
put the short name of cd i of stack X into ab
   put ab into fld C of stack X
 end if

 But, to be frank, not the form you use.

 *  I put brackets here to indicate that you could simplify your code and
 omit 'is true':
 A condition is always evaluated to true or false then adding 'is true' is
 redundant :-)

 Best regards from Paris,
 Eric Chatonet.
 
 Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
 Email: [EMAIL PROTECTED]/
 


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

___
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


I want to go to a different card of another stack. This works but not always in my script?!

2008-10-16 Thread William de Smet
Hello there,

I have a main stack with serveral substacks.
I call the cardnames (from a substack) with: put the cardnames of
stack X into fld Y.
I set up the field as a clickable list with:
on mouseUp
  if the hilitedLine is not empty
  then put the value of the clickline into tData
  then go card tData of stack X
  end if
end mouseUp

This works but only when the cardnames are the same as the card ID's.
As soon as I change the cardnames change into a name like ' apple' the
script doesn't work anymore.
Probably the value of the clickline is related to the card ID's (I guess!).

How do I change this so I can have normal cardnames?
And I think it's kind a fancy when I use: sheet stack and then go to
the right card.
I guess that is impossible?

Thanks in advance!

greetings,

William 'MacSmet' de Smet
___
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: I want to go to a different card of another stack. This works but not always in my script?!

2008-10-16 Thread William de Smet
Thanks Klaus,

it works now but I want to define it to show not all cards but only
the ones with a hilited btn on it.
on mouseUp
  repeat with i =1 to the number of cards of stack X
if the hilite of btn Y of cd i of stack X is true
then put the short name of cd i of stack X into ab
then put ab into fld C of stack X
end if
end repeat
end mouseUp

It only shows the last cd with the hilited btn so there must be
something wrong with my repeat script.
Any thought on that?

Greetings!!

2008/10/16 Klaus Major [EMAIL PROTECTED]:
 Hi William,

 Hello there,

 I have a main stack with serveral substacks.
 I call the cardnames (from a substack) with: put the cardnames of
 stack X into fld Y.
 I set up the field as a clickable list with:
 on mouseUp
  if the hilitedLine is not empty
  then put the value of the clickline into tData
  then go card tData of stack X
  end if
 end mouseUp

 try this:
 on mouseUp
  put the selectedtext of me into st
  if st = empty then
 exit mouseup
  end if
  go cd st of stack X
 end mouseUp

 This works but only when the cardnames are the same as the card ID's.
 As soon as I change the cardnames change into a name like ' apple' the
 script doesn't work anymore.
 Probably the value of the clickline is related to the card ID's (I
 guess!).

 How do I change this so I can have normal cardnames?
 And I think it's kind a fancy when I use: sheet stack and then go to
 the right card.
 I guess that is impossible?

 Thanks in advance!

 greetings,

 William 'MacSmet' de Smet

 Best

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


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

___
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: I want to go to a different card of another stack. This works but not always in my script?!

2008-10-16 Thread William de Smet
Hello all,

I knew it had to be easy and I was overlooking something:
then put ab  cr after the last item of fld C of stack X
Now it shows every cd with the hilited btn :-)

Greetings!



2008/10/16 William de Smet [EMAIL PROTECTED]:
 Thanks Klaus,

 it works now but I want to define it to show not all cards but only
 the ones with a hilited btn on it.
 on mouseUp
  repeat with i =1 to the number of cards of stack X
if the hilite of btn Y of cd i of stack X is true
then put the short name of cd i of stack X into ab
then put ab into fld C of stack X
end if
end repeat
 end mouseUp

 It only shows the last cd with the hilited btn so there must be
 something wrong with my repeat script.
 Any thought on that?

 Greetings!!

 2008/10/16 Klaus Major [EMAIL PROTECTED]:
 Hi William,

 Hello there,

 I have a main stack with serveral substacks.
 I call the cardnames (from a substack) with: put the cardnames of
 stack X into fld Y.
 I set up the field as a clickable list with:
 on mouseUp
  if the hilitedLine is not empty
  then put the value of the clickline into tData
  then go card tData of stack X
  end if
 end mouseUp

 try this:
 on mouseUp
  put the selectedtext of me into st
  if st = empty then
 exit mouseup
  end if
  go cd st of stack X
 end mouseUp

 This works but only when the cardnames are the same as the card ID's.
 As soon as I change the cardnames change into a name like ' apple' the
 script doesn't work anymore.
 Probably the value of the clickline is related to the card ID's (I
 guess!).

 How do I change this so I can have normal cardnames?
 And I think it's kind a fancy when I use: sheet stack and then go to
 the right card.
 I guess that is impossible?

 Thanks in advance!

 greetings,

 William 'MacSmet' de Smet

 Best

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


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


___
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: How do I prevent a Key being pressed down all the time?

2008-09-28 Thread William de Smet
Hi Bernd,

You were right about the local variable.
Now it works perfectly: if you keep the arrowkey pressed down it is
only send once!

Thanks!

And yes, the race is on again!

greetings,

William

2008/9/27 BNig [EMAIL PROTECTED]:

 Hi Andreas and William,

 Andreas that is very nifty and works for me, it seems though you left out
 the local variable.
 William you would have to script the other arrowKeys if you use them in your
 program.

 This works for me in a stack script:

 -
 local pressed
 on arrowKey theKey
if pressed =  then put false into pressed -- first round
if (theKey = Right) and (not pressed) then
move img dummy relative 30,0
put true into pressed
end if
 end arrowKey

 on rawKeyUp keycode
if keycode = 65363 then put false into pressed
 end rawKeyUp
 ---

 cheers

 Bernd
 --
 View this message in context: 
 http://www.nabble.com/How-do-I-prevent-a-Key-being-pressed-down-all-the-time--tp19701916p19706261.html
 Sent from the Revolution - User mailing list archive at Nabble.com.

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

___
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


How do I prevent a Key being pressed down all the time?

2008-09-27 Thread William de Smet
Hello all,

For my little son (4 years of age) I am making a little car game in
which he can move a car around the screen using the arrowkeys.
I made a few obstakels (walls) so he has to move around them but when
he hits them he is send back to the beginposition.
Not to difficult for me to make :-)  and a lot of joy for him!!

But now I found a 'bug' in my own game :-(
When you keep the arrowkeys pressed down (instead of just one press)
and hits an obstakel there is now hit and he is not send back to the
beginposition.
How do I prevent this?

I use the following:
if theKeyNumber is 65363 --rechts
then move img dummy relative 30,0

if intersect (img dummy, grc muur)
then send mouseup to btn start -- btn start send the car beck to its
beginposition

Thanks!

William
___
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: How do I prevent a Key being pressed down all the time?

2008-09-27 Thread William de Smet
Hello Eric and Andreas,

My problem is that the arrowkey is hold down and not being pressed
quickly several times.
So there is no keyup.
Or do I not get what you mean?

The flushEvents doesn't work either :-(

greetings,

William



2008/9/27 Andres Martinez [EMAIL PROTECTED]:
 Hello William

 An easier way to use the arrow keys is whit the arrowKey handler. But
 unfortunately it keeps being sent while the key is pressed.

 What you need is a way to check for the key being released. The following
 code will do the trick

 ON arrowKey theKey
   if (theKey = Right) and (not pressed) then
 move img dummy relative 30,0
  put true into pressed
   end if
 END arrowKey

 ON rawKeyUp keycode
   if keycode = 65363 then put false into pressed
 end rawKeyUp

 Regards,
 Andres Martinez
 www.baKno.com

 On Sep 27, 2008, at 7:32 AM, William de Smet wrote:

 Hello all,

 For my little son (4 years of age) I am making a little car game in
 which he can move a car around the screen using the arrowkeys.
 I made a few obstakels (walls) so he has to move around them but when
 he hits them he is send back to the beginposition.
 Not to difficult for me to make :-)  and a lot of joy for him!!

 But now I found a 'bug' in my own game :-(
 When you keep the arrowkeys pressed down (instead of just one press)
 and hits an obstakel there is now hit and he is not send back to the
 beginposition.
 How do I prevent this?

 I use the following:
 if theKeyNumber is 65363 --rechts
 then move img dummy relative 30,0

 if intersect (img dummy, grc muur)
 then send mouseup to btn start -- btn start send the car beck to its
 beginposition

 Thanks!

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

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

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


Re: How do I prevent a Key being pressed down all the time?

2008-09-27 Thread William de Smet
Hi Andreas,

Yes I did use your script. To avoid issues I used it into a new stack.
When I use my script in a button everything works fine but when using
the arrowkeys it doesn't because, like I said, the key is hold down
the whole time.
The script for the arrow keys is used as a stack script.

 William


2008/9/27 Andres Martinez [EMAIL PROTECTED]:
 Hello William

 Did you try the solution I proposed?

 Regards,
 Andres Martinez
 www.baKno.com

 On Sep 27, 2008, at 3:11 PM, William de Smet wrote:

 Hello Eric and Andreas,

 My problem is that the arrowkey is hold down and not being pressed
 quickly several times.
 So there is no keyup.
 Or do I not get what you mean?

 The flushEvents doesn't work either :-(

 greetings,

 William



 2008/9/27 Andres Martinez [EMAIL PROTECTED]:

 Hello William

 An easier way to use the arrow keys is whit the arrowKey handler. But
 unfortunately it keeps being sent while the key is pressed.

 What you need is a way to check for the key being released. The following
 code will do the trick

 ON arrowKey theKey
  if (theKey = Right) and (not pressed) then
   move img dummy relative 30,0
put true into pressed
  end if
 END arrowKey

 ON rawKeyUp keycode
  if keycode = 65363 then put false into pressed
 end rawKeyUp

 Regards,
 Andres Martinez
 www.baKno.com

 On Sep 27, 2008, at 7:32 AM, William de Smet wrote:

 Hello all,

 For my little son (4 years of age) I am making a little car game in
 which he can move a car around the screen using the arrowkeys.
 I made a few obstakels (walls) so he has to move around them but when
 he hits them he is send back to the beginposition.
 Not to difficult for me to make :-)  and a lot of joy for him!!

 But now I found a 'bug' in my own game :-(
 When you keep the arrowkeys pressed down (instead of just one press)
 and hits an obstakel there is now hit and he is not send back to the
 beginposition.
 How do I prevent this?

 I use the following:
 if theKeyNumber is 65363 --rechts
 then move img dummy relative 30,0

 if intersect (img dummy, grc muur)
 then send mouseup to btn start -- btn start send the car beck to its
 beginposition

 Thanks!

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

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

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

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

___
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


How do I export an image with 'enforced' .jpg extension?

2008-09-17 Thread William de Smet
Hi there,
For most of you this is an easy one!

I am trying to save an image and it works as long as I don't remove the
extension while saving.
If  I do this then OSX doesn't recognize the file!
What do I need to do to make it work?



on mouseUp

  set the fileType to oglejpeg

  ask file Bewaar foto als: with *.jpg

  export img foto to file it  as JPEG

  answer De foto is bewaard!

end mouseup


Greetings,


William
___
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: How do I export an image with 'enforced' .jpg extension?

2008-09-17 Thread William de Smet
Hi Mark,
Now it works on OSX! Thanks!
Does Windows recognize the file as well or does it need .jpg as extension
then?

Groeten!

2008/9/17 Mark Schonewille [EMAIL PROTECTED]

 Hi William,

 This might help:

   set the fileType to JPEG

 or perhaps ogleJPEG

 --
 Best regards,

 Mark Schonewille

 Economy-x-Talk Consulting and Software Engineering
 http://economy-x-talk.com
 http://www.salery.biz
 Dutch forum: http://runrev.info/rrforum/

 Benefit from our inexpensive hosting services. See
 http://economy-x-talk.com/server.html for more info.


 On 17 sep 2008, at 13:35, William de Smet wrote:

  Hi there,
 For most of you this is an easy one!

 I am trying to save an image and it works as long as I don't remove the
 extension while saving.
 If  I do this then OSX doesn't recognize the file!
 What do I need to do to make it work?



 on mouseUp

  set the fileType to oglejpeg

  ask file Bewaar foto als: with *.jpg

  export img foto to file it  as JPEG

  answer De foto is bewaard!

 end mouseup


 Greetings,


 William


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

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


Re: How do I export an image with 'enforced' .jpg extension?

2008-09-17 Thread William de Smet
Ja Mark heb net het NL forum bekeken!Ik zal me snel eens registreren. Iemand
moet de eerste zijn :-)


2008/9/17 Mark Schonewille [EMAIL PROTECTED]

 Hoi William,

 Windows will need a .jpg or .jpeg extension. Sometimes, I check this and
 show an error message if the user deleted the extension, but sometimes I
 leave it to the user whether or not to add the extension, depending on the
 kind of application I am making.

 Heb je inmiddels het nieuwe Nederlandse forum al gezien? ;-)

 --
 Best regards,

 Mark Schonewille

 Economy-x-Talk Consulting and Software Engineering
 http://economy-x-talk.com
 http://www.salery.biz
 Dutch forum: http://runrev.info/rrforum/

 Benefit from our inexpensive hosting services. See
 http://economy-x-talk.com/server.html for more info.

 On 17 sep 2008, at 14:07, William de Smet wrote:

  Hi Mark,
 Now it works on OSX! Thanks!
 Does Windows recognize the file as well or does it need .jpg as extension
 then?

 Groeten!


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

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


Re: How do I export an image with 'enforced' .jpg extension?

2008-09-17 Thread William de Smet
Hi Mark,
I just logged into the Dutch Forum and saw the other members :-)

By the way, I added the following to my script and now it works as wanted:

if char -4 to -1 of it  .jpg then put .jpg after it


Greetings!

2008/9/17 Mark Schonewille [EMAIL PROTECTED]

 Oh no, you're not the first to register, William! We have a nice group of
 about 10 members now, but I think we're all waiting for someone to ask the
 first question ;-)

 --
 Best regards,

 Mark Schonewille

 Economy-x-Talk Consulting and Software Engineering
 http://economy-x-talk.com
 http://www.salery.biz
 Dutch forum: http://runrev.info/rrforum/

 Benefit from our inexpensive hosting services. See
 http://economy-x-talk.com/server.html for more info.

 On 17 sep 2008, at 14:15, William de Smet wrote:

  Ja Mark heb net het NL forum bekeken!Ik zal me snel eens registreren.
 Iemand
 moet de eerste zijn :-)


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

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


QT: How do you move image's at random position?

2008-09-14 Thread William de Smet
Hi there,
I am making a simple excercise for my litte son of 4 years of age.
I got 6 images that can be dragged around the screen (one by one).
He must put them in the right place but on error I want the images to change
place.

Do I need to code the position of the images on every error or can this be
done at random?


greetings,

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


QT: how do I determine wheter a chosen file is within the same folder as a new chosen destination folder?

2008-09-12 Thread William de Smet
Hi there,
I do two things :

on mouseUp
  answer file Kies bestand:
if the result is Cancel
then exit mouseUp
  else put it into bLijst

answer folder Kies map -- selection of destination folder
  if the result is Cancel then exit mouseUp
  put it  / into bMap
end mouseup

After this I write back a new file into bMap.
But...I don't want destfolder to be the same folder as where the chosen file
is in.
Otherwise the file will be overwritten.

I tried with:
if filePath bLijst is within filePath bMap then answer error Fout!
but that doesn't work.

Any idea's?

Thanks!

greetings,

William de Smet
___
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: QT: how do I determine wheter a chosen file is within the same folder as a new chosen destination folder?

2008-09-12 Thread William de Smet
Thanks Ken,
You make my day!

And I learned again :-)

greetings,

William

2008/9/12 Ken Ray [EMAIL PROTECTED]


  on mouseUp
answer file Kies bestand:
  if the result is Cancel
  then exit mouseUp
else put it into bLijst
 
  answer folder Kies map -- selection of destination folder
if the result is Cancel then exit mouseUp
put it  / into bMap
  end mouseup
 
  After this I write back a new file into bMap.
  But...I don't want destfolder to be the same folder as where the chosen
 file
  is in.
  Otherwise the file will be overwritten.
 
  I tried with:
  if filePath bLijst is within filePath bMap then answer error Fout!
  but that doesn't work.
 
  Any idea's?

 Yes... do this:

 if (char 1 to length(bMap) of bLijst) = bMap then
   -- in same folder
 else
   -- in different folder
 end if

 Ken Ray
 Sons of Thunder Software, Inc.
 Email: [EMAIL PROTECTED]
 Web Site: http://www.sonsothunder.com/


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

___
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: QT: how do I determine wheter a chosen file is within the same folder as a new chosen destination folder?

2008-09-12 Thread William de Smet
Hi Richard,
Thanks for your reply,

I am still here with RR 2.7.4 on OSX.
Maybe I'll buy the new version 3.0 when I got enough money to buy it.
I still use RR as a hobby :-)

Greetings,

William


2008/9/12 Richard Gaskin [EMAIL PROTECTED]

 Ken Ray wrote:

  if (char 1 to length(bMap) of bLijst) = bMap then
   -- in same folder
 else
   -- in different folder
 end if


 Rev 2.9 supports a new begins with operator for string comparisons, so
 the above could be written as:

  if bLijst begins with bMap then
 -- in same folder
  else
 -- in different folder
  end if


 While both forms execute in just a fraction of a millisecond, the new
 begins with form runs about 25% faster.

 There is also a new ends with operator as well.

 Good times

 --
  Richard Gaskin
  Managing Editor, revJournal
  ___
  Rev tips, tutorials and more: http://www.revJournal.com

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

___
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: beginners quest: set cursor to hand

2008-09-10 Thread William de Smet
Hi Tiemo,

on mouseenter

  set cursor to hand

  lock cursor

end mouseenter



on mouseleave

  unlock cursor

  set cursor to arrow

end mouseleave


Greetings,

William

2008/9/10 Tiemo Hollmann TB [EMAIL PROTECTED]

 Hello,

 sometimes the simplest things I am trying the first time, don't do as
 expected.

 I just want to change the cursor to hand when entering an image, so I
 coded:

 On mouseenter

 set the cursor to hand

 ---

 Only when moving the cursor pixel by pixel into the image I can see the
 hand
 flashing for a moment, afterwards it is again the arrow. First thing I have
 looked for was if there is another script which sets my cursor to arrow,
 but
 no, this is the only one setting the cursor. I have at some other locations
 a choose tool, but not at this image.

 Probably I am thinking into the wrong direction or missing something basic.
 Could someone point me into the right direction?

 Thank you

 Tiemo







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

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


QT: why do the backdrop colors don't match?

2008-09-09 Thread William de Smet
Hi there,

This thing never occured to me so I don't know why.
I use RR 2.7.x on a mac and my stacks have a red backdrop.
When I play the stacks on Win XP at work with the latest RR Player  the
backdrop is blue.
(I checked different colors but the same thing happens).

This has something to do with a different color schema (Mac/PC)?
How do I get the colors the same? Must I use RGB colors?
Can anyone confirm this?

Greetings,

William de Smet
___
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


QT: how do I determine the topleft of a field within a moveble group?

2008-09-09 Thread William de Smet
Hi there all,
I have a moveable group in which a field will be resized based upon its
input.
So far so good: I use the formattedwidth and formattedheight to change the
fieldsize.
Of course I set the topleft of the field so it remains at its location.
But because the group is moveable everytime the field has new input it is
set back to its set topleft.

What I want is that it stays in its position in the group after new input.

I need to know how to store its position (topleft?) in the group.
I hope I made myself clear.

Can anyone advise or help me?

Greetings,

William
___
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: QT: how do I determine the topleft of a field within a moveble group?

2008-09-09 Thread William de Smet
Hi Mark,
Something like:

on mouseup
set the height of fld xxx to the formattedheight of fld xxx
set the topleft of fld xxx to the current topleft of fld xxx
end mouseup

This doesn't work for me. Maybe I am doing something wrong?

Greetings,

William

2008/9/9 Mark Smith [EMAIL PROTECTED]

 William, In your resize handler, can you not just get the field's current
 topleft, and use that?

 Best,

 Mark


 On 9 Sep 2008, at 18:41, William de Smet wrote:

  Hi there all,
 I have a moveable group in which a field will be resized based upon its
 input.
 So far so good: I use the formattedwidth and formattedheight to change the
 fieldsize.
 Of course I set the topleft of the field so it remains at its location.
 But because the group is moveable everytime the field has new input it is
 set back to its set topleft.

 What I want is that it stays in its position in the group after new input.

 I need to know how to store its position (topleft?) in the group.
 I hope I made myself clear.

 Can anyone advise or help me?

 Greetings,

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


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

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


Re: [OT] Copyright infringement, sometimes a good way to do guerilla marketing :o)

2008-08-27 Thread William de Smet
Hi there Malte,

This is just one of the disadvantages of the internet. I hope for you
your website traffic is unlimited with your host otherwise you have to
start paying.
The kid probably doesn't know any better! I guess :-)

You can however very easily prevent deeplinking by using some script
on your website.

Greetings,

William

2008/8/27 Malte Brill [EMAIL PROTECTED]:
 Hi list,

 this an absolutely off topic post...

 I was reading my serverlogs yesterday night an have been a little puzzled of
 why a relevant amount of Traffic comes from youTube. Until now I was using
 youTube only passively. Looking at the detailed log revealed that some kid
 in the US has 'borrowed' the logo of one of my games to display as his
 background image. Not he did only use it without asking, but he also linked
 it directly from my server. I was unsure what to do.

 You can see my reaction here:

 http://www.youtube.com/watch?v=5-9DeTyGLhE

 Until now the kid does not seem to have noticed. g

 http://www.youtube.com/user/magicguy777


 All the best and have a good day,

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

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


QT: Defaultfolder files

2008-08-27 Thread William de Smet
Hi there,

A quick question about Defaultfolder  files.
I create a folder Backup and set the defaultfolder to it and then
save the .txt file.
But now everytime there is a new folder created in which the new .txt
file is saved.

Of course I want the Backup folder to be created only once  so I want
to check if it exists on mouseup:
if there is a folder Backup then set defaultfolder to it
else create folder Backup

The 'problem' still exists.
What am I doing wrong?

Greetings,

William
___
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: QT: Defaultfolder files

2008-08-27 Thread William de Smet
Bonjour and merci Eric,

I added a / (slash) and now it works (only one folder is created and
all the .txt files are stored in it):
if there is a folder /Backup then set defaultfolder to it
else create folder /Backup

The folder however is now created on the root of my OSX HD.
What happens when I create a standalone?
Will the folder be created on the same level as the standalone or also
on the root of my HD?
(I actually want it to be on the same level as the standalone)

greetings,

William


2008/8/27 Eric Chatonet [EMAIL PROTECTED]:
 Bonjour William,

 When you write: 'if there is a folder Backup', Rev looks at a 'Backup'
 folder in the current default folder because you specify a name only.
 Try to use a complete path name for the backup folder and it will work :-)
 I assume you can deduce it from your main stack location.

 Le 27 août 08 à 12:43, William de Smet a écrit :

 Hi there,

 A quick question about Defaultfolder  files.
 I create a folder Backup and set the defaultfolder to it and then
 save the .txt file.
 But now everytime there is a new folder created in which the new .txt
 file is saved.

 Of course I want the Backup folder to be created only once  so I want
 to check if it exists on mouseup:
 if there is a folder Backup then set defaultfolder to it
 else create folder Backup

 The 'problem' still exists.
 What am I doing wrong?

 Greetings,

 William

 Best regards from Paris,
 Eric Chatonet.
 
 Plugins and tutorials for Revolution: http://www.sosmartsoftware.com/
 Email: [EMAIL PROTECTED]/
 


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

___
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


QT: How do I show the contents of listed TXT files?

2008-08-20 Thread William de Smet
Hi there,

I got a question which got me puzzled for a while now.
I want to list the .TXT files in the defaultfolder and that works OK
with the following script:
on mouseUp
  set the defaultFolder to foldername
  put the files into field contents
end mouseUp

Now I want to show the contents of the .TXT files in field
contents2' when I click on them.
And thats where I am stuck!

I can click on the listed TXT files but what do I need to do to show
the contents of the clicked TXT file in field contents2?

Thanks for your help!

Greetings,

William de Smet
___
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: QT: How do I show the contents of listed TXT files?

2008-08-20 Thread William de Smet
Hi there Klaus,

Danke schön!
I was trying with:
put URL(file: it) into fld contents2
or
put the value of the clickline into fld contents2
But that gave no result or not the right contents.

I am still learning every day and i love the support of this list :-)

Greetings,

William


2008/8/20 Klaus Major [EMAIL PROTECTED]:
 Dag William,

 Hi there,

 I got a question which got me puzzled for a while now.
 I want to list the .TXT files in the defaultfolder and that works OK
 with the following script:
 on mouseUp
  set the defaultFolder to foldername
  put the files into field contents
 end mouseUp

 Now I want to show the contents of the .TXT files in field
 contents2' when I click on them.
 And thats where I am stuck!

 I can click on the listed TXT files but what do I need to do to show
 the contents of the clicked TXT file in field contents2?

 ...
 put url(file:  the selectedtext of fld contents) into fld contents2
 ...

 Thanks for your help!

 Graag gedan :-)

 Greetings,

 William de Smet

 Best

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


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

___
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: Mac icon specifications

2008-08-20 Thread William de Smet
Hi there Chris,

As I recall you need to paste the icon file yourself be done by
right-clicking on the .rev file (???)  and then use the 'show info'
option.
Then copy and paste the icon file and then built the app.

Greetings,

William

2008/8/20 Chris Sheffield [EMAIL PROTECTED]:
 Forgive me if this has been covered in the past, but I can't seem to find
 any info about it.

 We have a graphics artist in our company who is trying to create some
 program icons, and for some reason the Mac icns file just isn't working
 quite right. Revolution builds the standalone without errors, but the icon
 does not appear on the app after being built. The icns file is included in
 the bundle, and selecting it in the Finder does show the image correctly.
 What would cause the icon from not showing on the app bundle itself?
 Something in the way the icon was created, or is it something in Revolution?
 We've not had trouble with icons in the past. The artist is using a program
 called Axialis IconWorkshop to create both Win and Mac icons.

 Any help would be appreciated.

 Thanks,
 Chris


 --
 Chris Sheffield
 Read Naturally, Inc.
 www.readnaturally.com

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

___
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


QT: How do I convert a folderpath to a clickable link?

2008-04-14 Thread William de Smet
Hi there,

I call with answer folder and longfilepath the path to a netwerkfolder.
Now I want to convert  it into a clickable link.
Any idea's on this one?

greetings,

William de Smet
___
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


Standalone has wrong look and feel

2008-04-12 Thread William de Smet
Hi there,

I just made a standalone with RR 2.7.4 on OSX 10.4.10 and the look and
feel is all wrong.
It looks like Mac OS 9. I never had this before. The only thing I did
was that I openened some .rev files in legacy format.

Is there a way to get the original look and feel (OSX) back in my standalone?

greetings,

William de Smet
___
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: Standalone has wrong look and feel

2008-04-12 Thread William de Smet
Hi Sarah,

Thanks! It works now. But strange that it started after using a legacy file.

greetings,

William

2008/4/12, Sarah Reichelt [EMAIL PROTECTED]:
 On Sun, Apr 13, 2008 at 5:07 AM, William de Smet
  [EMAIL PROTECTED] wrote:
   Hi there,
  
I just made a standalone with RR 2.7.4 on OSX 10.4.10 and the look and
feel is all wrong.
It looks like Mac OS 9. I never had this before. The only thing I did
was that I openened some .rev files in legacy format.
  
Is there a way to get the original look and feel (OSX) back in my 
 standalone?



 I remember this problem. It's to do with some Plugin files not being
  copied to the standalone.
  Go to your Revolution 2.7.4 application and look inside the package
  (right-click and choose Show Package Contents).
  Open the Contents folder and you will find a Plugins folder containing
  4 support bundles.
  Copy this folder to the equivalent place in your own app and it should all 
 work.

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

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


  1   2   >