Revolution license

2007-04-19 Thread Viktoras Didziulis
I have just red "Using Revolution with Filemaker Pro" and Bill mentions that
the Revolution license simply asks you to put one line, "Portions
(c)2000-2008 Runtime Revolution Limited, All Rights Reserved Worldwide"
below your own copyright notice... Does this mean any program that I
distribute should have this lengthy copyright notice or otherwise I am
violating the terms and conditions of the Run Rev license ? If I put my
copyright notice on a splash- screen then does this mean that Revolution's
copyright notice should appear next ? Isn't it all right to mention "Created
with Revolution" with a link to runrev.com somewhere deeper (in "about"
section or end user license agreement). In some cases I would also prefer
not to reveal any technical details on how my app was created. Isn't it
enough then create a link to Runtime Revolution's website from my own
website (I promise to do this) without explicitly disclosing technologies
used for each particular application? 
 
All the best! 
Viktoras
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


AW: how to adress the object name and not the number?

2007-04-19 Thread Tiemo Hollmann TB
Good point Bill. Thanks for sharing!
Tiemo

> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:use-revolution-
> [EMAIL PROTECTED] Im Auftrag von Bill Marriott
> Gesendet: Freitag, 20. April 2007 02:14
> An: use-revolution@lists.runrev.com
> Betreff: Re: how to adress the object name and not the number?
> 
> The recommendation to name objects starting with a letter and then a
> number
> is simply a "must" because as others have pointed out there can be
> ambiguity
> when referencing objects named with simply a number. Two additions to the
> excellent ideas:
> 
> 1) Remember that the object number always refers to its layer. Lower-
> numbers
> are below higher-numbered ones.
> 
> 2) I have found it very helpful to insert a space before the prefix and
> the
> number when naming objects sequentially -- e.g.: "Cell 1" rather than
> "Cell1" -- because then it's a lot easier to find out what number you've
> given that object using Rev's "word" chunk later on.
> 
> For example, suppose you've created an array of fields this way:
> 
>   put "Qty,Part Number,Description,Unit Price,Extended Price" into
> theHeaders
>   repeat for each item columnName in theHeaders
> repeat with i = 1 to 20
>   put columnName && i into thisCell -- the && concatenates with a
> space
> between
>   create fld thisCell
>   set the rect of fld thisCell to \
>   startLefts[columnName],rowHeight *
> (i-1),startLefts[columnName]+colWidths[columnName],rowHeight * i
>   set the lockText of fld thisCell to true
> end repeat
>   end repeat
> 
> (Leaving out setup of the arrays) Then, when someone clicks on one of the
> cells, you can hilight the entire row very simply with this script in the
> group:
> 
> on mouseup
>put the last word of the short name of the target into theLine
>repeat for each item columnName in theHeaders
>   put columnName && theLine into thisCell
>   set the backgroundColor of fld thisCell to yellow
>end repeat
> end mouseup
> 
> or, less verbosely,
> 
> on mouseup
>   repeat for each item c in theHeaders
> set  fillBack of fld (c && last word of short name of target) to
> yellow
>   end repeat
> end mouseup
> 
> By using "the last word" you've gotten the number of the corresponding
> elements painlessly.
> 
> 
> ___
> use-revolution mailing list
> use-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: is there a more clever way to see if revOpenDatabases() contains a valid value?

2007-04-19 Thread Josh Mellicker

Interesting...

Thanks for the info!


On Apr 19, 2007, at 8:53 PM, Ken Ray wrote:


On Thu, 19 Apr 2007 17:59:40 -0700, Josh Mellicker wrote:


If I revCloseDatabases() or resetAll and establish a new connection
before making any database command all is fine, but I am thinking
this is an inefficient approach... or is it?


So I am wondering if there is any clever way, perhaps through
checking sockets or other network wizardry, to verify a valid MySQL
database connection before actually executing a database command?


Well, the way we do it is to bundle mySQLAdmin with our app. Then,
whenever we are about to execute a DB command, we use the "ping"
command-line call to mySQLAdmin which should return "mysqld is alive".
If it doesn't, we respond with a Server Disconnected error, or
automatically go into a loop until the "ping" shows it's alive or a
certain timeout has expired. Here's the basic call to mysqladmin:

   --host= --port= -- 
user=

--password= ping

as in (for Mac OS X):

  put "/Users/kenray/Applications/MyApp/support/mysqladmin" into  
tAdmin

  put tAdmin && "--host=255.255.255.255 --port=3631 --user=ken
--password=password ping" into tCmd
  put shell(tCmd) into tResult
  return (tResult <> "mysqld is alive")

HTH,

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: millisec test timings and screen refresh rate

2007-04-19 Thread Richard Gaskin

Phil Davis wrote:


Thanks everyone. But... Let me put my question another way:

on mouseUp
   # lock screen -- aka "lock #1"
   wait 1 second
   show img 1
   # unlock screen -- also part of lock #1

   put the milliseconds into tStart
   wait 5 milliseconds

   # lock screen -- aka "lock #2"
   hide img 1
   #unlock screen -- also part of lock #2

   put the milliseconds - tStart & cr after fld 1
   set the vScroll of fld 1 to the formattedHeight of fld 1
   put (the number of lines in fld 1) into fld 2
end mouseUp


I ran the above script x times and got these results on my Apple 20" 
cinema display & intel mini:


- 50x with no locks/unlocks = 24% of times I saw the img
- 50x with lock #1 = 20% of times I saw the img
- 50x with lock #1 & #2 = 36% of times I saw the img

Ideally I would see the image 100% of the time - that's my goal. I'll 
experiment with the other methods of displaying the image and see if I 
can improve my results.


I wonder if it would make a difference to change the wait command to 
"wait...with messages".  I believe the "with messages" option frees up 
cycles to the OS, which helps it refresh.


--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: millisec test timings and screen refresh rate

2007-04-19 Thread Phil Davis

Thanks everyone. But... Let me put my question another way:

on mouseUp
  # lock screen -- aka "lock #1"
  wait 1 second
  show img 1
  # unlock screen -- also part of lock #1

  put the milliseconds into tStart
  wait 5 milliseconds

  # lock screen -- aka "lock #2"
  hide img 1
  #unlock screen -- also part of lock #2

  put the milliseconds - tStart & cr after fld 1
  set the vScroll of fld 1 to the formattedHeight of fld 1
  put (the number of lines in fld 1) into fld 2
end mouseUp


I ran the above script x times and got these results on my Apple 20" 
cinema display & intel mini:


- 50x with no locks/unlocks = 24% of times I saw the img
- 50x with lock #1 = 20% of times I saw the img
- 50x with lock #1 & #2 = 36% of times I saw the img

Ideally I would see the image 100% of the time - that's my goal. I'll 
experiment with the other methods of displaying the image and see if I 
can improve my results.


Thanks -
Phil Davis




-Original Message-
From: [EMAIL PROTECTED]
To: use-revolution@lists.runrev.com
Sent: Thu, 19 Apr 2007 5:19 PM
Subject: millisec test timings and screen refresh rate

 I need some help here. My question is basically this: How do I 
accurately track or calculate the exact moment at which an image becomes 
visible on screen? 
 
 I have a client whose product is a psychological testing app, with a 
battery of canned tests included. I'm reimplementing it in RunRev, 
moving them away from SuperCard + a large handful of XCMDs. All the 
millisecond timing used to be done in the XCMDs, but now RunRev can do 
it natively, and on all platforms... wait, I don't need to sell you... 
sorry. ;o) 
 
 Some tests require the Rev app to track the millisecs elapsed from when 
an image is displayed on screen to when a user-initiated event occurs, 
like a keypress. This means RR needs to know as precisely as possible 
*when* the image became visible on screen. 
 
 (I can already hear some people shifting in their seats, muttering 
"duh! just show the image, unlock screen and put the millisecs into a 
variable!") 
 
 Is it that simple? I assume not. I need to figure out when the image 
became visible, not when I told it to become visible. I'll need to 
factor in screen refresh rate, whether testing is displayed on a CRT or 
on a laptop (the normal delivery medium). This also leads me to ask: Do 
laptop screens refresh the same way CRTs refresh? I doubt it. 
 
 How have you dealt with this in your RunRev experience? I bet *someone* 
has dealt with this before. 
 
Thanks in advance for all responses. This list is so great! 
 
Phil Davis 

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


Resize a Group Without Moving Objects

2007-04-19 Thread Bridger Maxwell

Hey,
 Is it possible to set the rect of a group, without moving the objects
inside the group around?  Whenever I modify the size of a group, the groups
loc will change a little, and the objects inside it will move also, is there
any way to go around that?

 TTFN
   Bridger Maxwell
   Fiery Ferret
___
use-revolution mailing list
use-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: SecuROM copy protection and Rev

2007-04-19 Thread Scott Kane


Well, according to their documentation the executable is modified somehow 
(there is a desktop tool available for modifying Windows executables but 
you
have to send Mac apps away to some dudes in Austria), which is why I'm 
curious.


You'll have to experiment.  I've had zero success wrapping Rev standalones.

Scott 


___
use-revolution mailing list
use-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 adress the object name and not the number?

2007-04-19 Thread J. Landman Gay

Jim Ault wrote:


by not using spaces in field names, you do not have to use quotes, such as

put 451 into fld cellValue01  vs fld "cellValue 1"


Just a caution that this may come back to bite you some day if (or 
perhaps, when) Rev ever gets pickier about unquoted literals. Unquoted 
literals also take longer to execute in scripts.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
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


Re: is there a more clever way to see if revOpenDatabases() contains a valid value?

2007-04-19 Thread Ken Ray
On Thu, 19 Apr 2007 17:59:40 -0700, Josh Mellicker wrote:

> If I revCloseDatabases() or resetAll and establish a new connection 
> before making any database command all is fine, but I am thinking 
> this is an inefficient approach... or is it?
> 
> 
> So I am wondering if there is any clever way, perhaps through 
> checking sockets or other network wizardry, to verify a valid MySQL 
> database connection before actually executing a database command?

Well, the way we do it is to bundle mySQLAdmin with our app. Then, 
whenever we are about to execute a DB command, we use the "ping" 
command-line call to mySQLAdmin which should return "mysqld is alive". 
If it doesn't, we respond with a Server Disconnected error, or 
automatically go into a loop until the "ping" shows it's alive or a 
certain timeout has expired. Here's the basic call to mysqladmin:

   --host= --port= --user= 
--password= ping

as in (for Mac OS X):

  put "/Users/kenray/Applications/MyApp/support/mysqladmin" into tAdmin
  put tAdmin && "--host=255.255.255.255 --port=3631 --user=ken 
--password=password ping" into tCmd
  put shell(tCmd) into tResult
  return (tResult <> "mysqld is alive")

HTH,

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


Re: SecuROM copy protection and Rev

2007-04-19 Thread Terry Judd
>> The SecuROM copy protection has been requested by a client so that's the
>> way
>> we have to go. We've used SecuROM with Director applications before
>> without
>> any problems but they (Director apps) are 'officially' supported within
>> the
>> encryption process. 'Standard' Windows and Mac apps are supposed to work
>> just as well but you never know. I just wondered whether anyone had a
>> actually used the process with Rev standalones.
> 
> Fair enough.  As long as the standalone isn't modified you should not have
> to many problems.
> 
> Scott

Well, according to their documentation the executable is modified somehow
(there is a desktop tool available for modifying Windows executables but you
have to send Mac apps away to some dudes in Austria), which is why I'm
curious.

Terry...

-- 
Dr Terry Judd
Lecturer in Educational Technology (Design)
Biomedical Multimedia Unit
Faculty of Medicine, Dentistry & Health Sciences
The University of Melbourne
Parkville VIC 3052
AUSTRALIA

61-3 8344 0187

___
use-revolution mailing list
use-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: SecuROM copy protection and Rev

2007-04-19 Thread Scott Kane
 Original Message - 

The SecuROM copy protection has been requested by a client so that's the 
way
we have to go. We've used SecuROM with Director applications before 
without
any problems but they (Director apps) are 'officially' supported within 
the

encryption process. 'Standard' Windows and Mac apps are supposed to work
just as well but you never know. I just wondered whether anyone had a
actually used the process with Rev standalones.


Fair enough.  As long as the standalone isn't modified you should not have 
to many problems.


Scott 


___
use-revolution mailing list
use-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: millisec test timings and screen refresh rate

2007-04-19 Thread simplsol

Phil,
 LCDs got a bad reputation for speed ten years ago. They are much 
improved now. For instance modern LCD TVs are fast enough to display 
action scenes without blur. To see how much they have improved just 
move your mouse around the screen; you probably won't see any 
"submarining" at all.
 Of course there is some speed difference among screens - at the 
millisecond level.
 Would it work better, for your purposes, to have the test screen 
appear behind a blocking screen, then, instead of making the original 
screen appear, make the blocking screen disappear? Might be faster and 
more predictable.

Paul Looney

-Original Message-
From: [EMAIL PROTECTED]
To: use-revolution@lists.runrev.com
Sent: Thu, 19 Apr 2007 5:19 PM
Subject: millisec test timings and screen refresh rate

 I need some help here. My question is basically this: How do I 
accurately track or calculate the exact moment at which an image 
becomes visible on screen? 

 
 I have a client whose product is a psychological testing app, with a 
battery of canned tests included. I'm reimplementing it in RunRev, 
moving them away from SuperCard + a large handful of XCMDs. All the 
millisecond timing used to be done in the XCMDs, but now RunRev can do 
it natively, and on all platforms... wait, I don't need to sell you... 
sorry. ;o) 

 
 Some tests require the Rev app to track the millisecs elapsed from 
