Re: Putting an object in a specific group

2003-01-29 Thread Jeanne A. E. DeVoto
At 8:54 PM -0800 1/29/03, Jim Witte wrote:
>   This seems like a very silly question (yes, I have looked in the
>manual), but how do you put an object into a specific group by script?

Use the create command:

  create field "New" in group "Old Group"

(Or you can also go into group-editing mode:

  start editing group "Old Group"
  create field "New"
  stop editing group "Old Group"

but this is a little less straightforward.)

--
Jeanne A. E. DeVoto ~ [EMAIL PROTECTED]
Runtime Revolution Limited - The Solution for Software Development
http://www.runrev.com/


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



Re: To grab or not to grab

2003-01-29 Thread Jeanne A. E. DeVoto
At 9:02 PM -0800 1/27/03, Matt Denton wrote:
>If I lock screen and set the loc of the various objects (some inside a
>group), the containing object ignores and/or expand their group!

Have you tried setting the group's lockLocation to true? This stops the
automatic resizing.

--
Jeanne A. E. DeVoto ~ [EMAIL PROTECTED]
Runtime Revolution Limited - The Solution for Software Development
http://www.runrev.com/


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



Rotating Images without enlarging the image space

2003-01-29 Thread Matt Denton
Hi-ya all,

Does anyone know how to rotate an image by 90 degrees without creating 
a larger image?  I need to rotate clock or anti-clockwise by a straight 
90 degrees.  Problem is, all rotations seem to enlarge to the square of 
the largest side.  Save moving the data pixel-by-pixel using a 
Transcript matrix transform (slowish) is there another way?  I don't 
fancy lots of imagedata manipulation... I'm sure there is a simple way. 
 Currently I'm rotating, grouping and resizing group (brings corners 
in).  Not good.

Any ideas?

M@

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


Re: public beta?

2003-01-29 Thread miscdas
Judy Perry writes: 


If you're so brilliant, 

Your words, Ms. Perry, not mine... 

why is it you can't figure out how to not send
duplicate posts every time you enlighten us with your wisdom?


Every time?  Where did you learn to count? (Does that kind of math work with 
XTalk functions?) 

It does happen from time-to-time; WINXP is sometimes quirky.

Judy
[snip to save bandwidth]

Wouldn't it have been even better for you to have NOT made this post to the 
list at all, and save even more bandwidth? 

Thanks for your interest just the same.
miscdas 
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: reserved words

2003-01-29 Thread erik hansen

--- Sarah <[EMAIL PROTECTED]> wrote:
> > any idea how to identify all "reserved words"
> if
> > that is a RR term?
> >
> Colorize your scripts. Then reserved words show
> up red, orange, blue 
> etc. I use this all the time for scripts that I
> copy over from 
> HyperCard and it makes it easy. Any variables
> that show up as other 
> than black, need to be changed.

thanks, that should do it!

=
[EMAIL PROTECTED]http://www.erikhansen.org

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



RE: Setting Pixels - More answers to suggestions

2003-01-29 Thread Monte Goulding

>
> I think you can speed this up just a litle bit on the
> first run by changing:
>   if tData = "" then
> put char 1601 to -1 of the imageData of image 1 \
>into tData
>   end if
> This ought to be slightly faster as the engine doesn't
> have to resize the tData variable again, nor push its
> contents forwards upon deleting from the front.
>

Yep

Back down to 0.162

I think what I'd do would be to initialise the data when the image was first
opened. Say openStack?

Monte

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



Re: public beta?

2003-01-29 Thread miscdas
Curry writes:
[snip]

About the anti-miscdas subthread, 
Besides, to me it seems that even if we perceive something is off track, 
we don't have to worry to much about addressing it as long as everyone 
else in the group is able to perceive pretty much what we do, and here 
that should be the case as far as this topic is concerned.

And therein lies the problem! 

miscdas 

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


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



Re: ranging lists

2003-01-29 Thread depstein
Since you're dealing with integers, you could run each line of list 1 through 
a function like

function numberSeries x,y
-- returns space-delimited list of all integers from x to y

to build an expanded version of list 1 that explicitly lists all possible 
matching numbers in each range.  Then send each item n in list 2 to a 
function:

function whichRange n,expandedList
set wholeMatches to true
get wordOffset(n,expandedList)
if it = 0 then return 0
return the number of lines in word 1 to it of expandedList

I suspect this will be faster than running each of your 2000 numbers 
through a series of comparisons.

David Epstein


> >I have 2 lists. I need to check whether the values of list 2 fall within the
> >range of the values of list 1. eg.
> >
> >list 1
> >1 10
> >20 25
> >45 55
> >
> >list 2
> >1,3,12,23,34,45,52,78
> >

> >List 1 may have up to 60 different ranges, one range per line.
> >List 2 may have over 2000 items. (these are line numbers of a text 
database)
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Setting Pixels - More answers to suggestions

2003-01-29 Thread Robert J Warren \(Howsoft.com\)
From Dar Scott:

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



Re: reserved words

2003-01-29 Thread Sarah
any idea how to identify all "reserved words" if
that is a RR term?


Colorize your scripts. Then reserved words show up red, orange, blue 
etc. I use this all the time for scripts that I copy over from 
HyperCard and it makes it easy. Any variables that show up as other 
than black, need to be changed.

Sarah


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


Re: ranging lists

2003-01-29 Thread Ron
Hi, I appreciate those who replied. Jackie, you've been a big help since HC
days many years ago. Thanks again for this suggestion. I have worked with
arrays a little, but it hadn't occurred to me in this case. The key was:

(theRangeArray[i] <> empty)

I hadn't made that connection and its one I'll try to remember. I modified
the script to fit my needs and it runs great.

Thanks
Ron 

PS the speed is quite acceptable, credit the engine again.

> 
> On Wednesday, January 29, 2003, at 04:57 AM, Ron wrote:
>> 
>> I have 2 lists. I need to check whether the values of list 2 fall
>> within the
>> range of the values of list 1. eg.
>> 
>> list 1
>> 1 10
>> 20 25
>> 45 55
>> 
>> list 2
>> 1,3,12,23,34,45,52,78
> 
> Arrays are very fast. I didn't benchmark it, but see if something like
> this is faster than what you are using now:
> 
> function checkRanges
> put fld 1 into theRanges -- this is List 1
> repeat for each line l in theRanges -- make an array
> put word 1 of l + 1 into theStart
> put word 2 of l - 1 into theStop
> repeat until theStart > theStop
> put theStart into theRangeArray[theStart]
> add 1 to theStart
> end repeat
> end repeat
> -- now check the items in list 2 against the array:
> put fld 2 into theList
> repeat for each item i in theList
> put (theRangeArray[i] <> empty) & comma after theResults
> end repeat
> return theResults
> end checkRanges
> 
> This returns a list of booleans corresponding to each item in List 2,
> indicating whether each item is within range or not.
> 
> Creating the initial array probably takes the most time (but it is still
> very fast.) If this is something you will use repeatedly, build the
> array only once and store it in a global variable so you don't have to
> rebuild it each time you want to use it.
> 
> -- 
> Jacqueline Landman Gay | [EMAIL PROTECTED]
> HyperActive Software   | http://www.hyperactivesw.com

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



