Re: bar code support

2009-12-29 Thread Ruslan Zasukhin
On 12/30/09 6:27 AM, "dlwild at gmail"  wrote:

Hi Leonardo,

> Bar codes, great. I´m getting the 09 bundle so I´ll have Valentina,
> although I haven´t worked with it yet. Any idea about the pdf417
> reading-writing capacity?

Valentina Reports can produce PDFs of course.
Also PDFs with embedded XML.

I don't know about PDF417. What is this?
You always can add this as feature request.

Reports do not have need to read PDFs AFAIK.
 
> All the best,
> 
> Leonardo
> On Dec 29, 2009, at 10:11 PM, Lynn Fredricks wrote:
> 
>>> Hello (Merry Christmas and a Happy New Year in advance),
>>> 
>>> Anyone know if RunRev 4.0 supports or if there is a way to
>>> create, print, read, regular bar codes or pdf417 bar codes
>>> (http://en.wikipedia.org/wiki/PDF417
>>> ) in revolution or related software?
>> 
>> Valentina Reports can print bar codes, but necessarily its working
>> with data
>> stored in Valentina DB.
>> 
>> Valentina Reports is, however, being given away for free with any
>> new or
>> upgrade orders placed through the Paradigma Website through the end of
>> December (so not long) - check it out at http://www.valentina-db.com.

-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]


___
use-revolution mailing list
use-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: irev script to detect a mouseWithin or mouseclick

2009-12-29 Thread Sarah Reichelt
On Wed, Dec 30, 2009 at 2:04 PM, Thomas McGrath III  wrote:
> Is it possible to detect a mouseWithin or mouseClick state in irev?
>

I don't think so. I reckon you would have to use JavaScript.

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


Re: bar code support

2009-12-29 Thread dlwild at gmail
Bar codes, great. I´m getting the 09 bundle so I´ll have Valentina,  
although I haven´t worked with it yet. Any idea about the pdf417  
reading-writing capacity?


All the best,

Leonardo
On Dec 29, 2009, at 10:11 PM, Lynn Fredricks wrote:


Hello (Merry Christmas and a Happy New Year in advance),

Anyone know if RunRev 4.0 supports or if there is a way to
create, print, read, regular bar codes or pdf417 bar codes
(http://en.wikipedia.org/wiki/PDF417
) in revolution or related software?


Valentina Reports can print bar codes, but necessarily its working  
with data

stored in Valentina DB.

Valentina Reports is, however, being given away for free with any  
new or

upgrade orders placed through the Paradigma Website through the end of
December (so not long) - check it out at http://www.valentina-db.com.

Best regards,

Lynn Fredricks
President
Paradigma Software
http://www.paradigmasoft.com

Valentina SQL Server: The Ultra-fast, Royalty Free Database Server

___
use-revolution mailing list
use-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: bar code support

2009-12-29 Thread dlwild at gmail

Thanks for the info, Michael, will look into it.

All the best,

Leonardo
On Dec 29, 2009, at 10:00 PM, Michael Kann wrote:


http://revonline2.runrev.com/stack/348/Label-Generator

--- On Tue, 12/29/09, dlwild at gmail  wrote:


From: dlwild at gmail 
Subject: bar code support
To: "How to use Revolution" 
Date: Tuesday, December 29, 2009, 8:52 PM
Hello (Merry Christmas and a Happy
New Year in advance),