when an image is displayed on screen to when a user-initiated event 
occurs, like a keypress. This means RR needs to know as precisely as 
possible *when* the image became visible on screen. 

 
 (I can already hear some people shifting in their seats, muttering 
"duh! just show the image, unlock screen and put the millisecs into a 
variable!") 

 
 Is it that simple? I assume not. I need to figure out when the image 
became visible, not when I told it to become visible. I'll need to 
factor in screen refresh rate, whether testing is displayed on a CRT or 
on a laptop (the normal delivery medium). This also leads me to ask: Do 
laptop screens refresh the same way CRTs refresh? I doubt it. 

 
 How have you dealt with this in your RunRev experience? I bet 
*someone* has dealt with this before. 

 
Thanks in advance for all responses. This list is so great! 
 
Phil Davis 
 
___ 
use-revolution mailing list 
[EMAIL PROTECTED]
 Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences: 

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



AOL now offers free email to everyone.  Find out more about what's free 
from AOL at AOL.com.

=0
___
use-revolution mailing list
use-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: SecuROM copy protection and Rev

2007-04-19 Thread Terry Judd
>> Does anyone have any experience of employing Rev executables on CDs
>> protected with Sony's SecuROM process - i.e. Does it work?
> 
> No direct experience.   However a quick Google search reveals that (I'm not
> going to post the Google search for obvious reasons) that it's no more
> secure than any other protection system.  If a programmer can write the algo
> to protect a cracker can prepare the tools to bypass it given the motivation
> and time to do so.  See a recent article I did for the Rev newsletter and
> I'll be adding a follow-up that takes it a bit further in the future.
> 
> Scott Kane

Hi Scott,

The SecuROM copy protection has been requested by a client so that's the way
we have to go. We've used SecuROM with Director applications before without
any problems but they (Director apps) are 'officially' supported within the
encryption process. 'Standard' Windows and Mac apps are supposed to work
just as well but you never know. I just wondered whether anyone had a
actually used the process with Rev standalones.

Cheers,

Terry...

-- 
Dr Terry Judd
Lecturer in Educational Technology (Design)
Biomedical Multimedia Unit
Faculty of Medicine, Dentistry & Health Sciences
The University of Melbourne
Parkville VIC 3052
AUSTRALIA

61-3 8344 0187

___
use-revolution mailing list
use-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 adress the object name and not the number?

2007-04-19 Thread Jim Ault
Using a space char is a personal programming choice, and certainly not a bad
one.  My preference is to use a "0" as a pad character, especially for date
strings, object names, file names, and folder names.

Thus I use the less convenient form of

  put columnName & ( char -2 to -1 of ("0"& i) ) into thisCell

by not using spaces in field names, you do not have to use quotes, such as

put 451 into fld cellValue01  vs fld "cellValue 1"
put 23 into fld cellValue02vs fld "cellValue 2"
put 254 into fld cellValue99   vs fld "cellValue 99"

again, personal preference.

-- start copy here
put the short date into temp
convert temp to dateitems
get (char -2 to -1 of item 1 of temp)
get it & (char -2 to -1 of ("0"&item 2 of temp))
get it & (char -2 to -1 of ("0"&item 3 of temp))
put it into msg  
 stop copy here
Paste these lines into the multiline message box and hit the enterkey.
--> 070419
caution:  the msgbox does not like
put fld dataToWrite01 into url ("file:"& it &"invoices.txt")
--> defaultFoler/070419invoices.txt

I also have the habit of double-clicking to hilight the field name to copy
and paste, therefore spaces would be less desirable for me.

One of the good things about Rev is that you can develop more of a coding
style that makes sense to you and just go for it.


Jim Ault
Las Vegas

On 4/19/07 5:13 PM, "Bill Marriott" <[EMAIL PROTECTED]> wrote:

> The recommendation to name objects starting with a letter and then a number
> is simply a "must" because as others have pointed out there can be ambiguity
> when referencing objects named with simply a number. Two additions to the
> excellent ideas:
> 
> 1) Remember that the object number always refers to its layer. Lower-numbers
> are below higher-numbered ones.
> 
> 2) I have found it very helpful to insert a space before the prefix and the
> number when naming objects sequentially -- e.g.: "Cell 1" rather than
> "Cell1" -- because then it's a lot easier to find out what number you've
> given that object using Rev's "word" chunk later on.
> 
> For example, suppose you've created an array of fields this way:
> 
>   put "Qty,Part Number,Description,Unit Price,Extended Price" into
> theHeaders
>   repeat for each item columnName in theHeaders
> repeat with i = 1 to 20
>   put columnName && i into thisCell -- the && concatenates with a space
> between
>   create fld thisCell
>   set the rect of fld thisCell to \
>   startLefts[columnName],rowHeight *
> (i-1),startLefts[columnName]+colWidths[columnName],rowHeight * i
>   set the lockText of fld thisCell to true
> end repeat
>   end repeat
> 
> (Leaving out setup of the arrays) Then, when someone clicks on one of the
> cells, you can hilight the entire row very simply with this script in the
> group:
> 
> on mouseup
>put the last word of the short name of the target into theLine
>repeat for each item columnName in theHeaders
>   put columnName && theLine into thisCell
>   set the backgroundColor of fld thisCell to yellow
>end repeat
> end mouseup
> 
> or, less verbosely,
> 
> on mouseup
>   repeat for each item c in theHeaders
> set  fillBack of fld (c && last word of short name of target) to yellow
>   end repeat
> end mouseup
> 
> By using "the last word" you've gotten the number of the corresponding
> elements painlessly.
> 
> 
> ___
> use-revolution mailing list
> use-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: millisec test timings and screen refresh rate

2007-04-19 Thread Brian Yennie
Keep in mind that this script doesn't show one way or another when  
the image is actually visible to the user. In other words, does the  
following script line always execute exactly when the image is  
visible, or not, regardless of how long it took to display the image?


In any case, just to throw some more ideas out there - if time to  
display IS an issue, there are several different ways to go about  
showing an image which could potentially be compared:


## original method
show image x

## move onscreen
set the loc of image x to y

## undo/redo total transparency
set the blendLevel of image x to 0|100

## remove a graphic covering the image
hide grc "image_cover"

## set a button icon to an offscreen image
set the icon of btn "image_display" to the id of image "myImage"

Hope that spurs some ideas!


The following script showed a 5 megapixel image in 30 milliseconds  
regularly on my laptop.  I did the test on an image that was 78x78  
pixels and got an average of 8 milliseconds.


on mouseUp
put the milliseconds into temp
set the vis of img 2 to true
put the milliseconds - temp

wait 2 seconds
set the vis of img 2 to false
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: millisec test timings and screen refresh rate

2007-04-19 Thread Mark Talluto


On Apr 19, 2007, at 5:19 PM, Phil Davis wrote:

Some tests require the Rev app to track the millisecs elapsed from  
when an image is displayed on screen to when a user-initiated event  
occurs, like a keypress. This means RR needs to know as precisely  
as possible *when* the image became visible on screen.


It looks like you are after the time between showing the image and  
the user hitting a button.  Are there other factors like the user  
hitting the button before the image is shown and tracking those  
activities as well?


I would then start with showing the image, taking the milliseconds on  
the following line.  Once the user hits the button on a mouseDown,  
you could take the milliseconds again and do the subtraction.


The exact time it takes for the picture to show after you issue the  
command set the vis of img x to true might be statistically  
insignificant.


The following script showed a 5 megapixel image in 30 milliseconds  
regularly on my laptop.  I did the test on an image that was 78x78  
pixels and got an average of 8 milliseconds.


on mouseUp
put the milliseconds into temp
set the vis of img 2 to true
put the milliseconds - temp

wait 2 seconds
set the vis of img 2 to false
end mouseUp

I think the big thing is to have the image in memory before starting  
the test as loading and showing all in one swoop would produce the  
most slow down.


The refresh rates on newer LCD monitors is really getting close to  
what CRTs can do.  These are just some of my thoughts on the subject.



Mark Talluto
--
CANELA Software
http://www.canelasoftware.com

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


Re: SecuROM copy protection and Rev

2007-04-19 Thread Scott Kane


Does anyone have any experience of employing Rev executables on CDs 
protected with Sony's SecuROM process - i.e. Does it work?


No direct experience.   However a quick Google search reveals that (I'm not 
going to post the Google search for obvious reasons) that it's no more 
secure than any other protection system.  If a programmer can write the algo 
to protect a cracker can prepare the tools to bypass it given the motivation 
and time to do so.  See a recent article I did for the Rev newsletter and 
I'll be adding a follow-up that takes it a bit further in the future.


Scott Kane 


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


Some longest common substring routines

2007-04-19 Thread Terry Judd
I recently had to adapt some python routines for finding the length and
contents of the longest common substrings of two strings to Rev and thought
they might come in handy to someone else??

Anyway here they are...

The first function simply returns the length of the longest common substring

function getLCSlength str1,str2
  if (str1 = "") or (str2 = "") then return 0
  put 0 into LCSlength
  put "" into LCStable
  repeat with i = 1 to length(str1)
repeat with j = 1 to length(str2)
  if (char i of str1) <> (char j of str2) then
