Re: maze wall algorithm

2005-11-14 Thread Malte Brill

Hi Nicolas,

>If given a maze in the form of a
>grid such as this...

Adding to Scotts suggestions I have a few questions.

Will the maze be hard coded or does it change randomly?
Do you want to move through the grid cell by cell (to the center of 
each cell) or do you want to be able to move to any possible loc in the 
cell?
Is the object that moves through the maze steered by the user (hero) or 
by script (enemy)?


All the best,

Malte

---
ArcadeEngine - prepare to WOW your audience within minutes
http://www.runrev.com/section/revselect/arcadeengine
http://www.derbrill.com/arcadeengine/forum 


___
use-revolution mailing list
use-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 can I print all parts of oversize cards!....desperately

2005-11-14 Thread J. Landman Gay

Kresten Bjerg wrote:


But those problems are of another kind. They are concerned with very large 
images,
surpassing 4096 x 4096.  The total card area in our case is well within these 
limits,
the problem comes from the fact that 6 screensize windows with horizontal hrect  
< 2000 can print,
while 3 where horizontal rect lies from app 2000 to 3072 cannot !


Sorry, I'm still confused about your stack setup. I went back and 
re-read your posts but it still isn't clear to me. You say you have a 
card that is "three screens wide" -- by that I thought you meant 
multiples of 1024 pixels or more -- and yet you say it all fits on your 
monitor and is all visible at the same time. I don't see how that is 
possible, so I think we have a translation problem. You can apparently 
take a snapshot of the entire screen and see all the windows in it, so 
your card can't really be "three screens wide". But I'm confused.


I'll snip the stuff I wrote up that assumed you would export snapshots 
to a file. You want to use a variable.



Well, this is where we fail:
"If phenowindow is gardenwindow then
export snapshot from rect 10,30,900,704 to screenbuff 
- - (in this case we have to use relative rects, 
contrary to when we use the print this card formula for the other 6 windows)
 
go stack printbuffer

set the imagedata of image "Bufferimage" to screenbuff
end if"
ALAS, this does produce a change of the before empty image "Bufferimage", 
but a totally messed up one, where you cannot recognize the structures of the window being snapshotted.


Try specifying an image format in your export command:

  export snapshot from rect 10,30,900,704 to screenbuff as GIF

See if that helps. Try JPEG as an alternative.


 
the images are no more than screen size-


So, you have three windows that all fit on the screen, and are not 
"screen sized" each?


Can anyone else jump in here? I've only got time to provide cursory 
help, and I'm apparently misunderstanding something.



P.S.  In order to have postings to this site posted "into the thread" does one have to 
subscribe to the list?


Generally only subscribed members can post, so I would think you are 
already subscribed. Usually to reply to a thread, you just hit the 
"reply" button in your email program and it assigns the correct threading.


Or are you reading the list from one of the archives? (Do any of those 
allow one to post?) If so, then yes, you'd have to subscribe.


--
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: Serious Engine annoyance with is a folder on Win32...

2005-11-14 Thread Ken Ray
On 11/14/05 11:20 PM, "MisterX" <[EMAIL PROTECTED]> wrote:

> Ken
> 
> These errors come from non-removable drives. But I see your point.

You get an error "Please insert a disk into drive F:" when drive F is not a
removable disk? Wow...

I'd love to know why *that's* happening...


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

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


Load URL returns error 10049

2005-11-14 Thread Dave Beck
 

First of all, many apologies for the triple post of the original message in
this thread!! I had changed emails and experienced some "issues" with
posting the message from an address that was not a subscribed to the list.
The re-posting was definitely not intentional (sorry again!).

 

Dave, I had the user check to see if there were any proxy settings and the
answer was no there are not any. Thanks for the suggestion though.

 

Erin, I had the user ping the web site that the script is trying to access
through Load URL and the ping returned:

 

Ping statistics for 66.160.133.98

Packets: Sent 4, Received 4, lost 0

Approximate round trip minimum =72ms, maximum 78 ms, average 74ms

 

So everything appears to be normal there. I also built I special version of
the stand alone that accesses the URL through the IP address as you
suggested, but unfortunately she still received the same 10049 error.

 

Should I still try to determine show she's getting her own IP (e.g., is it
static or assigned via DHCP), and / or what her default gateway is? (She
already told me that she is not on an internal network or behind a
firewall.) Or in light of the new info is that a moot point?

 

Sorry about the delay getting back to the list with results of these tests.
It took until today for her to get back to me.

 

Any help anybody could offer would be greatly appreciated. Again, the
problem is that the load URL command fails for this user when trying to load
a web page and the URLStatus function returns "error". Then the
libURLErrorData function returns "10049". This problem is isolated to this
user and the stand alone has been distributed and works as expected for over
50 others, as accessing the same hard coded URL.

 

Many thanks,

Dave Beck

___
use-revolution mailing list
use-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: Serious Engine annoyance with is a folder on Win32...

2005-11-14 Thread MisterX
Ken

These errors come from non-removable drives. But I see your point.

that will be shell redirected ;(

Thanks for the confirmation. Now I see what the fuss was about!

cheers
Xavier

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Ken Ray
> Sent: Monday, November 14, 2005 20:31
> To: Use Revolution List
> Subject: Re: Serious Engine annoyance with is a folder on Win32...
> 
> On 11/14/05 8:53 AM, "[EMAIL PROTECTED]"
> <[EMAIL PROTECTED]> wrote:
> 
> > So i scan the paths list to find the right folders, eliminate the 
> > non-existing. But I kept getting this dialog: "there is no 
> Disk in the 
> > drive. Please insert a disk into drife F:." with buttons 
> (cancel)(try 
> > again)(continue).
> 
> Welcome to Windows... ;-)
> 
> That's something that's been discussed quite frequently here 
> on the list; that when you check for a path that is on a 
> removable drive, Windows will do just as you describe. There 
> have been a few suggestions on how to handle this, but it is 
> different on different flavors of Windows (earlier ones will 
> always bring up the dialog; later ones *may* bring it up), 
> but the bottom line was that if you need to know from Win95 
> on up, you need to use a DLL or third party utility EXE to 
> check whether a drive is available or not.
> 
> See: http://www.sonsothunder.com/devres/revolution/tips/disk005.htm
> 
> Check out the update notes at the bottom of the page.
> 
> If you can count on only a later version of Windows, you can 
> test the readiness using VBS (I believe).
> 
> > Can anyone tell me if this also happens on Macs? Linux?
> > Can another PC user confirm this?
> 
> Well, it doesn't happen on Macs because drives are uniquely 
> named so there isn't a specific name that refers to a 
> removable drive (unlike A: and B:
> which are by definition removable).
> 
> 
> Ken Ray
> Sons of Thunder Software
> Web site: http://www.sonsothunder.com/
> Email: [EMAIL PROTECTED]
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage 
> your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution

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


Re: maze wall algorithm

2005-11-14 Thread Scott Rossi
Recently,N Cueto wrote:

> If given a maze in the form of a
> grid
> ...
> then, what would be the
> ideal scripting for limiting
> "movement" between only
> contiguous squares that are
> not separated by a wall

The way I've done something like this in the past is to use physical
boundaries, in other words, using the intersect and/or within functions to
prevent/constrain movement in certain directions.  From your example, it's
not clear if you *need* to limit movement based on numerical progression,
but this could be handled easily via the loc property, as you guessed.

You could use rectangle "wall" graphics combined with the above functions to
allow for moveable obstacles, and test for collision with the graphics on
the current maze/screen.  Alternatively, if you were able to use a single
image as your maze, this would allow for testing intersect/within results
within a single object -- the image.  This is the benefit of using images
for collision detection in that you can test for non-transparent pixel
collisions, as opposed to using graphics which only allow for rects.  I
don't know if images would work in your situation but that was the technique
I used and it's reliable.

Let me know if this makes sense (or if not, maybe I can dig up an old demo).

Of course, one must also keep in mind Malte Brill's Arcade Engine...

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-
E: [EMAIL PROTECTED]
W: http://www.tactilemedia.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


maze wall algorithm

2005-11-14 Thread N Cueto
This is a puzzle more than a RunRev
topic. Apologies.

If given a maze in the form of a
grid such as this...
 _ _ _
|1|2|3|
|- - -|
|4|5|6|
|- - -|
|7|8|9|
 - - -

... and in which the squares 
are made up of images and the
walls of graphics...

... and also in which the
walls are removable so as
to create a maze such as
this...

 _   _
|1 2|3|
|  - -|
|4|5|6|
|  - -|
|7 8|9|
 -   -

... then, what would be the 
ideal scripting for limiting
"movement" between only
contiguous squares that are
not separated by a wall, i.e,
in this example the only
allowed path would be...

8->7->4->1->2

My own idea is to use either
the loc of objects or custom
properties.

Many many thanks.

--
Nicolas Cueto
niconiko language school
___
use-revolution mailing list
use-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 on button

2005-11-14 Thread Kay C Lan
On 11/15/05, Jeanne A. E. DeVoto <[EMAIL PROTECTED]> wrote:
>
>
> Create a second JPEG with the appearance you want for the hilited
> button. Then set the button's hilitedIcon property to use that JPEG.
>
> You will also probably want to create a third JPEG for what it looks like
should you need to disable the button. This would be the button's
disabledIcon property.

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


How can I print all parts of oversize cards!....desperately

2005-11-14 Thread Kresten Bjerg
Thanks for suggestions
 

Jacqueline wrote:
>There's been some discussion about the limitation, which apparently 
>occurs only on OS X. Here is one post about it:

>

>You may have to try tiling the image. That is, create several snapshots 
>instead of just one, and then import them as separate images and set 
>their edges to touch.
 
But those problems are of another kind. They are concerned with very large 
images,
surpassing 4096 x 4096.  The total card area in our case is well within these 
limits,
the problem comes from the fact that 6 screensize windows with horizontal hrect 
 < 2000 can print,
while 3 where horizontal rect lies from app 2000 to 3072 cannot !

>There are several ways to bring images into a stack.