Anyone know if RunRev 4.0 supports or if there is a way to
create, print, read, regular bar codes or pdf417 bar codes
(http://en.wikipedia.org/wiki/PDF417) in revolution or
related software?

All the best,

Leonardo
PS: I´m trying out another address as I´m suddenly unsure
under which of my email addresses I´m registered with this
group. If you end up seeing this twice, this is the
reason.___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage
your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution





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

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


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


irev script to detect a mouseWithin or mouseclick

2009-12-29 Thread Thomas McGrath III

Is it possible to detect a mouseWithin or mouseClick state in irev?

Tom McGrath III
Lazy River Software
3mcgr...@comcast.net

iTunes Library Suite - libITS
Information and download can be found on this page:
http://www.lazyriversoftware.com/RevOne.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


bar code support

2009-12-29 Thread dlwild at gmail

Hello (Merry Christmas and a Happy New Year in advance),

Anyone know if RunRev 4.0 supports or if there is a way to create,  
print, read, regular bar codes or pdf417 bar codes (http://en.wikipedia.org/wiki/PDF417 
) in revolution or related software?


All the best,

Leonardo
PS: I´m trying out another address as I´m suddenly unsure under which  
of my email addresses I´m registered with this group. If you end up  
seeing this twice, this is the reason.___

use-revolution mailing list
use-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: bar code support

2009-12-29 Thread Lynn Fredricks
> Hello (Merry Christmas and a Happy New Year in advance),
> 
> Anyone know if RunRev 4.0 supports or if there is a way to 
> create, print, read, regular bar codes or pdf417 bar codes 
> (http://en.wikipedia.org/wiki/PDF417
> ) in revolution or related software?

Valentina Reports can print bar codes, but necessarily its working with data
stored in Valentina DB.

Valentina Reports is, however, being given away for free with any new or
upgrade orders placed through the Paradigma Website through the end of
December (so not long) - check it out at http://www.valentina-db.com.

Best regards,

Lynn Fredricks
President
Paradigma Software
http://www.paradigmasoft.com

Valentina SQL Server: The Ultra-fast, Royalty Free Database Server 

___
use-revolution mailing list
use-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: bar code support

2009-12-29 Thread stephen barncard
most readers output ascii characters through usb, so input should be easy.
-
Stephen Barncard
San Francisco
http://houseofcubes.com/disco.irev


2009/12/29 dlwild at gmail 

> Hello (Merry Christmas and a Happy New Year in advance),
>
> Anyone know if RunRev 4.0 supports or if there is a way to create, print,
> read, regular bar codes or pdf417 bar codes (
> http://en.wikipedia.org/wiki/PDF417) in revolution or related software?
>
> All the best,
>
> Leonardo
> PS: I´m trying out another address as I´m suddenly unsure under which of my
> email addresses I´m registered with this group. If you end up seeing this
> twice, this is the reason.___
> use-revolution mailing list
> use-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: bar code support

2009-12-29 Thread Michael Kann
http://revonline2.runrev.com/stack/348/Label-Generator

--- On Tue, 12/29/09, dlwild at gmail  wrote:

> From: dlwild at gmail 
> Subject: bar code support
> To: "How to use Revolution" 
> Date: Tuesday, December 29, 2009, 8:52 PM
> Hello (Merry Christmas and a Happy
> New Year in advance),
> 
> Anyone know if RunRev 4.0 supports or if there is a way to
> create, print, read, regular bar codes or pdf417 bar codes
> (http://en.wikipedia.org/wiki/PDF417) in revolution or
> related software?
> 
> All the best,
> 
> Leonardo
> PS: I´m trying out another address as I´m suddenly unsure
> under which of my email addresses I´m registered with this
> group. If you end up seeing this twice, this is the
> reason.___
> use-revolution mailing list
> use-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: Slideshows in iRev

2009-12-29 Thread Sivakatirswami

-= JB =- wrote:

I could not download the code either.  I am using a Mac and a lot of times
that right click stuff doesn't seem to do what you would expect.

Would love the code if you make if available another way.

Nice looking pictures by the way.

-=>JB<=-




OK I've been working on this every evening for a few days, tweaking things.

I made a page with all the code.


Thanks for everyone's input, I cobbled it all together.

Updated iRev code is here:

http://www.himalayanacademy.com/runrev/iRev_slideshow.html

One useful bit you will find there is an embed for driving MP3's in 
almost any browser-platform:  I took me hours to find that thing and 
it's been tested on Mac, Windows 7 Vista, EEPC, and HP Notebook running 
Windows. etc.. and so far everyone can hear the music.


No Java Script yet, but I will probably break down sooner or later.

What I love about this: I don't have to touch Flash, SWF template XML 
params, Action Script, there is no back end MySQL Dbase to hold the 
configurations and metadata, captions etc.  (you would be amazed at some 
of the overhead in some slide show frameworks!)


This CMS is the kind I like.

How simple is this and scaleable

1 folder: photos and caption files
1 iRev template file! ( I have three templates now)
1 iFrame (if you want to embed)

It allows for a) scale b) innovation c) content is not "buried" inside a 
 maze so deep that you can never restructure or refactor your 
presentation without huge man hour overhead.


Next "invention" will be adding voice over for each slide, where
photo.jpg # is the image
photo.txt # is the caption
photo.mp3 # is the voice over.

Caveats:

1) I never liked having captions "popup" over photos (the Flash-DHTML 
way)  on the other hand I'm not sure I like scrolling divs (overflow 
css) with such a fat scroller on an HTML page, but it works.


2) without Javascript there are no transitions. But I'm working on the 
principle that "it's not the bells and whistles... its the content! If 
you have high quality [images, sound, video, music] then your viewers 
really don't care about the wrapper too much.


3) I'm still fishing for the "right rect"  and worry that I may be 
making things a bit too big for the steadily growing world of small 
devices/screens.


Sivakatirswami




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


bar code support

2009-12-29 Thread dlwild at gmail

Hello (Merry Christmas and a Happy New Year in advance),

Anyone know if RunRev 4.0 supports or if there is a way to create,  
print, read, regular bar codes or pdf417 bar codes (http://en.wikipedia.org/wiki/PDF417 
) in revolution or related software?


All the best,

Leonardo
PS: I´m trying out another address as I´m suddenly unsure under which  
of my email addresses I´m registered with this group. If you end up  
seeing this twice, this is the reason.___

use-revolution mailing list
use-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: Help with audio

2009-12-29 Thread Scott Rossi
Recently, Emmett Gray wrote:

> I converted it to 16 bit and reimported into the stack and it's OK
> now. Just to be sure, I reimported the 24-bit version and got the
> same original result. So it seems Rev chokes on 24bit audio.

Rev's ability to play imported sound files is somewhat limited.  These might
help:

http://article.gmane.org/gmane.comp.ide.revolution.user/121917/
http://article.gmane.org/gmane.comp.ide.revolution.user/6060/

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design


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