put 0 into item i of line j of LCStable
  else
put 1 + (item i-1 of line j-1 of LCStable) into tValue
put tValue into item i of line j of LCStable
put max(tValue, LCSlength) into LCSlength
  end if
end repeat
  end repeat
  return LCSlength
end getLCSlength

This next one returns the substring itself (or at least the first substring
of that length if there are more than one)

function getLCSstring str1, str2
  if (str1 = "") or (str2 = "") then return ""
  put "" into LCScontents
  put 0 into LCSlength
  put "" into LCStable
  repeat with i = 1 to length(str1)
repeat with j = 1 to length(str2)
  if (char i of str1) <> (char j of str2) then
put 0 into item i of line j of LCStable
  else
put 1 + (item i-1 of line j-1 of LCStable) into tValue
put tValue into item i of line j of LCStable
if tValue > LCSlength then
  put char i-tValue+1 to i of str1 into LCScontents
end if
put max(tValue, LCSlength) into LCSlength
  end if
end repeat
  end repeat
  return LCScontents
end getLCSstring

And this last one returns the table containing the lengths and positions of
all the substrings (you could parse this to find different substrings of
various lengths)

function getLCStable str1, str2
  if (str1 = empty) or (str2 = empty) then return empty
  put 0 into maxLength
  put "" into LCStable
  repeat with i = 1 to length(str1)
repeat with j = 1 to length(str2)
  if (char i of str1) <> (char j of str2) then
put 0 into item i of line j of LCStable
  else
put 1 + (item i-1 of line j-1 of LCStable) into tValue
put tValue into item i of line j of LCStable
  end if
end repeat
  end repeat
  return LCStable
end getLCStable

Cheers,

Terry...

-- 
Dr Terry Judd
Lecturer in Educational Technology (Design)
Biomedical Multimedia Unit
Faculty of Medicine, Dentistry & Health Sciences
The University of Melbourne
Parkville VIC 3052
AUSTRALIA

61-3 8344 0187



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


Oh what the heck, another CGI question

2007-04-19 Thread Bryan McCormick

Andre,

Thanks for the quick response. The CGI tutorial was indeed excellent. It 
does turn out BSD has a 2.2.1 version of the engine going.


One thing my ISP noted is that there were some odd problems with the 
libraries used when the BSD version was compiled. This is not "my thing" 
but I am putting it out there so folks will know. Otherwise you can do 
everything right and end up hitting your head against 500 errors. They 
were nice enough to upload libs for backwards compatibility to the 
server so now it is working. Here is the note:


<< -

The problem is your engine was compiled for FreeBSD 4, but you're on 
FreeBSD 5.


su-2.05b$ ./revolution
/usr/libexec/ld-elf.so.1: Shared object "libstdc++.so.3" not found, 
required by "revolution"


su-2.05b$ locate libstdc
/usr/lib/libstdc++.a
/usr/lib/libstdc++.so
/usr/lib/libstdc++.so.4

If revolution was compiled to use libstdc++.so instead of 
libstdc++.so.3, then it should be more portable between FreeBSD 
versions.  I wouldn't recommend compiling against libstdc++.so.4 either 
because if you ever move your website to a newer server, or if the 
server is ever upgraded, it will definitely break.


All that said, I installed some downward compatibility libraries, so the 
script runs now.


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


is there a more clever way to see if revOpenDatabases() contains a valid value?

2007-04-19 Thread Josh Mellicker
I am looking for a way to check for a valid connection to a remote  
MySQL database (without running a test query)...


Here is the problem:

1. we connect to MySQL database

2. revOpenDatabases() contains valid value, all is fine

3. every 10 minutes, our office loses internet connectivity, this  
could be the culprit- OR, our MySQL server disconnects connects  
clients after a period of inactivity, not sure which, but it doesn't  
matter, because I need to find a solution that works in any event  
that connection is lost


4. at this point, revOpenDatabases() still returns a value, but there  
is no connection, running a query or any DB command hangs the  
software, forcing a force quit


If I revCloseDatabases() or resetAll and establish a new connection  
before making any database command all is fine, but I am thinking  
this is an inefficient approach... or is it?



So I am wondering if there is any clever way, perhaps through  
checking sockets or other network wizardry, to verify a valid MySQL  
database connection before actually executing a database command?

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


millisec test timings and screen refresh rate

2007-04-19 Thread Phil Davis
I need some help here. My question is basically this: How do I 
accurately track or calculate the exact moment at which an image 
becomes visible on screen?


I have a client whose product is a psychological testing app, with a 
battery of canned tests included. I'm reimplementing it in RunRev, 
moving them away from SuperCard + a large handful of XCMDs. All the 
millisecond timing used to be done in the XCMDs, but now RunRev can do 
it natively, and on all platforms... wait, I don't need to sell you... 
sorry.  ;o)


Some tests require the Rev app to track the millisecs elapsed from 
when an image is displayed on screen to when a user-initiated event 
occurs, like a keypress. This means RR needs to know as precisely as 
possible *when* the image became visible on screen.


(I can already hear some people shifting in their seats, muttering 
"duh! just show the image, unlock screen and put the millisecs into a 
variable!")


Is it that simple? I assume not. I need to figure out when the image 
became visible, not when I told it to become visible. I'll need to 
factor in screen refresh rate, whether testing is displayed on a CRT 
or on a laptop (the normal delivery medium). This also leads me to 
ask: Do laptop screens refresh the same way CRTs refresh? I doubt it.


How have you dealt with this in your RunRev experience? I bet 
*someone* has dealt with this before.


Thanks in advance for all responses. This list is so great!

Phil Davis

___
use-revolution mailing list
use-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 adress the object name and not the number?

2007-04-19 Thread Bill Marriott
The recommendation to name objects starting with a letter and then a number 
is simply a "must" because as others have pointed out there can be ambiguity 
when referencing objects named with simply a number. Two additions to the 
excellent ideas:


1) Remember that the object number always refers to its layer. Lower-numbers 
are below higher-numbered ones.


2) I have found it very helpful to insert a space before the prefix and the 
number when naming objects sequentially -- e.g.: "Cell 1" rather than 
"Cell1" -- because then it's a lot easier to find out what number you've 
given that object using Rev's "word" chunk later on.


For example, suppose you've created an array of fields this way:

 put "Qty,Part Number,Description,Unit Price,Extended Price" into 
theHeaders

 repeat for each item columnName in theHeaders
   repeat with i = 1 to 20
 put columnName && i into thisCell -- the && concatenates with a space 
between

 create fld thisCell
 set the rect of fld thisCell to \
 startLefts[columnName],rowHeight * 
(i-1),startLefts[columnName]+colWidths[columnName],rowHeight * i

 set the lockText of fld thisCell to true
   end repeat
 end repeat

(Leaving out setup of the arrays) Then, when someone clicks on one of the 
cells, you can hilight the entire row very simply with this script in the 
group:


on mouseup
  put the last word of the short name of the target into theLine
  repeat for each item columnName in theHeaders
 put columnName && theLine into thisCell
 set the backgroundColor of fld thisCell to yellow
  end repeat
end mouseup

or, less verbosely,

on mouseup
 repeat for each item c in theHeaders
   set  fillBack of fld (c && last word of short name of target) to yellow
 end repeat
end mouseup

By using "the last word" you've gotten the number of the corresponding 
elements painlessly. 



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


SecuROM copy protection and Rev

2007-04-19 Thread Terry Judd
Does anyone have any experience of employing Rev executables on CDs
protected with Sony's SecuROM process - i.e. Does it work?

Regards,

Terry...

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


OT: USDA announces grants, loans for distance learning

2007-04-19 Thread Josh Mellicker

This could represent an opportunity for some Rev programmers:

http://governmentvideo.com/articles/publish/article_1133.shtml

FYI

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


Naming objects with numbers

2007-04-19 Thread Erik Hansen
Naming objects with numbers is not really a good idea: 
this can  confuse Rev... and the programmer :-)

Best regards from Paris,
Eric Chatonet.
 
***

One old trick is to put a letter before the number:
button "b1" "b2" "b3".

[EMAIL PROTECTED] 
http://www.erikhansen.org 
http://www.geocities.com/erikhans08/Video.html 
-- 
/use-revolution

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.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


Re: Using non standard characters with a format statement

2007-04-19 Thread Mark Smith


I'd guess that the engine thinks that "plat" is a function, and the  
(1) is a parameter...so assuming that "guess,plat(1)" is a string you  
want to format, simply enclosing it in quotes should cure the  
problem, so:


put format("%11s %9s\n" , "guess, plat(1)")  into fld "myReport"

if 'guess' is a variable then

put format("%11s %9s\n" , guess, "plat(1)")  into fld "myReport"

Best,

Mark

On 19 Apr 2007, at 21:03, Glen Bojsza wrote:


Hello,

I am trying figure out if it is possible to use the format command  
with non

standard characters like ( ) /

put format("%11s %9s\n" , guess, plat(1)) into fld "myReport"

errors

if I use

put format("%11s %9s\n" , guess, plat1) into fld "myReport"

then it works.

Unfortunately I will need to include the () for the report.

Is there any way to accomplish this within the format command?

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

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


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


Re: Rev 2.8 on RDP is a total disaster

2007-04-19 Thread Bob Warren
When I've got bugs in my drawers, they make me all bitter and twisted 
too!  >:o


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


Using non standard characters with a format statement

2007-04-19 Thread Glen Bojsza

Hello,

I am trying figure out if it is possible to use the format command with non
standard characters like ( ) /

put format("%11s %9s\n" , guess, plat(1)) into fld "myReport"

errors

if I use

put format("%11s %9s\n" , guess, plat1) into fld "myReport"

then it works.

Unfortunately I will need to include the () for the report.

Is there any way to accomplish this within the format command?

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


Re: possible bug: can someone confirm that load url with message is broken?

2007-04-19 Thread Klaus Major

Hi Andre,


Klaus,

here it started working if I set the libURLSetStatusCallback before  
trying the load command. Then it worked as expected.


:-/


Hmm, thanks, will try that.

In case it will will work for me, too, we might have narrowed a  
possible bu er... inconvenience :-)



Andre


Adeus

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

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


Re: possible bug: can someone confirm that load url with message is broken?

2007-04-19 Thread Andre Garzia

Klaus,

here it started working if I set the libURLSetStatusCallback before  
trying the load command. Then it worked as expected.


:-/

Andre
On Apr 19, 2007, at 3:32 PM, Klaus Major wrote:


Hi Andre,


Here it is very strange,

if I step with the debugger, it works, if I allow it to run by  
itself, the message is never dispatched.


strange... bug is on my side, so, I'll solve it. Thanks Trevor


I encountered this one, too!
Even "urlstatus turl" does not work.

I did this test:
...
put "http://www.apple.com"; into turl
load turl
put urlstatus(turl)
## nothing was put!
wait 1 secs
## Just to give it some time...
put urlstatus(turl)
## again nothing
...

The above DOES work in 2.8 however.

So I finally use "libURLDownloadToFile" which did work as espected.


andre


Regards

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

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

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


___
use-revolution mailing list
use-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 Player Challenge - Play Remote Movie

2007-04-19 Thread Sivakatirswami

Trevor DeVore wrote:

Most likely QuickTime is taking over after Rev creates the QuickTime 
Movie Controller (player object) and asks the QT framework to download 
the file. So I don't think it would be an issue related to Revolution's 
implementation of sockets.