Re: reserved words

2003-01-29 Thread erik hansen

--- Björnke_von_Gierke <[EMAIL PROTECTED]> wrote:
> Check out:
> the functionnames
> the variablenames
> the commandnames
> the propertienames
> the constantnames

thanks. 
got all kinds of interesting results in msg,
transcript, and something called an
"Encyclopedia" which has gone into hiding.

> On Donnerstag, Jan 30, 2003, at 00:45
> Europe/Zurich, erik hansen wrote:
> ...
> > You use lots of reserved word in your
> handlers,
> >> be it as a handler name
> >> ("left", "right", "home" etc...) or names of
> >> variables ("num" as the
> >> most obvious example).
> >
> > on the trail of the elusive "reserved
> word"...
> >
> > • no luck in the Transcript Dictionary.
> >
> > • trying to Find "reserved" in Rev
> Documentation
> > View > Rev UI Stack in Lists ) select RevDocs
> > then Edit > Find
> > a Find And Replace palette comes up, but
> seems to
> > work on scripts, though there is a "fields"
> > checkbox.
> >
> > end of the trail for me. so...
> >
> > any idea how to search RevDocs since last
> > discussion?
> >
> > any idea how to identify all "reserved words"
> if
> > that is a RR term?
> >
> > TIA

=
[EMAIL PROTECTED]http://www.erikhansen.org

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: reserved words

2003-01-29 Thread Björnke von Gierke
Check out:
the functionnames
the variablenames
the commandnames
the propertienames
the constantnames

On Donnerstag, Jan 30, 2003, at 00:45 Europe/Zurich, erik hansen wrote:


...
You use lots of reserved word in your handlers,

be it as a handler name
("left", "right", "home" etc...) or names of
variables ("num" as the
most obvious example).


on the trail of the elusive "reserved word"...

• no luck in the Transcript Dictionary.

• trying to Find "reserved" in Rev Documentation
View > Rev UI Stack in Lists ) select RevDocs
then Edit > Find
a Find And Replace palette comes up, but seems to
work on scripts, though there is a "fields"
checkbox.

end of the trail for me. so...

any idea how to search RevDocs since last
discussion?

any idea how to identify all "reserved words" if
that is a RR term?

TIA



=
[EMAIL PROTECTED]http://www.erikhansen.org

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



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



Re: public beta?

2003-01-29 Thread Curry
About the anti-miscdas subthread, it brings to mind what Scott Raney 
(the MetaCard guy) said to me once. I would quote exactly but it's on 
a different computer. Something kind of like: I never get upset about 
*anything* that anyone writes in e-mail. I think that's a good rule 
of thumb.

Besides, to me it seems that even if we perceive something is off 
track, we don't have to worry to much about addressing it as long as 
everyone else in the group is able to perceive pretty much what we 
do, and here that should be the case as far as this topic is 
concerned.

About the Rev part of this thread, the news sounds great!

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


reserved words

2003-01-29 Thread erik hansen
--- Klaus Major <[EMAIL PROTECTED]>
wrote:
...
>
http://www.runrev.com/revolution/education/usercontributions.html
...
> i also would like to take a look at "turtles".
> Heard it very often in the past, but still have
> no idea what i means.
> 
> Unfortunately i cannot get it work.
> 
> A look at your scripts showed me the reason.
> 
> You use lots of reserved word in your handlers,
> be it as a handler name
> ("left", "right", "home" etc...) or names of
> variables ("num" as the 
> most obvious example).

on the trail of the elusive "reserved word"...

• no luck in the Transcript Dictionary.

• trying to Find "reserved" in Rev Documentation
View > Rev UI Stack in Lists ) select RevDocs
then Edit > Find
a Find And Replace palette comes up, but seems to
work on scripts, though there is a "fields"
checkbox.

end of the trail for me. so...

any idea how to search RevDocs since last
discussion?

any idea how to identify all "reserved words" if
that is a RR term?

TIA



=
[EMAIL PROTECTED]http://www.erikhansen.org

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



RE: htmlText and images

2003-01-29 Thread Monte Goulding

> You need the Internet library for any of these properties:
>
I think you will also find that you need it for using http or ftp in the
image source of a field.

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



Re: htmlText and images

2003-01-29 Thread Björnke von Gierke

On Mittwoch, Jan 29, 2003, at 23:35 Europe/Zurich, Monte Goulding wrote:



When you create your standalone are you checking the Internet 
Libraries box?


You need the Internet library for any of these properties:

the httpheaders
 the httpProxy

You need the Internet library to issue any of these commands/functions:

load url  [with message ]
unload url 
get url 
put  into url 
post  to url 
delete url 
the cachedUrls
urlStatus()
libUrlFtpUpload ,  [, ]
libUrlErrorData()
libUrlSetFtpMode 
libUrlResetAll
libUrlSetFtpStopTime 
libUrlSetLogField 
libUrlVersion()
libUrlLastHttpHeaders()
libUrlLastRhHeaders()
libUrlSetCustomHttpHeaders 

You need version 1.0.8 of the Internet library for these 
commands/functions:

libUrlSetStatusCallback ,
libUrlSetFtpListCommand <"LIST"|"NLST">
libUrlFtpCommand(,[,,])

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


RE: htmlText and images

2003-01-29 Thread Monte Goulding

When you create your standalone are you checking the Internet Libraries box?

Monte

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



Re: htmlText and images

2003-01-29 Thread Björnke von Gierke

On Mittwoch, Jan 29, 2003, at 20:16 Europe/Zurich, Mike McManus wrote:


...
"http://www.sitename.com/images/mymage.jpg"; types of images links in 
my html.

How would paths differ from the dev to the standalone in such a 
situation?
...

You are downloading images as html. That won't work, because html is a 
ascii transfer, not a binary one.
You must use "binfile:www.sitename.com/images/mymage.jpg" instead.

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


Re: Print Bttn on Rev Encyclopedia

2003-01-29 Thread Dave LeYanna
We have a number of them. A few different models of HP, Lexmarks, even a 
copier on the network. All produce that same results and only from the 
Revolution IDE.

While I generally agree with you on the newest driver advice, it gets 
trumped with the "If is ain't broke do fix it" advice. I'm just trying to 
see if it is REV that is broke before I change drivers in my very touchy 
Win98 system!