Re: Help with audio

2009-12-29 Thread J. Landman Gay

Emmett Gray wrote:

Opie here.


LOL! Sorry we hijacked your thread. But I did want to say I remember you 
from the HC list and I'm so glad you made it over here.


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


Re: What cell in the data grid was clicked?

2009-12-29 Thread James Hurley


Message: 1
Date: Tue, 29 Dec 2009 11:16:18 -0500
From: Trevor DeVore 
Subject: Re: What cell in the data grid was clicked?
To: How to use Revolution 
Message-ID: 
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes

On Dec 28, 2009, at 11:48 PM, James Hurley wrote:


The user clicks on a data grid cell.

What variables determine the row and column numbers of the cell?


Jim,

Each row in a Data Grid form/table and each column in a Data Grid
table have custom properties that help you determine this information.
Note that you use names to reference columns rather than numbers
however. These properties include the dgLine or dgIndex and the
dgColumn.

I just updated the "How Do I Get Data Associated With a Row or
Column?" lesson in the manual to provide some more useful examples.

How Do I Get Data Associated With a Row or Column?: 


Re: Imagesource of char not working as expected in Windows

2009-12-29 Thread Jim Ault

My rule about paths on any system...
 -1- avoid spaces in path names
 -2- avoid dates in file and folder names, such as "hearth jpgs  
12/25/09"
An operating system can allow characters because it knows the  
difference between literal name characters and the control characters.


 -3- When accessing files and folders, do a test before using data to  
be sure the path exists, has correct permissions, etc.


such as

  if there is a folder "holidayFunPictures/"
  if there is a file "holidayFunShots/kids/snowFight.jpg"

Also
put binfile:a.png" into tempVariable
if tempVariable is not empty then
   --we have data

If your solution ever gets to the point of including shell commands,  
this adds another level testing to be sure of valid data processing. A  
standalone should always assume the users computer could have changes  
that prohibit access, such as user account changes and authorizations,  
operating system reinstalls, etc.


Hope this helps

Jim Ault
Las Vegas

On Dec 29, 2009, at 10:09 AM, Mike Bonner wrote:

Based on your test it looks like the comment about "vanilla  
characters" is

probably correct.  It works when using a string with no spaces for the
directory.  When you setup your string you used   put "C:\Documents  
and

Settings\zhangt\Desktop\imgFolder" into k

For the real directory you wish to use change it to this.
 put quote & "C:\Documents and Settings\zhangt\Desktop\directory with
spaces\ another with spaces" & quote into k



The following script works in a standalone created on Windows XP and
running on Windows XP.

on mouseUp
 put "~" after fld "aFld"
 put "C:\Documents and Settings\zhangt\Desktop\imgFolder" into k
 set the defaultFolder to k
 set the imageSource of last char of fld "aFld" to "binfile:a.png"
end mouseUp

Perhaps something gets undone when the script travels through the  
wormhole
from the Mac universe to the Windows universe. Does Dr. Who  
frequent this

forum?


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


Re: Imagesource of char not working as expected in Windows

2009-12-29 Thread Michael Kann
I think that the "binfile:" prefix is also necessary. 

--- On Tue, 12/29/09, Mike Bonner  wrote:

> From: Mike Bonner 
> Subject: Re: Imagesource of char not working as expected in Windows
> To: use-revolution@lists.runrev.com
> Date: Tuesday, December 29, 2009, 12:09 PM
> Based on your test it looks like the
> comment about "vanilla characters" is
> probably correct.  It works when using a string with
> no spaces for the
> directory.  When you setup your string you
> used   put "C:\Documents and
> Settings\zhangt\Desktop\imgFolder" into k
> 
> For the real directory you wish to use change it to this.
>   put quote & "C:\Documents and
> Settings\zhangt\Desktop\directory with
> spaces\ another with spaces" & quote into k
> 
> 
> > The following script works in a standalone created on
> Windows XP and
> > running on Windows XP.
> >
> > on mouseUp
> >   put "~" after fld "aFld"
> >   put "C:\Documents and
> Settings\zhangt\Desktop\imgFolder" into k
> >   set the defaultFolder to k
> >   set the imageSource of last char of
> fld "aFld" to "binfile:a.png"
> > end mouseUp
> >
> > Perhaps something gets undone when the script travels
> through the wormhole
> > from the Mac universe to the Windows universe. Does
> Dr. Who frequent this
> > forum?
> >
> >
> >
> >
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage
> your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 



___
use-revolution mailing list
use-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: Help with audio

2009-12-29 Thread Emmett Gray

Opie here. I wrote:


file ... sounds fine in Rev if I access it instead of the imported one.


I.e., playing the file in Rev by filepath results in the correct 
sound. So what's going on? Is QT actually doing the playing of 
external audio even though I'm not calling up the player, or is it 
the OS's native audio management? BTW the sound is not compressed, 
it's a standard mono WAV file, a sculptured click sampled from a 
CueLine ProCue 1M1.


I converted it to 16 bit and reimported into the stack and it's OK 
now. Just to be sure, I reimported the 24-bit version and got the 
same original result. So it seems Rev chokes on 24bit audio.