Just guessing, but perhaps QuickTime returns a status message that the 
browser sees and attempts to start the movie download again while Rev 
interprets it as an error and does nothing.



Now we are digging! Good. I'll post these "intuitions" to the bug...

Thanks

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


Re: possible bug: can someone confirm that load url with message is broken?

2007-04-19 Thread Klaus Major

Hi Andre,


Here it is very strange,

if I step with the debugger, it works, if I allow it to run by  
itself, the message is never dispatched.


strange... bug is on my side, so, I'll solve it. Thanks Trevor


I encountered this one, too!
Even "urlstatus turl" does not work.

I did this test:
...
put "http://www.apple.com"; into turl
load turl
put urlstatus(turl)
## nothing was put!
wait 1 secs
## Just to give it some time...
put urlstatus(turl)
## again nothing
...

The above DOES work in 2.8 however.

So I finally use "libURLDownloadToFile" which did work as espected.


andre


Regards

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

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


RE: Standalone application problem

2007-04-19 Thread Dan Soneson

Hi Andrew,

I treat external audio, video and even images much the same way as I  
would
in a web site. When putting together  a standalone that references  
this media
I put the media in a separate folder within the folder that houses  
the standalone
and work with a relative link to the media.  Say your standalone is  
in a folder
called "My Standalone." Create a media folder within that folder and  
place your
media in this new folder (or copy your media folder into this new  
standalone
folder). Then you query the path of the standalone, replace the  
standalone name
in the path with the media folder name, and reference your images/ 
audio/video

files using this new path:

put the fileName of this stack into theStackPath
set the itemDelimiter to "/"
put "MyMedia" into item -1 of theStackPath

Now you have a reference point for all your media, as long as it is  
housed in the
"MyMedia" folder. You can retain this in several ways. Perhaps the  
easiest is to

set a custom property of either the stack or the card:

set the uMediaFolder of this stack to theStackPath

Probably the best place to do this is in the preOpenStack handler, on  
the card script
of the first card to open when the stack opens. Don't put it in the  
stack script, or this
script will execute any time a stack opens within your standalone. So  
the preOpenStack

handler on the first card of your stack would look like this:

on preOpenStack
  put the fileName of this stack into theStackPath
  set the itemDelimiter to "/"
  put "MyMedia" into item -1 of theStackPath
  set the uMediaFolder of this stack to theStackPath
end preOpenStack

Any time you want to set the filename of a player now, you call up  
the uMediaFolder
of the stack and put the name of the media file after this. Then you  
set the filename

of the player to this path:

put the uMediaFolder of this stack into theFolderPath
put theFolderPath & "sound_01.aif" into theNewFile
set the filename of player 1 to theNewFile

You can place the above lines into a preOpenCard handler in the card  
script of the
card that contains the player, or you can place it on a mouseUp  
handler to set the new

filename.

This works nicely if you have only one audio file to play. If you  
want to play several, or
want to call up a specific audio file to play, you can use the  
uFolderPath of the stack to
get a list of the files in the media folder, display them as a list  
in a list field. In the script
of the list field you can write a mouseUp handler to set the filename  
of the player to the audio

file that you click on.

In a button or preOpenCard handler you can put a script like this:

on  preOpenCard -- goes in the card script
  put the uMediaFolder of this stack into theFolderPath
  put the defaultFolder into theOrigDefault -- keep track of the  
original default folder
  set the defaultFolder to theFolderPath -- allows us to get a  
listing of all the media files in this folder
  put the files into theMediaFiles -- this gets a list of all files  
in the default folder, one file per line
  -- you may want to do some filtering of this list here, i.e.  
include only files with ".wav" extension etc.
  filter theMediaFiles with "*.wav" -- this is optional, if you have  
a mixed type of files
  put theMediaFiles into fld "audio files" -- this is the scrolling  
list field, you can name it what you want
  set the defaultFolder to theOrigDefault -- restore the original  
default folder

end preOpenCard

Then in your list field script you would have a handler like so:

on mouseUp
  put the selectedText into theFile
  set the filename of player 1 to the uMediaFolder of this stack &  
"/" & theFile

end mouseUp 

The point is, that if you set up a connection to the media folder  
when you first open your stack, either
within the development environment or as a standalone, you can call  
up any individual file pretty

easily.

It was nice to meet you at the ISLS conference in Hawaii, and I'm  
delighted you are checking into

Revolution. Welcome to the Revolution!

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


solved: Re: can't play movie and load url at the same time.

2007-04-19 Thread Andre Garzia

sorry folks,

I had a recursion with a wait call that blocked everything... silly me.

andre

On Apr 19, 2007, at 2:48 PM, Andre Garzia wrote:


another question folks,

if you have a player object playing a movie and you load a url and  
use liburlsetstatuscallback to put some status text below the  
player. does the movie stops while the content is being loaded?  
Isn't load supposed to be asynchronous so that we could play a  
movie file while loading a url?


Andre
___
use-revolution mailing list
use-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


can't play movie and load url at the same time.

2007-04-19 Thread Andre Garzia

another question folks,

if you have a player object playing a movie and you load a url and  
use liburlsetstatuscallback to put some status text below the player.  
does the movie stops while the content is being loaded? Isn't load  
supposed to be asynchronous so that we could play a movie file while  
loading a url?


Andre
___
use-revolution mailing list
use-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: Oh what the heck, another CGI question

2007-04-19 Thread Andre Garzia

Bryan,

you don't need a license for that. I don't thing there's a 2.2 engine  
for BSD, I think the last one was 2.1 or something like that.


just fetch the engine from runrev ftp site, put it on your FreeBSD  
box and set the correct permissions.


Check Jacque wonderful CGI tutorial, the steps are the same, just use  
the bsd engine instead of the linux one.


andre


On Apr 19, 2007, at 2:14 PM, Bryan McCormick wrote:

Hey guys. This is going to sound really dumb. My ISP runs FreeBSD  
and so I need to run the old 2.2 engine. Not a big deal since I  
won't be stressing it too much.


However, this is the problem. I don't have a BSD system to boot the  
binary up into to license the thing. How the heck do you license  
it? Can a nice person at RunRev do 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: possible bug: can someone confirm that load url with message is broken?

2007-04-19 Thread Andre Garzia

Here it is very strange,

if I step with the debugger, it works, if I allow it to run by  
itself, the message is never dispatched.


strange... bug is on my side, so, I'll solve it. Thanks Trevor


andre
On Apr 19, 2007, at 2:12 PM, Trevor DeVore wrote:


On Apr 19, 2007, at 9:44 AM, Andre Garzia wrote:


Hello folks,

can someone confirm that in Rev 2.8.1-dp-2 Mac OS X Intel has a  
problem with load url with messages? The load works but the  
message is never sent.


Andre,

load url is working fine with messages on my end (OS X intel).


--
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com-www.screensteps.com
[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


Re: What's up with this?????

2007-04-19 Thread Jim Ault
Perhaps doing a drag and drop onto an alias of the app (ion the desktop or
dock) will work better than the double-click adventure.

Jim Ault
Las Vegas


On 4/19/07 10:00 AM, "Dave" <[EMAIL PROTECTED]> wrote:

> Hi,
> 
> Found it!
> 
> I was debugging with an external using XCode. In XCode, when you run
> the application in debug mode, it loads the application you specify
> (which in this case is RunRev 2.8.0.370) and specify the Stack you
> want to debug. However during this process I also double-clicked on
> the Stack File to open it, this version caused a different version of
> RunRev to load. From then on, the whole thing went weird!
> 
> In this case restarting would *usually* cure the problem (and it did
> for a while), but then I must have double-clicked the Stack again!
> 
> I can't seem to be able to specify that all .rev files are loaded by
> just one version of RunRev, I can only set it on a Per File basis
> which I have now done. But the problem is that if I restore a file
> from a backup, it takes on the old version again.
> 
> Jeez, what a problem!
> 
> Thanks for all your suggestions.
> All the Best
> Dave
> 
> On 19 Apr 2007, at 17:01, Devin Asay wrote:
> 
>> 
>> On Apr 19, 2007, at 9:23 AM, Dave wrote:
>> 
>>> Hi,
>>> 
>>> I'm using RunRev 2.8.0.370.
>>> 
>>> I have the following in a Button Script:
>>> 
>>>   put text of field "FieldFrameCount" into myFrameCount
>>>   repeat with myFrameCounter = 1 to myFrameCount
>>> 
>>> It has been working fine up until about half an hour ago when it
>>> started giving me this execution error:
>>> 
>>> Type: repeat error in 'with' end condition expression
>>> Object: button
>>> Line: repeat with myFrameCounter - 1 to myFrameCount
>>> 
>>> I'm at a loss as to what to do to fix it!
>> 
>> Did the data in the field somehow get messed up in a way that's not
>> visually obvious--e.g., data on subsequent lines that are scrolled
>> out of sight? What happens if you check the validity of
>> myFrameCount before the repeat loop:
>> 
>> if myFrameCount is a number then...
>> 
>> I've been bitten by things like this before.
>> 
>> 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
> 
> ___
> use-revolution mailing list
> use-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: Graphics over QT

2007-04-19 Thread Jim Ault
Try these steps
-
semi-transparent = 
set the blendlevel of img trees.jpg to 60
set the blendlevel of this stack to 60
set the blendlevel of this stack to 100 --transp
set the blendlevel of this stack to 0
set the blendlevel of fld 1 to 60

--
Do a google for "windowlab rossi"

and you will find a stack that allows you to quickly make windows that have
holes.


Jim Ault
Las Vegas

On 4/19/07 8:43 AM, "Kevin Brooks" <[EMAIL PROTECTED]> wrote:

> Perhaps someone can help me problem solve some graphics issues I have with
> Revolution.
> 
> I'm writing an application that needed to display graphics over running
> Quicktime video.  I quickly discovered that the only way of doing this (that
> I could find) was to put the graphics on a substack that I opened as a
> palette. Doing this solved my initial problem, but since then I've been
> asked to do more impressive things with the graphics.  My questions are as
> follows.
> 
> 1) Is there a way to make a paletted stack semi-transparent, such that you
> could see what's behind it, like running video?
> 
> 2) I would like a paletted stack to appear on the screen as if it was
> sliding out from behind something.  The drawer command opens and slides
> stacks to the side or bottom, while I want to slide a new stack overtop of
> an open stack.  The effect I'm looking for is the same as placing a fld
> "offscreen" beyond the right hand border of a stack and issuing a move
> command to slide it to the center of the stack.  It would simply appear from
> the first stack's right edge.  But instead of using a field, I want to do
> this with a stack, and preferably a paletted stack so it can float over
> Quicktime.
> 
> 3) I've played around with nonrectangular stack shapes using references to
> image IDs, but is it possible to have a stack shaped with a hole in the
> middle?


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


Oh what the heck, another CGI question

2007-04-19 Thread Bryan McCormick
Hey guys. This is going to sound really dumb. My ISP runs FreeBSD and so 
I need to run the old 2.2 engine. Not a big deal since I won't be 
stressing it too much.


However, this is the problem. I don't have a BSD system to boot the 
binary up into to license the thing. How the heck do you license it? Can 
a nice person at RunRev do 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


Re: possible bug: can someone confirm that load url with message is broken?

2007-04-19 Thread Trevor DeVore

On Apr 19, 2007, at 9:44 AM, Andre Garzia wrote:


Hello folks,

