Re: Error uploading file in Windows: this looks like a bug, please confirm...

2006-07-23 Thread Dan Shafer

I have an FTP file manager app that uploads files via WinXP. The app is
written in Rev. It seems to work just fine except with one or two file
types. Not sure what's going on with them, but maybe that's the problem?
Have you tried multiple files types?

On 7/22/06, Mark Wieder [EMAIL PROTECTED] wrote:


Ton-

Friday, July 21, 2006, 11:45:18 PM, you wrote:

 Thanks for the quick response, but to bad...
 There are no spaces in the username or password and I have full
 access to the server.
 Using put (ftp://;)  user:[EMAIL PROTECTED]/wwwroot/
 Schedule.html into url vURL now creates an empty file in the correct
 location, but no data is in it.

 Also creating the file locally and then uploading it to the ftp
 server doesn't work, creating the file in the root directory of the
 FTP server and then moving it to the correct location creates an
 empty file as well...

 Can anyone reproduce this on Windows? On the Mac it works fine...

I just tried it again to make sure, and it does indeed work fine for
me on win2k. What are you using for an ftp server? You mention that
you have full access to the server, but are the ftp user permissions
set that way as well? What is the ftp user's home directory set to?
Are you sure there's actual data in variable vHTML?

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





--
~~
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: There Was a Problem Saving the Standalone Application

2006-07-23 Thread Ken Ray
On 7/23/06 12:38 AM, Chipp Walters [EMAIL PROTECTED] wrote:

 That's a nifty piece of software. Do you use it? I'm wondering how
 exactly one simulates a right-click?

What's wrong with the Control-click method we currently have (to simulate a
right-click)? Or were you thinking of something that only uses the trackpad?

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: There Was a Problem Saving the Standalone Application

2006-07-23 Thread Chipp Walters

Hi Ken,

Yes, I was referring to the trackpad. I know many people don't ever
use the trackpad on Macs, but I use it all the time on my PC laptop,
and I'm wondering if it isn't because of the lack of a right-mouse
button. I considered purchasing an Intel Macbook, but realized I
couldn't ever get past the lack of a right-mouse button and the lack
of a delete key (which I use all the time...not backspace key...which
I also use).

Ctrl-click on a trackpad requires two fingers, one to press the
control-key, the other to hold-down the mouseKey at the bottom of the
trackpad, meanwhile the other hand works moving the cursor over the
trackpad to choose the correct menu item. I suppose for young large
hands, it would work just fine, but my fingers would get tired awful
fast trying to contort regularly that way.

-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


Re: Error uploading file in Windows: this looks like a bug, please confirm...

2006-07-23 Thread Chipp Walters

Dan,

Do you mean it doesn't work with Mac files on a PC? If so, it could be
.bundle filetypes as these are actually folders, not files (go
figure).

Also, MagicCarpet is a FTP client which to my knowledge has no
difficulty uploading any filetypes from Mac or PC-- with the exception
of .bundle's and .app's and any other 'file' which is a 'folder.'
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


[OT] Of Mac Right Clicks (was Re: There Was a Problem Saving the Standalone Application)

2006-07-23 Thread Todd Higgins


On Jul 23, 2006, at 1:38 AM, Chipp Walters wrote:


That's a nifty piece of software. Do you use it? I'm wondering how
exactly one simulates a right-click? I wouldn't think taping on the
track pad would work all that well. In fact, I've turned off 'tapping'
on all my track pads for that reason


My Macbook Pro is my primary machine, so I use the trackpad  
constantly (So much I was starting to develop wrist pains from  
constantly clicking with my thumb)  I originally got the software for  
scrolling on my Powerbook (before Apple implemented two finger  
scrolling support in hardware)


 I use the trackpad tap set for left click with drag and the  
trackpad button set for right click  People who want to borrow my  
machine for a few minutes are throughly confused, but I'm a lot more  
efficient and my wrist pain went away. I have 2 corners currently set  
as buttons for Expose and Dashboard.  Chipp, if you wanted to you  
could set one corner button to Delete (which is a combo  fn+delete on  
a Apple laptop)


Regards,

Todd
___
use-revolution mailing list
use-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: Imagedata row order

2006-07-23 Thread Rob Cozens

Jacque,

Do you use imageData a lot? I know the crashes I had were because 
the imageData was wrong, but in your experience is this generally a 
stable technique for repeated use?


The image's TEXT property contains the binary data that comprises the image.