Try using the player and quicktime and the file as an external source (set
the filename of player 1 to ) as opposed to being imbedded. Quicktime
should properly handle 24 bit audio, but not sure about the native play
component.

If you need to imbed the sounds, then convert and dither the 24 bit files
down to 16 bits with the same sample rate.   Peak, Sound Studio, Audacity,
quicktime should do this. Monkey Tools can do this in batches.

If indeed the internal play command is 16 bit only we should know that.
Thanks for reporting this.
-
Stephen Barncard
San Francisco
http://houseofcubes.com/disco.irev


2009/12/28 Emmett Gray 


 I've converted another HC stack, a multi-timer which includes a metronome
 function. I'm having an issue with the audio: the "Click.wev" imported
 audioClip sounds awful and very often sounds different or has no sound at
 > all. The original is a 48k 24-bit file and sounds fine in Rev if 
I access it

 > instead of the imported one. I imported it using the import command. Do I

 need to downsample or change the bit rate or do something else before

 > importing to make it sound OK in Rev?


___
use-revolution mailing list
use-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: Imagesource of char not working as expected in Windows

2009-12-29 Thread Mike Bonner
Based on your test it looks like the comment about "vanilla characters" is
probably correct.  It works when using a string with no spaces for the
directory.  When you setup your string you used   put "C:\Documents and
Settings\zhangt\Desktop\imgFolder" into k

For the real directory you wish to use change it to this.
  put quote & "C:\Documents and Settings\zhangt\Desktop\directory with
spaces\ another with spaces" & quote into k


> The following script works in a standalone created on Windows XP and
> running on Windows XP.
>
> on mouseUp
>   put "~" after fld "aFld"
>   put "C:\Documents and Settings\zhangt\Desktop\imgFolder" into k
>   set the defaultFolder to k
>   set the imageSource of last char of fld "aFld" to "binfile:a.png"
> end mouseUp
>
> Perhaps something gets undone when the script travels through the wormhole
> from the Mac universe to the Windows universe. Does Dr. Who frequent this
> forum?
>
>
>
>
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Imagesource of char not working as expected in Windows

2009-12-29 Thread Michael Kann
Leaving out the binfile: prefix on Mac might be a forgivable offense that is 
punished on Windows. Is that the takehome lesson? We now must defer to the 
seasoned veterans of both platforms.


--- On Tue, 12/29/09, David Glasgow  wrote:

> From: David Glasgow 
> Subject: Re: Imagesource of char not working as expected in Windows
> To: use-revolution@lists.runrev.com
> Date: Tuesday, December 29, 2009, 6:18 AM
> 
> I didn't get any on-list responses to this, but got  a
> good steer from Richmond Mathewson (thanks!) off-list.
> 
> In brief, my standalone (RR 4.0) takes screenshots and
> saves them to disk.  They are also displayed in a field
> by appending a tilde to the field each time a snapshot is
> taken, and then setting the imagesource of the character to
> the url to which the image was saved.
> 
> This works under OS X, but not Windows.  I have
> wrestled with this and found out a little more, but still
> can't get the darned thing to work.  I moved the save
> location to docs, just in case there was something weird
> about the temporary items location.  I have tested on
> Vista and Win 7 with the same result.
> 
> The snapshots are saved to a location such as
> 
> C:/Users/DavidG/Documents/This_Much!/Anon 12 28 08 [11-36
> AM]/graphics/image1.png
> C:/Users/DavidG/Documents/This_Much!/Anon 12 28 08 [11-39
> AM]/graphics/image2.png
> 
> A field called "snapshots" holds the list of URLs and is
> used like this:
> 
> set the imageSource of char 1 of last line of field
> "resultsG" to line 1 of field "snapshots"
> 
> In each case this script runs, the tilde disappears but is
> not replaced by anything.  The imagesource of each
> tilde is correctly reported if requested.  The fixed
> line height of the results field is set to false, and it has
> scrollbars.  However many URLs are referenced, but do
> not appear, the scrollbar never becomes active, so it seems
> that no 'blank' image is being displayed.  Setting the
> imagesource of any tilde to empty causes it to reappear, so
> something is happening to hide/show the character.
> 
> I also use the URLs stored in field "snapshots" to print
> the graphics using this script to populate a printer stack
> with the images:
> 
> 
>  put 1 into k
>    repeat for each line j in field
> "snapshots"
>       set the filename of image "pikcha" of
> card k of stack "grcprinter" to j
>       put k+1 into k
>    end repeat
> 
> This works fine, so unless there is some Windows Ju-Ju I
> don't know about (entirely possible) it really does look as
> though something is broken in imagesource under
> Windows.  
> 
> Can anyone:
> 
> 1/  Suggest where I am going wrong (if I am)
> 2/  Confirm that they do or do not have imagesource
> working under Windows
> 3/  Suggest a workaround
> 
> This is a critical feature in an almost finished project ,
> so I would really appreciate some help
> 
> David Glasgow
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage
> your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 


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


Re: What cell in the data grid was clicked?

2009-12-29 Thread Trevor DeVore

On Dec 28, 2009, at 11:48 PM, James Hurley wrote:


The user clicks on a data grid cell.