can someone confirm that in Rev 2.8.1-dp-2 Mac OS X Intel has a  
problem with load url with messages? The load works but the message  
is never sent.


Andre,

load url is working fine with messages on my end (OS X intel).


--
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com-www.screensteps.com
[EMAIL PROTECTED]


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


Re: What's up with this?????

2007-04-19 Thread Dave

Hi,

Found it!

I was debugging with an external using XCode. In XCode, when you run  
the application in debug mode, it loads the application you specify  
(which in this case is RunRev 2.8.0.370) and specify the Stack you  
want to debug. However during this process I also double-clicked on  
the Stack File to open it, this version caused a different version of  
RunRev to load. From then on, the whole thing went weird!


In this case restarting would *usually* cure the problem (and it did  
for a while), but then I must have double-clicked the Stack again!


I can't seem to be able to specify that all .rev files are loaded by  
just one version of RunRev, I can only set it on a Per File basis  
which I have now done. But the problem is that if I restore a file  
from a backup, it takes on the old version again.


Jeez, what a problem!

Thanks for all your suggestions.
All the Best
Dave

On 19 Apr 2007, at 17:01, Devin Asay wrote:



On Apr 19, 2007, at 9:23 AM, Dave wrote:


Hi,

I'm using RunRev 2.8.0.370.

I have the following in a Button Script:

  put text of field "FieldFrameCount" into myFrameCount
  repeat with myFrameCounter = 1 to myFrameCount

It has been working fine up until about half an hour ago when it  
started giving me this execution error:


Type:   repeat error in 'with' end condition expression
Object: button
Line:   repeat with myFrameCounter - 1 to myFrameCount

I'm at a loss as to what to do to fix it!


Did the data in the field somehow get messed up in a way that's not  
visually obvious--e.g., data on subsequent lines that are scrolled  
out of sight? What happens if you check the validity of  
myFrameCount before the repeat loop:


if myFrameCount is a number then...

I've been bitten by things like this before.

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


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


possible bug: can someone confirm that load url with message is broken?

2007-04-19 Thread Andre Garzia

Hello folks,

can someone confirm that in Rev 2.8.1-dp-2 Mac OS X Intel has a  
problem with load url with messages? The load works but the message  
is never sent.


Cheers
andre

___
use-revolution mailing list
use-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: Graphics over QT

2007-04-19 Thread Richard Gaskin

Kevin Brooks wrote:

I'm writing an application that needed to display graphics over running
Quicktime video.  I quickly discovered that the only way of doing this (that
I could find) was to put the graphics on a substack that I opened as a
palette. 


If you're not using QT's controller, there's another way:

Just turn on the alwaysBuffer property of the player object.  That will 
cause it to be rendered into the window's buffer rather than blitted 
onto the screen directly by QT, which allows Rev to apply its normal 
compositing to it.


--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Standalone application problem

2007-04-19 Thread J. Landman Gay

Andrew Lian -nswc wrote:

Dear All

Please forgive yet another newbie question.

I have stack which plays a sound file played through a playerobject. Its 
path is identified in the player's "Source" property. Let's say it is 
C:/sounds/apl.wav.


The file plays perfectly well in the development environment and on my 
computer.


I now make a standalone application - and it is produced ok. However, my 
sound file can no longer be heard. Either it has not been automatically 
packaged into the application or there is a path problem.


I have tried to include the relevant file in the package by using the 
"Copy Files" setting of the "Standalone application settings" but that 
seems to make no difference. Is there some legible documentation 
somewhere of how to prepare the files so that the whole package gets 
produced correctly with the correct paths? DO I have to respect the 
original paths and recreate them on any computer which tries to run the 
standalone?


This is almost certainly a file path problem. If you are refering to the 
sound file by a long file path name, it will not be the same on anyone 
else's machine. And if you build a standalone with the file added to the 
standalone folder, then its file path will also have changed.


You can solve the problem in a couple of ways. The easiest way is to 
calculate the correct file path with a script. Something like this 
should work:


put the effective filename of this stack into tPath
set the itemdelimiter to slash
put "mySoundFolder/mySoundFile.aif" into last item of tPath

This will produce a file path to a file named "mySoundFile.aif" inside a 
folder called "mySoundFolder" which is next to the standalone. On 
Windows, that would be a folder in the same parent folder as your 
standalone. On OS X, it would be a folder inside the Mac OS folder which 
is inside the application bundle.


Note that inside the IDE, it won't work until you move a copy of the 
sound file folder into the same parent folder as your stack.


--
Jacqueline Landman Gay | [EMAIL PROTECTED]
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


Re: Standalone application problem

2007-04-19 Thread Devin Asay


On Apr 18, 2007, at 5:21 PM, Andrew Lian -nswc wrote:


Dear All

Please forgive yet another newbie question.

I have stack which plays a sound file played through a  
playerobject. Its path is identified in the player's "Source"  
property. Let's say it is C:/sounds/apl.wav.


The file plays perfectly well in the development environment and on  
my computer.


I now make a standalone application - and it is produced ok.  
However, my sound file can no longer be heard. Either it has not  
been automatically packaged into the application or there is a path  
problem.


I have tried to include the relevant file in the package by using  
the "Copy Files" setting of the "Standalone application settings"  
but that seems to make no difference. Is there some legible  
documentation somewhere of how to prepare the files so that the  
whole package gets produced correctly with the correct paths? DO I  
have to respect the original paths and recreate them on any  
computer which tries to run the standalone?


Andrew,

Most often it's easiest to leave the external media files in a place  
relative to the defaultFolder. The problem is the default value of  
the defaultFolder changes when running as a standalone vs. in the  
development environment. In the IDE, the defaultFolder is the folder  
containing the Revolution executable. In the standalone environment,  
the stack in essence becomes the executable, so the defaultFolder is  
the folder containing the standalone. If you don't explicitly set the  
defaultFolder to another place on the disk, it will work if you set  
the filename ("source") property of the player to 'sounds/apl.wav',  
and then making sure the sounds folder is in the same folder as the  
standalone. To deal with the difference between the IDE and  
standalone, I often include the scripting similar to this in my  
mainstack's stack script:


on preOpenStack
  # set the root folder for all resources
  if the environment is "development" then
set the defaultFolder to enclosingFolder(the name of me)
  end if

  ## Do this for local data and media files.
  set the baseDir of me to the defaultFolder & "/" & "resources"
end preOpenStack

function enclosingFolder pStName
  get the filename of pStName
  set the itemDelimiter to "/"
  return item 1 to -2 of it
end enclosingFolder

The situation for Mac OS X is slighter more complicated, but easy  
enough to understand, if you're interested.


One last thing... I never use the "copy files" part of the standalone  
builder. I find it easiest just to build my standalone then move the  
needed files or stacks into the appropriate folder.


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


AW: how to adress the object name and not the number?

2007-04-19 Thread Tiemo Hollmann TB
Ok good hint Ian
Thanks Tiemo

> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:use-revolution-
> [EMAIL PROTECTED] Im Auftrag von Ian Wood
> Gesendet: Donnerstag, 19. April 2007 16:37
> An: How to use Revolution
> Betreff: Re: how to adress the object name and not the number?
> 
> If the controls are already arranged in *other* groups that's not
> going to work.
> 
> Ian
> 
> On 19 Apr 2007, at 15:05, Dave wrote:
> 
> > Hi,
> >
> > Another way is to just put all images in a category into a Group,
> > then to access the images do something like:
> >
> > repeat with myIndex= 1 to the number of images in group "ThumbGroup"
> >   set the threeD of image myIndex of  group "ThumbGroup" to true
> > end repeat
> >
> > Just change the layer (in the IDE) of the images in the group so
> > they are in the order you want them in.
> >
> > All the Best
> > Dave
> 
> ___
> use-revolution mailing list
> use-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: Rev 2.8 on RDP is a total disaster

2007-04-19 Thread Heather Nagey
I think if you read the bug report on this you will find that this  
specific report has received a fair amount of attention over time,  
but is as yet unconfirmed since we are unsure as to the exact cause,  
or whether it is indeed even a Rev bug. It has not been marked as  
fixed, or closed, and the discussion has continued, so it should not  
come as a surprise to anyone trying out the latest version that the  
situation in this specific set of circumstances has not, in fact,  
changed.


If anyone has new data, more information, or suggestions about this  
issue, the best place to report them is in the bug report that Xavier  
has kindly supplied the url for. Flaming this list does very little  
to get the issue fixed, or looked at by engineers, it just creates  
noise and annoys the readers of the list.


If people are interested in providing useful feedback to assist us in  
making Revolution 2.9 the best release ever, please do join the beta  
test program if you have not already done so.


Regards,

Heather

On 19 Apr 2007, at 14:59, Dave wrote:


Hi,

OOps, the documentation window is also all garbled up too!!! How  
this the

developpers and testers manage to miss this???


Simple they don't bother to test it or to even run it!  Wonderful, eh?

All the Best
Dave

On 19 Apr 2007, at 10:33, [EMAIL PROTECTED] wrote:

Bad habits never change. I updated to Rev  2.8 enterprise (no,  
actually i
bought a new version) and I was expecting an improvement but not  
this!!!


After nearly 8 years, I open the new runrev IDE on a server as I  
used to

with Metacard and
behold... ALL THE GRAPHICS ARE ALL SCREWED UP AGAIN! Not ONE color is
correct...

No this is not news!!! I've reported this problem back in 1999!

But Rev actually managed to make it worse than metacard!!!

All the icons are noised up (like a corrupted resource on a mac),  
text in

the toolbar is just as bad where there is supposed to be a smooth
shading...

Fields are all black, and since the text is black too, you must  
select

text to see what it says...

Now, that was ok to paste (when copy or paste wants to work) in the
license but when you have to edit a script it's "forget it!"
the whole script editor field is BLACK!

If anyone know how to work with rev in a virgin install of Rev 2.8  
in a

Win32 2003 server RDP session in 16 I would really appreciate it!!!
I cant even debug my scripts!!!

OOps, the documentation window is also all garbled up too!!! How  
this the

developpers and testers manage to miss this???

Thanks in advance
Xav


- 
---

Clearstream Services S.A.
42 Avenue JF Kennedy, L-1855 Luxembourg
Société anonyme is organised with limited liability
in the Grand Duchy of Luxembourg RC Luxembourg B 60911.


-
Visit us at http://www.clearstream.com

IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream
International does not accept legal responsibility for the contents
of this message.

The information contained in this e-mail is confidential and may be
legally privileged. It is intended solely for the addressee. If you
are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. Any views expressed in
this e-mail are those of the individual sender, except where the
sender specifically states them to be the views of Clearstream
International or of any of its affiliates or subsidiaries.

Legally required information for business correspondence/
Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz:
http://deutsche-boerse.com/letterhead

END OF DISCLAIMER

___
use-revolution mailing list
use-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


Heather Nagey
Customer Services Manager
Runtime Revolution Ltd
http://www.runrev.com



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


Re: What's up with this?????

2007-04-19 Thread Devin Asay


On Apr 19, 2007, at 9:23 AM, Dave wrote:


Hi,

I'm using RunRev 2.8.0.370.

I have the following in a Button Script:

  put text of field "FieldFrameCount" into myFrameCount
  repeat with myFrameCounter = 1 to myFrameCount

It has been working fine up until about half an hour ago when it  
started giving me this execution error:


Type:   repeat error in 'with' end condition expression
Object: button
Line:   repeat with myFrameCounter - 1 to myFrameCount