The image's imageData property contains a binary representation of 
the image AS IT IS CURRENTLY DISPLAYED.


I see next to no reason to ever reference the imageData property of 
an image, and as noted in my last post, setting the TEXT property 
causes the imageData, dimensions, and related properties to adjust 
automatically.


--

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


Re: Imagedata row order

2006-07-23 Thread Rob Cozens

Jacque:

Do you use imageData a lot? I know the crashes I had were because 
the imageData was wrong, but in your experience is this generally a 
stable technique for repeated use?


Moi:


The image's TEXT property contains the binary data that comprises the image.


I am presently testing the first version of SDB to support storage 
and retrieval of binary data [in this case a signature created using 
Rev's pencil tool].  I store and reset ONLY the TEXT property of the 
signature image.  I've now repeated this dozens of times with no 
problems.




The image's imageData property contains a binary representation of 
the image AS IT IS CURRENTLY DISPLAYED.


Rev Dictionary notes that using the imageData of an image displayed 
at less-than-full size as the source of another image causes a loss 
of image detail.  Even at full size, I presume the imageData shows 
the image at 72 dpi of my screen, not the 250 dpi resolution of the 
image's TEXT.  If so, simply storing the imageData somewhere and 
using it in a new image (or in resetting the existing image) causes a 
loss of image detail.

--

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


Re: Imagedata row order

2006-07-23 Thread Rob Cozens

Moi:

simply storing the imageData somewhere and using it in a new image 
(or in resetting the existing image) causes a loss of image detail.


Simply resetting the imageData property is OK; but put 
savedImageData into image 'whatEver' or set the text of image 
'whatEver' to savedImageData WILL cause a loss of image detail.


This can be helpful at times:

Suppose one wished to display high resolution JPEG images stored in a 
folder AND one wants a thumbnail copy of the image on a photo index 
card in your stack.  One can load an image, set the dimensions to 
thumbnail size, and create a small, low resolution image on the index 
card using the original image's current imageData property.

--

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


Re: There Was a Problem Saving the Standalone Application

2006-07-23 Thread Ken Ray
On 7/23/06 3:18 AM, Chipp Walters [EMAIL PROTECTED] wrote:

 Hi Ken,
 
 Yes, I was referring to the trackpad. I know many people don't ever
 use the trackpad on Macs, but I use it all the time on my PC laptop,
 and I'm wondering if it isn't because of the lack of a right-mouse
 button. I considered purchasing an Intel Macbook, but realized I
 couldn't ever get past the lack of a right-mouse button and the lack
 of a delete key (which I use all the time...not backspace key...which
 I also use).

Well, I've had a G3 iBook for a long time now (I'm getting ready to buy an
Intel MacBook Pro soon), and I use the trackpad only when I'm not in a
desktop situation (like sitting at an airport, etc.). Not because of the
lack of a right mouse button, but because I prefer the control I get with a
mouse.

As to the delete key you can type FN-Backspace, which gives you the same
effect.

 Ctrl-click on a trackpad requires two fingers, one to press the
 control-key, the other to hold-down the mouseKey at the bottom of the
 trackpad, meanwhile the other hand works moving the cursor over the
 trackpad to choose the correct menu item. I suppose for young large
 hands, it would work just fine, but my fingers would get tired awful
 fast trying to contort regularly that way.

Well, one of the things I've learned to do is to use my left index finger to
hold down the control key while I push the button below the trackpad with my
left thumb. It's not a real stretch (as the laptop is small). This leaves my
right hand completely free to navigate the menu with the trackpad. Of course
it would be nicer if there was a right mouse button on the laptop itself,
and I don't know if it would be any worse with a larger 15 or 17 MacBook
Pro, but you get the idea...

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: Imagedata row order

2006-07-23 Thread J. Landman Gay

Rob Cozens wrote:
 Jacque,

 Do you use imageData a lot? I know the crashes I had were because the
 imageData was wrong, but in your experience is this generally a stable
 technique for repeated use?

 The image's TEXT property contains the binary data that comprises the
 image.

 The image's imageData property contains a binary representation of the
 image AS IT IS CURRENTLY DISPLAYED.

Right, though in this case I think they are the same, since I'm creating 
the images from from scratch.



 I see next to no reason to ever reference the imageData property of an
 image, and as noted in my last post, setting the TEXT property causes
 the imageData, dimensions, and related properties to adjust 
automatically.