>1. You can create a blank image and then set its imagedata from a file 
>on disk as you are doing now. This stores the image data in the stack 
>and increases stack size, so you'll want to empty the images when you 
>are done with them. ("set the imagedata of img 1 to empty").
 
Well, this is where we fail:
"If phenowindow is gardenwindow then
export snapshot from rect 10,30,900,704 to screenbuff 
- - (in this case we have to use relative rects, 
contrary to when we use the print this card formula for the other 6 windows)
 
go stack printbuffer
set the imagedata of image "Bufferimage" to screenbuff
end if"
ALAS, this does produce a change of the before empty image "Bufferimage", 
but a totally messed up one, where you cannot recognize the structures of the 
window being snapshotted.
 
So we need a way to ensure, that these data are interpreted in the right way.
There is something about "binfile" which may be relevant. But we would like not 
to go around the further complication
of creating a separate imagefile, so the variable "screenbuff" should be enough.
therefore

>just to import them 
>directly:
>import paint from file "mySnapshot.jpeg"..
.
should be unnessecary

>.. "referenced" image. 
 
also unnessecary
 
x>If you decide you need to tile the images ...
 
should be a waste of energy, as the images are no more than screen size-

>That said, I wonder why you want to print an actual screen image. If you 
>are printing diary information, wouldn't it be better to print just the 
>text? Will your users really want a printout of all the buttons and 
>window borders?
 
Certainly the printout of diary text is primary. But the user has so many 
options 
for design ( and updating) representing  various topologies of their lifespace, 
(Home, family, garden, neighbourhood, workplace etc )and distribution of 
pictogram-(glyph) buttons, 
relative to these topologies, that they shall be able - now and then - 
to get printouts of their present organisation. 
Also, one window shows the distribution of glyph-entries over all the 10-minute 
intervals of the day. 
This may, for some users, for special days, be nice to have in hard copy.
 
P.S.  In order to have postings to this site posted "into the thread" does one 
have to 
subscribe to the list?
 
best regards
kresten
 


 
 
 

___
use-revolution mailing list
use-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: Check Modification Date of single file?

2005-11-14 Thread Sivakatirswami
What can I say? You are all such beautiful souls... thank you! This  
goes in my scrapbook...


Sivakatirswami


On Nov 14, 2005, at 3:21 PM, Richard Gaskin wrote:


on mouseUp
  put 1000 into n
  put the millisecs into t
  repeat n
get GetModDate("/Users/richardgaskin/Documents/EPSON OS X  
booklet.pdf")

  end repeat
  put (the millisecs - t)/n
end mouseUp


function GetModDate pPath
  set the itemdel to "/"
  put urlEncode(last item of pPath) into tFile
  delete last item of pPath
  put the directory into tSaveDir
  set the directory to pPath
  put the detailed files into tFileList
  set the directory to tSaveDir
  --
  set the itemdel to comma
  get lineoffset(cr&tFile&comma, tFileList)
  if it > 0 then
return item 5 of line it of tFileList
  end if
end GetModDate


___
use-revolution mailing list
use-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: Check Modification Date of single file?

2005-11-14 Thread Richard Gaskin

Alex Tweedly wrote:

Sivakatirswami wrote:

Klaus, Aloha from Hawaii, I hope you don't have too cold a winter  
over there, pray that the Gulf Stream doesn't stop...predicted to  
soon -- maybe as soon as in next five years or so -- at which time  
Europe freezes over; if it does you can move to Hawaii and help us here.


Detailed files: right, saw that... but thats returned from all files  
in the defaultFolder... I looking to get that info from a single file  
on a single path  (this list of file I have is in multiple folders)



I don't think there is a way to get the info for a single file. Remember 
that what "the detailed files" does is read the directory info - so it 
would not be significantly faster to read the info for one file than it 
is for the whole folder.


Ideally (for performance) you'd sort the list of files you care about by 
folder, then visit each folder in turn, get the detailed files, make the 
decision about each of the files in your list, then move on to the next 
folder ...


Agreed.  The function below takes about 4ms per call on my 1GHz PB G4. 
If you comment out the second part of the GetModDate function below "--" 
it takes almost the same amount of time, suggesting that most of the 
time is eaten storing, changing, and restoring the directory:


on mouseUp
  put 1000 into n
  put the millisecs into t
  repeat n
get GetModDate("/Users/richardgaskin/Documents/EPSON OS X booklet.pdf")
  end repeat
  put (the millisecs - t)/n
end mouseUp


function GetModDate pPath
  set the itemdel to "/"
  put urlEncode(last item of pPath) into tFile
  delete last item of pPath
  put the directory into tSaveDir
  set the directory to pPath
  put the detailed files into tFileList
  set the directory to tSaveDir
  --
  set the itemdel to comma
  get lineoffset(cr&tFile&comma, tFileList)
  if it > 0 then
return item 5 of line it of tFileList
  end if
end GetModDate




--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Check Modification Date of single file?

2005-11-14 Thread Alex Tweedly

Sivakatirswami wrote:

Klaus, Aloha from Hawaii, I hope you don't have too cold a winter  
over there, pray that the Gulf Stream doesn't stop...predicted to  
soon -- maybe as soon as in next five years or so -- at which time  
Europe freezes over; if it does you can move to Hawaii and help us here.


Detailed files: right, saw that... but thats returned from all files  
in the defaultFolder... I looking to get that info from a single file  
on a single path  (this list of file I have is in multiple folders)


I don't think there is a way to get the info for a single file. Remember 
that what "the detailed files" does is read the directory info - so it 
would not be significantly faster to read the info for one file than it 
is for the whole folder.


Ideally (for performance) you'd sort the list of files you care about by 
folder, then visit each folder in turn, get the detailed files, make the 
decision about each of the files in your list, then move on to the next 
folder ...


--
Alex Tweedly   http://www.tweedly.net



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.0/167 - Release Date: 11/11/2005

___
use-revolution mailing list
use-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: Table Field Object - how to use?

2005-11-14 Thread Alex Tweedly

Jerry J wrote:

I've been avoiding table fields because of lack of instructions and 
hints of near-future improvements. Now I have a client who really 
wants to know, and has a very simple use in mind. I have been looking 
around in my saved digests (and everywhere else I can think of) but 
the topic eludes me. I know I've seen a simple how-to before, when I 
didn't really care, where was that? Sorry to bring up an old and 
frequent topic, but I am stumped.


It might be the tutorial (number 16) by Eric Chatonet of So Smart 
Software. Can be found at


http://www.sosmartsoftware.com/?r=revolution_didacticiels&l=en



--
Alex Tweedly   http://www.tweedly.net



--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.362 / Virus Database: 267.13.0/167 - Release Date: 11/11/2005

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


Re: ANN: New website

2005-11-14 Thread Pierre Sahores
Aïe, aïe, aïe ! All the ones whose did'nt switch to CSS2 are yet able  
to sse why we need to do it, AS SOON AS POSSIBLE !!!


Great and cool, Klaus :-)

Best Regards,

Le 14 nov. 05 à 17:44, Klaus Major a écrit :


Hi friends,

i finally managed to create some new webpages!
No more frames, just pure CSS and HTML. Not even tables :-D

Now you can also switch to the "other" language on every single page!


German site:
http;//www.major-k.de

English site:
http;//www.major-k.de/indexe.html


And here the direct link to the x-talk section:

German:
http;//www.major-k.de/xtalk.html

English:
http;//www.major-k.de/xtalke.html

Enjoy :-)


Regards

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



P.S.
I am doing my best, but since i am not a native english speaking
person, please drop a short line, if and where my english is not as
good it should be ;-) Thank you!

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

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





That's all for yet, Friends, Kind Regards, Pierre Sahores

"A partir du moment où on évolue dans une activité où il n'y a pas de  
place pour la fanfaronnade, on est obligé de tomber sur des  
personnages d'exception. Tous ces gens sont au limiteur." Pierre  
Dupasquier




___
use-revolution mailing list
use-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: Limitations of 'click'?

2005-11-14 Thread Graham Samuel

On Mon, 14 Nov 2005 05:06:39 EST, [EMAIL PROTECTED] wrote:


sez [EMAIL PROTECTED]:


I'm trying to traverse a set of fields whose names and numbers I
don't reliably know. In fact my plan is to rename them systematically
by visiting each one in turn. What I do know is their locations (they
form a grid to which the names will be related). I thought I could
move along the grid, storing the coordinates of the next field in
line in say myNewLoc, and then execute at each iteration:

 click at myNewLoc

or whatever. I can do this, and I am sure that I am clicking on an
open field, but this action doesn't seem to set either the clickField
or the selectedField, nor send an 'openField' message, so I can't
then operate on the field I've clicked on. In fact I find the
clickField to be empty and the selectedField to be a field which
clearly isn't selected. According to the RR docs, the 'click' command
acts as a mouse click, which would AFAIK set both these, so I must be
doing something wrong. Can anybody suggest what?


   Given that you absolutely *do* know the locations of the fields in
question, something like this might do the job for you:

  put "Field List" into ListOFieldz
  repeat with K1 = 1 to the number of fields
put return & (the short name of field K1 & "," & the loc of  
field K1)

after ListOFieldz
  end repeat
  delete line 1 of ListOFieldz

  # okay, we got all the fields. now let's sort them by location
  sort lines numeric of ListOFieldz by item 3 of each
  sort lines numeric of ListOFieldz by item 2 of each

  # right here is a good place to delete unwanted fields,
  #   based on the locations thereof

  # and, moving right along...
  repeat for each line LL in ListOFieldz
put item 1 of LL into DisFld
DoWhateverYouWantTo DisFld
  end repeat

   Hope this helps.

Thanks very much - I get the idea (the only tricky bit is the  
discarding of irrelevant fields some of which have exactly the same  
location as the relevant ones, but are stacked lower): but I can do  
it, in fact. So thanks to you I could solve the immediate problem.


However I remained extremely curious about the operation of 'click'.  
I tried an experiment with a one-card stack containing a single  
field, and 'click at' worked as advertised, firing off an 'openField'  
which could be run in the card script as easily as in the field  
itself (which is what I wanted). Eventually I realised that I had  
some kind of timing problem in the original solution. It evolved to  
the point where at the click of a button, I ran a loop which  
traversed my fields, but the actual work was done in an 'openField'  
handler invoked by my click. This tended to crash or produce the  
wrong result until I introduced a delay into the loop, like