If I must, I must 

I think I'll wait just a little longer to see what else pops up.

djl

At 12:50 PM 1/29/03 -0800, you wrote:
--- Dave LeYanna <[EMAIL PROTECTED]> wrote:
> When ever I try to print (using the print button) a
> page of documentation
> from the IDE I get 1/16th point type except on code
> snippets  and icons
> which are just fine. I searched the news group
> archives back to Nov. 01 and
> didn't see this problem reported. I must be the only
> one.
>
> I don't have this problem with any other printing
> jobs. Running Win98 to a
> any of the printers on my network. Printing from any
> other application
> works fine! Any clues or advice besides "Get a MAC"
> or "Switch to Linux"?
>
> djl
>

Hi Dave,

Generally, the adive would be to update the printer
driver to the very latest version, and see if that
helps. What printer do you have?

Best regards,

Jan Schenkel.

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

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

==
||   Dave LeYanna ||
||   Director IS   ||
||   Right to Life of Michigan||
==

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



Re: To grab or not to grab

2003-01-29 Thread Ken Norris (dialup)
**
> Date: Wed, 29 Jan 2003 18:45:57 +1100
> Subject: Re: To grab or not to grab
> From: Matt Denton <[EMAIL PROTECTED]>

> Geoff, any clues how I might get an object to stay within the rect of
> its contained group?  I tested the form below (my original code was
> similar to this) but it doesn't work,
--
Hi,

This is not quite the RR way of doing things, but perhaps it will provide a
clue as to what you need:

on mousestilldown
   put "100,100,200,200" into bounds
   put max(item 1 of bounds,min(item 3 of bounds,the mouseh)) into x
   put max(item 2 of bounds,min(item 4 of bounds,the mousev)) into y
   set the loc of me to x,y
end mousestilldown

...the keys being the min/max functions.

HTH,
Ken N.


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



Re: Print Bttn on Rev Encyclopedia

2003-01-29 Thread Jan Schenkel
--- Dave LeYanna <[EMAIL PROTECTED]> wrote:
> When ever I try to print (using the print button) a
> page of documentation 
> from the IDE I get 1/16th point type except on code
> snippets  and icons 
> which are just fine. I searched the news group
> archives back to Nov. 01 and 
> didn't see this problem reported. I must be the only
> one.
> 
> I don't have this problem with any other printing
> jobs. Running Win98 to a 
> any of the printers on my network. Printing from any
> other application 
> works fine! Any clues or advice besides "Get a MAC"
> or "Switch to Linux"?
> 
> djl
> 

Hi Dave,

Generally, the adive would be to update the printer
driver to the very latest version, and see if that
helps. What printer do you have?

Best regards,

Jan Schenkel.

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

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Print Bttn on Rev Encyclopedia

2003-01-29 Thread Dave LeYanna
When ever I try to print (using the print button) a page of documentation 
from the IDE I get 1/16th point type except on code snippets  and icons 
which are just fine. I searched the news group archives back to Nov. 01 and 
didn't see this problem reported. I must be the only one.

I don't have this problem with any other printing jobs. Running Win98 to a 
any of the printers on my network. Printing from any other application 
works fine! Any clues or advice besides "Get a MAC" or "Switch to Linux"?

djl

==
||   Dave LeYanna ||
||   Director IS   ||
||   Right to Life of Michigan||
==

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


Re: ranging lists

2003-01-29 Thread J. Landman Gay
On Wednesday, January 29, 2003, at 04:57 AM, Ron wrote:


I have 2 lists. I need to check whether the values of list 2 fall 
within the
range of the values of list 1. eg.

list 1
1 10
20 25
45 55

list 2
1,3,12,23,34,45,52,78

Arrays are very fast. I didn't benchmark it, but see if something like 
this is faster than what you are using now:

function checkRanges
  put fld 1 into theRanges -- this is List 1
  repeat for each line l in theRanges -- make an array
put word 1 of l + 1 into theStart
put word 2 of l - 1 into theStop
repeat until theStart > theStop
  put theStart into theRangeArray[theStart]
  add 1 to theStart
end repeat
  end repeat
  -- now check the items in list 2 against the array:
  put fld 2 into theList
  repeat for each item i in theList
put (theRangeArray[i] <> empty) & comma after theResults
  end repeat
  return theResults
end checkRanges

This returns a list of booleans corresponding to each item in List 2, 
indicating whether each item is within range or not.

Creating the initial array probably takes the most time (but it is still 
very fast.) If this is something you will use repeatedly, build the 
array only once and store it in a global variable so you don't have to 
rebuild it each time you want to use it.

--
Jacqueline Landman Gay | [EMAIL PROTECTED]
HyperActive Software   | http://www.hyperactivesw.com

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


Re: Setting Pixels - Answers to Suggestions

2003-01-29 Thread Dar Scott

On Wednesday, January 29, 2003, at 11:39 AM, Robert J Warren 
((Howsoft.com)) wrote:

According to the method outlined by Ken Ray in his article, I tried a 
test
replacement of a mere 400 pixels, and this took various seconds! Part 
of the
trouble is that Transcript does not appear to have instructions for 
simply
reading or replacing individual pixels, which might alleviate the 
problem to
some degree. However, ironically, as I have found out in VB, this is 
not the
best solution. For maximum speed you have to process the image's pixel 
data
directly. Putting even part of the pixel data into a variable or array 
for
processing slows the whole thing down too much, and don't forget that 
quite
complex mathematical calculations have to be performed on each pixel, 
which
if done correctly can also take up considerable time.

I need to read Ken Ray's article.  I suspect his examples are designed 
for clarity rather than efficiency.

Char chunking for getting data is fast.  Char chunking for replacing 
data can be slow.  Specifically, ...