I use the text method when I need to dynamically resize images, but in 
this particular case the dimensions and properties will never change. 
Since I also need to set the maskdata, and sometimes the alphadata, I 
just used the imagedata too. Basically I'm creating small icons on the 
fly as determined by user input. I only need to create 64 pixels at a time.


In this particular case, the loss of detail you mention in your other 
note doesn't matter much, because 64 pixels doesn't offer a whole lot of 
detail anyway. ;) But it's a good tip for other uses.


I think the main thing I learned was that you really do need to match up 
the length of the imagedata and the size of the image. Otherwise you're 
in trouble. Now that I've fixed my repeat loop to calculate the area 
correctly, it seems to be working fine. No crashes since then.


--
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: Imagedata row order

2006-07-23 Thread Trevor DeVore

On Jul 21, 2006, at 12:55 PM, J. Landman Gay wrote:

I am trying to figure out how to set an image's imageData to a  
repeating pattern. I have a pattern that is 8 x 8 pixels. I want to  
repeat this pattern 16 times in order to fill a 32-pixel square image.


If I repeat the pattern 4 times, I get a nice column of four  
repeating patterns going down the left edge of the image. If I  
repeat it 16 times I get junk. In what order are the pixels laid  
down, and what determines where and when they wrap?


Jacque,

I need to experiment with this for a project I'm working on so I  
worked in this handler yesterday.  You just provide the long id of a  
src image (the image to tile) and the destination image (the image to  
perform the tiling in).  I've only tested this on OS X with Rev 2.7.x  
but it is working well here.


By the way, it seems that in 2.7.x that backgroundPatterns can be any  
size.  There is a note in the What's New.txt file that says this is  
the case for graphics but I tried setting the backgroundPattern of a  
field to an image that was 405 x 29 and it appeared correctly on OS  
X.  The pattern evens scrolls with the field which is cool.  If  
backgroundPatterns behave like this on Windows as well then perhaps  
there is no need to roll your own tiling handler.


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




ON TileImage pSrcImg, pDestImg, pUseAlpha
local pixelCharCount = 4

put the width of pSrcImg into theSrcWidth
put the height of pSrcImg into theSrcHeight

put the width of pDestImg into theDestWidth
put the height of pDestImg into theDestHeight

put theDestWidth div theSrcWidth into theColumns
put theDestHeight div theSrcHeight into theRows
put theDestWidth mod theSrcWidth into theLeftOverWidth
put theDestHeight mod theSrcHeight into theLeftOverHeight

put pixelCharCount * theLeftOverWidth into theLastColCharCount
put pixelCharCount * theLeftOverHeight into theLastRowCharCount
put theDestWidth * pixelCharCount into theRowWidthCharCount	#  
number of image data chars in one row


put theRowWidthCharCount * theLastRowCharCount into  
theLastRowTotalImageCharCount	# how many total pixels does last  
partial row take up?
put theDestWidth * theLeftOverHeight into  
theLastRowTotalAlphaCharCount


put the imagedata of pSrcImg into theImageData
IF pUseAlpha THEN put the alphadata of pSrcImg into theAlphaData

REPEAT with theRow = 1 to theSrcHeight  # cache one entire row
put (theRow - 1) * (theSrcWidth * 4) + 1 into theStartPixel	 
# separate src image into rows

put theStartPixel + (theSrcWidth * 4) - 1 into theEndPixel
put char theStartPixel to theEndPixel of theImageData into  
theRowImgDataA[theRow,full]
put char 1 to theLastColCharCount of theRowImgDataA 
[theRow,full] into theRowImgDataA[theRow,partial]	# partial  
column at right side of dest img


IF pUseAlpha THEN   # same for alpha
put (theRow - 1) * theSrcWidth into theStartPixel
put theStartPixel + theSrcWidth into theEndPixel
put char theStartPixel to theEndPixel of theAlphaData  
into theRowAlphaDataA[theRow,full]
put char 1 to theLastColCharCount of theAlphaData into  
theRowAlphaDataA[theRow,partial]

END IF

REPEAT with theCol = 1 to theColumns	# insert src row into  
each column for dest row

put theRowImgDataA[theRow,full] after theRowImageData
IF pUseAlpha THEN put theRowAlphaDataA[theRow,full]  
after theRowAlphaData

END REPEAT
IF theLeftOverWidth  0 THEN
put theRowImgDataA[theRow,partial] after theRowImageData
IF pUseAlpha THEN put theRowAlphaDataA[theRow,partial]  
after theRowAlphaData