click at myCalculatedLoc
wait 50 milliseconds

After that it worked perfectly. It seems to me that the message path  
was more complex than I had imagined: I thought that as soon as the  
'click' was executed, control would pass to the openField handler and  
it wouldn't get back to my button script until the handler was done -  
but this wasn't exactly the case. I haven't got time to work out what  
the problem really was, but I'm afraid that one of these days it will  
come up and bite me.


Graham


 
---

Graham Samuel / The Living Fossil Co. / UK and France

___
use-revolution mailing list
use-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 can I print all parts of oversize cards!....desperately !

2005-11-14 Thread J. Landman Gay

Kresten Bjerg wrote:

Dear Jacqueline
 
As you see from my first posting - and from the last- it is only the problem of printing a single snapshot from

 a visible window ( past horizontal 2000) of a large card.
We have been trying to follow your suggestion of :
"... importing... snapshot(s) to a buffer stack and then printing the buffer's card 
should work.",
 but we get stuck. 
We have succesfully exported a snapshot from a (visible) part of a card into a container named screenbuff,
 which seems to contain binary image data. But we cant suceed in putting this into a screensize  image ("bufferimage") 
for that purpose on the buffer-stack. 
Using "set the imagedata of image "bufferimage" to screenbuff results in an extremely distorted image...

How should the scripting go to suceed in putting such a screen snapshot into 
the screensize  image in the bufferstack  ?
Please !
 
P.S.  : is the limitation to horizontal 2000 for printcard  known - a discussed issue...a bug ?the result of a decision ?


There's been some discussion about the limitation, which apparently 
occurs only on OS X. Here is one post about it:




You may have to try tiling the image. That is, create several snapshots 
instead of just one, and then import them as separate images and set 
their edges to touch.


There are several ways to bring images into a stack.

1. You can create a blank image and then set its imagedata from a file 
on disk as you are doing now. This stores the image data in the stack 
and increases stack size, so you'll want to empty the images when you 
are done with them. ("set the imagedata of img 1 to empty").


2. An easier way to deal with several images is just to import them 
directly:


  import paint from file "mySnapshot.jpeg"

This also increases stack size, so delete or empty the stack images when 
you are done. You may also want to remove the snapshot files on disk 
("delete file ").


3. Create image objects in advance, and set their filenames to the image 
paths on disk. This is called a "referenced" image. It does not increase 
stack size because the image data is not stored in the stack. The images 
remain on disk, however, so you may want to delete them when done 
("delete file ").


If you decide you need to tile the images to get them to print, then 
take two or three snapshots of the screen, dividing it into halves or 
thirds. When you want to print, bring them into your buffer stack using 
one of the above methods. For example, using method #2 with 2 images:


set the defaultstack to "BufferPrintStack"
import paint from file "snapshot1.jpg" -- you may need a full path here
set the topleft of img ""snapshot1.jpg"" to 0,0 -- or wherever
import paint from file "snapshot2.jpg"
set the topleft of last img to (the top of img "snapshot1.jpg",the right 
of img "snapshot1.jpg")


If you are setting the filenames of pre-existing image objects, then you 
can align them beforehand in the IDE and just set their filenames when 
you are ready to print.


That said, I wonder why you want to print an actual screen image. If you 
are printing diary information, wouldn't it be better to print just the 
text? Will your users really want a printout of all the buttons and 
window borders?


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


Table Field Object - how to use?

2005-11-14 Thread Jerry J
I've been avoiding table fields because of lack of instructions and 
hints of near-future improvements. Now I have a client who really wants 
to know, and has a very simple use in mind. I have been looking around 
in my saved digests (and everywhere else I can think of) but the topic 
eludes me. I know I've seen a simple how-to before, when I didn't 
really care, where was that? Sorry to bring up an old and frequent 
topic, but I am stumped.


Thanks,
Jerry Jensen

___
use-revolution mailing list
use-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 can I print all parts of oversize cards!....desperately !

2005-11-14 Thread Kresten Bjerg
Dear Jacqueline
 
As you see from my first posting - and from the last- it is only the problem of 
printing a single snapshot from
 a visible window ( past horizontal 2000) of a large card.
We have been trying to follow your suggestion of :
"... importing... snapshot(s) to a buffer stack and then printing the buffer's 
card should work.",
 but we get stuck. 
We have succesfully exported a snapshot from a (visible) part of a card into a 
container named screenbuff,
 which seems to contain binary image data. But we cant suceed in putting this 
into a screensize  image ("bufferimage") 
for that purpose on the buffer-stack. 
Using "set the imagedata of image "bufferimage" to screenbuff results in an 
extremely distorted image...
How should the scripting go to suceed in putting such a screen snapshot into 
the screensize  image in the bufferstack  ?
Please !
 
P.S.  : is the limitation to horizontal 2000 for printcard  known - a discussed 
issue...a bug ?the result of a decision ?
 
Kresten
 

 

___
use-revolution mailing list
use-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: Check Modification Date of single file?

2005-11-14 Thread Sivakatirswami
Klaus, Aloha from Hawaii, I hope you don't have too cold a winter  
over there, pray that the Gulf Stream doesn't stop...predicted to  
soon -- maybe as soon as in next five years or so -- at which time  
Europe freezes over; if it does you can move to Hawaii and help us here.


Detailed files: right, saw that... but thats returned from all files  
in the defaultFolder... I looking to get that info from a single file  
on a single path  (this list of file I have is in multiple folders)


Sivakatirswami


On Nov 14, 2005, at 12:04 PM, Klaus Major wrote:


Hi Swami,


Is there a way to check the modification date of a single file?   
If not in rev, anyone know the shell cmd for this?
I have a long list of file-paths  all in different folders and I  
need to determine which ones were change today and return that set  
to a different list.




check the docs for "files":
-> "the detailed files" or "the long files".

That will give you the desired info.



Sivakatirswami



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: Check Modification Date of single file?

2005-11-14 Thread Klaus Major

Hi Swami,

Is there a way to check the modification date of a single file?  If  
not in rev, anyone know the shell cmd for this?
I have a long list of file-paths  all in different folders and I  
need to determine which ones were change today and return that set  
to a different list.


check the docs for "files":
-> "the detailed files" or "the long files".

That will give you the desired info.


Sivakatirswami


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


Check Modification Date of single file?

2005-11-14 Thread Sivakatirswami
Is there a way to check the modification date of a single file?  If  
not in rev, anyone know the shell cmd for this?


I have a long list of file-paths  all in different folders and I need  
to determine which ones were change today and return that set to a  
different list.


Sivakatirswami


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


open with on windows does not work with rev. Heeeeeelp :-)

2005-11-14 Thread Bob Hartley
Hi All.

I was wanting to launch a rev plugin to check for updates. (I won't mention
the plugin because it is not the fault of the plugin). I deleted rev 2.5
because I use 2.6 and the old rev version kept launching.

So I doubleclicked on the plugin (has a .rev extension) and windows asked me
what application I wanted to use. Since rev was not in the list, I clicked
browse to go to the rev 2.6 folder and clicked on revolution.exe.