Assume operations are on a copy of the image.  Char chunking for 
getting pixel data is fast.  However, char chunking for replacing pixel 
data goes up with the size of the image.  (It might be nice if 
replacement noticed the size was the same and did the replacement in 
place, but alas, that doesn't seem to be the case.)  It is thus better 
to replace the entire pixel rather than each individual pixel component 
in an image of nontrivial size.  And, as mentioned in #3 below, it is 
better to replace sub-rows than pixels.

Here are a couple things to try.

1
There may be places in which it is better to refer to the image data 
(or sub-image) by reference and refer to parts of it by that and char 
positions.

2
There may be ways you can avoid repeating row-column calculations.  Use 
a function to create a char pointer from row and column and use that as 
you need.  For example, you don't need to calculate the position for 
both the read and the write.

3
After you are happy with your method, change the atomic operation from 
pixel orientation to sub-row orientation.  This handler should work on 
a sequence of pixels (as specified by char positions) and need not know 
anything about the size of the image.  That is, you don't have to do a 
row-column calculation for each pixel and replacement is directly by 
char pointer.  If you need a few pixel oriented operators but don't use 
them often, build them out of the sub-row operators.  Remember, build 
up your new sub-row, then replace it in one operation.  If you prefer a 
functional style, you can use a string function to operate on a an 
sequence of pixels and return a string of pixels and then put things 
together at the higher level.  With that optimization, the char 
chunking replacement will be less of a hit; you will be doing only one 
replacement per row under your wand.  It the image can be lots taller 
than the wand, you may want to select out the applicable rows, make the 
transformation, then then put it all back together.

Dar Scott

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


RE: Setting Pixels - Answers to Suggestions

2003-01-29 Thread Chipp Walters
Bob,

I've thought some about this problem. If you can't use the direct editing
mode (choose pencil, eraser, etc..), then it will probably be too slow.

Perhaps a DLL or XCMD would do the trick...

-Chipp

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



RE: htmlText and images

2003-01-29 Thread Chipp Walters
Mike,

Why don't you send me the stack and I'll take a look at it

-Chipp


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Mike McManus
> Sent: Wednesday, January 29, 2003 1:16 PM
> To: [EMAIL PROTECTED]
> Subject: Re: htmlText and images
> 
> 
> It is possible. Maybe I just don;t understand what I am doing. The 
> images paths are graphics in the HTML page that is read. in other words 
> they are "img src" i think thats right at least( i mean the HTML term)  
> So the paths are not specific to the local machine. I have tried both 
> root relative and full "http://www.sitename.com/images/mymage.jpg"; 
> types of images links in my html.
> 
> How would paths differ from the dev to the standalone in such a 
> situation?
> 
> 
> On Wednesday, January 29, 2003, at 06:11  AM, Chipp Walters wrote:
> 
> > Mike,
> >
> > My guess is that you're having problems with fixed filepath names.
> >
> > If you have a folder called 'images' which is at the same level of 
> > your app,
> > you'll need to dynamically generate the path to that folder and reset 
> > each
> > image filename in your stack at startup.
> >
> > Check the filename property of the images. It stays the same even 
> > after a
> > build.
> >
> > -Chipp
> >
> >> -Original Message-
> >> From: [EMAIL PROTECTED]
> >> [mailto:[EMAIL PROTECTED]]On Behalf Of Mike 
> >> McManus
> >> Sent: Tuesday, January 28, 2003 9:21 PM
> >> To: [EMAIL PROTECTED]
> >> Subject: htmlText and images
> >>
> >>
> >> Been working on a stack that displays certain webpage information. 
> >> Some
> >> of the info contains images. They display fine in the dev environment,
> >> but the builds at least on my Mac OSX fail to display images. Am I
> >> doing something wrong? I am not sure if imagesource may be a solution,
> >> but it seems strange that it appears in development envirionment and
> >> not the build?
> >>
> >> BTW. I need to thank the people at Fourthworld for Umbrellaman. It
> >> helped me immensely with an appleevent problem I was having. Showing
> >> just what I was getting and where it was going. Seemed a simple
> >> topstack issue when I saw it. THANKS!
> >>
> >> ___
> >> use-revolution mailing list
> >> [EMAIL PROTECTED]
> >> http://lists.runrev.com/mailman/listinfo/use-revolution
> >
> > ___
> > use-revolution mailing list
> > [EMAIL PROTECTED]
> > http://lists.runrev.com/mailman/listinfo/use-revolution
> >
> 
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: public beta?

2003-01-29 Thread Judy Perry
If you're so brilliant, why is it you can't figure out how to not send
duplicate posts every time you enlighten us with your wisdom?

Judy

On Tue, 28 Jan 2003 [EMAIL PROTECTED] wrote:

[snip to save bandwidth]

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



Re: create graphic and choose browse issues

2003-01-29 Thread Yves COPPE
I'm writing an app to draw network connections between hosts.

so I connect to a host, query who is connected, draw a graphic and 
then draw a line to it from the origin graphic.  however while 
developing it, Revolution always stops in the pointer tool.

the code is

set the style of the defaultgraphic to line
create graphic linetohost
set the points of graphic linetohost to MyVertList
choose browse tool

when i compile it, everything appears to work fine, but while 
developing it, I have to choose the browse tool manually.  is this 
normal?

just annoying


Yes it's a known bug of Rev 1.1.1
Should be fixed in 2.0
--
Greetings.

Yves COPPE

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



Re: create graphic and choose browse issues

2003-01-29 Thread Björnke von Gierke

On Mittwoch, Jan 29, 2003, at 20:03 Europe/Zurich, Zac Elston wrote:


...
choose browse tool

when i compile it, everything appears to work fine, but while 
developing it, I have to choose the browse tool manually.  is this 
normal?

Bug ... err no wait "feature" of the development environment ;)

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



Re: htmlText and images

2003-01-29 Thread Mike McManus
It is possible. Maybe I just don;t understand what I am doing. The 
images paths are graphics in the HTML page that is read. in other words 
they are "img src" i think thats right at least( i mean the HTML term)  
So the paths are not specific to the local machine. I have tried both 
root relative and full "http://www.sitename.com/images/mymage.jpg"; 
types of images links in my html.

How would paths differ from the dev to the standalone in such a 
situation?


On Wednesday, January 29, 2003, at 06:11  AM, Chipp Walters wrote:

Mike,

My guess is that you're having problems with fixed filepath names.

If you have a folder called 'images' which is at the same level of 
your app,
you'll need to dynamically generate the path to that folder and reset 
each
image filename in your stack at startup.

Check the filename property of the images. It stays the same even 
after a
build.

-Chipp

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Mike 
McManus
Sent: Tuesday, January 28, 2003 9:21 PM
To: [EMAIL PROTECTED]
Subject: htmlText and images


Been working on a stack that displays certain webpage information. 
Some
of the info contains images. They display fine in the dev environment,
but the builds at least on my Mac OSX fail to display images. Am I
doing something wrong? I am not sure if imagesource may be a solution,
but it seems strange that it appears in development envirionment and
not the build?

BTW. I need to thank the people at Fourthworld for Umbrellaman. It
helped me immensely with an appleevent problem I was having. Showing
just what I was getting and where it was going. Seemed a simple
topstack issue when I saw it. THANKS!

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

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



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



create graphic and choose browse issues

2003-01-29 Thread Zac Elston
I'm writing an app to draw network connections between hosts.

so I connect to a host, query who is connected, draw a graphic and then draw a line to 
it from the origin graphic.  however while developing it, Revolution always stops in 
the pointer tool.

the code is 

set the style of the defaultgraphic to line
create graphic linetohost
set the points of graphic linetohost to MyVertList
choose browse tool