END IF
END REPEAT

lock screen
IF theRows  1 THEN  # tile rows if need be
REPEAT with theRow = 1 to theRows
put theRowImageData after theNewImageData
IF pUseAlpha THEN put theRowAlphaData after theNewAlphaData
END REPEAT

IF theLeftOverHeight  0 THEN
put char 1 to theLastRowTotalImageCharCount of  
theRowImageData after theNewImageData	# fill in the last row

IF pUseAlpha THEN
put char 1 to theLastRowTotalAlphaCharCount of  
theRowAlphaData after theNewAlphaData

END IF
END IF

set the imagedata of pDestImg to theNewImageData
IF pUseAlpha THEN
set the alphadata of pDestImg to theNewAlphaData
END IF
ELSE# we have all data we need for single row
IF theLeftOverHeight  0 THEN
put char 1 to theLastRowTotalImageCharCount of  
theRowImageData after theRowImageData	# fill in the last row

IF pUseAlpha THEN
put char 1 to theLastRowTotalAlphaCharCount of  
theRowAlphaData after theRowAlphaData

END IF
END IF

  

Re: Imagedata row order

2006-07-23 Thread Klaus Major

Hi Trevor,


On Jul 21, 2006, at 12:55 PM, J. Landman Gay wrote:

I am trying to figure out how to set an image's imageData to a  
repeating pattern. I have a pattern that is 8 x 8 pixels. I want  
to repeat this pattern 16 times in order to fill a 32-pixel square  
image.


If I repeat the pattern 4 times, I get a nice column of four  
repeating patterns going down the left edge of the image. If I  
repeat it 16 times I get junk. In what order are the pixels laid  
down, and what determines where and when they wrap?


Jacque,

I need to experiment with this for a project I'm working on so I  
worked in this handler yesterday.  You just provide the long id of  
a src image (the image to tile) and the destination image (the  
image to perform the tiling in).  I've only tested this on OS X  
with Rev 2.7.x but it is working well here.


By the way, it seems that in 2.7.x that backgroundPatterns can be  
any size.  There is a note in the What's New.txt file that says  
this is the case for graphics but I tried setting the  
backgroundPattern of a field to an image that was 405 x 29 and it  
appeared correctly on OS X.  The pattern evens scrolls with the  
field which is cool.  If backgroundPatterns behave like this on  
Windows as well then perhaps there is no need to roll your own  
tiling handler.


just tested  with a 400*220 and a 1024*768 pixel image and works very  
fine on windows, too!



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


Regards

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

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


Re: Imagedata row order

2006-07-23 Thread Trevor DeVore

On Jul 23, 2006, at 10:58 AM, Klaus Major wrote:

By the way, it seems that in 2.7.x that backgroundPatterns can be  
any size.  There is a note in the What's New.txt file that says  
this is the case for graphics but I tried setting the  
backgroundPattern of a field to an image that was 405 x 29 and it  
appeared correctly on OS X.  The pattern evens scrolls with the  
field which is cool.  If backgroundPatterns behave like this on  
Windows as well then perhaps there is no need to roll your own  
tiling handler.


just tested  with a 400*220 and a 1024*768 pixel image and works  
very fine on windows, too!


Perfect, alternating colors in field rows should be much easier now.

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


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


Re: Imagedata row order

2006-07-23 Thread J. Landman Gay

Trevor DeVore wrote:

 I need to experiment with this for a project I'm working on so I worked
 in this handler yesterday.  You just provide the long id of a src image
 (the image to tile) and the destination image (the image to perform the
 tiling in).  I've only tested this on OS X with Rev 2.7.x but it is
 working well here.

Only I don't have a source image. I'm making one. :)

 By the way, it seems that in 2.7.x that backgroundPatterns can be any
 size.  There is a note in the What's New.txt file that says this is the
 case for graphics but I tried setting the backgroundPattern of a field
 to an image that was 405 x 29 and it appeared correctly on OS X.  The
 pattern evens scrolls with the field which is cool.  If
 backgroundPatterns behave like this on Windows as well then perhaps
 there is no need to roll your own tiling handler.