I then clicked open and then OK. Oops. Windows XP did not recognise
revolution.exe and set all the files with a .rev extension to firefox. :-(

I tried going to the individual properties and diong it that way but still
no luck. Windows does not recognise revolution as an app to associate
fieltypes with. 

Anyone got any idea what I should do (appart from using a mac. :-)
I'm thinking along the lines of my first forray into the registry. O!


Cheers
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


Re: Purge Loop--Destroy Stack no working?

2005-11-14 Thread Sivakatirswami
OK, I removed object gadget, but my point was that, I tested with  
your suite entirelyl disabled (removed completely from the REv app  
folder) and I was still getting the request to purge stacks in memory  
that should have been destroyed on Close, but were not. The  
difference being that I only got it once and if I clicked purge, it  
worked... (vs the loop I would get with Constellation loaded *even if  
object gadget was not open*)



On Nov 14, 2005, at 2:13 AM, Jerry Daniels wrote:


Sivakatirswami,

I thought about your problem so more and have the following  
observations, questions and recommendations.


I don't think the problem is with the release version of  
Constellation you are using but, it is possible that there is a  
problem with one of Constellation's pre-release "buddies", Object  
Gadget.


Do you have Object Gadget open when this is happening? There is a  
known issue with Object Gadget where it verifies its list and  
inadvertently keeps the stacks in memory because it likes to test  
every object's parent stack by its long stack name to see if it  
exists. Please test without Object Gadget and see if it makes any  
difference.


Object Gadget it not released software, and it has known issues.  
For this reason, I only use Object Gadget when I need it for  
something and keep it close if I don't need it--and I have no  
difficulties with it. That's also why it is discounted so that it  
costs about two dollars right now. Once we get Object Gadget  
released, this will no longer be an issue (and the discounted price  
will go away, too).


Please let me know how your test without Object Gadget goes--or how  
you do with discretionary use of it as indicated above.


It would seem unlikely to me that your stacks are corrupted. My  
experience with corrupted stacks usually means the stack will not  
open and if it does it appears to have extremely sluggish behavior  
and slows down the IDE noticeably.


Also, all of the products we sell are pretty stingy with doling out  
custom properties and there are preferences to prevent them from  
being used at all. I don't believe custom props would cause your  
problem, in any case.


There are many people (I am becoming one) who prefer to store all  
data outside the stack--in a text file using XML or the like. Like  
others, when saving on close in the IDE, if something "unexpected"  
happens with the IDE, it can affect the process of saving and THEN  
corruption can take place. I haven't had problems with explicit  
saving in the IDE, whereas I have had problems with the implicit  
save you noted in your closeStack handler.


Best,

Jerry

http://www.daniels-mara.com/products/constellation.htm
Scripts and properties in a tabbed editor!

On Nov 13, 2005, at 10:36 PM, Sivakatirswami wrote:


The past few days REv is repeatedly asking me if I want to purge a  
stack in memory with the same name... Most of my stacks have


on closestack
   save this stack
end close stack

And for some reason, if Constellation is running, this puts me  
into an infinite loop where Rev is unable to save (because there  
is a stack in memory with the same name) ... I click save or purge  
or cancel, it doesn't matter... the msg comes right back..


if I don't boot constellation, I don't get into a loop but still  
though all my stacks are set to Destroy on close, rev keeps asking  
to purge a previously closed stack if I open another which has the  
same name.


I'm thinking something has been corrupted or a custom prop is  
"stuck" somewhere that thinks these stacks are in memory when they  
or not, or they are not being destroyed when they should be... any  
ideas?  Rebooting Rev does not change the behavior.


Sivakatirswami



___
use-revolution mailing list
use-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: The Disappearing Desktop - It's Real This Time

2005-11-14 Thread Dan Shafer
Agreed. That and security are the issues and they have been more than  
adequately addressed for a long time now. The "omigod my data isn't  
on my own server" alarm is a red herring. Any company that sees the  
advantage in distributed browser-based apps can easily deal with the  
"scary" parts of the solution.


On Nov 14, 2005, at 11:23 AM, Ken Ray wrote:


How comfortable would you feel if all your Revolution source code and
stack components were stored on somebody else's computer at some site
remote from you?


The same way I feel that all my web site source code and components  
are
stored on someone else's computer at some site remote from me...  
I'm fine
with it so long as I have direct access to it and can keep a backup  
in case

the server goes down.




~~
Dan Shafer, Information Product Consultant and Author
http://www.shafermedia.com
Get my book, "Revolution: Software at the Speed of Thought"
From http://www.shafermediastore.com/tech_main.html


___
use-revolution mailing list
use-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: The Disappearing Desktop - It's Real This Time [long]

2005-11-14 Thread Dan Shafer

And this is precisely the problem set at which AJAX is squarely aimed.


On Nov 14, 2005, at 11:17 AM, Jan Schenkel wrote:


Until browsers offer more "widgets" that don't require
horrendous Javascripts to control the data entry and
limit the round-trips to the server, the building of
such solutions will remain hard.




~~
Dan Shafer, Information Product Consultant and Author
http://www.shafermedia.com
Get my book, "Revolution: Software at the Speed of Thought"
From http://www.shafermediastore.com/tech_main.html


___
use-revolution mailing list
use-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: Make a command line software with Revolution

2005-11-14 Thread Girard Damien
Le lundi 14 novembre 2005 à 16:54 -0200, Andre Garzia a écrit :
> On Nov 14, 2005, at 4:46 PM, Girard Damien wrote:
> 
> > Hi all,
> >
> > I wan't to make some very useful tool under linux, and I wan't to  
> > use my
> > favorite IDE called Revolution.
> >
> > But I have got some problems :
> > - How can I pause my software until the user hasen't pressed the  
> > return
> > key ? (for example: "your name (press return for validate):")
> > - How can I run an another software into revolution and return  
> > messages
> > that send the software. (for exemple: when I install a rpm package  
> > (rpm
> > -ivh), there is a progress bar and a percentage, how can I get these
> > informations and returns them directly to the user.).
> 
> Girard,
> 
> check in your docs for STDIN and STDOUT. this will enable you to read  
> and write to console, also "open process" will be your friend if you  
> want to fiddle with proccesses.
> 
> :D
> 
> cheers
> andre
> 
> 
> 
> >
> > Regards,
> >
> > Girard Damien
> > Email: dam-pro.girard at laposte.net
> >

I already know stdout, and he work fine. I will look more deeper the
open process command (and associated commands).

And for stdin, I have tried this, but this doesn't work:

---
put "false" into OK
  
  repeat while OK is false --I wait while the user have pressed any keys
read from stdin until EOF
if it is not empty then
  put true into OK
  write it to stdout
end if
  end repeat
  
  quit
---



___
use-revolution mailing list
use-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: Serious Engine annoyance with is a folder on Win32...

2005-11-14 Thread Ken Ray
On 11/14/05 8:53 AM, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:

> So i scan the paths list to find the right folders, eliminate the
> non-existing. But I kept getting this dialog: "there is no Disk in
> the drive. Please insert a disk into drife F:." with buttons
> (cancel)(try again)(continue).

Welcome to Windows... ;-)

That's something that's been discussed quite frequently here on the list;
that when you check for a path that is on a removable drive, Windows will do
just as you describe. There have been a few suggestions on how to handle
this, but it is different on different flavors of Windows (earlier ones will
always bring up the dialog; later ones *may* bring it up), but the bottom
line was that if you need to know from Win95 on up, you need to use a DLL or
third party utility EXE to check whether a drive is available or not.

See: http://www.sonsothunder.com/devres/revolution/tips/disk005.htm

Check out the update notes at the bottom of the page.

If you can count on only a later version of Windows, you can test the
readiness using VBS (I believe).

> Can anyone tell me if this also happens on Macs? Linux?
> Can another PC user confirm this?

Well, it doesn't happen on Macs because drives are uniquely named so there
isn't a specific name that refers to a removable drive (unlike A: and B:
which are by definition removable).


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

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


Re: The Disappearing Desktop - It's Real This Time

2005-11-14 Thread Ken Ray
On 11/14/05 9:58 AM, "Rob Cozens" <[EMAIL PROTECTED]> wrote:

> Ken, et al:
> 
>> Personally my feeling is that this *could be* the wave of the future, and so
>> we should be keeping close tabs on it as the future pans out, and for those
>> of us that see this as more inevitable, I'd suggest finding a good niche to
>> add value. And for those us that see this as more "flavor of the week", we
>> can at least be cognizant of the technology and watch closely how it
>> progresses.
> 
> Wave of the future or flavor of the week?  Here's a question to help
> you decide:

That was my point - it's too early to make any kind of decision.
 
> How comfortable would you feel if all your Revolution source code and
> stack components were stored on somebody else's computer at some site
> remote from you?

The same way I feel that all my web site source code and components are
stored on someone else's computer at some site remote from me... I'm fine
with it so long as I have direct access to it and can keep a backup in case
the server goes down.

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

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


Re: The Disappearing Desktop - It's Real This Time [long]

2005-11-14 Thread Jan Schenkel
--- David Bovill <[EMAIL PROTECTED]> wrote:
> 
> The main problem with the web service paradigm is
> for this sort of  
> application area. Noone is very happy trusting
> sensitive data this  
> way. Would you want your financial or medical data
> going over a web  
> service? Even if secured via HTTPS? Would you even
> want your  
> accounting information stored somewhere else? How
> about your contact  
> information and address book?
> 
> If the answer is no - that should not stop you
> taking this seriously.  
> Look at application areas where this is not a
> problem - for us we  
> intend to practice open accounting (works for a
> number of NGO's) -  
> for others this would most definitely not work
> (think Arthur  
> Anderson / Accenture).
> 

Hi David et al,

At my day-job, we offer a CITRIX-based online solution
for companies and accountants. The advantage is that
companies can access their data from anywhere on the
globe, while their (external) accountant/auditor can
do the necessary input of correction bookings.

As long as the connection is secure, you can rest
assured that the data is safe, as the ASP-providers
have rigorous backup and failover procedures in their
Service Level Agreements. And the application is
automatically updated for you to the latest version.

Consider having to setup your own server, paying for a
high-speed line in order to host it yourself, having
to backup it (we all know how often we backup our own
computers and keep a copy in a remote location, aye?)
and getting it back online when the whole thing comes
crashing down because of a failure.

Personally, I didn't think there was a future for
online accounting/administrative applications. But for
SMBs, it has turned out to be a cost-effective, secure
solution, providing global access to critical data.

Does this foretell the end of the desktop application?
Surely not: internet-enabled desktop applications have
their place, just like browser-based applications.

Until browsers offer more "widgets" that don't require
horrendous Javascripts to control the data entry and
limit the round-trips to the server, the building of
such solutions will remain hard.

Today, we can use Flash or Java applets to mimic the
user interface inside a browser, but how does this
differ from internet-enabled desktop apps? They run in
a browser thanks to a plug-in.

Does everything have to run on the server-side, while
a thin client shows the result of the changes after a
round-trip to the server? To me this sounds like a
return to the days of the mainframe, just with a nicer
GUI.

In a world where we're trying to squeeze the maximum
out of our computer resources through grid-computing,
the client computer can and should do a lot more than
sitting there as a dumb terminal (granted, it would do
the work of rendering 3D graphics and Quicktime movies
but that's not squeezing the most out of computing
resources, IMHO).

On a more positive note, as AJAX communicates with the
server through web services, we can use Revolution to
consume the same web services. In the end, the more
convenient access method will have the most users,
whether that's a browser-based or internet-enabled
desktop application.

Just my two cents,

Jan Schenkel.

Quartam - Tools for Revolution


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




__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
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: ANN: New website

2005-11-14 Thread Klaus Major

Hi Malte,


http://www.major-k.de

Very nice Klaus! Clapclap. :-)


Thanks a lot!

can we see "Flora Data" in action somewhere? The screen shots are  
very interesting. :-)


Yes, as i already wrote in my last mail:

"The software will be made available for free download, once we added  
a french and

english translation and it will have its own website, too."


All the best,

Malte

---
ArcadeEngine - prepare to WOW your audience within minutes
http://www.runrev.com/section/revselect/arcadeengine
http://www.derbrill.com/arcadeengine/forum


Best

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


P.S.
To all:
I also created a nice SMIL lib a couple of weeks ago!
Don't miss it in Rev-online:
User: klausimausi
Name: mk_libSMIL1 :-)

___
use-revolution mailing list
use-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: Make a command line software with Revolution

2005-11-14 Thread Andre Garzia


On Nov 14, 2005, at 4:46 PM, Girard Damien wrote:


Hi all,

I wan't to make some very useful tool under linux, and I wan't to  
use my

favorite IDE called Revolution.

But I have got some problems :
- How can I pause my software until the user hasen't pressed the  
return