I'm at a loss as to what to do to fix it!


Did the data in the field somehow get messed up in a way that's not  
visually obvious--e.g., data on subsequent lines that are scrolled  
out of sight? What happens if you check the validity of myFrameCount  
before the repeat loop:


if myFrameCount is a number then...

I've been bitten by things like this before.

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


Re: What's up with this?????

2007-04-19 Thread Mark Schonewille

Hi Dave,

First of all, restarting your machine is rarely, if ever, necessary  
and particularly not because of execution errors.


Apparently, myFrameCounter or myFrameCount is not a positive integer  
or myFrameCount < myFrameCounter. Just check these variables before  
the repeat loop starts.


Best,

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Get your store on-line within minutes with Salery Web Store software.  
Download at http://www.salery.biz


Op 19-apr-2007, om 17:23 heeft Dave het volgende geschreven:


Hi,

I'm using RunRev 2.8.0.370.

I have the following in a Button Script:

  put text of field "FieldFrameCount" into myFrameCount
  repeat with myFrameCounter = 1 to myFrameCount

It has been working fine up until about half an hour ago when it  
started giving me this execution error:


Type:   repeat error in 'with' end condition expression
Object: button
Line:   repeat with myFrameCounter - 1 to myFrameCount

I'm at a loss as to what to do to fix it!

I've tried re-starting RunRev and then Restarting the whole machine.

Thanks a lot
All the Best
Dave




___
use-revolution mailing list
use-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: What's up with this?????

2007-04-19 Thread Chris Sheffield
What's in field "FieldFrameCount"? Is it possible it's not a number?  
Perhaps you've got text in there you're not seeing (i.e. spaces,  
returns, etc.)?



On Apr 19, 2007, at 9:23 AM, Dave wrote:


Hi,

I'm using RunRev 2.8.0.370.

I have the following in a Button Script:

  put text of field "FieldFrameCount" into myFrameCount
  repeat with myFrameCounter = 1 to myFrameCount

It has been working fine up until about half an hour ago when it  
started giving me this execution error:


Type:   repeat error in 'with' end condition expression
Object: button
Line:   repeat with myFrameCounter - 1 to myFrameCount

I'm at a loss as to what to do to fix it!

I've tried re-starting RunRev and then Restarting the whole machine.

Thanks a lot
All the Best
Dave


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

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


--
Chris Sheffield
Read Naturally
The Fluency Company
http://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


Graphics over QT

2007-04-19 Thread Kevin Brooks
Perhaps someone can help me problem solve some graphics issues I have with
Revolution.

I'm writing an application that needed to display graphics over running
Quicktime video.  I quickly discovered that the only way of doing this (that
I could find) was to put the graphics on a substack that I opened as a
palette. Doing this solved my initial problem, but since then I've been
asked to do more impressive things with the graphics.  My questions are as
follows.

1) Is there a way to make a paletted stack semi-transparent, such that you
could see what's behind it, like running video?

2) I would like a paletted stack to appear on the screen as if it was
sliding out from behind something.  The drawer command opens and slides
stacks to the side or bottom, while I want to slide a new stack overtop of
an open stack.  The effect I'm looking for is the same as placing a fld
"offscreen" beyond the right hand border of a stack and issuing a move
command to slide it to the center of the stack.  It would simply appear from
the first stack's right edge.  But instead of using a field, I want to do
this with a stack, and preferably a paletted stack so it can float over
Quicktime.

3) I've played around with nonrectangular stack shapes using references to
image IDs, but is it possible to have a stack shaped with a hole in the
middle?

Thanks for the help.

-Kevin

___
use-revolution mailing list
use-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 up with this?????

2007-04-19 Thread Dave

Hi,

I'm using RunRev 2.8.0.370.

I have the following in a Button Script:

  put text of field "FieldFrameCount" into myFrameCount
  repeat with myFrameCounter = 1 to myFrameCount

It has been working fine up until about half an hour ago when it  
started giving me this execution error:


Type:   repeat error in 'with' end condition expression
Object: button
Line:   repeat with myFrameCounter - 1 to myFrameCount

I'm at a loss as to what to do to fix it!

I've tried re-starting RunRev and then Restarting the whole machine.

Thanks a lot
All the Best
Dave


___
use-revolution mailing list
use-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 adress the object name and not the number?

2007-04-19 Thread Ian Wood
If the controls are already arranged in *other* groups that's not  
going to work.


Ian

On 19 Apr 2007, at 15:05, Dave wrote:


Hi,

Another way is to just put all images in a category into a Group,  
then to access the images do something like:


repeat with myIndex= 1 to the number of images in group "ThumbGroup"
  set the threeD of image myIndex of  group "ThumbGroup" to true
end repeat

Just change the layer (in the IDE) of the images in the group so  
they are in the order you want them in.


All the Best
Dave


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


AW: how to adress the object name and not the number?

2007-04-19 Thread Tiemo Hollmann TB
Nice idea!
Thanks Tiemo

> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:use-revolution-
> [EMAIL PROTECTED] Im Auftrag von Dave
> Gesendet: Donnerstag, 19. April 2007 16:06
> An: How to use Revolution
> Betreff: Re: how to adress the object name and not the number?
> 
> Hi,
> 
> Another way is to just put all images in a category into a Group,
> then to access the images do something like:
> 
> repeat with myIndex= 1 to the number of images in group "ThumbGroup"
>set the threeD of image myIndex of  group "ThumbGroup" to true
> end repeat
> 
> Just change the layer (in the IDE) of the images in the group so they
> are in the order you want them in.
> 
> All the Best
> Dave
> 
> On 19 Apr 2007, at 10:57, Ian Wood wrote:
> 
> > I second Eric's suggestion. It also comes in handy for keeping
> > track of images/objects for different purposes, e.g. "thumb1",
> > "main2", "preview3", "temp4" etc.
> >
> > Looping through and deleting all the 'temp' images then becomes
> > very easy.
> >
> > Ian
> >
> > On 19 Apr 2007, at 10:51, Eric Chatonet wrote:
> >
> >> Name each image with a name followed by a numeric suffix: "img1'.
> >> Then:
> >>
> >> repeat with i = 1 to the number of imgs
> >>   if the threeD of img ("img" & i) then etc.
> >>   -- just an example :-)
> >> end repeat
> >
> > ___
> > use-revolution mailing list
> > use-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: External problem

2007-04-19 Thread Dave

Hi,

Without looking at the code I'm can't tell for certain, but I think  
this is to do with C vs C++. You need to surround it with:


#ifdef __cplusplus
extern "C"
{
#endif

-- Definitions Here

#ifdef __cplusplus
};
#endif

Hope this Helps
Dave

On 18 Apr 2007, at 18:20, Matthew wrote:

I am currently trying to build a SHA1 library in the hopes that it  
will run faster than ShaoSean's library (Great library by the way).  
I have the code all written out and no errors in the code itself,  
but when i try to compile it has 1 error and it says:


Undefined symbols:
_getXtable
	(part of path removed)/ExternalsEnvironment2_mod/sha1_hash/cache/ 
Debug/sha1_hash.build/Objects-normal/ppc/sha1_hash.o reference to  
undefined _getXtable
	symbols names listed in -exported_symbols_list: (part of path  
removed)/ExternalsEnvironmentV2_mod/sha1_hash/sha1_hash.exports not  
in linked objects

_getXtaable
collect2: Id returned 1 exit status

looking in both externals.c and externals.h i notice that getXtable  
is defined but not _getXtable. Is there something that I should  
change to fix this?

___
use-revolution mailing list
use-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 adress the object name and not the number?

2007-04-19 Thread Dave

Hi,

Another way is to just put all images in a category into a Group,  
then to access the images do something like:


repeat with myIndex= 1 to the number of images in group "ThumbGroup"
  set the threeD of image myIndex of  group "ThumbGroup" to true
end repeat

Just change the layer (in the IDE) of the images in the group so they  
are in the order you want them in.


All the Best
Dave

On 19 Apr 2007, at 10:57, Ian Wood wrote:

I second Eric's suggestion. It also comes in handy for keeping  
track of images/objects for different purposes, e.g. "thumb1",  
"main2", "preview3", "temp4" etc.


Looping through and deleting all the 'temp' images then becomes  
very easy.


Ian

On 19 Apr 2007, at 10:51, Eric Chatonet wrote:


Name each image with a name followed by a numeric suffix: "img1'.
Then:

repeat with i = 1 to the number of imgs
  if the threeD of img ("img" & i) then etc.
  -- just an example :-)
end repeat


___
use-revolution mailing list
use-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: Rev 2.8 on RDP is a total disaster

2007-04-19 Thread Dave

Hi,

OOps, the documentation window is also all garbled up too!!! How  
this the

developpers and testers manage to miss this???


Simple they don't bother to test it or to even run it!  Wonderful, eh?

All the Best
Dave

On 19 Apr 2007, at 10:33, [EMAIL PROTECTED] wrote:

Bad habits never change. I updated to Rev  2.8 enterprise (no,  
actually i
bought a new version) and I was expecting an improvement but not  
this!!!


After nearly 8 years, I open the new runrev IDE on a server as I  
used to

with Metacard and
behold... ALL THE GRAPHICS ARE ALL SCREWED UP AGAIN! Not ONE color is
correct...

No this is not news!!! I've reported this problem back in 1999!

But Rev actually managed to make it worse than metacard!!!

All the icons are noised up (like a corrupted resource on a mac),  
text in

the toolbar is just as bad where there is supposed to be a smooth
shading...

Fields are all black, and since the text is black too, you must select
text to see what it says...

Now, that was ok to paste (when copy or paste wants to work) in the
license but when you have to edit a script it's "forget it!"
the whole script editor field is BLACK!

If anyone know how to work with rev in a virgin install of Rev 2.8  
in a

Win32 2003 server RDP session in 16 I would really appreciate it!!!
I cant even debug my scripts!!!

OOps, the documentation window is also all garbled up too!!! How  
this the

developpers and testers manage to miss this???

Thanks in advance
Xav


-- 
--

Clearstream Services S.A.
42 Avenue JF Kennedy, L-1855 Luxembourg
Société anonyme is organised with limited liability
in the Grand Duchy of Luxembourg RC Luxembourg B 60911.


-
Visit us at http://www.clearstream.com

IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream
International does not accept legal responsibility for the contents
of this message.

The information contained in this e-mail is confidential and may be
legally privileged. It is intended solely for the addressee. If you
are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. Any views expressed in
this e-mail are those of the individual sender, except where the
sender specifically states them to be the views of Clearstream
International or of any of its affiliates or subsidiaries.

Legally required information for business correspondence/
Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz:
http://deutsche-boerse.com/letterhead

END OF DISCLAIMER

___
use-revolution mailing list
use-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: scaling and positioning proportionally an object at the same time

2007-04-19 Thread Dave

Hi,

Well you don't need to "call" the GM, you set the GM properties via  
the Property Inspector for the Object(s) and I doubt if the GM would  
cause your stack not to compile into a Standalone.


What problem do you get when you try to Save as Standalone?

All the Best
Dave

On 18 Apr 2007, at 17:24, Joe Lewis Wilkins wrote:


Hi all, Dave in particular,