What variables determine the row and column numbers of the cell?

And the text of the cell?


One other lesson you might want to look at discusses how to define  
your own mouseDown handlers in a Data Grid. You have to make sure that  
the Data Grid is allowed to process the mouseDown message before your  
code does.


How Do I Add a mouseDown Event To The Data Grid Without Breaking It?: 


--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers: 
http://revolution.bluemangolearning.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: Imagesource of char not working as expected in Windows

2009-12-29 Thread Michael Kann
I think I've found the problem

put

C:\Documents and Settings\zhangt\Desktop\imgFolder\a.png

into line 1 of fld "snapshots"

Note in the script below you need a "binfile:" tacked on in front of the path.

on mouseUp
   put line 1 of field "snapshots" into k
   put "binfile:" before k
   set the imageSource of char 1 of last line of field "resultsG" to k
end mouseUp


Maybe you can include all those spaces and exotic characters in your path after 
all. 





--- On Tue, 12/29/09, David Glasgow  wrote:

> From: David Glasgow 
> Subject: Re: Imagesource of char not working as expected in Windows
> To: use-revolution@lists.runrev.com
> Date: Tuesday, December 29, 2009, 6:18 AM
> 
> I didn't get any on-list responses to this, but got  a
> good steer from Richmond Mathewson (thanks!) off-list.
> 
> In brief, my standalone (RR 4.0) takes screenshots and
> saves them to disk.  They are also displayed in a field
> by appending a tilde to the field each time a snapshot is
> taken, and then setting the imagesource of the character to
> the url to which the image was saved.
> 
> This works under OS X, but not Windows.  I have
> wrestled with this and found out a little more, but still
> can't get the darned thing to work.  I moved the save
> location to docs, just in case there was something weird
> about the temporary items location.  I have tested on
> Vista and Win 7 with the same result.
> 
> The snapshots are saved to a location such as
> 
> C:/Users/DavidG/Documents/This_Much!/Anon 12 28 08 [11-36
> AM]/graphics/image1.png
> C:/Users/DavidG/Documents/This_Much!/Anon 12 28 08 [11-39
> AM]/graphics/image2.png
> 
> A field called "snapshots" holds the list of URLs and is
> used like this:
> 
> set the imageSource of char 1 of last line of field
> "resultsG" to line 1 of field "snapshots"
> 
> In each case this script runs, the tilde disappears but is
> not replaced by anything.  The imagesource of each
> tilde is correctly reported if requested.  The fixed
> line height of the results field is set to false, and it has
> scrollbars.  However many URLs are referenced, but do
> not appear, the scrollbar never becomes active, so it seems
> that no 'blank' image is being displayed.  Setting the
> imagesource of any tilde to empty causes it to reappear, so
> something is happening to hide/show the character.
> 
> I also use the URLs stored in field "snapshots" to print
> the graphics using this script to populate a printer stack
> with the images:
> 
> 
>  put 1 into k
>    repeat for each line j in field
> "snapshots"
>       set the filename of image "pikcha" of
> card k of stack "grcprinter" to j
>       put k+1 into k
>    end repeat
> 
> This works fine, so unless there is some Windows Ju-Ju I
> don't know about (entirely possible) it really does look as
> though something is broken in imagesource under
> Windows.  
> 
> Can anyone:
> 
> 1/  Suggest where I am going wrong (if I am)
> 2/  Confirm that they do or do not have imagesource
> working under Windows
> 3/  Suggest a workaround
> 
> This is a critical feature in an almost finished project ,
> so I would really appreciate some help
> 
> David Glasgow
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage
> your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 



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


Re: What cell in the data grid was clicked?

2009-12-29 Thread Trevor DeVore

On Dec 28, 2009, at 11:48 PM, James Hurley wrote:


The user clicks on a data grid cell.

What variables determine the row and column numbers of the cell?


Jim,

Each row in a Data Grid form/table and each column in a Data Grid  
table have custom properties that help you determine this information.  
Note that you use names to reference columns rather than numbers  
however. These properties include the dgLine or dgIndex and the  
dgColumn.


I just updated the "How Do I Get Data Associated With a Row or  
Column?" lesson in the manual to provide some more useful examples.


How Do I Get Data Associated With a Row or Column?: 



And the text of the cell?


The lesson also shows how to get the value associated with a cell  
using GetDataOfIndex. Look at the very last step in the lesson.


Regards,

--
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com-www.screensteps.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: Imagesource of char not working as expected in Windows

2009-12-29 Thread Michael Kann
The following script works in a standalone created on Windows XP and running on 
Windows XP. 

on mouseUp
   put "~" after fld "aFld"
   put "C:\Documents and Settings\zhangt\Desktop\imgFolder" into k
   set the defaultFolder to k
   set the imageSource of last char of fld "aFld" to "binfile:a.png"
end mouseUp

Perhaps something gets undone when the script travels through the wormhole from 
the Mac universe to the Windows universe. Does Dr. Who frequent this forum?




--- On Tue, 12/29/09, David Glasgow  wrote:

> From: David Glasgow 
> Subject: Re: Imagesource of char not working as expected in Windows
> To: use-revolution@lists.runrev.com
> Date: Tuesday, December 29, 2009, 6:18 AM
> 
> I didn't get any on-list responses to this, but got  a
> good steer from Richmond Mathewson (thanks!) off-list.
> 
> In brief, my standalone (RR 4.0) takes screenshots and
> saves them to disk.  They are also displayed in a field
> by appending a tilde to the field each time a snapshot is
> taken, and then setting the imagesource of the character to
> the url to which the image was saved.
> 
> This works under OS X, but not Windows.  I have
> wrestled with this and found out a little more, but still
> can't get the darned thing to work.  I moved the save
> location to docs, just in case there was something weird
> about the temporary items location.  I have tested on
> Vista and Win 7 with the same result.
> 
> The snapshots are saved to a location such as
> 
> C:/Users/DavidG/Documents/This_Much!/Anon 12 28 08 [11-36
> AM]/graphics/image1.png
> C:/Users/DavidG/Documents/This_Much!/Anon 12 28 08 [11-39
> AM]/graphics/image2.png
> 
> A field called "snapshots" holds the list of URLs and is
> used like this:
> 
> set the imageSource of char 1 of last line of field
> "resultsG" to line 1 of field "snapshots"
> 
> In each case this script runs, the tilde disappears but is
> not replaced by anything.  The imagesource of each
> tilde is correctly reported if requested.  The fixed
> line height of the results field is set to false, and it has
> scrollbars.  However many URLs are referenced, but do
> not appear, the scrollbar never becomes active, so it seems
> that no 'blank' image is being displayed.  Setting the
> imagesource of any tilde to empty causes it to reappear, so
> something is happening to hide/show the character.
> 
> I also use the URLs stored in field "snapshots" to print
> the graphics using this script to populate a printer stack
> with the images:
> 
> 
>  put 1 into k
>    repeat for each line j in field
> "snapshots"
>       set the filename of image "pikcha" of
> card k of stack "grcprinter" to j
>       put k+1 into k
>    end repeat
> 
> This works fine, so unless there is some Windows Ju-Ju I
> don't know about (entirely possible) it really does look as
> though something is broken in imagesource under
> Windows.  
> 
> Can anyone:
> 
> 1/  Suggest where I am going wrong (if I am)
> 2/  Confirm that they do or do not have imagesource
> working under Windows
> 3/  Suggest a workaround
> 
> This is a critical feature in an almost finished project ,
> so I would really appreciate some help
> 
> David Glasgow
> 
> ___
> use-revolution mailing list
> use-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: Imagesource of char not working as expected in Windows

2009-12-29 Thread Michael Kann
The following script works for me on Windows XP Pro in a stack. I'll build a 
standalone and see what happens.

on mouseUp
   put "~" after fld "aFld"
   put "C:\Documents and Settings\zhangt\Desktop\imgFolder" into k
   set the defaultFolder to k
   set the imageSource of last char of fld "aFld" to "binfile:a.png"
end mouseUp

The image is only the height of the char it replaces. 

Can I assume that your first concern is to get something working rather than 
figuring out what might be wrong?

E-mail off-list any time. I'm trying to learn RunRev and it's fun to learn 
together.




--- On Tue, 12/29/09, David Glasgow  wrote:

> From: David Glasgow 
> Subject: Re: Imagesource of char not working as expected in Windows
> To: use-revolution@lists.runrev.com
> Date: Tuesday, December 29, 2009, 6:18 AM
> 
> I didn't get any on-list responses to this, but got  a
> good steer from Richmond Mathewson (thanks!) off-list.
> 
> In brief, my standalone (RR 4.0) takes screenshots and
> saves them to disk.  They are also displayed in a field
> by appending a tilde to the field each time a snapshot is
> taken, and then setting the imagesource of the character to
> the url to which the image was saved.
> 
> This works under OS X, but not Windows.  I have
> wrestled with this and found out a little more, but still
> can't get the darned thing to work.  I moved the save
> location to docs, just in case there was something weird
> about the temporary items location.  I have tested on
> Vista and Win 7 with the same result.
> 
> The snapshots are saved to a location such as
> 
> C:/Users/DavidG/Documents/This_Much!/Anon 12 28 08 [11-36
> AM]/graphics/image1.png
> C:/Users/DavidG/Documents/This_Much!/Anon 12 28 08 [11-39
> AM]/graphics/image2.png
> 
> A field called "snapshots" holds the list of URLs and is
> used like this:
> 
> set the imageSource of char 1 of last line of field
> "resultsG" to line 1 of field "snapshots"
> 
> In each case this script runs, the tilde disappears but is
> not replaced by anything.  The imagesource of each
> tilde is correctly reported if requested.  The fixed
> line height of the results field is set to false, and it has
> scrollbars.  However many URLs are referenced, but do
> not appear, the scrollbar never becomes active, so it seems
> that no 'blank' image is being displayed.  Setting the
> imagesource of any tilde to empty causes it to reappear, so
> something is happening to hide/show the character.
> 
> I also use the URLs stored in field "snapshots" to print
> the graphics using this script to populate a printer stack
> with the images:
> 
> 
>  put 1 into k
>    repeat for each line j in field
> "snapshots"
>       set the filename of image "pikcha" of
> card k of stack "grcprinter" to j
>       put k+1 into k
>    end repeat
> 
> This works fine, so unless there is some Windows Ju-Ju I
> don't know about (entirely possible) it really does look as
> though something is broken in imagesource under
> Windows.  
> 
> Can anyone:
> 
> 1/  Suggest where I am going wrong (if I am)
> 2/  Confirm that they do or do not have imagesource
> working under Windows
> 3/  Suggest a workaround
> 
> This is a critical feature in an almost finished project ,
> so I would really appreciate some help
> 
> David Glasgow
> 
> ___
> use-revolution mailing list
> use-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: Imagesource of char not working as expected in Windows