key ? (for example: "your name (press return for validate):")
- How can I run an another software into revolution and return  
messages
that send the software. (for exemple: when I install a rpm package  
(rpm

-ivh), there is a progress bar and a percentage, how can I get these
informations and returns them directly to the user.).


Girard,

check in your docs for STDIN and STDOUT. this will enable you to read  
and write to console, also "open process" will be your friend if you  
want to fiddle with proccesses.


:D

cheers
andre





Regards,

Girard Damien
Email: dam-pro.girard at laposte.net

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

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


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


Re: ANN: New website

2005-11-14 Thread Malte Brill

http://www.major-k.de

Very nice Klaus! Clapclap. :-)

can we see "Flora Data" in action somewhere? The screen shots are very 
interesting. :-)


All the best,

Malte

---
ArcadeEngine - prepare to WOW your audience within minutes
http://www.runrev.com/section/revselect/arcadeengine
http://www.derbrill.com/arcadeengine/forum 


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


Make a command line software with Revolution

2005-11-14 Thread Girard Damien
Hi all,

I wan't to make some very useful tool under linux, and I wan't to use my
favorite IDE called Revolution.

But I have got some problems :
- How can I pause my software until the user hasen't pressed the return
key ? (for example: "your name (press return for validate):")
- How can I run an another software into revolution and return messages
that send the software. (for exemple: when I install a rpm package (rpm
-ivh), there is a progress bar and a percentage, how can I get these
informations and returns them directly to the user.).

Regards,

Girard Damien
Email: dam-pro.girard at laposte.net

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


Re: image on button

2005-11-14 Thread Jeanne A. E. DeVoto

At 12:31 PM -0500 11/14/2005, Preston Shea wrote:
RR lets me use a JPEG as icon on a button. The problem is that the 
image has a background that doesn't change when the button hilites. 
Is there a way around this? Do I have to convert the image to ICN 
format?


Create a second JPEG with the appearance you want for the hilited 
button. Then set the button's hilitedIcon property to use that JPEG.

--
jeanne a. e. devoto ~ [EMAIL PROTECTED]
http://www.jaedworks.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: ANN: New website TYPO

2005-11-14 Thread Klaus Major

Bon jour Dom,

looks like its french fan day today :-D


MisterX <[EMAIL PROTECTED]> wrote:


Very very schoen!


 je dirais même plus : sehr beautiful ;-)


Danke beaucoup!


what is "Flora Data", a commercial, educative piece?


you caught me with my pants down :-)

Actually there is no english description yet because i lack some
very special and biological terms/words :-/

Yes, it is a commercial and educative piece of software to determine
families of plants () by selecting several properties in the  
application.


And you can drag and drop some petals onto a flower to select a  
certain number

of different petals...? Sorry, i am definitively not a biologist :-)

The software will be made available for free download, once we added  
a french and

english translation and it will have its own website, too.

I created this one for a school (Gymnasium) in Dortmund, germany and  
added it to my refs,

since it really looks and works fine :-)


Revolutionario vraiment polyglotte !


A bientôt, mon ami...

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


RR, AIF files and Ubuntu Linux

2005-11-14 Thread Mathewson
Dear Alejandro & other interested would-be workers with RR
& Linux,

I recorded all my sound files on a Mac Mini running Mac OS
10.4 - the reason I do things this way is that all my other
computers HUM and spoil my recordings.

The Ubuntu boxes I'm working with are Pentium 3's that do
not have network cards - cheap by Western standards, but
weighing in at the equivalent of the average monthly salary
each, here in Bulgaria. Owing to the lack of network cards
installing software that is not bundled on the Distro CD is
such a pain I'm just not doing it (mind you I did spend a
horrible Saturday "doing" xanim on one of them).

SO - I have 2 'beefs':

1. How 'seamless' transfer of RR stacks really is -

and, pictorially (GIFS, animated GIFS) everything is
completely seamless

soundwise - not very seamless - and the seams require quite
a bit of fancy sewing

2. Ubuntu's sound system (and Ubuntu is based on unstable
Debian)

AND - the obvious thing - how RR and Ubuntu work together.

I have a fantasy - which I would like to believe is not
entirely daft - that there should be at least one
programming suite 'out there' (and, why not let it be MC/RR
after all) that will allow me to program on a Macintosh
computer and then deploy on any platform I choose.

MC/RR comes very near indeed (except RISC OS).

I would like my language school to be a demonstration to
Bulgarian educators that there are alternatives to pirate
versions of Windows and programs written in retro-style
Visual Basic. As Linux (specifically Ubuntu) has been
adopted by the goverment of Macedonia there is a lot of
interest in Linux here - plus, the Bulgarian government
have pointed out that if they can transfer to an Open
Source OS they would have money to invest in a programming
suite (eg. MC/RR) to foster the development of in-house
educational software.

I, personally, would love to PUSH Runtime Revolution
coupled with Ubuntu.

I have tried both embedded AIF files and free-standing ones

- they both play at double speed

As to creating Multimedia elements inside Linux - just at
present I am working flat-out at plastering a classroom,
installing electrical sockets, and authoring the first
month's programs - so, unfortunately, that will either have
to wait, or a better person than me will have to try it.

sincerely, Richmond Mathewson
__
See Mathewson's software at:

http://members.maclaunch.com/richmond/default.html
___
---
The Think Different Store
http://www.thinkdifferentstore.com/
For All Your Mac Gear
---
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: ANN: New website TYPO

2005-11-14 Thread Dom
MisterX <[EMAIL PROTECTED]> wrote:

> Very very schoen!

 je dirais même plus : sehr beautiful ;-)

what is "Flora Data", a commercial, educative piece?

-- 
Revolutionario vraiment polyglotte !

___
use-revolution mailing list
use-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: Buggy debugger -- solved?

2005-11-14 Thread Jan Schenkel
--- MisterX <[EMAIL PROTECTED]> wrote:
> I don't know if this is related but I think I found
> a serious engine bug
> 
> put the selectedtext of btn "view" of grp "Objects"
> 
> I have a btn view of group objects and also a btn
> View of grp Index of grp
> Objects...
> 
> And this last one is the one that gets called!!!
> 
> There's a possible problem with background objects
> and their references
> which
> may explain why the debugger also gets lost! Further
> testing coming, results
> in 
> a bugzilla either way...
> 
> cheers
> Xavier
> 

Hi Xavier,

Sorry for the late reply, but I just wanted to confirm
this behaviour: I have been in situations where 2
buttons with the same name in a different group,
reselut in the engine applying my changes to the wrong
button, even though I use a reference like:
  set the fillColor of button "b1" of me to "orange"
(I'm away from my computer right now, so spelling of
the property may be off)

In your case, the engine could be grabbing the wrong
button, based on the layer of the button (if the
nested group Index was in a lower layer than the
button), but in my case the groups were not nested.

Jan Schenkel.

Quartam - Tools for Revolution


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



__ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.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: Xlate & libTranslator

2005-11-14 Thread Aurélien Durand

Thanks Mark for your help !



I'm looking for the Xlate demo stack wich used to be available from the
users' spaces. The "Go to" button doesn't activate any download for
this particular stack.
Is there any URL where i could download it ?
Do you know any other stack wich demonstrates the possible uses of
libTranslator ?


Thanks for the heads-up on that. I have no idea why that wouldn't
download - some revOnline glitch. I deleted it and uploaded it again,
creating a new entry, and it seems to work now.
--
-Mark Wieder
 [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


The Final Lowdown on RR, AIF files and Ubuntu 5.10

2005-11-14 Thread Mathewson
I downloaded the RR 2.6.1 Linux 30 day trial and installed
it into one of my Ubuntu boxes.

WOW - a big Thank You to RunRev for these new capabilities!

(Yes, Richmond Mathewson IS saying Thank You!)

2.6.1 plays AIF files on Ubuntu without BL**DY Xanim (and,
believe me, it is very, very bl**dy)

HOWEVER - the nasty bit is that RR plays AIF files at
double speed in Ubuntu - so my 'sexy, masculine voice'
(cough, cough, cough) sounds like Mickey Mouse on Crack
Cocaine.

Having managed to successfully antagonise the Ubuntu
community (No, Richmond, antagonise anybody - surely not)
about the problem with AIF files (which also go wonky with
native Ubuntu apps) - they say it is a RR problem only; and
therefore the ball lies in RR's court (a view I do not
agree with) - I took the road of least resistence and
slowed all my AIF files down to half speed - they now play
in RR on Ubuntu and sound as they should.

I should be very ngrateful if anybody has access to Ubuntu
or Kubuntu to try playing AIF files imported either from
Mac or Win - and sent observations about the results to
[EMAIL PROTECTED] : and while you are at it
have a bash at playing a WAV file!

RR advertises 'seamless' transport of files cross-platform:
and with regard to Linux this is not entirely true - but,
at least as far as Ubuntu is concerned, part of the fault
seems to lie with Ubuntu.

Sincerely, Richmond Mathewson
__
See Mathewson's software at:

http://members.maclaunch.com/richmond/default.html
___
---
The Think Different Store
http://www.thinkdifferentstore.com/
For All Your Mac Gear
---
___
use-revolution mailing list
use-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 Image libraries

2005-11-14 Thread David Bovill

Should it prove of use:

function rev_ImageLibraryIcons libraryName
put the defaultStack into oDefault
set the defaultStack to libraryName

put the number of images of of this card into maxNum
repeat with imageNum = 1 to maxNum
put the long id of image imageNum into imageObject
put the short name of imageObject into iconName
put the short id of imageObject into id_Array[iconName]
end repeat
put id_Array into icon_NameTable
combine icon_NameTable using return and tab
set the defaultStack to oDefault
return icon_NameTable
end rev_ImageLibraryIcons

Having to organise all these icons now- so any tips on "best  
practice" here?


Thinking of making a tool to export the images into a folder which a  
designer can work on - that is changing them to referenced images,  
and then something to go around re-IDing icons that are duplicated in  
groups in stacks - luckily they all have the same name - sometimes  
you just have to cope with other peoples mess :)


Anyone got an Icon Tool or organiser that I can use / add this stuff to?