when i compile it, everything appears to work fine, but while developing it, I have to 
choose the browse tool manually.  is this normal?

just annoying

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



Re: Multiple Users Updating a Single Stack

2003-01-29 Thread Howard Bornstein
>If multiple users were to update a single stack (over a network, for
>instance), would RR handle everything nicely or could the stack become
>corrupted over time?

I can't speak to whether simply opening and closing the stack from a 
server would corrupt it. I suspect Rev will keep the integrity of the 
stack as well as if it were local on a hard drive. 

However, there is another problem of "data integrity" since when a user 
runs the stack off a server, he is opening a local copy on his computer 
in RAM. Changes made to the stack are made to the RAM copy and only when 
the file is saved are the changes written back to the server.

Imagine if two users are running the stack simultaneously. User A runs 
the stack locally and makes changes, then writes the stack back to the 
server. User B does the same thing but writes the stack back after User 
A. User B's version of the stack becomes the one residing on the server 
and all of User A's changes are lost (overwritten) because of User B's 
version.

I've implemented a simple lock-out procedure to handle this. This works 
in my situation because it's a stack that doesn't get a lot of activity 
and isn't hit by a lot of users at the same time. In such a situation, 
this wouldn't be an appropriate strategy.

on openstack
   -- check a custom property to see if the stack is locked
  if the cLock of this stack is true then
Answer "Another user is currently using this program. You can read 
the information but won't be able to make any changes." titled "Program 
is in use."
  -- Since it's locked, don't allow changes to this field
  set the locktext of fld "thenotes" to true -- prevent any changes
  else
-- lock out this stack so someone else can use it at the same time
set the cLock of this stack to true
save this stack
  end if
end openstack

on closestack
  --unlock the stack for a new user to use
  set the cLock of this stack to false
  set the locktext of fld "theNotes" to false
  save this stack
end closestack

Regards,

Howard Bornstein

D E S I G N  E Q
www.designeq.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Re: File/folder list with icons?

2003-01-29 Thread Richard Gaskin
Robert Arnold wrote:

> I'm working on a simple OSX tool to compare and update the contents of two
> folders. Is it possible to display a list of files and folders in a Rev list
> field, with their itsy-bitsy Finder icons? Right now I am distinguishing
> between files and folders simply by placing the "/" character before folder
> names. I imagine that I could use a font such as Wingdings to fake it in
> this manner too, but I would prefer to use the actual app-specific finder
> icons if possible (or if within my reach).