2009-12-29 Thread Michael Kann
David, I'm on XP Pro so I can check it out for you.

Is it working in the stack on Windows before you made the standalone. Or did 
you create the standalone from a stack on the Mac? 

In other words, is the fact that it is a standalone important?

First, you might be tempting fate to use anything but vanilla flavored 
characters in a path name. 

Instead of 

C:/Users/DavidG/Documents/This_Much!/Anon 12 28 08 [11-36
AM]/graphics/image1.png

I'd try 

C:/Users/DavidG/Documents/good/wonderful/graphics/image1.png

Another thing to consider is the defaultFolder.

You might try placing the images in the same folder as the standalone.

 



--- On Tue, 12/29/09, David Glasgow  wrote:

> From: David Glasgow 
> Subject: Re: Imagesource of char not working as expected in Windows
> To: use-revolution@lists.runrev.com
> Date: Tuesday, December 29, 2009, 6:18 AM
> 
> I didn't get any on-list responses to this, but got  a
> good steer from Richmond Mathewson (thanks!) off-list.
> 
> In brief, my standalone (RR 4.0) takes screenshots and
> saves them to disk.  They are also displayed in a field
> by appending a tilde to the field each time a snapshot is
> taken, and then setting the imagesource of the character to
> the url to which the image was saved.
> 
> This works under OS X, but not Windows.  I have
> wrestled with this and found out a little more, but still
> can't get the darned thing to work.  I moved the save
> location to docs, just in case there was something weird
> about the temporary items location.  I have tested on
> Vista and Win 7 with the same result.
> 
> The snapshots are saved to a location such as
> 
> C:/Users/DavidG/Documents/This_Much!/Anon 12 28 08 [11-36
> AM]/graphics/image1.png
> C:/Users/DavidG/Documents/This_Much!/Anon 12 28 08 [11-39
> AM]/graphics/image2.png
> 
> A field called "snapshots" holds the list of URLs and is
> used like this:
> 
> set the imageSource of char 1 of last line of field
> "resultsG" to line 1 of field "snapshots"
> 
> In each case this script runs, the tilde disappears but is
> not replaced by anything.  The imagesource of each
> tilde is correctly reported if requested.  The fixed
> line height of the results field is set to false, and it has
> scrollbars.  However many URLs are referenced, but do
> not appear, the scrollbar never becomes active, so it seems
> that no 'blank' image is being displayed.  Setting the
> imagesource of any tilde to empty causes it to reappear, so
> something is happening to hide/show the character.
> 
> I also use the URLs stored in field "snapshots" to print
> the graphics using this script to populate a printer stack
> with the images:
> 
> 
>  put 1 into k
>    repeat for each line j in field
> "snapshots"
>       set the filename of image "pikcha" of
> card k of stack "grcprinter" to j
>       put k+1 into k
>    end repeat
> 
> This works fine, so unless there is some Windows Ju-Ju I
> don't know about (entirely possible) it really does look as
> though something is broken in imagesource under
> Windows.  
> 
> Can anyone:
> 
> 1/  Suggest where I am going wrong (if I am)
> 2/  Confirm that they do or do not have imagesource
> working under Windows
> 3/  Suggest a workaround
> 
> This is a critical feature in an almost finished project ,
> so I would really appreciate some help
> 
> David Glasgow
> 
> ___
> use-revolution mailing list
> use-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: Imagesource of char not working as expected in Windows

2009-12-29 Thread Éric Miclo
Hello,

I'm not sure it can help, but did you try to use an other char than a tilde?

Best,

ÉrIC

Le 29 déc. 2009 à 13:18, David Glasgow a écrit :