On 10 Nov 2005, at 22:12, David Bovill wrote:


function rev_MyImageLibraries
put the mainstacks into allLoaded
filter allLoaded with "revLib*"
line_Delete "revLibrary", allLoaded
line_Delete "revLibStandardButtons", allLoaded
return allLoaded
end rev_MyImageLibraries

on line_Delete someLines, @fromContainer, partLine, skipLines
  set the wholeMatches to (partLine is empty)
  repeat with ii = 1 to the number of lines of someLines
put line ii of someLines into someLine
get lineOffset(someLine, fromContainer, skipLines)
if it is not 0 then
  put it + skipLines into lineNum
  delete line lineNum of fromContainer
end if
  end repeat
end line_Delete


___
use-revolution mailing list
use-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 can I print all parts of oversize cards!?&[EMAIL PROTECTED]

2005-11-14 Thread Jan Schenkel
--- Kresten Bjerg <[EMAIL PROTECTED]> wrote:
> Thank you so much for the confirmation of the
> print-buffer-substack idea. I think my first posting
> explained
> ,but here again: It is an electronic diary stack,
> 3x3 screens wide (3072 x 2304).
>  Each day has a card, user will mostly stay with a
> main window, but has 8 other parallel windows, 
> for various purposes. (Others have recommended
> splitting the whole thing up in 9 substacks,
>  but our unorthodox solution has considerable
> advantages,-except for this unexpected limitation of
> print-function)
> We are developing on Mac OS 10.3.9, - but this
> should not be relevant. 
> The standalones shall be for all platforms (and
> freeware!).
> It would of course be very nice, if you could sketch
> the scripting you suggest, for we are not
> professionals.
>   With an invisible print-buffer-substack, with
> only one card, where the exported snapshot 
> should be eliminated after printing, so it can be
> used any day for all windows on the newest card, 
> - as the script in my first posting works for the
> first 6 windows
> Kresten
> 

Hi Kresten,

Have you tried to change the hscroll/vscroll
properties of the stack before printing, to see if
that makes a difference?

Hope this helped,

Jan Schenkel.

Quartam - Tools for Revolution


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




__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
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


image on button

2005-11-14 Thread Preston Shea
RR lets me use a JPEG as icon on a button. The problem is that the image has a 
background that doesn't change when the button hilites. Is there a way around 
this? Do I have to convert the image to ICN format?
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: ANN: New website

2005-11-14 Thread Klaus Major

Bon soir Eric,


Bravo Klaus!


Merci, mon ami.


As clean as Zappa ;-)


:-)


Where is the famous banana?


Well, actually it left me :-/

After gaining some certain (and doubtful) glory, it asked for MUCH more
money, which i could not afford at that time and so it said goodbye  
and I think
it went straight to Hollywood (or was it Bollywood? Anyway...) to  
become a kiwi

ehm. star of some sort...

A VERY unthankful BRAT! :-D

Sandy and I (Hi Sandy :-) started to experiment with some small tuna  
fish,

but that is not the same.


I miss it...


Sight, so do i...

PS. Most of the browsers will launch your site despite the typo...  
As Safari here :-)


Sure, but not all folks are using SUCH a smart browser! ;-)


Best from germany

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

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


Re: ANN: New website

2005-11-14 Thread Eric Chatonet

Bravo Klaus!
As clean as Zappa ;-)
Where is the famous banana?
I miss it...

PS. Most of the browsers will launch your site despite the typo... As  
Safari here :-)


Le 14 nov. 05 à 17:44, Klaus Major a écrit :


Hi friends,

i finally managed to create some new webpages!
No more frames, just pure CSS and HTML. Not even tables :-D

Now you can also switch to the "other" language on every single page!


German site:
http;//www.major-k.de

English site:
http;//www.major-k.de/indexe.html


And here the direct link to the x-talk section:

German:
http;//www.major-k.de/xtalk.html

English:
http;//www.major-k.de/xtalke.html

Enjoy :-)


Regards

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



P.S.
I am doing my best, but since i am not a native english speaking
person, please drop a short line, if and where my english is not as
good it should be ;-) Thank you!



Best Regards from Paris,

Eric Chatonet.

So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Free plugins and tutorials on my website

Web sitehttp://www.sosmartsoftware.com/
Email[EMAIL PROTECTED]/
Phone33 (0)1 43 31 77 62
Mobile33 (0)6 20 74 50 86


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


Re: ANN: New website TYPO

2005-11-14 Thread Klaus Major

Bon soir Xavier,


Very very schoen!


Merci, mon ami :-)


so what's the Quick-O? ;)


well, whatever, it's coming soon :-)


;)


Best

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

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


RE: ANN: New website TYPO

2005-11-14 Thread MisterX

Very very schoen!

so what's the Quick-O? ;) 

;)

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Klaus Major
> Sent: Monday, November 14, 2005 17:58
> To: How to use Revolution
> Subject: Re: ANN: New website TYPO
> 
> Hi friends,
> 
> what a wonderful start with a typo :-/
> 
> 
> Here now the correct links:
> 
> German site:
> http://www.major-k.de
> 
> English site:
> http://www.major-k.de/indexe.html
> 
> 
> X-talk section:
> 
> German:
> http://www.major-k.de/xtalk.html
> 
> English:
> http://www.major-k.de/xtalke.html
> 
> 
> 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: ANN: New website TYPO

2005-11-14 Thread Klaus Major

Hi friends,

what a wonderful start with a typo :-/


Here now the correct links:

German site:
http://www.major-k.de

English site:
http://www.major-k.de/indexe.html


X-talk section:

German:
http://www.major-k.de/xtalk.html

English:
http://www.major-k.de/xtalke.html


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


ANN: New website

2005-11-14 Thread Klaus Major

Hi friends,

i finally managed to create some new webpages!
No more frames, just pure CSS and HTML. Not even tables :-D

Now you can also switch to the "other" language on every single page!


German site:
http;//www.major-k.de

English site:
http;//www.major-k.de/indexe.html


And here the direct link to the x-talk section:

German:
http;//www.major-k.de/xtalk.html

English:
http;//www.major-k.de/xtalke.html

Enjoy :-)


Regards

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



P.S.
I am doing my best, but since i am not a native english speaking
person, please drop a short line, if and where my english is not as
good it should be ;-) Thank you!

___
use-revolution mailing list
use-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: The Disappearing Desktop - It's Real This Time

2005-11-14 Thread MisterX
Rob,

I live this every day...

My code and stacks are on my website. Open to the public.
Those are work, are open to other admins - and given the tons
of logs, you only watch when there's an error worth looking!
 
> Wave of the future or flavor of the week?  Here's a question 
> to help you decide:

> How comfortable would you feel if all your Revolution source 
> code and stack components were stored on somebody else's 
> computer at some site remote from you?

Now, Ajax and co. are services. You're not obliged to store anything.
But for the sake of the argument, you can...

There's or was plenty of "web drives" to store files. imac has this
I believe...

Services is what they can do for you:
- worldclocks
- web calendars
- web contacts (in my email client service for example)
- store Photos or movies to share with others (plenty of those too)
- write emails

Banking, realestate, news reading, etc... lots can be done with
simple services. My mom makes her own custom free business cards 
and gets them shipped free too. Gets reservations for her B&B
via the net too...

What else? Make reservations, find a vacation, a car... 

Sending documents to be printed or offset-printed is 20 years old...
BBS' did that already in the 80's!

IMOHO, services is not where it is going. Economically speaking,
after the information age, we also entered the service age.

Economic growth of services (macro-econ wise) have increased 
substantially since the 80s haven't they? In the enterprise,
we've gone through insourcing, and now outsourcing is more fun!

Funny, I wrote my thesis on IT economics and how a company
could leverage it's cpu power and tools to maximize profits.
I discovered intra-CSID-outsourcing ;)

And tomorrow what's next?

The fact that private data remains private is a major
concern that shouldn't be trivially forgoten. The marketing
empire behind will only be too happy to "categorize" you on
anything you output... Just to provide better services :)

Did I mention all services now come with sponsor labels on
them? It's called advertising... Here comes the brain 
washing age... Believe anything you want, it's the same 
price - free!

cheers
Xavier
http://monsieurx.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: RevDocWikis?

2005-11-14 Thread Richard Gaskin

Lynch, Jonathan wrote:

I have been out of pocket for a couple of weeks...

Was a decision ever made regarding the RevDocWiki? Like, who is going to
host it, is Revolution moving forward on making this happen? Anything
else?


The discussion has migrated to the RevDocs working group:


--
 Richard Gaskin
 Managing Editor, revJournal
 ___
 Rev tips, tutorials and more: http://www.revJournal.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: problem with grouped field

2005-11-14 Thread Wouter


On 14 Nov 2005, at 17:00, Eric Chatonet wrote:


Hi Wouter,

Seem to be related to some limitation: you say 32778 and 65535  but  
I would think it's 32768 (2^15) and 65566 (2^16).

See the Help/Quick Reference Guides/Memory and Limits.

Best Regards from Paris,

Eric Chatonet.



Hi Eric,

It is indeed related to those numbers.
And the Docs say:
  - maximum size of an object:  Unlimited
 But nothing is mentioned about max size in a group.

So I suppose this behavior of the scroll of a group and the height of  
the field in a group are bugs.



On 14 Nov 2005, at 17:10, MisterX wrote:

looks like a bug. I can reproduce it too (w2k).

-snip-

Thanks for confirming.

Greetings,
Wouter

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


RevDocWikis?

2005-11-14 Thread Lynch, Jonathan
I have been out of pocket for a couple of weeks...

Was a decision ever made regarding the RevDocWiki? Like, who is going to
host it, is Revolution moving forward on making this happen? Anything
else?


Thanks,

Jonathan

___
use-revolution mailing list
use-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: problem with grouped field

2005-11-14 Thread MisterX
looks like a bug. I can reproduce it too (w2k).

try this instead.

use a vertical scroll bar:
 - start to endvalue = 0-32000 
 - page increments 1..

put the scrollbar right of the field as if it was the fields' 
scrollbar... Should fool anyone ;)