Looks like you are making big images. I'm making teeny ones. Maybe 
someone is interested, so here is what I needed, and what I ended up 
doing, and how I got there. (If nobody's interested, skip the rest.)


Goal: The user arranges objects on screen. These are large objects that 
fit into an 8x8 grid, each having a color that is really a gradient. 
When they are done, they have a unique 8x8 pattern. I need to capture 
the pattern, represent it in a 32-pixel square icon that repeats the 
pattern 4 times across and 4 times down. In other words, I need to 
reduce a very large screen image made of gradients into a clear icon 
using only 64 pixels per patttern (1024 pixels total.)


First thing I tried: take a snapshot of the area. Reduce it to 32 pixels 
square by resizing the image and then setting its imagedata in order to 
reduce the amount of data stored in the image object. Result: fuzzy, 
indistinct icon containing only one pattern instead of 8 repeating 
patterns. The gradients didn't reduce well, of course. I thought about 
reducing the image to 8 pixels square and duplicating it, but this first 
attempt proved that anything smaller would be nothing but a blob.


Second thing I tried: Storing the user pattern as a series of different 
characters to represent each object's main color. This gave me 8 chars 
per line and 8 lines. Then I created an off-screen group of buttons in a 
grid 8x8, and set the colors of the buttons to match the user's pattern. 
This gave a flat color for each button and removed the problem with the 
gradients. I took a snapshot of that, reduced it to 32 pixels square, 
and set the imagedata of a  new image. Result: very clear icon of the 
right size, but still only has one pattern instead of 8. I considered 
adding more objects to my offscreen grid to make a repeating pattern, 
but decided to try the next method instead.


Third (successful) method: Ditch the offscreen grid, but continue to 
translate the user pattern into a series of characters and lines in a 
variable. Multiply each line of characters by 4 so I have enough 
characters (pixels) to fill my image (this is where I went wrong before; 
I didn't multiply enough times and didn't have enough pixels.) Then I 
translated the character set to colors in binary and put those into a 
variable in the right order. Finally I set the imagedata of a newly 
created image to the imagedata I'd just created. Bingo, it works. Teeny 
little repeating pattern, each one 8 pixels square, repeated 16 times 
inside a little icon.


There it is, just in case anyone needs to do this. Which I doubt. :)

--
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: Imagedata row order

2006-07-23 Thread Jim Lyons

Jacqueline,
I really appreciate that you take the time to write up stuff like this. 
It definitely helps people. Even though I don't have a current 
application for this info, it all goes into the hopper (we hope) and 
pops up when needed. I'm sure I can credit you with a lot of my 
education since I've been reading your helpful posts since early 
HyperCard list days. Thanks.


Jim Lyons

J. Landman Gay wrote:

Maybe someone is interested, so here is what I needed, and what I 
ended up doing, and how I got there. (If nobody's interested, skip the 
rest.)


Goal: ...

First thing I tried:...

Second thing I tried: ...

Third (successful) method: ...

There it is, just in case anyone needs to do this. Which I doubt. :)


___
use-revolution mailing list
use-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: Imagedata row order

2006-07-23 Thread Trevor DeVore

On Jul 23, 2006, at 11:59 AM, J. Landman Gay wrote:


Only I don't have a source image. I'm making one. :)


That would present a problem using that handler :-)

 By the way, it seems that in 2.7.x that backgroundPatterns can be  
any
 size.  There is a note in the What's New.txt file that says this  
is the
 case for graphics but I tried setting the backgroundPattern of a  
field
 to an image that was 405 x 29 and it appeared correctly on OS X.   
The

 pattern evens scrolls with the field which is cool.  If
 backgroundPatterns behave like this on Windows as well then perhaps
 there is no need to roll your own tiling handler.

Looks like you are making big images. I'm making teeny ones.


The example I used above was larger.  I was testing alternating  
colors in fields after reading about the backgroundPattern limits  
being removed.  The project I was testing that tiling handler on was  
for a video timeline and uses a small image for tick marks.  I need a  
to repeat a tick marks image (the vertical lines appearing above a  
timeline) across a timeline of a width determined at runtime.  The  
handler I posted worked well for that but it seems backgroundPattern  
will do the job nicely and is faster.


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


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


Re: Error uploading file in Windows: this looks like a bug, please confirm...

2006-07-23 Thread Dan Shafer

No, the problem I had was specifically with a cross-platform file format
used by eFax. Those files refuse to upload or download correctly in Windows.
That's the only repeatable exception I've found.

Dan


On 7/23/06, Chipp Walters [EMAIL PROTECTED] wrote:


Dan,

Do you mean it doesn't work with Mac files on a PC? If so, it could be
.bundle filetypes as these are actually folders, not files (go
figure).