> 
> 
> I didn't get any on-list responses to this, but got  a good steer from 
> Richmond Mathewson (thanks!) off-list.
> 
> In brief, my standalone (RR 4.0) takes screenshots and saves them to disk.  
> They are also displayed in a field by appending a tilde to the field each 
> time a snapshot is taken, and then setting the imagesource of the character 
> to the url to which the image was saved.
> 
> This works under OS X, but not Windows.  I have wrestled with this and found 
> out a little more, but still can't get the darned thing to work.  I moved the 
> save location to docs, just in case there was something weird about the 
> temporary items location.  I have tested on Vista and Win 7 with the same 
> result.
> 
> The snapshots are saved to a location such as
> 
> C:/Users/DavidG/Documents/This_Much!/Anon 12 28 08 [11-36 
> AM]/graphics/image1.png
> C:/Users/DavidG/Documents/This_Much!/Anon 12 28 08 [11-39 
> AM]/graphics/image2.png
> 
> A field called "snapshots" holds the list of URLs and is used like this:
> 
> set the imageSource of char 1 of last line of field "resultsG" to line 1 of 
> field "snapshots"
> 
> In each case this script runs, the tilde disappears but is not replaced by 
> anything.  The imagesource of each tilde is correctly reported if requested.  
> The fixed line height of the results field is set to false, and it has 
> scrollbars.  However many URLs are referenced, but do not appear, the 
> scrollbar never becomes active, so it seems that no 'blank' image is being 
> displayed.  Setting the imagesource of any tilde to empty causes it to 
> reappear, so something is happening to hide/show the character.
> 
> I also use the URLs stored in field "snapshots" to print the graphics using 
> this script to populate a printer stack with the images:
> 
> 
> put 1 into k
>  repeat for each line j in field "snapshots"
> set the filename of image "pikcha" of card k of stack "grcprinter" to j
> put k+1 into k
>  end repeat
> 
> This works fine, so unless there is some Windows Ju-Ju I don't know about 
> (entirely possible) it really does look as though something is broken in 
> imagesource under Windows.  
> 
> Can anyone:
> 
> 1/  Suggest where I am going wrong (if I am)
> 2/  Confirm that they do or do not have imagesource working under Windows
> 3/  Suggest a workaround
> 
> This is a critical feature in an almost finished project , so I would really 
> appreciate some help
> 
> David Glasgow
> 
> ___
> use-revolution mailing list
> use-revolution@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 

-- My NeXT computer will Be a Mac too! --

___
use-revolution mailing list
use-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: Imagesource of char not working as expected in Windows

2009-12-29 Thread David Glasgow

I didn't get any on-list responses to this, but got  a good steer from Richmond 
Mathewson (thanks!) off-list.

In brief, my standalone (RR 4.0) takes screenshots and saves them to disk.  
They are also displayed in a field by appending a tilde to the field each time 
a snapshot is taken, and then setting the imagesource of the character to the 
url to which the image was saved.

This works under OS X, but not Windows.  I have wrestled with this and found 
out a little more, but still can't get the darned thing to work.  I moved the 
save location to docs, just in case there was something weird about the 
temporary items location.  I have tested on Vista and Win 7 with the same 
result.

The snapshots are saved to a location such as

C:/Users/DavidG/Documents/This_Much!/Anon 12 28 08 [11-36 
AM]/graphics/image1.png
C:/Users/DavidG/Documents/This_Much!/Anon 12 28 08 [11-39 
AM]/graphics/image2.png

A field called "snapshots" holds the list of URLs and is used like this:

set the imageSource of char 1 of last line of field "resultsG" to line 1 of 
field "snapshots"

In each case this script runs, the tilde disappears but is not replaced by 
anything.  The imagesource of each tilde is correctly reported if requested.  
The fixed line height of the results field is set to false, and it has 
scrollbars.  However many URLs are referenced, but do not appear, the scrollbar 
never becomes active, so it seems that no 'blank' image is being displayed.  
Setting the imagesource of any tilde to empty causes it to reappear, so 
something is happening to hide/show the character.

I also use the URLs stored in field "snapshots" to print the graphics using 
this script to populate a printer stack with the images:


 put 1 into k
   repeat for each line j in field "snapshots"
  set the filename of image "pikcha" of card k of stack "grcprinter" to j
  put k+1 into k
   end repeat

This works fine, so unless there is some Windows Ju-Ju I don't know about 
(entirely possible) it really does look as though something is broken in 
imagesource under Windows.  

Can anyone:

1/  Suggest where I am going wrong (if I am)
2/  Confirm that they do or do not have imagesource working under Windows
3/  Suggest a workaround

This is a critical feature in an almost finished project , so I would really 
appreciate some help

David Glasgow

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


Re: What cell in the data grid was clicked?

2009-12-29 Thread Michael Kann
It doesn't seem like the datagrid commands made it into the dictionary I have. 
I foraged around on the runrev website and found some info. You might find what 
you need on the following links. As a warning, I don't know jack about 
datagrids, just trying to be helpful.

Some links:

http://lessons.runrev.com/spaces/lessons/manuals/datagrid

http://lessons.runrev.com/spaces/lessons/manuals/datagrid_tips

http://lessons.runrev.com/spaces/lessons/manuals/datagrid_tips/lessons/7349-How-Do-I-Find-Out-Which-Line-The-Mouse-Is-Over-

http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7312-How-Do-I-Determine-The-Selected-Line-

http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7313-How-Do-I-Get-Data-Associated-With-a-Row-or-Column-









--- On Mon, 12/28/09, James Hurley  wrote:

> From: James Hurley 
> Subject: What cell in the data grid was clicked?
> To: use-revolution@lists.runrev.com
> Date: Monday, December 28, 2009, 10:48 PM
> The user clicks on a data grid cell.
> 
> What variables determine the row and column numbers of the
> cell?
> 
> And the text of the cell?
> 
> Thanks,
> 
> Jim Hurley
> ___
> use-revolution mailing list
> use-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