Is it possible that the stack I can no longer compile to a stand  
alone uses this broken Geometry Manager without my having called  
any of its routines myself. It contains a lot of images that I have  
either imported or pasted from images copied from ResEdit and  
sometimes modified further with additional images, usually white  
space to clean up an image, using MacDraft. The last image I recall  
adding prior to Rev's refusal to create the stand along was in this  
last category. I'm searching for ANYTHING that may be the cause at  
this point.


TIA,

Joe Wilkins

On Apr 18, 2007, at 8:39 AM, Dave wrote:


Hi,

The Geometry Manager is broken and has been for over three years.  
Why they just don't take it out is beyond me. If it wasn't there  
at least you wouldn't waste hours/days wondering why your code  
doesn't work and what you have done wrong. Eventually you post  
here and someone (like me!) glibly tells you it's broken!


It's best to do you own geometry handling. There are a number of  
sample stacks that do this.


All the Best
Dave

___
use-revolution mailing list
use-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: scaling and positioning proportionally an object at the same time

2007-04-19 Thread Dave

Hi,

The problem is that one day you will be changing your stack and not  
doing anything with the GM and then suddenly *BANG* all your objects  
will disappear off into the land of nod! They will still be in the  
stack but their positions will be wild values like Top, Left =  
25467,9456 and the only way to get the objects back inside the stacks  
display area will be to delete all geometry on all objects and then  
manually set their coordinates back inside the visible stack area  
again. If you have a lot of objects this can take a *long* time and  
is especially annoying if you have spent ages getting all the  
positions "just-right".


Having being burnt like this a few times, I, along with most others  
that have been using RunRev for a while don't go near the GM. It's  
just not worth the risk.


If you *must* use GM you could at least protect yourself a bit by  
adding some code like this to each object:


if the cpGMSaveRect of me = empty then
put the rect of me into the cpGMSaveRect of me
end if

Then run this once for each object once you have got all the  
positioning right. At least then, if and when the GM goes Beswick you  
can restore the original rectangle easily enough.


Just using GM and trusting it without question is like playing  
Russian Roulette!


All the Best
Dave

On 19 Apr 2007, at 14:14, Christian Langers wrote:


Merci beaucoup Eric !

Well I found a way to combine the GM and scripting (I read your  
tutorial...)


Well, I think the GM is good enough for minor use / basic things...  
and scripting stays the best way...




Greets,

Christian




Début du message réexpédié :


De : Eric Chatonet <[EMAIL PROTECTED]>
Date : 18 avril 2007 15:47:47 GMT+02:00
À : How to use Revolution 
Objet : Rép : scaling and positioning proportionally an object at  
the same time

Répondre à : How to use Revolution 

Bonjour Christian,

Le 18 avr. 07 à 15:18, Christian Langers a écrit :


Hello,

I try since hours to do this :

I have an image (photo) on a stack which scales to the right and  
down on resizing the stack (via Geometry Manager); I have a  
graphic (rectangle) placed at a precise location on the image  
(the user selects a portion of the image to hilite something on it);


Now I want that when the user resizes the window the graphic  
scales and moves (up/down) proportionaly to the image , so that  
the rectangle grows and shrinks with the image hiliting always  
the same portion of the image (e.g. an eye of a face); I hope you  
follow (it's difficult to explain this in English)...


I tried to use the GM in REv, but ...brrr... the graphic jumps  
away from its original position when resizing...

So... please ! Hlp... This is getting me on my nerves ;-)
Thanks for any suggestions or solutions...

Christian
from Luxembourg


Actually don't trust the Geometry Manager and prefer to write your  
own routines in a resizeStack handler ;-)

Here is, for instance, an excerpt from such a handler:

on resizeStack pNewW,pNewH,pOldW,pOldH -- note params passed by  
Rev ;-)

  global gPrefs
  -
  if gPrefs["uAdds"] then ProportionalWResize the long name of img  
"ToolbarShadow",pNewW,114
  else ProportionalWResize the long name of img  
"ToolbarShadow",pNewW,0

  pass resizeStack
end resizeStack

And:

on ProportionalWResize pObj,pNewW,pDelta
  local tRect
  -
  put the rect of pObj into tRect
  put pNewW - pDelta into item 3 of tRect
  set the rect of pObj to tRect
end ProportionalWResize

Of course, the above example is simple and, sometimes, it might  
appear more tricky...
But actually, Rev allows to script any complex resizing in any  
case ;-)

Good luck!

Best regards from Paris,
Eric Chatonet.

http://www.sosmartsoftware.com/
[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


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


Fwd: scaling and positioning proportionally an object at the same time

2007-04-19 Thread Christian Langers

Merci beaucoup Eric !

Well I found a way to combine the GM and scripting (I read your  
tutorial...)


Well, I think the GM is good enough for minor use / basic things...  
and scripting stays the best way...




Greets,

Christian




Début du message réexpédié :


De : Eric Chatonet <[EMAIL PROTECTED]>
Date : 18 avril 2007 15:47:47 GMT+02:00
À : How to use Revolution 
Objet : Rép : scaling and positioning proportionally an object at  
the same time

Répondre à : How to use Revolution 

Bonjour Christian,

Le 18 avr. 07 à 15:18, Christian Langers a écrit :


Hello,

I try since hours to do this :

I have an image (photo) on a stack which scales to the right and  
down on resizing the stack (via Geometry Manager); I have a  
graphic (rectangle) placed at a precise location on the image (the  
user selects a portion of the image to hilite something on it);


Now I want that when the user resizes the window the graphic  
scales and moves (up/down) proportionaly to the image , so that  
the rectangle grows and shrinks with the image hiliting always the  
same portion of the image (e.g. an eye of a face); I hope you  
follow (it's difficult to explain this in English)...


I tried to use the GM in REv, but ...brrr... the graphic jumps  
away from its original position when resizing...

So... please ! Hlp... This is getting me on my nerves ;-)
Thanks for any suggestions or solutions...

Christian
from Luxembourg


Actually don't trust the Geometry Manager and prefer to write your  
own routines in a resizeStack handler ;-)

Here is, for instance, an excerpt from such a handler:

on resizeStack pNewW,pNewH,pOldW,pOldH -- note params passed by  
Rev ;-)

  global gPrefs
  -
  if gPrefs["uAdds"] then ProportionalWResize the long name of img  
"ToolbarShadow",pNewW,114
  else ProportionalWResize the long name of img  
"ToolbarShadow",pNewW,0

  pass resizeStack
end resizeStack

And:

on ProportionalWResize pObj,pNewW,pDelta
  local tRect
  -
  put the rect of pObj into tRect
  put pNewW - pDelta into item 3 of tRect
  set the rect of pObj to tRect
end ProportionalWResize

Of course, the above example is simple and, sometimes, it might  
appear more tricky...
But actually, Rev allows to script any complex resizing in any  
case ;-)

Good luck!

Best regards from Paris,
Eric Chatonet.

http://www.sosmartsoftware.com/
[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


Re: Rev 2.8 on RDP is a total disaster

2007-04-19 Thread xavier . bury
things get stranger!
The console window is set to 16 bit yet the screencolors still report 
4294967296 which is 24 bit!
And the screendepth is 32!

The colorMap reports only 256 colors (all seem wrong anyway)...
And the documentation says in the comments: If the bit depth is greater 
than 8 bits, the colormap property always reports "Fixed"

But that is not the case

Conclusion, the rev engine is not aware of what the display depth is being 
displayed in RDP (remote desktop protocol)...

Bugzilla 1076, was reported in 2003, and more than one person consider 
this blocking...

http://quality.runrev.com/qacenter/show_bug.cgi?id=1076

Anyone know any solutions???
Switching the colordepth of the session to 8, 15, 16 or 24 bit is a 
possibility but NONE of them work properly!!! 

Thanks for any hints
Xavier 



[EMAIL PROTECTED] wrote on 19/04/2007 11:33:57:

> Bad habits never change. I updated to Rev  2.8 enterprise (no, actually 
i 
> bought a new version) and I was expecting an improvement but not this!!!
> 
> After nearly 8 years, I open the new runrev IDE on a server as I used to 

> with Metacard and 
> behold... ALL THE GRAPHICS ARE ALL SCREWED UP AGAIN! Not ONE color is 
> correct...
> 
> No this is not news!!! I've reported this problem back in 1999!
> 
> But Rev actually managed to make it worse than metacard!!!
> 
> All the icons are noised up (like a corrupted resource on a mac), text 
in 
> the toolbar is just as bad where there is supposed to be a smooth 
> shading...
> 
> Fields are all black, and since the text is black too, you must select 
> text to see what it says...
> 
> Now, that was ok to paste (when copy or paste wants to work) in the 
> license but when you have to edit a script it's "forget it!"
> the whole script editor field is BLACK!
> 
> If anyone know how to work with rev in a virgin install of Rev 2.8 in a 
> Win32 2003 server RDP session in 16 I would really appreciate it!!!
> I cant even debug my scripts!!!
> 
> OOps, the documentation window is also all garbled up too!!! How this 
the 
> developpers and testers manage to miss this???
> 
> Thanks in advance
> Xav
> 
> 
> 

> Clearstream Services S.A.
> 42 Avenue JF Kennedy, L-1855 Luxembourg
> Société anonyme is organised with limited liability
> in the Grand Duchy of Luxembourg RC Luxembourg B 60911.
> 
> 
> -
> Visit us at http://www.clearstream.com
> 
> IMPORTANT MESSAGE
> 
> Internet communications are not secure and therefore Clearstream
> International does not accept legal responsibility for the contents
> of this message.
> 
> The information contained in this e-mail is confidential and may be
> legally privileged. It is intended solely for the addressee. If you
> are not the intended recipient, any disclosure, copying,
> distribution or any action taken or omitted to be taken in reliance
> on it, is prohibited and may be unlawful. Any views expressed in
> this e-mail are those of the individual sender, except where the
> sender specifically states them to be the views of Clearstream
> International or of any of its affiliates or subsidiaries.
> 
> Legally required information for business correspondence/
> Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz:
> http://deutsche-boerse.com/letterhead
> 
> END OF DISCLAIMER
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your 
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




Clearstream Services S.A.
42 Avenue JF Kennedy, L-1855 Luxembourg
Société anonyme is organised with limited liability
in the Grand Duchy of Luxembourg RC Luxembourg B 60911.

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


AW: how to adress the object name and not the number?

2007-04-19 Thread Tiemo Hollmann TB
Mercie again Eric for your explanations, I will follow them
Tiemo

> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:use-revolution-
> [EMAIL PROTECTED] Im Auftrag von Eric Chatonet
> Gesendet: Donnerstag, 19. April 2007 11:51
> An: How to use Revolution
> Betreff: Re: how to adress the object name and not the number?
> 
> Hi again,
> 
> Naming objects with numbers is not really a good idea: this can
> confuse Rev... and the programmer :-)
> But you have many ways to achieve the goal:
> 
> Name each image with a name followed by a numeric suffix: "img1'.
> Then:
> 
> repeat with i = 1 to the number of imgs
>if the threeD of img ("img" & i) then etc.
>-- just an example :-)
> end repeat
> 
> Set the ID of each image to build a series (images are the only
> objects the ID of which you may change as you want):
> Then:
> 
> repeat with i = ID1 to ID2
>if the threeD of img ID i then etc.
> end repeat
> 
> BTW, setting the filename of an image means to refer it to a file on
> disk: according to the version of Rev you use, such a filename *must*
> be a complete or a relative path.
> The way you say it may be used with Rev 2.8 when images are in the
> same folder as the stack that uses them.
> 
> Le 19 avr. 07 à 11:32, Tiemo Hollmann TB a écrit :
> 
> > I think I have to stumble into every newbee pit and I think I have
> > read a
> > similar thread, but don't find it anymore.
> >
> > I have multiple images on a page which I gave numeric names to be
> > able to
> > process them in loops (that was my thinking).
> >
> > If I address theses images as:
> >
> > set  the filename of image "1"  .
> >
> > rev doesn't take the image with name 1, but number 1, though I put
> > the 1
> > into apostrophe???
> >
> > How can I force rev to take the image with name "1" or do I have to
> > take
> > only alpha names?
> >
> > Any hint appreciated
> >
> > Tiemo
> 
> Best regards from Paris,
> Eric Chatonet.
> 
> http://www.sosmartsoftware.com/
> [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


Re: how to adress the object name and not the number?

2007-04-19 Thread Ian Wood
I second Eric's suggestion. It also comes in handy for keeping track  
of images/objects for different purposes, e.g. "thumb1", "main2",  
"preview3", "temp4" etc.


Looping through and deleting all the 'temp' images then becomes very  
easy.


Ian

On 19 Apr 2007, at 10:51, Eric Chatonet wrote:


Name each image with a name followed by a numeric suffix: "img1'.
Then:

repeat with i = 1 to the number of imgs
  if the threeD of img ("img" & i) then etc.
  -- just an example :-)
