Re: Data Grid Question

2009-11-21 Thread Jan Schenkel
--- On Fri, 11/20/09, RevList revl...@createchsol.com wrote: I have to admit that I do not use the Data Grid often enough to be comfortable with it, and I have problems finding how to do things. I have a simple 3 column table style datagrid and I populate the first two columns though a

Re: Repeat Loop

2009-11-21 Thread Bill Marriott
Actually, to reveal the true issue, try this: repeat with n = 0 to 1 step 0.1 put n tab (n - 1) * 1000 return after aList end repeat put aList into fld 1 Rounding error. On the second-to-last iteration, Rev doesn't think it's quite reached 1 yet, so it goes through the loop one more

Re: Repeat Loop

2009-11-21 Thread Robert Brenstein
On 20.11.09 at 15:13 -0500 Schwartz, Jonathan L. apparently wrote: Has anyone had a problem with the following? on mouseUp repeat with n = 0 to 1 step 0.1 put n, after aList end repeat put aList end mouseUp Returns 0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1,1.1, However, on

Re: knowing if a printer is connected

2009-11-21 Thread Peter Brigham MD
Here's what I've come up with, in case anyone else needs a solution to this problem. If the printer is not connected or is off, the user is asked to check the connection, and if there is a live printer connected and it is not the one currently chosen in the print preferences panel then the

Re: Data Grid Question

2009-11-21 Thread Trevor DeVore
On Nov 21, 2009, at 5:09 AM, Jan Schenkel wrote: The parameter sent to FillInData, pData, is an array with one element for each column name. So assuming your second column is named Foobar, then your FillInData handler would look something like: ## on FillInData pData set the text of

Re: Repeat Loop

2009-11-21 Thread DunbarX
Rounding it must be. But the error is related to the startValue. I would have thought that it did not matter, when incrementing by 0.1, say, what the StartValue was. In other words, I would have thought that incrementing like this: repeat with y = 1 to 2 step 0.1 would have the same rounding

increasing dpi in export snapshot

2009-11-21 Thread Durgesh Mishra
I am using export snapshot on group of text boxes and saving it to a JPG file. Looking at the resulting JPEG file, it does not look very smooth. It is pixelized as if some low resolution image. Is there any way to increase the dpi or some other mechanism to enhance the image file generated from

Re: Looking for a defined path to learn Rev (for new users)

2009-11-21 Thread Francis Nugent Dixon
Hi from Paris, Alejandro wrote Always picked my curiosity to know what these holes actually means... :-D and here you find it all :) http://en.wikipedia.org/wiki/Punched_card#IBM_80_column_punch_card_format Best Regards -Francis Nothing should ever be done for the first

Re: increasing dpi in export snapshot

2009-11-21 Thread Mark Schonewille
Durgesh, You might want to read about the paintcompression in the documentation. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Download Strõm Flow Chart Software

Re: increasing dpi in export snapshot

2009-11-21 Thread Mark Schonewille
Hi Durgesh, Actually, you might want to look at the paintcompression or e.g. define the format in the export snapshot command, but the jpegQuality property is probably more useful or you. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage:

Re: [ANN] tRev Feature Friday: drag-n-drop layering; inline editing!

2009-11-21 Thread Mikey
Jerry, I have been pretty much absent for the last year, so what the heck is tRev, as opposed to the previous editors I bought from you? -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few

Re: increasing dpi in export snapshot

2009-11-21 Thread Durgesh Mishra
Hi Mark, Thanks for the suggestion. It seems by default the value of jpegQuality is 100 (i.e. Maximum). Unfortunately, image couldn't be better with this approach. Kind Regards -Durgesh 2009/11/22 Mark Schonewille m.schonewi...@economy-x-talk.com Hi Durgesh, Actually, you might want to look

Re: increasing dpi in export snapshot

2009-11-21 Thread Mark Schonewille
Durgesh, Is there any reason why you need JPEG? Can't you use PNG? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer Download Strõm Flow Chart Software

Re: [ANN] tRev Feature Friday: drag-n-drop layering; inline editing!

2009-11-21 Thread Jerry Daniels
Mikey, We have a site full of stuff about tRev: http://reveditor.com Good intro video: http://reveditor.com/trev-the-movie Frequently Asked Questions: http://reveditor.com/frequently-asked-questions-27 To read all posts about it (everything is a post, btw):

Re: increasing dpi in export snapshot

2009-11-21 Thread Ian Wood
On 21 Nov 2009, at 18:12, Durgesh Mishra wrote: I am using export snapshot on group of text boxes and saving it to a JPG file. Looking at the resulting JPEG file, it does not look very smooth. It is pixelized as if some low resolution image. What are you viewing the JPEG files in?

Re: knowing if a printer is connected

2009-11-21 Thread JosepM
Hi, In English work, but in Spanish and others languages don't. The result of the shell command is: destino por omision del sistema: HP_Photosmart_C4200_series So we must check for the : and get the printer name. set itemdel to : put item 2 of shell(lpstat -d) into tDefaultPrinter

Re: Looking for a defined path to learn Rev (for new users)

2009-11-21 Thread Alejandro Tejada
Hi Mark, GreatJob! :-D Mark Wieder wrote: Couldn't resist the challenge. I uploaded a Hollerith Card Script Editor to revOnline. -- View this message in context: http://n4.nabble.com/Looking-for-a-defined-path-to-learn-Rev-for-new-users-tp624612p718253.html Sent from the Revolution -

Does revweb run under osx 10.4.11 / ppc?

2009-11-21 Thread Richard Miller
Just tried getting a revlet to run on an older G4 IBook (PPC), OSX 10.4.11. I can get as far as the security page for revweb, but that's it. Clicking on Allow Always, Allow Once or Deny does nothing. Have to force quit Firefox at that point. Same results under Safari. All software on this unit

revOnline website

2009-11-21 Thread Alejandro Tejada
Hi all, Have you visited this website? http://revonline2.runrev.com/ Get inspired! Browse the revOnline community! Find help, sample code and even inspiration. There are 1000s of revTalk samples, revolution stacks, example scripts for both desktop and server, externals and revlets. This is

Re: [ANN] tRev Feature Friday: drag-n-drop layering; inline editing!

2009-11-21 Thread Mikey
Looks like I have some catching up to do. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, This is good.

Re: knowing if a printer is connected

2009-11-21 Thread Phil Davis
Everyone is doing it, so... here is what I came up with. Watch line wraps please. Hopefully the comments explain what the code is doing. on mouseUp answer UsbPrinterList() end mouseUp function UsbPrinterList -- set item delimiter set the itemDelimiter to tab -- make a list of all