Also, MagicCarpet is a FTP client which to my knowledge has no
difficulty uploading any filetypes from Mac or PC-- with the exception
of .bundle's and .app's and any other 'file' which is a 'folder.'
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution





--
~~
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: Imagedata row order

2006-07-23 Thread Dar Scott


On Jul 23, 2006, at 8:19 AM, Rob Cozens wrote:

I see next to no reason to ever reference the imageData property of  
an image, and as noted in my last post, setting the TEXT property  
causes the imageData, dimensions, and related properties to adjust  
automatically.


Image files are pretty complicated for folks making a simple image.

Oh.  Do you mean P6?  Cool!  Does P6 have alpha?

Dar Scott


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


Re: player result codes?

2006-07-23 Thread Ben Rubinstein

On 19/7/06 23:22, Phil Davis wrote:
In my experience, 'start player' used to return empty until something 
changed, and now I get a 2-digit number most of the time. And I often 
get the same number a couple of times in a row, even if I change the 
player filename. Go figger.


FWIW, I decided my client's software doesn't need to do that test after 
all. :o)  It's almost impossible to buy an off-the-shelf machine that 
doesn't do sound. Plus, I'm not really sure what the returned value 
tells you - my original assumption was that the player would return a 
non-empty value if the 'start player' command didn't finish 
successfully. I guess I'll prove/disprove that one and call it good.


I'd also like to know what that result means - in general I think it would be 
great if the dictionary had a standard callout result to describe the result 
of all commands and messages, just like it has parameters.  It's one of the 
few tricks that I think were missed in the original TD.


Anyway, back to your question - while I don't know what that number signifies 
either - I can say that from experience recently working with machines that 
didn't do sound (custom made units with Windows XP Embedded), in this instance 
you get an error before using start player, at the point that you set the 
filename - ie even if the file exists, when you set the filename of the player 
Rev doesn't just store that but starts pre-rolling the file, setting the 
properties of the player that you might want to interrogate like duration etc. 
   Certainly if you've got the sound hardware, but the software 
infrastructure to play the sound isn't right, you get an error at that stage. 
 My guess is that if you don't have the audio hardware, the software would 
either not be installed or report an error back to Rev also.


If the machine doesn't do sound, you'll get an error when you set the filename 
of the player.  If you didn't get an error at that stage, I think you can be 
confident that start player will work.


HTH,

  Ben Rubinstein   |  Email: [EMAIL PROTECTED]
  Cognitive Applications Ltd   |  Phone: +44 (0)1273-821600
  http://www.cogapp.com|  Fax  : +44 (0)1273-728866

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


result codes (was Re: player result codes?)

2006-07-23 Thread Ben Rubinstein

I just wrote:
... in general I think it 
would be great if the dictionary had a standard callout result to 
describe the result of all commands and messages, just like it has 
parameters.  It's one of the few tricks that I think were missed in 
the original TD.


This has been a long-standing niggle for me, so having written that I finally 
hauled myself off to bugzilla.  Found an existing request and added my support 
to it (also suggesting an explicit place to note the effect of a command on 'it'):


http://support.runrev.com/bugdatabase/show_bug.cgi?id=2778

Please add a vote for this request if you think it would be helpful.

  Ben Rubinstein   |  Email: [EMAIL PROTECTED]
  Cognitive Applications Ltd   |  Phone: +44 (0)1273-821600
  http://www.cogapp.com|  Fax  : +44 (0)1273-728866

___
use-revolution mailing list
use-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: There Was a Problem Saving the Standalone Application

2006-07-23 Thread Chipp Walters

I bet it's not too long before we start seeing Mac laptops come with 2
buttons standard. Esp now with Mighty Mouse being so widely accepted.

-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


Re: [OT] Of Mac Right Clicks (was Re: There Was a Problem Saving the Standalone Application)

2006-07-23 Thread Bill Vlahos
There is a new feature in Mac OS X 10.4.7. Put 2 fingers on the  
trackpad and click the button for a right click. Its a brilliant way  
to overcome what I considered a shortcoming of a one button laptop.  
In fact, I like it better than having two buttons.


Bill Vlahos

On Jul 23, 2006, at 5:28 AM, Todd Higgins wrote:



On Jul 23, 2006, at 1:38 AM, Chipp Walters wrote:


That's a nifty piece of software. Do you use it? I'm wondering how
exactly one simulates a right-click? I wouldn't think taping on the
track pad would work all that well. In fact, I've turned off  
'tapping'