im still experimenting with a smooth movement (number wise...)

on scrollbardrag w
  put w
  put the height of fld 1 div the textheight of fld 1 into mylines
  put (the endvalue of me / the height of me) / (the endvalue of me /
mylines) into movementfactor
  put round(w * movementfactor) into myvalue
  repeat with x = 1 to mylines
put myvalue + x into line x of fld 1
  end repeat
end scrollbardrag

it's not fast but it works linearly for number movement...
Alas it's not correct to get to the big numbers...

The mylines (the number of lines in the field) should increase like:

on scrollbardrag w
  put w
  put the height of fld 1 div the textheight of fld 1 into mylines
  put (the endvalue of me / the height of me) into movementfactor
  put round(w * movementfactor) into myvalue
  repeat with x = 1 to mylines
put myvalue + x into line x of fld 1
  end repeat
end scrollbardrag

which almost gets to 32000... I'll let you find the quirks ;)

hope it's what you want... If you want the stack I made it in
let me know off list ;)

cheers
Xavier
http://monsieurx.com


> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Wouter
> Sent: Monday, November 14, 2005 16:22
> To: How to use Revolution
> Subject: problem with grouped field
> 
> Hi all,
> 
> I encountered some problems with grouped fields with RR 2.6.1 
> (but also in former versions) on OS X 10.4.1
> 
> 1.  problem with scroll of group starting at 32779, field 
> disappears (at 32778 it still shows)), scroll is reset at zero.
> But clicking where the field is supposed to be reveals some lines.
> 2.  problem with height of field in group if  >  65535.
> The height of the field is reset to zero and starts growing 
> again when more lines are added.
> 
> Recipe:
> ingredients:
> - 1 field (no vScroll)  in a group (with vScroll)
> - 2 buttons
> - 2 scripts, one for each button:
> 
> on mouseUp
>put "" into fld 1
>repeat with i = 1 to 3200
>  put i & cr after tList
>end repeat
>put tList into fld 1
>set the height of fld 1 to the formattedheight of fld 1
>set the rect of grp 1 to 10,10,138,bottom of this cd - 50
>put 32760 into a ### approximation of start of problem
>repeat
>  add 1 to a
>  set the scroll of grp 1 to a
>  put the scroll of grp 1 into b
>  put a & cr & b
>  if a > b then exit repeat
>  wait 100 millisecs with messages
>  if the commandkey is down or the controlkey is down then 
> exit repeat
>end repeat
> end mouseUp
> 
> on mouseUp
>put "" into fld 1
>repeat with i = 1 to 65400 div the effective textheight of fld 1
>  put i & cr after tList
>end repeat
>put tList into fld 1
>set the height of fld 1 to the formattedheight of fld 1
>set the rect of grp 1 to 10,10,138,bottom of this cd - 50
>repeat
>  add 1 to i
>  put i & cr after fld 1
>  put the formattedheight of fld 1 into a
>  set the height of fld 1 to a
>  put the height of fld 1 into b
>  set the rect of grp 1 to 10,10,138,bottom of this cd - 50
>  put  i & cr & a & cr & b
>  lock screen
>  unlock screen
>  if a > b then exit repeat
>  if  the commandkey is down or the controlkey is down 
> then exit repeat
>end repeat
> end mouseUp
> 
> beware of mail line wraps
> 
> I wanted to ask if someone could confirm this and if this is 
> also the case on other platforms.
> TIA,
> 
> Wouter
> ___
> use-revolution mailing list
> use-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: problem with grouped field

2005-11-14 Thread Eric Chatonet

Hi Wouter,

Seem to be related to some limitation: you say 32778 and 65535  but I  
would think it's 32768 (2^15) and 65566 (2^16).

See the Help/Quick Reference Guides/Memory and Limits.

Best Regards from Paris,

Eric Chatonet.

Le 14 nov. 05 à 16:21, Wouter a écrit :


Hi all,

I encountered some problems with grouped fields with RR 2.6.1 (but  
also in former versions) on OS X 10.4.1


1.  problem with scroll of group starting at 32779, field  
disappears (at 32778 it still shows)), scroll is reset at zero.

But clicking where the field is supposed to be reveals some lines.
2.  problem with height of field in group if  >  65535.
The height of the field is reset to zero and starts growing again  
when more lines are added.


Recipe:
ingredients:
- 1 field (no vScroll)  in a group (with vScroll)
- 2 buttons
- 2 scripts, one for each button:

on mouseUp
  put "" into fld 1
  repeat with i = 1 to 3200
put i & cr after tList
  end repeat
  put tList into fld 1
  set the height of fld 1 to the formattedheight of fld 1
  set the rect of grp 1 to 10,10,138,bottom of this cd - 50
  put 32760 into a ### approximation of start of problem
  repeat
add 1 to a
set the scroll of grp 1 to a
put the scroll of grp 1 into b
put a & cr & b
if a > b then exit repeat
wait 100 millisecs with messages
if the commandkey is down or the controlkey is down then exit  
repeat

  end repeat
end mouseUp

on mouseUp
  put "" into fld 1
  repeat with i = 1 to 65400 div the effective textheight of fld 1
put i & cr after tList
  end repeat
  put tList into fld 1
  set the height of fld 1 to the formattedheight of fld 1
  set the rect of grp 1 to 10,10,138,bottom of this cd - 50
  repeat
add 1 to i
put i & cr after fld 1
put the formattedheight of fld 1 into a
set the height of fld 1 to a
put the height of fld 1 into b
set the rect of grp 1 to 10,10,138,bottom of this cd - 50
put  i & cr & a & cr & b
lock screen
unlock screen
if a > b then exit repeat
if  the commandkey is down or the controlkey is down then exit  
repeat

  end repeat
end mouseUp

beware of mail line wraps

I wanted to ask if someone could confirm this and if this is also  
the case on other platforms.

TIA,

Wouter



So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Free plugins and tutorials on my website

Web sitehttp://www.sosmartsoftware.com/
Email[EMAIL PROTECTED]/
Phone33 (0)1 43 31 77 62
Mobile33 (0)6 20 74 50 86


___
use-revolution mailing list
use-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: The Disappearing Desktop - It's Real This Time

2005-11-14 Thread Rob Cozens

Ken, et al:


Personally my feeling is that this *could be* the wave of the future, and so
we should be keeping close tabs on it as the future pans out, and for those
of us that see this as more inevitable, I'd suggest finding a good niche to
add value. And for those us that see this as more "flavor of the week", we
can at least be cognizant of the technology and watch closely how it
progresses.


Wave of the future or flavor of the week?  Here's a question to help 
you decide:


How comfortable would you feel if all your Revolution source code and 
stack components were stored on somebody else's computer at some site 
remote from you?


Rob Cozens, CCW
Serendipity Software Company

Vive R 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: The Disappearing Desktop - It's Real This Time

2005-11-14 Thread Rob Cozens

Dan,


I don't think this negates the fundamental truth of my core
position here: this kind of app, perhaps with additional
infrastructure improvement, is the wave of the future


I don't doubt your enthusiasm; but I do believe you downplay the 
desire of businesses (and perhaps individuals) to keep sensitive, 
proprietary data in-house.


Another comment is this:  I can't count the number of "waves of the 
future" (eg: "distributed processing", multiple processors) that 
never hit the real-world beaches of most computer users.  So many of 
the new concepts don't seem to be realized outside of a limited 
number of very large organizations or specialized markets.


My current wave of the future is the Tablet PC, with or without desktop apps.

Rob Cozens CCW
Serendipity Software Company

"And I, which was two fooles, do so grow three;
 Who are a little wise, the best fooles bee."

 from "The Triple Foole" by John Donne (1572-1631) 


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


problem with grouped field

2005-11-14 Thread Wouter

Hi all,

I encountered some problems with grouped fields with RR 2.6.1 (but  
also in former versions) on OS X 10.4.1


1.  problem with scroll of group starting at 32779, field disappears  
(at 32778 it still shows)), scroll is reset at zero.

But clicking where the field is supposed to be reveals some lines.
2.  problem with height of field in group if  >  65535.
The height of the field is reset to zero and starts growing again  
when more lines are added.


Recipe:
ingredients:
- 1 field (no vScroll)  in a group (with vScroll)
- 2 buttons
- 2 scripts, one for each button:

on mouseUp
  put "" into fld 1
  repeat with i = 1 to 3200
put i & cr after tList
  end repeat
  put tList into fld 1
  set the height of fld 1 to the formattedheight of fld 1
  set the rect of grp 1 to 10,10,138,bottom of this cd - 50
  put 32760 into a ### approximation of start of problem
  repeat
add 1 to a
set the scroll of grp 1 to a
put the scroll of grp 1 into b
put a & cr & b
if a > b then exit repeat
wait 100 millisecs with messages
if the commandkey is down or the controlkey is down then exit  
repeat

  end repeat
end mouseUp

on mouseUp
  put "" into fld 1
  repeat with i = 1 to 65400 div the effective textheight of fld 1
put i & cr after tList
  end repeat
  put tList into fld 1
  set the height of fld 1 to the formattedheight of fld 1
  set the rect of grp 1 to 10,10,138,bottom of this cd - 50
  repeat
add 1 to i
put i & cr after fld 1
put the formattedheight of fld 1 into a
set the height of fld 1 to a
put the height of fld 1 into b
set the rect of grp 1 to 10,10,138,bottom of this cd - 50
put  i & cr & a & cr & b
lock screen
unlock screen
if a > b then exit repeat
if  the commandkey is down or the controlkey is down then exit  
repeat

  end repeat
end mouseUp

beware of mail line wraps

I wanted to ask if someone could confirm this and if this is also the  
case on other platforms.

TIA,

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


Serious Engine annoyance with is a folder on Win32...

2005-11-14 Thread xavier . bury
Hi everyone,

I've been hit thousands of times and 
finally took the matter into my own hands.

Yet it's so simple i can't believe the finding...

It almost drove me up the wall when i had to click 500 times "continue"...
And i couldn't quit (unsaved work) or stop the process...