It would require a platform-specific external to display the Mac Finder
icons, but you could use generic folder and file icons as in Fetch, Graphic
Converter, and others by simply including the images in your stack and then
adding a character ("say, "f" for "File" and "d" for "Directory") and a tab
before each line in your list, then walking through the list setting the
imageSource of the character to match the ID of the appropriate icon image.

-- 
 Richard Gaskin 
 Fourth World Media Corporation
 Developer of WebMerge 2.2: Publish any database on any site
 ___
 [EMAIL PROTECTED]   http://www.FourthWorld.com
 Tel: 323-225-3717   AIM: FourthWorldInc

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



Re: Link to file

2003-01-29 Thread Jan Schenkel
--- Jim Hurley <[EMAIL PROTECTED]> wrote:
> >>
> >>
> >>Hi Jim,
> >>
> >>Have a look at the 'filename' entry in the
> Transcript
> >>Dictionary. Basically, you can clear the filename
> with
> >>   set the filename of image "Foobar" to empty
> >>
> >>Hope this helped,
> >>
> >>Jan Schenkel.
> >
> >
> >Thanks Jan. I was  confusing file name with image
> name.
> >
> >Am I correct in assuming then that what I have to
> do is write a 
> >script to run though my stack and set all the file
> names of all 
> >images to the image names? (Assuming that the
> default folder has 
> >been set to the stack folder and that the images
> are in the same 
> >folder.)
> >
> >Jim
> 
> 
> P.S. Oops. I should have  said that my image names
> are identical to 
> the file names.
> 

Hi Jim,

That would be the way to go ; though I'd advise you
move the images into a sub-folder 'images' for clarity
and maintainability.

Hope this helped,

Jan Schenkel.

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

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Setting Pixels - Answers to Suggestions

2003-01-29 Thread Robert J Warren \(Howsoft.com\)
First of all, I would like to thank the various members of the list who have
given me a number of interesting suggestions in relation to my "pixels
problem". All info has been gratefully received. Thanks also to those who
have given me advice in relation to the originally stated (but
oversimplified) drawing problem. I'm learning a lot!

In response to -
http://www.altuit.com/webs/altuit2/RunRev/Downloads.htm

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



Re: Can I embed PDF driver in a Rev stack built for distribution?

2003-01-29 Thread Piero Menno'
Hi list!
Geoff idea ise very tricky, but what about multi-page document 
(changing some content could change page breaks, in my case..)?

TIA
Piero Menno


Very clever idea, Geoff!  Thanks!  I'll give it a go.

What about an image reference within PDF?  For instance, if I wanted 
to change the logo on the letterhead, but could guarantee that it 
was exactly the same size logo everytime?   Don't want to change 
this into a PDF thread, but if there's a way to do that, it'd 100% 
solve my problem!

Thanks gobs.
Ray

On Wednesday, Jan 29, 2003, at 09:53 America/New_York, Geoff Canyon wrote:

Many have made suggestions already, but just to throw another on the pile:

If your printing format is just text in a PDF and is similar from 
one time to the next, it might be fairly straightforward to do this:

  1. Create a document that looks the way you want it to. Wherever 
text needs to be placed, put an identifiable placeholder. Something 
like thisIsPlaceholderText1 should do.
  2. Print the document to PDF. Use whatever tools you like.
  3. Open the resulting PDF file and look for the placeholder text 
you included in the document.
  4. Use the PDF file as a template, and when you want to "print to 
PDF" just replace the placeholder text with the text you want to > 
print.

This is probably impractical for anything more complicated that a 
standard business letter, but if that's what you want, it's 
probably possible.

gc

On Saturday, January 18, 2003, at 03:53 PM, Ray Bennett wrote:

I'd like to be able to include the ability to "save as PDF" right 
into my application when I distribute it.

Has anyone done this?
Thanks again in advance.
Ray

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


regards,

Geoff Canyon
[EMAIL PROTECTED]

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



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


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



Re: File/folder list with icons?

2003-01-29 Thread Roger . E . Eller

Robert,

You can snapshot the Finder icons you want, then import them as images.
Then you can use imageSource. For example if you know the line number in
the text field where a folder name is shown you can...

set the imageSource of char 1 of line x to 2017 -- use the image id of the
folder icon.

This would replace the "/" you are using now with an icon.

Roger Eller
[EMAIL PROTECTED]

On 1/29/2003 at 11:09AM Robert Arnold <[EMAIL PROTECTED]> wrote:
> I'm working on a simple OSX tool to compare and update the contents of
two
> folders. Is it possible to display a list of files and folders in a Rev
list
> field, with their itsy-bitsy Finder icons? Right now I am distinguishing
> between files and folders simply by placing the "/" character before
folder
> names. I imagine that I could use a font such as Wingdings to fake it in
> this manner too, but I would prefer to use the actual app-specific finder
> icons if possible (or if within my reach).
>
> Thanks for any suggestions.



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



Multiple Users Updating a Single Stack

2003-01-29 Thread [EMAIL PROTECTED]
Hi all,

If multiple users were to update a single stack (over a network, for
instance), would RR handle everything nicely or could the stack become
corrupted over time?

Valetia

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



Re: Can I embed PDF driver in a Rev stack built for distribution?

2003-01-29 Thread Ray Bennett
Very clever idea, Geoff!  Thanks!  I'll give it a go.

What about an image reference within PDF?  For instance, if I wanted to 
change the logo on the letterhead, but could guarantee that it was 
exactly the same size logo everytime?   Don't want to change this into 
a PDF thread, but if there's a way to do that, it'd 100% solve my 
problem!

Thanks gobs.
Ray

On Wednesday, Jan 29, 2003, at 09:53 America/New_York, Geoff Canyon 
wrote:

Many have made suggestions already, but just to throw another on the 
pile:

If your printing format is just text in a PDF and is similar from one 
time to the next, it might be fairly straightforward to do this:

  1. Create a document that looks the way you want it to. Wherever 
text needs to be placed, put an identifiable placeholder. Something 
like thisIsPlaceholderText1 should do.
  2. Print the document to PDF. Use whatever tools you like.
  3. Open the resulting PDF file and look for the placeholder text you 
included in the document.
  4. Use the PDF file as a template, and when you want to "print to 
PDF" just replace the placeholder text with the text you want to > print.

This is probably impractical for anything more complicated that a 
standard business letter, but if that's what you want, it's probably 
possible.

gc

On Saturday, January 18, 2003, at 03:53 PM, Ray Bennett wrote:

I'd like to be able to include the ability to "save as PDF" right 
into my application when I distribute it.

Has anyone done this?
Thanks again in advance.
Ray

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



regards,

Geoff Canyon
[EMAIL PROTECTED]

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



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



RE: Stack window positioning.

2003-01-29 Thread Feasey, Nicholas
Thank you Sarah this has the desired affect.

N

-Original Message-
From: Sarah [mailto:[EMAIL PROTECTED]] 
Sent: 28-Jan-03 9:20 PM
To: [EMAIL PROTECTED]
Subject: Re: Stack window positioning.


I don't know what this would look like but you could try:

lock screen
go invisible to stack "FirstStack"
go invisible to stack "SecondStack"
set the visible of stack "FirstStack" to true
set the visible of stack "SecondStack" to true

Cheers,
Sarah


On Tuesday, January 28, 2003, at 07:23  am, Feasey, Nicholas wrote:

> I want to open two different cards within two separate stacks.
> However, I want the card in the first stack window to remain 
> underneatch the
> second stack that I open.
>
> I used:
>
> go to stack "FirstStack"
> go to stack "SecondStack"
>
> but I see the first stack when it opens.  I have tried:
>
> go invisible to stack "FirstStack"
> go to stack "SecondStack"
> set the visible of stack "FirstStack" to true
>
> but that brings the card in "FirstStack" to the forground; a effect 
> that I
> don't desire.
>
> Can anyone point me in the correct direction.
>
> Thanks in advance.
>
> N
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution
>


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



Re: No scroll wheel (newbie stuff)?

2003-01-29 Thread Ken Norris (dialup)
**
> Date: Tue, 28 Jan 2003 11:56:58 -0700 (MST)
> From: Scott Raney <[EMAIL PROTECTED]>
> Subject: Re: No scroll wheel (newbie stuff)?

>>> Mouse wheels *do* work on Win32, MacOS, and Linux systems because
>>> there is OS API support for this hardware feature on these platforms.
>> --
>> One must be true and the other not. Which is which?
> 
> Apologies, my mistake.  That line should be:
> 
>>> Mouse wheels *do* work on Win32, MacOS X, and Linux systems because
--
OK, got it. Thanks. Mac OS 8.x-9.x doesn not have native (API) mouswheel
support, but Win32, Mac OSX, and Linux systems do.

And there is a possible workaround. Jacque wrote:
--
> However, I think you can add the capability yourself with a
> script. You'll need to trap rawKeyDown, check to see if the mousecontrol
> is a field, and if so, set its scroll appropriately. The keycode for
> scrolling up is 65309, for scrolling down it is 65308.

> This won't work if no keycodes are sent when the wheel is scrolled
> (which someone reported earlier) but I am pretty sure I had it working
> in OS 9. You'll have to do some tests.
--
I guess I'll take a shot. It might be a challenge to make it work.

All the best,
Ken N.

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



Link to file

2003-01-29 Thread Jim Hurley


Hi Jim,

Have a look at the 'filename' entry in the Transcript
Dictionary. Basically, you can clear the filename with
  set the filename of image "Foobar" to empty

Hope this helped,

Jan Schenkel.



Thanks Jan. I was  confusing file name with image name.

Am I correct in assuming then that what I have to do is write a 
script to run though my stack and set all the file names of all 
images to the image names? (Assuming that the default folder has 
been set to the stack folder and that the images are in the same 
folder.)

Jim


P.S. Oops. I should have  said that my image names are identical to 
the file names.


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


Link to file

2003-01-29 Thread Jim Hurley

--- Jim Hurley wrote:

 I am trying to go back over an old stack, written in
 the days before
 I knew better, and use relative paths (that is the
 path relative to
 the current stack filename) to locate images rather
 than the full
 path.
 (snip)

 Jim


Hi Jim,

Have a look at the 'filename' entry in the Transcript
Dictionary. Basically, you can clear the filename with
  set the filename of image "Foobar" to empty

Hope this helped,

Jan Schenkel.



Thanks Jan. I was  confusing file name with image name.

Am I correct in assuming then that what I have to do is write a 
script to run though my stack and set all the file names of all 
images to the image names? (Assuming that the default folder has been 
set to the stack folder and that the images are in the same folder.)

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


File/folder list with icons?

2003-01-29 Thread Robert Arnold
I'm working on a simple OSX tool to compare and update the contents of two
folders. Is it possible to display a list of files and folders in a Rev list
field, with their itsy-bitsy Finder icons? Right now I am distinguishing
between files and folders simply by placing the "/" character before folder
names. I imagine that I could use a font such as Wingdings to fake it in
this manner too, but I would prefer to use the actual app-specific finder
icons if possible (or if within my reach).

Thanks for any suggestions.


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



Re: ranging lists

2003-01-29 Thread Dar Scott

On Wednesday, January 29, 2003, at 04:57 AM, Ron wrote:


I have 2 lists. I need to check whether the values of list 2 fall 
within the
range of the values of list 1. eg.

list 1
1 10
20 25
45 55

list 2
1,3,12,23,34,45,52,78

If those are already sorted as your example is, you can exploit that.  
(If not, you might consider sorting them or creating them sorted.)

Here is one way to exploit that:  repeat over the items in list two, 
accumulating those that are in a range in list 2, and then return the 
accumulation.  (Keep up with the current range by line number starting 
with the first.)  To check whether a number is in a range, do two 
things:  First, advance the range line number while the number is not 
above the upper range limit.  (if you run out of ranges, return the 
accumulation.)  Second, if the number is not lower than the lower 
limit, accumulate it.

Dar Scott



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


Re: Link to file

2003-01-29 Thread Jan Schenkel
--- Jim Hurley <[EMAIL PROTECTED]> wrote:
> I am trying to go back over an old stack, written in
> the days before 
> I knew better, and use relative paths (that is the
> path relative to 
> the current stack filename) to locate images rather
> than the full 
> path.
> 
> But I am unable to delete the contents of  "Link to
> file" field in 
> the image tab of the properties palate. (It can be
> deleted but it 
> comes right back--spooky.)  This is where the
> absolute path is 
> located. The best I can  do is paste the name of the
> image into the 
> "Link to file" field.  This works after running the
> script:
> 
>set the itemdelimiter to "/"
>set the defaultfolder to item 1 to -2 of the
> filename of this stack 
> --deletes the last item of the filename.
> 
> But I would now like to delete the "Link to file"
> field in the image 
> tab of the properties palate. Does this window
> display in image 
> property? If so what is it called? I want to set it
> to "empty".
> 
> Jim

Hi Jim,

Have a look at the 'filename' entry in the Transcript
Dictionary. Basically, you can clear the filename with
  set the filename of image "Foobar" to empty

Hope this helped,

Jan Schenkel.

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

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
___
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution



Link to file

2003-01-29 Thread Jim Hurley
I am trying to go back over an old stack, written in the days before 
I knew better, and use relative paths (that is the path relative to 
the current stack filename) to locate images rather than the full 
path.

But I am unable to delete the contents of  "Link to file" field in 
the image tab of the properties palate. (It can be deleted but it 
comes right back--spooky.)  This is where the absolute path is 
located. The best I can  do is paste the name of the image into the 
"Link to file" field.  This works after running the script:

  set the itemdelimiter to "/"
  set the defaultfolder to item 1 to -2 of the filename of this stack 
--deletes the last item of the filename.

But I would now like to delete the "Link to file" field in the image 
tab of the properties palate. Does this window display in image 
property? If so what is it called? I want to set it to "empty".

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


Re: Can I embed PDF driver in a Rev stack built for distribution?

2003-01-29 Thread Geoff Canyon
Many have made suggestions already, but just to throw another on the 
pile:

If your printing format is just text in a PDF and is similar from one 
time to the next, it might be fairly straightforward to do this:

  1. Create a document that looks the way you want it to. Wherever text 
needs to be placed, put an identifiable placeholder. Something like 
thisIsPlaceholderText1 should do.
  2. Print the document to PDF. Use whatever tools you like.
  3. Open the resulting PDF file and look for the placeholder text you 
included in the document.
  4. Use the PDF file as a template, and when you want to "print to 
PDF" just replace the placeholder text with the text you want to print.

This is probably impractical for anything more complicated that a 
standard business letter, but if that's what you want, it's probably 
possible.

gc

On Saturday, January 18, 2003, at 03:53 PM, Ray Bennett wrote:

I'd like to be able to include the ability to "save as PDF" right into 
my application when I distribute it.

Has anyone done this?
Thanks again in advance.
Ray

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



regards,

Geoff Canyon
[EMAIL PROTECTED]

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



Re: ranging lists

2003-01-29 Thread Dave LeYanna
Depending on the regular expression engine in rev 2, it is conceivable that 
one could go that route. BTW, I don't have the expertise to follow up on my 
suggestion, it's just a thought. I have a book from O'REILLY "Mastering 
Regular Expressions", maybe I should look into it.

djl

At 08:57 PM 1/29/03 +0900, you wrote:
Hi

Here's a challenge that I've been working on optimizing today and thought I
would ask the list for help in making it good transcript.

I have 2 lists. I need to check whether the values of list 2 fall within the
range of the values of list 1. eg.

list 1
1 10
20 25
45 55

list 2
1,3,12,23,34,45,52,78

List 1 may have up to 60 different ranges, one range per line.
List 2 may have over 2000 items. (these are line numbers of a text database)

I need to take item 1 of list 2 and see if it is > 1 and <10. If yes, then
keep the item, if not, delete it. Then I need to take the next item of list
2 and see if it falls within the range 1 10, and so on.

Brute force can iterate each item of list 2 and compare it with each line of
list 1 but I think it can be more elegant by noting when the item in line 2
excedes the upper limit of the range and then move on to the next range. The
faster the better.

thanks for any suggestions on approaches, it doesn't have to be completed
code.
Ron

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


==
||   Dave LeYanna ||
||   Director IS   ||
||   Right to Life of Michigan||
==

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



ranging lists

2003-01-29 Thread Ron
Hi

Here's a challenge that I've been working on optimizing today and thought I
would ask the list for help in making it good transcript.

I have 2 lists. I need to check whether the values of list 2 fall within the
range of the values of list 1. eg.

list 1
1 10
20 25
45 55

list 2
1,3,12,23,34,45,52,78

List 1 may have up to 60 different ranges, one range per line.
List 2 may have over 2000 items. (these are line numbers of a text database)

I need to take item 1 of list 2 and see if it is > 1 and <10. If yes, then
keep the item, if not, delete it. Then I need to take the next item of list
2 and see if it falls within the range 1 10, and so on.

Brute force can iterate each item of list 2 and compare it with each line of
list 1 but I think it can be more elegant by noting when the item in line 2
excedes the upper limit of the range and then move on to the next range. The
faster the better.

thanks for any suggestions on approaches, it doesn't have to be completed
code.
Ron

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



Re: public beta?

2003-01-29 Thread Kevin Miller
On 28/1/03 11:42 pm, james lewes <[EMAIL PROTECTED]> wrote:

> Once they have finished I am confident they will amaze us.

So at the moment we're putting finishing touches on the new Application
Browser, finishing the last of the new properties palette screens, and
tracking down a handful of lower level issues in a few places, e.g. relating
to the new serial support on OS X.  There are a few syntax changes to the
new XML libraries and in one or two other places.  Besides that we're about
good to go...

Kind regards,

Kevin

Kevin Miller <[EMAIL PROTECTED]> 
Runtime Revolution Limited - The Solution for Software Development
Tel: +44 (0) 870 747 1165.  Fax: +44 (0)1639 830 707.

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



RE: htmlText and images

2003-01-29 Thread Chipp Walters
Mike,

My guess is that you're having problems with fixed filepath names.

If you have a folder called 'images' which is at the same level of your app,
you'll need to dynamically generate the path to that folder and reset each
image filename in your stack at startup.

Check the filename property of the images. It stays the same even after a
build.

-Chipp

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Mike McManus
> Sent: Tuesday, January 28, 2003 9:21 PM
> To: [EMAIL PROTECTED]
> Subject: htmlText and images
>
>
> Been working on a stack that displays certain webpage information. Some
> of the info contains images. They display fine in the dev environment,
> but the builds at least on my Mac OSX fail to display images. Am I
> doing something wrong? I am not sure if imagesource may be a solution,
> but it seems strange that it appears in development envirionment and
> not the build?
>
> BTW. I need to thank the people at Fourthworld for Umbrellaman. It
> helped me immensely with an appleevent problem I was having. Showing
> just what I was getting and where it was going. Seemed a simple
> topstack issue when I saw it. THANKS!
>
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution

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



Re: Setting Pixels

2003-01-29 Thread Klaus Major
Hi Jim,


..
The good people at RR have posted a demo stack in the "Education" page 
on the RunRev site:
http://www.runrev.com/revolution/education/usercontributions.html

Check the User Contributions. This is intended primarily for an 
elementary course in programing in
Transcript  and Turtle Graphics for science students, but it may  also 
work for you.

Jim Hurley

i also would like to take a look at "turtles".
Heard it very often in the past, but still have no idea what i means.

Unfortunately i cannot get it work.

A look at your scripts showed me the reason.

You use lots of reserved word in your handlers, be it as a handler name
("left", "right", "home" etc...) or names of variables ("num" as the 
most obvious example).

I would really appreciate if you could take a look again and change 
your stack.


Thanks a lot in advance.


Regards

Klaus Major
[EMAIL PROTECTED]

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


RE: Setting Pixels

2003-01-29 Thread Chipp Walters
Hi Bob,

> From the examples, this seems to mean in practice that if I want 
> to change a
> single pixel in an image I need to read the whole image bitmap into a
> variable, change the pixel in the variable, and then copy the 
> whole variable
> contents back into the image.

Much easier to edit the image via script with a pencil.

on mouseUp
  select img 1
  choose pencil
  drag from topLeft of img 1 to botRight of img 1
  choose browse
end mouseUp

This could easily be set up to modify a single pixel in an image..

for instance a button with:

on mouseUp
  changeThisPixel 3,7,"test","red"
end mouseUp

on changeThisPixel pDeltaX,pDeltaY,pImg,pColor
  select img pImg
  choose pencil
  set the penColor to pColor
  put left of img pImg + pDeltaX into tXpixel
  put top of img pImg + pDeltaY into tYpixel
  click at tXpixel,tYpixel
  choose browse
end changeThisPixel

it's instant on my machine

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



htmlText and images

2003-01-29 Thread Mike McManus
Been working on a stack that displays certain webpage information. Some 
of the info contains images. They display fine in the dev environment, 
but the builds at least on my Mac OSX fail to display images. Am I 
doing something wrong? I am not sure if imagesource may be a solution, 
but it seems strange that it appears in development envirionment and 
not the build?

BTW. I need to thank the people at Fourthworld for Umbrellaman. It 
helped me immensely with an appleevent problem I was having. Showing 
just what I was getting and where it was going. Seemed a simple 
topstack issue when I saw it. THANKS!

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


RE: Displaying two cards in different windows

2003-01-29 Thread Chipp Walters
Hi Jim,

Why don't you just use groups instead of cards. Many of us create 1 card
stacks and do everything on that stack. Check out www.buttongadget.com for a
stack which displays multiple images on a single card--just show/hiding
groups.

best,

Chipp

> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Jim Witte
> Sent: Tuesday, January 28, 2003 11:28 PM
> To: [EMAIL PROTECTED]
> Subject: Displaying two cards in different windows
>
>
> Hi,
>
>I'm doing an apparent motion laboratory application in Revolution
> (which I'll probably end up doing it in Revolution, Java, AND Cocoa
> just for the heck of it - it is what the prof is having me do for the
> final project in the experimental methods class - I don't want it to
> see *too* easy!).  Anyway, It needs to switch to images back and forth
> at a preset interval.
>
>Currently, I've got the switching set up by alternatively going to
> one of two cards in a stack.  But can I let the user view (and edit)
> both of these cards at once, to create graphic objects ('open cd ## in
> new window'?)?  Or is there another way I can do this (take a snapshot
> of each frame and then swap them into an image object, or using the
> Animation Manager? (Animation Manager seems a bit of overkill for just
> two or three frames)
>
> Thanks,
> Jim Witte
> [EMAIL PROTECTED]
> Indiana University Cogntivie Science
>
> ___
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution

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



RE: Setting Pixels (for Jim Hurley)

2003-01-29 Thread Chipp Walters
Jim, tried to send this offlist,
but was blocked by:
dnsbl.njabl.org

Hey Jim!

Nice stack! Though I'm having a bit of a problem working with it

I opened it in RR1.5 on a PC and it doesn't want to work.
I see you have many variables called 'num' in the stack script. 'num' is a
reserverd transcript term, so it won't work (at least not on my PC:-)

I'd like to play with your stack. Let me know if you get around to fixing
it! Thanks for supporting RR.

best,

Chipp

> Robert,
> 
> Just to add a bit to Scott's good advice:
> 
> If you would like some tools to facilitate this kind of  drawing, the 
> ideal is Turtle Graphics. 
> 
> Jim Hurley

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



New AltPlugin updates... Thanks Rob Cozens.

2003-01-29 Thread Chipp Walters
1/29/2003 Updated new AltPlugins
revAltPlugin.rev
revAltPropList.rev
revAltArchive.rev
revAltImgView.rev

These are still in beta, but are getting much better!!
You MUST update the revAltPropList to V1.5 because the old one didn't work
properly.

Also,
Much thanks to Rob Cozens for adding a very valuable feature to
revAltPropList.

This plugin is used to compare the properties of two controls. It stores the
properties side by side so you can scroll through them and see where the
differences are. Rob added a one line script which hilites the differences.

Thanks Rob!

-Chipp

-
Chipp Walters
Altuit, inc.
http://www.altuit.com
http://www.chipp.com
-

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