on all my track pads for that reason


My Macbook Pro is my primary machine, so I use the trackpad  
constantly (So much I was starting to develop wrist pains from  
constantly clicking with my thumb)  I originally got the software  
for scrolling on my Powerbook (before Apple implemented two finger  
scrolling support in hardware)


 I use the trackpad tap set for left click with drag and the  
trackpad button set for right click  People who want to borrow my  
machine for a few minutes are throughly confused, but I'm a lot  
more efficient and my wrist pain went away. I have 2 corners  
currently set as buttons for Expose and Dashboard.  Chipp, if you  
wanted to you could set one corner button to Delete (which is a  
combo  fn+delete on a Apple laptop)


Regards,

Todd
___
use-revolution mailing list
use-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: Voip via Revolution

2006-07-23 Thread Ben Rubinstein

On 14/7/06 19:34, Brent Anderson wrote:

I'm looking into experimenting with Voip using Revolution and am
curious how others would implement it. I've been doing some research
on the mailing lists, forums, and documentation, and have concluded
that the only way this would be possible is through the use of an
external. Is there any other way this could be accomplished, as I'm
not too keen on trying to piece something together at a lower level,
let alone porting it to different architectures. If I will have to
bite the bullet and use externals, are there any on the mailing lists
who could point me in the right direction on where to get started,
particularly on Mac OS X?


I guess it depends what you're actually trying to achieve, but in general 
speaking as a lazy man I'd avoid as far as possible re-inventing anyone else's 
 wheels.


In that spirit - and a Mac solution only, but hey there's reasons why that's 
still, sometimes, a superior platform - I just checked and Skype appears to 
have a proper AppleScript dictionary, including AppleScript access to the 
Skype API (cool).  Looks to me like that lets you do pretty much everything 
from Rev:

https://developer.skype.com/Docs/ApiDoc/Commands

  Ben Rubinstein   |  Email: [EMAIL PROTECTED]
  Cognitive Applications Ltd   |  Phone: +44 (0)1273-821600
  http://www.cogapp.com|  Fax  : +44 (0)1273-728866

___
use-revolution mailing list
use-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: Imagedata row order

2006-07-23 Thread Dar Scott


On Jul 23, 2006, at 3:19 PM, Dar Scott wrote:

I see next to no reason to ever reference the imageData property  
of an image, and as noted in my last post, setting the TEXT  
property causes the imageData, dimensions, and related properties  
to adjust automatically.


Image files are pretty complicated for folks making a simple image.

Oh.  Do you mean P6?  Cool!  Does P6 have alpha?


Never mind.  I can export as a portable pixmap format, but I can't  
seem to set it.


I think there is an uncompressed PNG format that one might use to  
create images, but it still might be hard to use.  Maybe a simple  
library can work.


I even tried to change chars of an image directly, but I didn't see  
any changes.  Didn't crash either.


As far as I know imageData is the simplest way to make an image.

Dar

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


Re: [OT] Of Mac Right Clicks (was Re: There Was a Problem Saving the Standalone Application)

2006-07-23 Thread Ben Rubinstein

On 23/7/06 23:26, Bill Vlahos wrote:
There is a new feature in Mac OS X 10.4.7. Put 2 fingers on the trackpad 
and click the button for a right click. Its a brilliant way to overcome 
what I considered a shortcoming of a one button laptop. In fact, I like 
it better than having two buttons.


Billl, can you tell me more?  The loss of the right button is what I hate most 
about using my PB on airplanes - I have 10.4.7 (on a sufficiently late model 
Aluminium PowerBook to have the two-fingered scrolling), but this doesn't seem 
to do anything for me, nor can I see anything in the control panel.  Is this 
only in MacBooks?