Testing grounds: 
The autoloader of TAOO 
1 server with Win2003, MC 2.5
1 server with Win2003, MC 2.6.6 or Rev 2.6.1 (same engine).

Im scanning folders for a file. There a few folders that belong to
one server or the other, some of which do not exist on the other 
system.

So i scan the paths list to find the right folders, eliminate the
non-existing. But I kept getting this dialog: "there is no Disk in 
the drive. Please insert a disk into drife F:." with buttons
(cancel)(try again)(continue).

Cancel doesn't stop anything (bogus button), try again repeats
the error message (not useful) and continue, well, continues 
i guess like the cancel button.

Searching i found that the error came from the function

is folder folderpath.

If i ask:
put is folder "r:" (which doesn't exist) i get false.
put is folder "f:" (which exists) i get true
put is folder "f:/test" which doesn't exists i get that dialog + false

The dialog doesn't return any result or cancel anything.

Verified with versions 2.5 - 2.6.6 of MC or rev engine too without
any mods in the install. 

I'll test this on XP later but if MC 2.5 and up to 2.6.6 do this, im
thinking bugzilla no matter what version.

Can anyone tell me if this also happens on Macs? Linux? 
Can another PC user confirm this?

Can ANYONE tell me how to turn that programmed horror and crap off?

Thanks in advance
Xavier






-
To make communications with Clearstream easier, Clearstream has
recently changed the email address format to conform with industry
standards. The new format is '[EMAIL PROTECTED]'.

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.

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


Re: Limitations of 'click'?

2005-11-14 Thread Cubist
sez [EMAIL PROTECTED]:
>I'm trying to traverse a set of fields whose names and numbers I  
>don't reliably know. In fact my plan is to rename them systematically 
>by visiting each one in turn. What I do know is their locations (they 
>form a grid to which the names will be related). I thought I could  
>move along the grid, storing the coordinates of the next field in  
>line in say myNewLoc, and then execute at each iteration:
>
>  click at myNewLoc
>
>or whatever. I can do this, and I am sure that I am clicking on an  
>open field, but this action doesn't seem to set either the clickField 
>or the selectedField, nor send an 'openField' message, so I can't  
>then operate on the field I've clicked on. In fact I find the  
>clickField to be empty and the selectedField to be a field which  
>clearly isn't selected. According to the RR docs, the 'click' command 
>acts as a mouse click, which would AFAIK set both these, so I must be 
>doing something wrong. Can anybody suggest what?
   Given that you absolutely *do* know the locations of the fields in 
question, something like this might do the job for you:

  put "Field List" into ListOFieldz
  repeat with K1 = 1 to the number of fields
put return & (the short name of field K1 & "," & the loc of field K1) 
after ListOFieldz
  end repeat
  delete line 1 of ListOFieldz

  # okay, we got all the fields. now let's sort them by location
  sort lines numeric of ListOFieldz by item 3 of each
  sort lines numeric of ListOFieldz by item 2 of each

  # right here is a good place to delete unwanted fields,
  #   based on the locations thereof

  # and, moving right along...
  repeat for each line LL in ListOFieldz
put item 1 of LL into DisFld
DoWhateverYouWantTo DisFld
  end repeat

   Hope this helps.
___
use-revolution mailing list
use-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 can I print all parts of oversize cards!?&[EMAIL PROTECTED]

2005-11-14 Thread Kresten Bjerg
Thank you so much for the confirmation of the print-buffer-substack idea. I 
think my first posting explained
,but here again: It is an electronic diary stack, 3x3 screens wide (3072 x 
2304).
 Each day has a card, user will mostly stay with a main window, but has 8 other 
parallel windows, 
for various purposes. (Others have recommended splitting the whole thing up in 
9 substacks,
 but our unorthodox solution has considerable advantages,-except for this 
unexpected limitation of print-function)
We are developing on Mac OS 10.3.9, - but this should not be relevant. 
The standalones shall be for all platforms (and freeware!).
It would of course be very nice, if you could sketch the scripting you suggest, 
for we are not professionals.
  With an invisible print-buffer-substack, with only one card, where the 
exported snapshot 
should be eliminated after printing, so it can be used any day for all windows 
on the newest card, 
- as the script in my first posting works for the first 6 windows
Kresten
 
[EMAIL PROTECTED]   www.psy.ku.dk/bjerg  

___
use-revolution mailing list
use-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: Purge Loop--Destroy Stack no working?

2005-11-14 Thread Jerry Daniels

Sivakatirswami,

I thought about your problem so more and have the following  
observations, questions and recommendations.


I don't think the problem is with the release version of  
Constellation you are using but, it is possible that there is a  
problem with one of Constellation's pre-release "buddies", Object  
Gadget.


Do you have Object Gadget open when this is happening? There is a  
known issue with Object Gadget where it verifies its list and  
inadvertently keeps the stacks in memory because it likes to test  
every object's parent stack by its long stack name to see if it  
exists. Please test without Object Gadget and see if it makes any  
difference.


Object Gadget it not released software, and it has known issues. For  
this reason, I only use Object Gadget when I need it for something  
and keep it close if I don't need it--and I have no difficulties with  
it. That's also why it is discounted so that it costs about two  
dollars right now. Once we get Object Gadget released, this will no  
longer be an issue (and the discounted price will go away, too).


Please let me know how your test without Object Gadget goes--or how  
you do with discretionary use of it as indicated above.


It would seem unlikely to me that your stacks are corrupted. My  
experience with corrupted stacks usually means the stack will not  
open and if it does it appears to have extremely sluggish behavior  
and slows down the IDE noticeably.


Also, all of the products we sell are pretty stingy with doling out  
custom properties and there are preferences to prevent them from  
being used at all. I don't believe custom props would cause your  
problem, in any case.


There are many people (I am becoming one) who prefer to store all  
data outside the stack--in a text file using XML or the like. Like  
others, when saving on close in the IDE, if something "unexpected"  
happens with the IDE, it can affect the process of saving and THEN  
corruption can take place. I haven't had problems with explicit  
saving in the IDE, whereas I have had problems with the implicit save  
you noted in your closeStack handler.


Best,

Jerry

http://www.daniels-mara.com/products/constellation.htm
Scripts and properties in a tabbed editor!

On Nov 13, 2005, at 10:36 PM, Sivakatirswami wrote:

The past few days REv is repeatedly asking me if I want to purge a  
stack in memory with the same name... Most of my stacks have


on closestack
   save this stack
end close stack

And for some reason, if Constellation is running, this puts me into  
an infinite loop where Rev is unable to save (because there is a  
stack in memory with the same name) ... I click save or purge or  
cancel, it doesn't matter... the msg comes right back..


if I don't boot constellation, I don't get into a loop but still  
though all my stacks are set to Destroy on close, rev keeps asking  
to purge a previously closed stack if I open another which has the  
same name.


I'm thinking something has been corrupted or a custom prop is  
"stuck" somewhere that thinks these stacks are in memory when they  
or not, or they are not being destroyed when they should be... any  
ideas?  Rebooting Rev does not change the behavior.


Sivakatirswami



___
use-revolution mailing list
use-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: Why doesn't this script work?

2005-11-14 Thread Eric Chatonet

Hi Stephen,

If, as I think, you want to get the path to the folder of your  
standalone, just get its fileName property:


function AppFolderPath
  set the itemDel to slash
  return item 1 to -2 of the fileName of this stack
end AppFolderPath

And use it to access other folders:

put AppFolderPath() into tPath
set the itemDel to slash
put   into item - 3 to -1 of tPath

Will return the right path to a folder placed at the root of the OS X  
bundle folder.
You will build another code for Windows from AppFolderPath()  
according to the folders architecture you chose :-)


Best Regards from Paris,

Eric Chatonet.

Le 14 nov. 05 à 04:14, Stephen Paul McNutt a écrit :

Here's a script I use to set the defaultFolder property for a  
standalone.  The part for OSX works perfectly, but the part for  
Win32 doesn't.  I've placed all those answer commands in there to  
check variable and property values as I go.


local ldefaultFolder
if the environment <> "development" then
  answer the platform
  answer the defaultFolder
  if the platform = "MacOS" then
put defaultFolder into ldefaultFolder
put "/Classroom Quizshow.app/Contents/MacOS" after  
ldefaultFolder

set the defaultFolder to ldefaultFolder
answer the defaultFolder
  end if
  if the platform = "Win32" then
put defaultFolder into ldefaultFolder
put "/CQdata" after ldefaultFolder
answer ldefaultFolder
set the defaultFolder to ldefaultFolder
answer the defaultFolder
  end if
end if

Note that the answer command 5 lines from the bottom returns the  
name of the correct folder I'm trying to make the defaultFolder,  
but the answer command 3 lines from the bottom returns the same  
thing minus "/CQdata".  What the heck?  I even copied  
"ldefaultFolder" in the 5th line from the bottom and pasted it over  
the same word in the 4th line from the bottom just to make doubly  
sure I didn't have a typo.  Again, the MacOS part works as expected  
and produced the proper defaultFolder property value for the OS X  
standalone.



So Smart Software

For institutions, companies and associations
Built-to-order applications: management, multimedia, internet, etc.
Windows, Mac OS and Linux... With the French touch

Free plugins and tutorials on my website

Web sitehttp://www.sosmartsoftware.com/
Email[EMAIL PROTECTED]/
Phone33 (0)1 43 31 77 62
Mobile33 (0)6 20 74 50 86


___
use-revolution mailing list
use-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: Why doesn't this script work?

2005-11-14 Thread Chipp Walters

Stephen,

A couple of points.

1) If you're running inside of Rev, the defaultFolder by default points 
to the folder the revEngine is working in. Of course, any number of 
things can change the defaultFolder in the IDE, including plugins, other 
stacks, etc. If you are wanting the /CQdata folder to be where the 
finished app is stored then I would suggest looking at the 'address' 
function and parse that to find the original app folder.


2) Just a suggestion. I typically use locals 'script wide' rather than 
handler wide. For handler vars, I use the prefix 't' (temporary). I 
think Richard Gaskin has a good article on script syntax if you're 
interestd. Check out his www.fourthworld.com website.


best,

Chipp

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