end repeat


___
use-revolution mailing list
use-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 adress the object name and not the number?

2007-04-19 Thread Eric Chatonet

Hi again,

Naming objects with numbers is not really a good idea: this can  
confuse Rev... and the programmer :-)

But you have many ways to achieve the goal:

Name each image with a name followed by a numeric suffix: "img1'.
Then:

repeat with i = 1 to the number of imgs
  if the threeD of img ("img" & i) then etc.
  -- just an example :-)
end repeat

Set the ID of each image to build a series (images are the only  
objects the ID of which you may change as you want):

Then:

repeat with i = ID1 to ID2
  if the threeD of img ID i then etc.
end repeat

BTW, setting the filename of an image means to refer it to a file on  
disk: according to the version of Rev you use, such a filename *must*  
be a complete or a relative path.
The way you say it may be used with Rev 2.8 when images are in the  
same folder as the stack that uses them.


Le 19 avr. 07 à 11:32, Tiemo Hollmann TB a écrit :

I think I have to stumble into every newbee pit and I think I have  
read a

similar thread, but don't find it anymore.

I have multiple images on a page which I gave numeric names to be  
able to

process them in loops (that was my thinking).

If I address theses images as:

set  the filename of image "1"  .

rev doesn't take the image with name 1, but number 1, though I put  
the 1

into apostrophe???

How can I force rev to take the image with name "1" or do I have to  
take

only alpha names?

Any hint appreciated

Tiemo


Best regards from Paris,
Eric Chatonet.

http://www.sosmartsoftware.com/
[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


Rev 2.8 on RDP is a total disaster

2007-04-19 Thread xavier . bury
Bad habits never change. I updated to Rev  2.8 enterprise (no, actually i 
bought a new version) and I was expecting an improvement but not this!!!

After nearly 8 years, I open the new runrev IDE on a server as I used to 
with Metacard and 
behold... ALL THE GRAPHICS ARE ALL SCREWED UP AGAIN! Not ONE color is 
correct...

No this is not news!!! I've reported this problem back in 1999!

But Rev actually managed to make it worse than metacard!!!

All the icons are noised up (like a corrupted resource on a mac), text in 
the toolbar is just as bad where there is supposed to be a smooth 
shading...

Fields are all black, and since the text is black too, you must select 
text to see what it says...

Now, that was ok to paste (when copy or paste wants to work) in the 
license but when you have to edit a script it's "forget it!"
the whole script editor field is BLACK!

If anyone know how to work with rev in a virgin install of Rev 2.8 in a 
Win32 2003 server RDP session in 16 I would really appreciate it!!!
I cant even debug my scripts!!!

OOps, the documentation window is also all garbled up too!!! How this the 
developpers and testers manage to miss this???

Thanks in advance
Xav



Clearstream Services S.A.
42 Avenue JF Kennedy, L-1855 Luxembourg
Société anonyme is organised with limited liability
in the Grand Duchy of Luxembourg RC Luxembourg B 60911.


-
Visit us at http://www.clearstream.com

IMPORTANT MESSAGE

Internet communications are not secure and therefore Clearstream
International does not accept legal responsibility for the contents
of this message.

The information contained in this e-mail is confidential and may be
legally privileged. It is intended solely for the addressee. If you
are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. Any views expressed in
this e-mail are those of the individual sender, except where the
sender specifically states them to be the views of Clearstream
International or of any of its affiliates or subsidiaries.

Legally required information for business correspondence/
Gesetzliche Pflichtangaben fuer Geschaeftskorrespondenz:
http://deutsche-boerse.com/letterhead

END OF DISCLAIMER

___
use-revolution mailing list
use-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 adress the object name and not the number?

2007-04-19 Thread Tiemo Hollmann TB
I think I have to stumble into every newbee pit and I think I have read a
similar thread, but don't find it anymore.

I have multiple images on a page which I gave numeric names to be able to
process them in loops (that was my thinking).

If I address theses images as:

set  the filename of image "1"  .

rev doesn't take the image with name 1, but number 1, though I put the 1
into apostrophe???

How can I force rev to take the image with name "1" or do I have to take
only alpha names?

Any hint appreciated

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


Re: External problems

2007-04-19 Thread 00bioarchimed

Hi,

Are you on Mac, developping with Xcode ?

Regards,
thierry

Le 18 avr. 07 à 19:20, Matthew a écrit :


Undefined symbols:
_getXtable
	(part of path removed)/ExternalsEnvironment2_mod/sha1_hash/cache/ 
Debug/sha1_hash.build/Objects-normal/ppc/sha1_hash.o reference to  
undefined _getXtable
looking in both externals.c and externals.h i notice that getXtable  
is defined but not _getXtable. Is there something that I should  
change to fix this?




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


AW: What is the correct way to show a substack window?

2007-04-19 Thread Tiemo Hollmann TB
Mercie Eric,
sometimes solutions are so easy :)
Tiemo

> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:use-revolution-
> [EMAIL PROTECTED] Im Auftrag von Eric Chatonet
> Gesendet: Donnerstag, 19. April 2007 10:18
> An: How to use Revolution
> Betreff: Re: What is the correct way to show a substack window?
> 
> Hi Tiemo,
> 
> Le 19 avr. 07 à 09:40, Tiemo Hollmann TB a écrit :
> 
> > I just want to show (open) a substack as a new window (as toplevel). I
> > thought, I just have to code: show stack "myStack", but nothing
> > happens.
> >
> > I have to add: go card "myCard" of stack "myStack" to see the
> > substack. But
> > I don't want to "go" to that substack and get the focus on that
> > stack. I
> > tried it also with the visibility, what is obvious the same as "show"
> 
> Showing a stack that is not open has no effect:
> You must go to the stack or use a command as topLevel, modeless,
> palette, etc.
> As for keeping the focus, use the push/pop command:
> 
>push cd
>toplevel stack "myStack"
>pop cd
> 
> Best regards from Paris,
> Eric Chatonet.
> 
> http://www.sosmartsoftware.com/
> [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


Re: What is the correct way to show a substack window?

2007-04-19 Thread Eric Chatonet

Hi Tiemo,

Le 19 avr. 07 à 09:40, Tiemo Hollmann TB a écrit :


I just want to show (open) a substack as a new window (as toplevel). I
thought, I just have to code: show stack "myStack", but nothing  
happens.


I have to add: go card "myCard" of stack "myStack" to see the  
substack. But
I don't want to "go" to that substack and get the focus on that  
stack. I

tried it also with the visibility, what is obvious the same as "show"


Showing a stack that is not open has no effect:
You must go to the stack or use a command as topLevel, modeless,  
palette, etc.

As for keeping the focus, use the push/pop command:

  push cd
  toplevel stack "myStack"
  pop cd

Best regards from Paris,
Eric Chatonet.

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



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


Re: [OT] Sadly Hilarious

2007-04-19 Thread Chipp Walters

Here's another Apple spinoff political satire which has been making the
rounds...
http://www.youtube.com/watch?v=6h3G-lMZxjo
___
use-revolution mailing list
use-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 is the correct way to show a substack window?

2007-04-19 Thread Tiemo Hollmann TB
Sorry for this newbee question:-)

I just want to show (open) a substack as a new window (as toplevel). I
thought, I just have to code: show stack "myStack", but nothing happens.

I have to add: go card "myCard" of stack "myStack" to see the substack. But
I don't want to "go" to that substack and get the focus on that stack. I
tried it also with the visibility, what is obvious the same as "show"

I think I am missing some basics

 

Thanks for any hints

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


AW: image background is grey when printing

2007-04-19 Thread Tiemo Hollmann TB
Hello Mark and Richard,
yes, the cards background was explicit white. Meanwhile I created a new test
stack, where this doesn't appear, but I don't find the difference, so I go
the way with hiding the objects, what has also some other advantages for me.
Thanks for answering
Tiemo

> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:use-revolution-
> [EMAIL PROTECTED] Im Auftrag von Richard Gaskin
> Gesendet: Donnerstag, 19. April 2007 09:20
> An: How to use Revolution
> Betreff: Re: image background is grey when printing
> 
> Tiemo Hollmann wrote:
> > I have some image objects which don't have always a file
> > assigned on my card with white background.
> 
> Has the card's backgroundColor property been set to white, or does it
> merely appear as white on screen but has merely been eft in its default
> state with no color assigned?
> 
> --
>   Richard Gaskin
>   Fourth World Media Corporation
>   ___
>   [EMAIL PROTECTED]   http://www.FourthWorld.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: image background is grey when printing

2007-04-19 Thread Richard Gaskin

Tiemo Hollmann wrote:

I have some image objects which don't have always a file
assigned on my card with white background. 


Has the card's backgroundColor property been set to white, or does it 
merely appear as white on screen but has merely been eft in its default 
state with no color assigned?


--
 Richard Gaskin
 Fourth World Media Corporation
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.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


[OT] Sadly Hilarious

2007-04-19 Thread Scott Rossi
At the risk of bringing up politics on the list, the concept behind this
skit is actually pretty creative.

http://www.glumbert.com/media/irack

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design


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


Re: image background is grey when printing

2007-04-19 Thread Mark Schonewille

Hi Tiemo,

I think that hiding the images is a good solution. Why isn't it a  
satisfying answer? As you say yourself, the gray background is  
actually there. Of course, you could report it as a bug to the QC.


Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Get your store on-line within minutes with Salery Web Store software.  
Download at http://www.salery.biz


Op 18-apr-2007, om 10:26 heeft Tiemo Hollmann TB het volgende  
geschreven:



Hello,

I have read the thread about the grey textfield background, but  
didn't find
any answer yet for my similar problem. I have some image objects  
which don't
have always a file assigned on my card with white background. Those  
image
objects without a picture assigned are printed with a grey  
backround and not
white, as displayed. I have detected, if I set the card background  
to black,
I can see the grey background of the image object on my card as  
well. So I

think it must have something to do with the transparency of the image
object? The only solution I have found yet is to hide all image  
objects
without file assigned before printing. But that is not a satisfying  
answer.


Does anybody has experienced this before and has a straight solution?



Thanks 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