BTW for others, while I'd still welcome a faster solution, I find the 
control-click solution so awkward that I generally prefer to just hold down 
the trackpad button for a longer time, which in most apps (I'm not sure if 
it's a system thing, a Cocoa thing, or just a convention) will eventually 
pop-up a contextual menu.


  Ben Rubinstein   |  Email: [EMAIL PROTECTED]
  Cognitive Applications Ltd   |  Phone: +44 (0)1273-821600
  http://www.cogapp.com|  Fax  : +44 (0)1273-728866

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


Re: [OT] Of Mac Right Clicks (was Re: There Was a Problem Saving the Standalone Application)

2006-07-23 Thread Sarah Reichelt

On 7/24/06, Ben Rubinstein [EMAIL PROTECTED] wrote:

On 23/7/06 23:26, Bill Vlahos wrote:
 There is a new feature in Mac OS X 10.4.7. Put 2 fingers on the trackpad
 and click the button for a right click. Its a brilliant way to overcome
 what I considered a shortcoming of a one button laptop. In fact, I like
 it better than having two buttons.

Billl, can you tell me more?  The loss of the right button is what I hate most
about using my PB on airplanes - I have 10.4.7 (on a sufficiently late model
Aluminium PowerBook to have the two-fingered scrolling), but this doesn't seem
to do anything for me, nor can I see anything in the control panel.  Is this
only in MacBooks?


Ben, I think this is MacBook only. My son's MacBook Pro can't do this
even though he has the same system software. However it is REALLY
neat!

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


[OT] List Professionalism --- was Microphone

2006-07-23 Thread Roger . E . Eller
In the past, I've relied on the mciSendString command...
 And it is Windoze-only.

And your SoundStudio 3 solution is crApple-only. (example of not playing 
nicely)

Your recommendation appeared to be helpful and sounded most excellent. 
Your subtle slamming of someone elses idea was not. As you see, nobody 
appreciates *even relatively harmless* name-calling toward their OS of 
choice within a professional environment such as this list. I see no 
reason why people can not simply type Windows or Mac OS, etc. I don't want 
this to turn into an incredibly OT *flame war*. This is merely a humble 
request for people to exercise professionalism.

Roger Eller [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


[ANN] Time Widget 1.0.0 and Calendar Widget 1.0.0

2006-07-23 Thread Sean Shao

Time Widget is an object that allows a user to enter in a time visually.
Calendar Widget is an object that allows a user to enter in a date visually.

Both are available at www.shaosean.tk

_
Express yourself instantly with MSN Messenger! Download today - it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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


Re: [OT] List Professionalism --- was Microphone

2006-07-23 Thread Stephen Barncard

 In the past, I've relied on the mciSendString command...

 And it is Windoze-only.


And your SoundStudio 3 solution is crApple-only. (example of not playing
nicely)


good grief


Umm... I think I made that perfectly clear it was a Mac app.
Lighten up, dude. We can be both professional and funny here.


sqb




Your recommendation appeared to be helpful and sounded most excellent.
Your subtle slamming of someone elses idea was not. As you see, nobody
appreciates *even relatively harmless* name-calling toward their OS of
choice within a professional environment such as this list. I see no
reason why people can not simply type Windows or Mac OS, etc. I don't want
this to turn into an incredibly OT *flame war*. This is merely a humble
request for people to exercise professionalism.



--
stephen barncard
s a n  f r a n c i s c o
- - -  - - - - - - - - -
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: [OT] Of Mac Right Clicks (was Re: There Was a Problem Saving the Standalone Application)

2006-07-23 Thread Bill Vlahos

Ben,

I know the feature in on a MacBook Pro but I think it should be on  
AlBooks too. In the Keyboard  Mouse System Preference, click the  
Trackpad tab. Check the box labeled, Place two fingers on trackpad  
and click button for secondary click.


If you don't see that option then you are either at something earlier  
than 10.4.7 or the Mac doesn't support it.


Bill Vlahos

On Jul 23, 2006, at 3:35 PM, Ben Rubinstein wrote:


On 23/7/06 23:26, Bill Vlahos wrote:
There is a new feature in Mac OS X 10.4.7. Put 2 fingers on the  
trackpad and click the button for a right click. Its a brilliant  
way to overcome what I considered a shortcoming of a one button  
laptop. In fact, I like it better than having two buttons.


Billl, can you tell me more?  The loss of the right button is what  
I hate most about using my PB on airplanes - I have 10.4.7 (on a  
sufficiently late model Aluminium PowerBook to have the two- 
fingered scrolling), but this doesn't seem to do anything for me,  
nor can I see anything in the control panel.  Is this only in  
MacBooks?


BTW for others, while I'd still welcome a faster solution, I find  
the control-click solution so awkward that I generally prefer to  
just hold down the trackpad button for a longer time, which in most  
apps (I'm not sure if it's a system thing, a Cocoa thing, or just a  
convention) will eventually pop-up a contextual menu.


  Ben Rubinstein   |  Email: [EMAIL PROTECTED]
  Cognitive Applications Ltd   |  Phone: +44 (0)1273-821600
  http://www.cogapp.com|  Fax  : +44 (0)1273-728866

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