Re: (no subject)

2009-05-04 Thread Kay C Lan
On Sun, May 3, 2009 at 7:43 PM, bar...@libero.it bar...@libero.it wrote:

 That's why I read all the digests every day and just wait for the
 tip I need to turn up, although it makes me feel like a lurker which is a
 name
 I don't like.


That's easy to solve, make another post. At two posts you are officially no
longer a lurker and are upgraded to full question posting privileges ;-)
___
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] Web hosting?

2009-05-04 Thread Richmond Mathewson

My website seems to have 'gone' insofar as I can no longer edit it.

http://mail.maclaunch.com/richmond/

So. last night, in a fit of desperation (well, maybe not desperation) I 
did this:


http://richmondmathewson.wetpaint.com/

which, if you take a look at it, is bl**dy awful; a real case of not
seeing the wood for the trees.

Anyway, it will not do . . .

I would be grateful for any pointers to free web hosting services that might
allow me to end up with something that looks a bit better, and allows me
proper off-line editing prior to up-loading rather than the MIckey-Mouse
stuff at Wetpaint (even the name makes me shudder).

sincerely, Richmond Mathewson.
___
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: Positive Feedback

2009-05-04 Thread Richmond Mathewson

I may be a bit daft, but I don't really wear a kilt here in Bulgaria;
a country, like others in the Balkans, known for ethnic tensions
and screaming racism: being red-haired here is bad enough.  :)

However, Kay, I trust you will be there in Edinburgh, when I shall
appear in my full nausea!

Kay C Lan wrote:

On Sun, May 3, 2009 at 7:20 PM, Richmond Mathewson 
richmondmathew...@gmail.com wrote:

  

 I constantly get 'funny'
looks...




It's the kilt ;-)
___
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: [OT] Web hosting?

2009-05-04 Thread Mark Schonewille

Hi Richmond,

I might be able to help you. It is not completely free, but certainly  
cheap (all necessary features are there and I'm tempted to call it  
inexpensive rather than cheap, but that's... cheap ;-) ). Contact me  
off-list if you're interested.


--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum

New: Snapper Screen Recorder 2.0.1
Download at http://snapper.economy-x-talk.com

On 4 mei 2009, at 10:30, Richmond Mathewson wrote:


My website seems to have 'gone' insofar as I can no longer edit it.

http://mail.maclaunch.com/richmond/

So. last night, in a fit of desperation (well, maybe not  
desperation) I did this:


http://richmondmathewson.wetpaint.com/

which, if you take a look at it, is bl**dy awful; a real case of not
seeing the wood for the trees.

Anyway, it will not do . . .

I would be grateful for any pointers to free web hosting services  
that might
allow me to end up with something that looks a bit better, and  
allows me
proper off-line editing prior to up-loading rather than the MIckey- 
Mouse

stuff at Wetpaint (even the name makes me shudder).

sincerely, Richmond Mathewson.



___
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: Save Data to stack inside Standalone - Broken?

2009-05-04 Thread Jim Bufalini
Hi Sivakatirswami,

 You got it! Problem solved:

Great.
 
 go stack url binfile:lexicon.rev = bogus... I think we did that in
 another project where the stack would not open  properly... can't
 remember why we need to use the url binfile format to  get the stack to
 open.
 
 But, it was doing exactly like downloading from the web...
 open in ram but no file name.
 
 This works now...
 
 on loadFromDisk #start up handler
set itemdel to /
set the defaultfolder to item 1 to -2 of the effective filename of
 this stack
--go stack url binfile:lexicon.rev #doesn't work
go stack (the defaultfolder/lexicon.rev) # now it will save!
 hurray...
hide stack MahaLexiconLoader
 end loadFromDisk

One more gotchya to look out for when constructing fully qualified file
paths for cross-platform development. I gave the example I did because you
said, in answer to one of my questions, that you were on a Mac. Then I read
in a post you made to another list that you must be developing for
cross-platform. Either that, or you've made a significant dent into the Mac
market. ;-) 

Using the default folder or item 1 to -2 of the filename of stack... tends
to work fine cross-platform, where Rev is handling the translation. But, as
soon as you start hard coding slashes (as in your and my example), you can
run into issues on different platforms for different commands. PCs don't
like slashes and servers don't like backslashes. ;-) So best to be safe and
have something like this:

Global gfd -- for file delimiter

IF the platform = MacOS OR the platform  Win32 THEN 
  put / into gfd
... Any other platform specifics like fonts.
Else
Put \ into gfd
... same
End if

Then hardcode slash (/) as you did above. But, right before doing file
manipulations, put a:

Replace slash with gfd in tFullyQualifiedFilePath

This will save you from scratching your head over file not found errors.
It also allows you to use *set itemdel to gfd* without having to think. ;-)
Of course, always use slash (/) when addressing servers, regardless of what
the desktop platform is.

 It's been raining here on Kauai since last October, and only last week
 did it stop.
 I was so happy to see dust coming up from the tractor when I went out
 to
 mow the fields finally!

It's a lot wetter there. ;-) I think we've had one day of solid rain here
(outside of the occasional liquid sunshine sprinkles during the day) in
the past few weeks. Then again, the only fields I have are in Rev. ;-) Is
plowing fields why you invited me to visit? ;-)

Aloha from a sunnier Island of Hawaii, ;-)

Jim Bufalini

___
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


Joining Images - cheating

2009-05-04 Thread Richmond Mathewson

Presumably this can only be done in RR, rather
than on-rev?

Import 2 images, put them side by side, and export
a snapshot to file.
___
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: Joining 2 images

2009-05-04 Thread David Bovill
2009/5/4 Mark Smith li...@futilism.com


 get shell(convert img1.jpg img2.jpg +append result.jpg)

 As far as I can tell, magick is not installed on on-rev - I'm not sure how
 you'd go about installing it, as we don't seem to get shell access. Perhaps
 a call to on-rev support?


Are you sure? Would be a strange hosting setup without a bit of magick?

I'll have to email support and get my shell access sorted. Is anyone with
shell access able to confirm which common command line utilities are
available to us (aside from the basic unix commands) - do we have access to
./configue / make etc?
___
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: data grid, custom sorting

2009-05-04 Thread Trevor DeVore

On May 2, 2009, at 10:05 PM, Shao Sean wrote:

When sorting a list of files by size I thought it would be nice to  
display the sizes in more readable format (5.6 MB, 320 KB, etc) yet  
doing a sort on the size column in the data grid would sort properly  
for the numbers but would not be sorted correctly for the actual  
sizes. Rooting around in the data grid parentScript I came across  
sortDataByKey which allows you sort based on the actual data in  
the dgData instead of what is displayed (1024 instead of 1 KB) -  
that was the easy part.


While your custom sort will work one other approach would be to leave  
the data in your column in the original format so that numerical  
sorting still works. You could then format the data for display in the  
FillInData message.


The hard part, which took all of four hours and one kernel panic  
(which is my fourth one with the data grid), I managed to get the  
column headers correctly hiliting (the documentation clearly point  
this out as dgHilite so not too hard to figure out what command to  
use). What the docs clearly miss though is that this is not a  
property of the data grid (which would make it much easier to use  
[feature request :) ]) but a property of the column header group so  
you need to call it by its medium name (not a real feature of Rev).


I don't believe the docs state anywhere that dgHilite is a property of  
the data grid but says it is a property of a template. See here:


http://revolution.screenstepslive.com/spaces/revolution_tools/manuals/datagrid/lessons/3462-Template-Custom-Properties 



Row and column templates have the dgHilite property set so that you  
can visually change the look of the row and column.


Regards,

--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Developer Resources: 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: data grid - contextual menu

2009-05-04 Thread Trevor DeVore

On May 2, 2009, at 7:34 PM, Shao Sean wrote:


[apologize in advanced if this is a double post]

This seems to work and unless Trevor chimes in and says not to do it  
this way, it seems to work just fine


on mouseDown pButton
 if (pButton = 3) then -- right click
   dgMouseDown pButton
   # do context menu stuff
 else
   pass mouseDown
 end if
end mouseDown


Yes, this is how you would display a contextual. I haven't added this  
to the docs yet but I did cover this and some other even related  
information in the webinar the other day.


Regards,

--
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Developer Resources: 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: Joining 2 images

2009-05-04 Thread Mark Smith
Well, a shell call to convert within an irev script got the dreaded  
command not found response...



Also, a bit more on the templateimage in on-rev:

You can set the textdata of the templateimage to someFile.jpg
and then get the correct dimensions of the referenced image file with
the width of the templateimage and the height of the templateimage
but the imagedata of the templateimage, though it will be the right  
size, will be all nulls...


I've mentioned it in the on-rev forum, so we'll see if the magicians  
at runrev can make such things work in on-rev.


To see what I mean, go here: http://marksmith.on-rev.com/imagejoin.irev
and to see the script that's doing it: http://marksmith.on-rev.com/ 
joinimages.inc


Best,

Mark

On 4 May 2009, at 12:16, David Bovill wrote:


2009/5/4 Mark Smith li...@futilism.com



get shell(convert img1.jpg img2.jpg +append result.jpg)

As far as I can tell, magick is not installed on on-rev - I'm not  
sure how
you'd go about installing it, as we don't seem to get shell  
access. Perhaps

a call to on-rev support?



Are you sure? Would be a strange hosting setup without a bit of  
magick?


I'll have to email support and get my shell access sorted. Is  
anyone with

shell access able to confirm which common command line utilities are
available to us (aside from the basic unix commands) - do we have  
access to

./configue / make etc?
___
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: OT: What to use on a PIII in Bulgaria?

2009-05-04 Thread Richmond Mathewson

I have just 'redone' my PIIIs with Ubuntu 8.04; from what I can
see they seem no slower than 5.10 --- we shall see over the next few
weeks; the reason I did this was to play .SWF files. Certainly for
my RR programs they are OK; otherwise we shall have to wait and see.

However, I foresee a dirty weekend where I spend a lot of time
sending them back to 5.10 . . .  If the price of playing .SWF files
is that Open Office grinds to a shuddering halt, then it's not worth
it: especially as my G3 iMac at the front of the classroom is very
happy with the .SWF files.

Logical Choices are all well and good, but one has to deal with
children who cannot function unless the GUI looks remarkably like
Windows XP.

Peter Alcibiades wrote:
I'd not use Xubuntu out of the box - Distrowatch this week has a nice piece 
showing that its very much more resource intensive, like in some cases 
10x,  than Xfce on Debian.  

One could do a custom Xubuntu install and leave out all the fat.  In which 
case a barebones Lenny install will be more stable and no more trouble.


But surely the logical choice for a PIII is not Xfce, Gnome or KDE, but 
Fluxbox, and maybe not even Debian or Ubuntu, but Puppy with one of the 
minimalist WMs, Fluxbox or JWM for instance.  A barebones Debian with 
Fluxbox or JWM will be quite fast.  Slax is also not bad, a bit more 
featured than Puppy and comes with Fluxbox which you can use instead of 
the stripped down KDE which is the default.


Xfce is a bit lighter weight than Gnome or KDE, but there is not a huge 
amount in it, and Fluxbox beats all three by a mile.  Puppy is brilliant 
for low end machines.  There is a minimalist Fluxbox Ubuntu, Fluxbuntu.  
Might be worth considering also if one really wants to stay with Ubuntu.


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


OT: What to use on a PIII in Bulgaria?

2009-05-04 Thread Peter Alcibiades
I'd not use Xubuntu out of the box - Distrowatch this week has a nice piece 
showing that its very much more resource intensive, like in some cases 
10x,  than Xfce on Debian.  

One could do a custom Xubuntu install and leave out all the fat.  In which 
case a barebones Lenny install will be more stable and no more trouble.

But surely the logical choice for a PIII is not Xfce, Gnome or KDE, but 
Fluxbox, and maybe not even Debian or Ubuntu, but Puppy with one of the 
minimalist WMs, Fluxbox or JWM for instance.  A barebones Debian with 
Fluxbox or JWM will be quite fast.  Slax is also not bad, a bit more 
featured than Puppy and comes with Fluxbox which you can use instead of 
the stripped down KDE which is the default.

Xfce is a bit lighter weight than Gnome or KDE, but there is not a huge 
amount in it, and Fluxbox beats all three by a mile.  Puppy is brilliant 
for low end machines.  There is a minimalist Fluxbox Ubuntu, Fluxbuntu.  
Might be worth considering also if one really wants to stay with Ubuntu.

Peter
___
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: (no subject)

2009-05-04 Thread Trevor DeVore

On May 2, 2009, at 11:05 PM, Shao Sean wrote:

modified it some to be a little cleaner as well as allowing the data  
grid to know that it is sorting on the custom sorted column..


In the current release version of the data grid there are two issues  
when performing a custom sort within SortDataGridColumn.


The first is that you can't set the dgIndexes property in order to  
change the sort of the indexes. This doesn't affect your example  
because you seem to be storing size as a hidden column in your table  
and then using SortDataByKey to do the sort.


The second issue is that there is no easy way of updating the internal  
props and UI to reflect the currently sorted column.


I've uploaded a test build of the library (1.0 build 8) which  
addresses these issues. You can now set the dgIndexes property and I  
created a handler out of existing data grid code that updates internal  
props and UI: HiliteAndStoreSortByColumn. HiliteAndStoreSortByColumn  
is meant to be called from within SortDataGridColumn when you are  
performing a custom sort.


I also switched the sorting so that it occurs on mouseup rather than  
mousedown.


http://www.bluemangolearning.com/download/revolution/tools/revdatagridlibrary.rev.zip 




Here is an example of using HiliteAndStoreSortByColumn and dgIndexes  
in on SortDataGridColumn. Note that this is only required if you are  
performing a custom sort.



on SortDataGridColumn pColumn
switch pColumn
case MySpecialColumn
## Update UI and 'sort by column'
HiliteAndStoreSortByColumn MySpecialColumn

## Get ready to perform custom sort.
put the dgIndexes of me into theIndexes -- so we  
perform a stable sort
put the dgData of the dgControl of me into theDataA  
-- get data so we can create sort list


## Create list of indexes and the key to sort by
repeat for each item theIndex in theIndexes
put theIndex  tab  theDataA[theIndex] 
[MySpecialColumn]  cr after theData

end repeat
delete the last char of theData

## At this point you can apply your special sort  
function to item 2 to -1 of theData


## Now update the indexes of the data grid so new  
order is reflected.

put empty into theIndexes
   repeat for each line theLine in theData
   put item 1 of theLine  comma after theIndexes
   end repeat
   delete the last char of theIndexes

   ## Setting the dgIndexes will update the sort order  
and redraw data.

   set the dgIndexes of the dgControl of me to theIndexes

break
default
pass SortDataGridColumn
end switch
end SortDataGridColumn



Here are some notes to your sort handler.


command sortDataGridColumn pColumn
 constant kColumnSize = size
 local tOldSortKey
 lock screen

 switch (pColumn)
   case kColumnSize
 lock messages
 put the dgProps[sort by column] of me into tOldSortKey


## Note: You no longer need to set the 'sort by column' here. It is  
set in HiliteAndStoreSortByColumn

 set the dgProps[sort by column] of me to kColumnSize



## Note: This code a) won't work and b) has already been handled at  
this point.
##   A) because you have messages locked and  
dgColumnSortDirection is a custom property using get/setProp.
##   B) Changing of ascending/descending is handled when you  
click on the column header. This happens before

##SortDataGRidColumn is called.

 if (the dgColumnSortDirection[kColumnSize] of me = ascending)  
then
   set the dgColumnSortDirection[kColumnSize] of me to  
descending

 else
   set the dgColumnSortDirection[kColumnSize] of me to ascending
 end if
 unlock messages


## Note: FYI: I believe this gives you the exact same behavior as  
setting the column sort to numeric in the property inspector.

##based on the code you aren't doing anything differently.
 sortDataByKey kColumnSize, numeric, the  
dgColumnSortDirection[kColumnSize] of me, FALSE




## Note: this is no longer needed with HiliteAndStoreSortByColumn.
 set the dgHilite of group tOldSortKey of group dgHeader to  
FALSE

 set the dgHilite of group kColumnSize of group dgHeader to TRUE
 break
   default
 pass sortDataGridColumn
 break
 end switch
end sortDataGridColumn



Here is an example of SortDataGridColumn using updated data grid  
library:


on SortDataGridColumn pColumn
constant kColumnSize = size

switch pColumn
case kColumnSize
HiliteAndStoreSortByColumn kColumnSize
SortDataByKey kColumnSize, numeric, the  
dgColumnSortDirection[kColumnSize] of me, FALSE

break
default
pass SortDataGridColumn
end switch
end SortDataGridColumn


Regards,

--
Trevor 

Re: Joining 2 images

2009-05-04 Thread David Bovill
Thanks a lot for the info Gordon. That's pretty well made my mind up - going
to keep my On-Rev account, and start getting stuck in :)

Gordon - if there is any chance you adding a very brief description of what
you managed to compile and the shell commands you used to the On-Rev forum -
or just post it here - it would be a great help?


2009/5/4 Gordon Tillman g...@mindspring.com

 David Bovill wrote:

  Good grief! Looks like the On-Rev hosting is really stripped down to a
 bare
 bones minimum. What happens if you type any of the following at the
 command
 line:

   - make --version
   - svn --version

 David here is the output from those commands:

 # make --version
 GNU Make 3.81
 Copyright (C) 2006  Free Software Foundation, Inc.
 This is free software; see the source for copying conditions.
 There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
 PARTICULAR PURPOSE.

 This program built for i686-redhat-linux-gnu

 # svn --version
 svn, version 1.4.2 (r22196)
  compiled Sep  1 2008, 06:37:46

 Copyright (C) 2000-2006 CollabNet.
 Subversion is open source software, see http://subversion.tigris.org/
 This product includes software developed by CollabNet (
 http://www.Collab.Net/).

 The following repository access (RA) modules are available:

 * ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
  - handles 'http' scheme
  - handles 'https' scheme
 * ra_svn : Module for accessing a repository using the svn network
 protocol.
  - handles 'svn' scheme
 * ra_local : Module for accessing a repository on local disk.
  - handles 'file' scheme

 I think the problems can be traced to the fact that our accounts are using
 jailshell instead of, say, bash!!!

 # echo $SHELL
 /usr/local/cpanel/bin/jailshell

 I was able to compile and install (in my own directory) a couple of
 packages.

 --gordon

 ___
 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


SQL problem

2009-05-04 Thread Terry Vogelaar

Hi all,

I am struggling to get a MySQL database filled. The idea is to use a  
form that calls an irev file, that in turn adds to the database.


Here is the script:
?rev
put revOpenDatabase 
(mysql,localhost,terry_dbname,terry_dbuser,password) into  
tConID


# Construct SQL
put INSERT INTO 'terry_dbname'.'tablename' ('login' , 'ww' ,  
'toegang') VALUES ('  $_GET[login]  ', '  $_GET[ww]  ',  
'  $_GET[toegang]  '); into tSQL


if tConID is a number then
# Execute SQL
put revDataFromQuery(tab, return, tConID, tSQL) into tList

revCloseDatase tConID
end if
?

Sample data:
http://terry.on-rev.com/h.irev?login=hafaddegonww=%3D% 
5DwTjLEltoegang=xA1%0D%0AxB1


All arguments are URL encoded...

But I get a SQL error... Is anyone seeing what the error could be?

Terry
___
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: shell access in on-rev - please do not complain anymore

2009-05-04 Thread runrev260805
Hi,

i do not know, what web hosting does mean in the other countries.
But if i buy a web hosting package here in germany, then it is normal, that i 
do not get full shell access.
If i want full control of the server including shell access i have to purchase 
a server or a virtual server package.
On-rev offers lot more than normal web hosting. So i cannot understand why so 
many people are complaining about the 
missing shell access. Btw. before purchasing on-rev everyone can see the 
feature chart of on-rev. There is nothing to
read about shell access.
 
Okay, if there would be the possibility to use some command line tools like 
magick this would be fine.
But i, for one, want a system, which is not vulnerable because everyone gets 
(full) shell access.

Sorry, but i am just in a bad temper at the moment and i am sick of reading 
messages complaining about a missing feature 
which was even not promised by Runrev.

I do not know how much you pay for other web hosting packages, but with the 
on-rev founder offer i can spent about 130,- Euros a month.

Regards,

Matthias









___
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: SQL problem

2009-05-04 Thread Mark Schonewille

Hi Terry,

Shouldn't that be revExecuteSQL?

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum

New: Snapper Screen Recorder 2.0.1
Download at http://snapper.economy-x-talk.com

On 4 mei 2009, at 17:19, Terry Vogelaar wrote:


Hi all,

I am struggling to get a MySQL database filled. The idea is to use a  
form that calls an irev file, that in turn adds to the database.


Here is the script:
?rev
put  
revOpenDatabase 
(mysql,localhost,terry_dbname,terry_dbuser,password) into  
tConID


# Construct SQL
put INSERT INTO 'terry_dbname'.'tablename' ('login' , 'ww' ,  
'toegang') VALUES ('  $_GET[login]  ', '  $_GET[ww]  ',  
'  $_GET[toegang]  '); into tSQL


if tConID is a number then
# Execute SQL
put revDataFromQuery(tab, return, tConID, tSQL) into tList

revCloseDatase tConID
end if
?

Sample data:
http://terry.on-rev.com/h.irev?login=hafaddegonww=%3D%5DwTjLEltoegang=xA1%0D%0AxB1

All arguments are URL encoded...

But I get a SQL error... Is anyone seeing what the error could be?

Terry


___
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: shell access in on-rev - please do not complain anymore

2009-05-04 Thread Gordon Tillman

Howdy Matthias,

runrev260...@m-r-d.de wrote:

Okay, if there would be the possibility to use some command line tools like 
magick this would be fine.
But i, for one, want a system, which is not vulnerable because everyone gets 
(full) shell access.
When I see the words full shell access I get the impression you are 
referring to root access.  But I don't think anyone is expecting that on 
a shared hosting system.  A normal (non-root) account using a normal 
shell is not anywhere near as powerful (or dangerous) as a root account 
is.  The entire Unix/Linux operating system is designed to separate 
those two classes of users.


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


Django with On-Rev Using CGI

2009-05-04 Thread Gordon Tillman

Howdy Folks,

Here is a quick post that shows how to install Django (and several other 
packages) and configure it to work with your On-Rev account.


http://www.gordontillman.info/computers/41-web-application-development/99-django-with-on-rev

--gordon


___
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: Joining 2 images

2009-05-04 Thread Gordon Tillman

David Bovill wrote:

Gordon - if there is any chance you adding a very brief description of what
you managed to compile and the shell commands you used to the On-Rev forum -
or just post it here - it would be a great help?

David I'm writing it up now and will post a link shortly.

--gordon
___
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: Joining 2 images

2009-05-04 Thread David Bovill
2009/5/4 Mark Smith li...@futilism.com

 Well, a shell call to convert within an irev script got the dreaded
 command not found response...


Good grief! Looks like the On-Rev hosting is really stripped down to a bare
bones minimum. What happens if you type any of the following at the command
line:

   - make --version
   - svn --version


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


Dumb Newbie Questions -- 4 of N

2009-05-04 Thread Richmond Mathewson
As we are now getting postings about 'shell access' (err, something 
about turtles?),
and 'termite eradicators' (err, debuggers?), as well as discussions 
about how the
programming language/IDE we all know and love (err, xTalk, RevTalk, 
Transcript,
Revolution) came to be the way it is; how long is it until we see people 
taking sides
in terms of Creationism (all done in one fell swoop by Bill Atkinson) 
and Evolution?


There were even a few postings (Judy ???) a while back about 'the dark 
lord', a.k.a.

the lord of light.

I would favour a much neglected 19th century theory, where after a 
benign deity
sets the ball rolling, s/he returns in the form of various 
incarnations/avatars to

gently give things a corrective nudge in the desired direction.
___
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: Joining 2 images

2009-05-04 Thread Gordon Tillman

David Bovill wrote:


Good grief! Looks like the On-Rev hosting is really stripped down to a bare
bones minimum. What happens if you type any of the following at the command
line:

   - make --version
   - svn --version

David here is the output from those commands:

# make --version
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i686-redhat-linux-gnu

# svn --version
svn, version 1.4.2 (r22196)
  compiled Sep  1 2008, 06:37:46

Copyright (C) 2000-2006 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet 
(http://www.Collab.Net/).


The following repository access (RA) modules are available:

* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
 - handles 'http' scheme
 - handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
 - handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
 - handles 'file' scheme

I think the problems can be traced to the fact that our accounts are 
using jailshell instead of, say, bash!!!


# echo $SHELL
/usr/local/cpanel/bin/jailshell

I was able to compile and install (in my own directory) a couple of 
packages.


--gordon
___
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: Django with On-Rev Using CGI

2009-05-04 Thread David Bovill
Fab! Have not used Django in a few years - have some Rev scripts hanging
around somewhere that would parse / create  Django XML files... by the way
what do you like about Mercurial? I've just moved over to GIT, but not had a
look at Mercurial?

2009/5/4 Gordon Tillman g...@mindspring.com

 Howdy Folks,

 Here is a quick post that shows how to install Django (and several other
 packages) and configure it to work with your On-Rev account.


 http://www.gordontillman.info/computers/41-web-application-development/99-django-with-on-rev

 --gordon
___
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] Rev Mentor Top Ten analysis of this email list

2009-05-04 Thread Jerry Daniels

Fellow Revolutionistae,

Because I am getting older and have little to occupy my time, I gone  
to the trouble to analyze your posts to this list over the last week.  
The HIGHLY revealing and suggestive results are now part of the semi- 
permanent record known as the Rev Mentor blog:


http://www.revmentor.com/revolution-top-ten-video-charts-and-analyzer-3

What sort of analysis is this? you might well ask. It includes a  
short, 3.6 minute video commentary, five charts showing statistics for  
your week's email postings, and a downloadable email browser stack  
that does all the heavy lifting.


Did I mention it's free?

Jerry Daniels

Host of Rev Mentor
http://www.revmentor.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: Django with On-Rev Using CGI

2009-05-04 Thread Gordon Tillman

David Bovill wrote:

Fab! Have not used Django in a few years - have some Rev scripts hanging
around somewhere that would parse / create  Django XML files... by the way
what do you like about Mercurial? I've just moved over to GIT, but not had a
look at Mercurial?
David I've never used Git, so I can't comment on that one, but I've used 
CVS and SVN extensively over the years.  It took me just a short while 
to get my head around the Mercurial way to do things (which is probably 
very similar to Git). 

It's dead-easy to install and configure and to start a new repository.  
I really like the mindset of committing your changes before pulling and 
merging stuff from other developer's, as opposed to updating from a 
central repository first, merging/fixing conflicts, then committing. 

I like the flexibility of how you can publish changes.  You can use the 
built-in web server to browse and pull changes.  You can email changes.  
You can grab them via SSH, etc.  Very nice.  The command line interface 
is very simple and the built-in help is great.


Performance is very fast and there is no problem at all with binary 
files, even large ones.


There is a youtube video here: 
http://www.youtube.com/watch?v=JExtkqzEoHY from one of the lead 
developer's that is interesting.


--gordon
___
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: Django with On-Rev Using CGI

2009-05-04 Thread Mark Wieder
Gordon-

Monday, May 4, 2009, 8:43:42 AM, you wrote:

 Here is a quick post that shows how to install Django (and several other
 packages) and configure it to work with your On-Rev account.

!!! This is exciting and timely. I was just wondering this morning
about what it would take to get Django running on on-rev. Thanks.

-- 
-Mark Wieder
 mwie...@ahsoftware.net

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


Re: First look at Service USB gadget

2009-05-04 Thread Bob Sneidar

I had no idea that Aussie's say, Dude!

Bob Sneidar
IT Manager
Logos Management
Calvary Chapel CM

On May 1, 2009, at 10:05 AM, Scott Rossi wrote:


Dude, you have no idea...

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: OT: shell access in on-rev - please do not complain anymore

2009-05-04 Thread Andre Garzia
I for one have a need where I *NEED* to have shell access. I do most of my
web developments thru the shell. I edit files, set things, all thru ssh with
screen and nano (when I am felling bold, I use emacs).
I also use interarchy and textmate when working at my mac, but I always have
a ssh session open and I use screen as a text only window manager and create
screen windows showing error logs, access logs, cpu info, all kinds of
information I need.

I have to see log files as web pages, I'd rather have them on terminal,
being output as they are written. I also create simple cgis and tools
directly on the remote server.

I feel very comfortable with text only tools and shell access and although
for most needs we can live without it, shell access is a key part of my
workcycle and the way I produce things.

The same engine that gives you CGIs also gives you command line tools, so
you can create terminal tools for your own use and those are faster and
easier to build then cgis or webapps (and more secure).



On Mon, May 4, 2009 at 11:05 AM, Gordon Tillman g...@mindspring.com wrote:

 Howdy Matthias,

 runrev260...@m-r-d.de wrote:

 Okay, if there would be the possibility to use some command line tools
 like magick this would be fine.
 But i, for one, want a system, which is not vulnerable because everyone
 gets (full) shell access.

 When I see the words full shell access I get the impression you are
 referring to root access.  But I don't think anyone is expecting that on a
 shared hosting system.  A normal (non-root) account using a normal shell is
 not anywhere near as powerful (or dangerous) as a root account is.  The
 entire Unix/Linux operating system is designed to separate those two classes
 of users.

 --gordonhe

 ___
 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




-- 
http://www.andregarzia.com All We Do Is Code.
___
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] Web hosting?

2009-05-04 Thread bar...@libero.it
Hi Richmond,
Have a look at http://www.tripod.lycos.com/ it should suit your 
needs. The ads arent too intrusive and you get all the CMS you need. I have 
been using Geocities, one of the oldest free site domains on the web, but they 
have just notified me that Yahoo! is sending it bellyupwards in a couple of 
months.
Cheers Barry
___
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] Web hosting?

2009-05-04 Thread Richmond Mathewson

Thanks a bunch; looking at it now!

bar...@libero.it wrote:

Hi Richmond,
Have a look at http://www.tripod.lycos.com/ it should suit your 
needs. The ads arent too intrusive and you get all the CMS you need. I have 
been using Geocities, one of the oldest free site domains on the web, but they 
have just notified me that Yahoo! is sending it bellyupwards in a couple of 
months.

Cheers Barry
___
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: OT: shell access in on-rev - please do not complain anymore

2009-05-04 Thread David Bovill
Ditto ( not the shell command :)

2009/5/4 Andre Garzia an...@andregarzia.com

 I for one have a need where I *NEED* to have shell access. I do most of my
 web developments thru the shell. I edit files, set things, all thru ssh
 with
 screen and nano (when I am felling bold, I use emacs).
 I also use interarchy and textmate when working at my mac, but I always
 have
 a ssh session open and I use screen as a text only window manager and
 create
 screen windows showing error logs, access logs, cpu info, all kinds of
 information I need.
___
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: SQL problem

2009-05-04 Thread Bernard Devlin
On a stylistic point I'd like to propose my way of constructing
statements to be executed.

Instead of this:

put INSERT INTO 'terry_dbname'.'tablename' ('login' , 'ww' ,
'toegang') VALUES ('  $_GET[login]  ', '  $_GET[ww]  ', '
 $_GET[toegang]  '); into tSQL

I would write this:

put INSERT INTO 'terry_dbname'.'tablename' ('login' , 'ww' ,
'toegang') VALUES( '[[tLogin]]' , '[[tWW]]' , '[[tToeGang]]' ); into
tTemplateSQL

put $_GET[login] into tLogin
put $_GET[ww] into tWW
put $_GET[toegang] into tToeGang

put merge(tTemplateSQL) into tSQL.

It is more verbose but I find it far less error-prone than other
constructions as my mind gets very confused by a profusion of double
quotes, single quotes, ampersands, etc.

Just my tuppenceworth.

Bernard

On Mon, May 4, 2009 at 4:19 PM, Terry Vogelaar tvogel...@de-mare.nl wrote:
 Hi all,

 I am struggling to get a MySQL database filled. The idea is to use a form
 that calls an irev file, that in turn adds to the database.

 Here is the script:
 ?rev
 put
 revOpenDatabase(mysql,localhost,terry_dbname,terry_dbuser,password)
 into tConID

 # Construct SQL
 put INSERT INTO 'terry_dbname'.'tablename' ('login' , 'ww' , 'toegang')
 VALUES ('  $_GET[login]  ', '  $_GET[ww]  ', ' 
 $_GET[toegang]  '); into tSQL

___
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: dgText [true] question?

2009-05-04 Thread Jim Lambert
This script from tutorial 3389-How-Do-I-Populate-a-Data-Grid-With- 
Data- just doesn't work for me.

answer file Select iTunes text file:
put it into theFile
put true into firstLineContainsHeaders
	set the dgText [firstLineContainsHeaders] of group DataGrid 1 to  
URL (file:  it)


The grid remains empty, no column headers, nada.

set the dgText [FALSE] of group DataGrid 1 to URL (file:  it)

puts the file into the grid but with the header line in row 1 and the  
columns labelled Col 1, etc.


This does work:

   answer file Pick a file:
   if it =  then exit mouseup
   set cursor to busy
   put it into cFile
   put the hilite of btn Header? into hasHeader-- I use a  
checkbox to indicate there's a header.

   put  url (file:  it) into tempData
-- now parse the header line and prepare it for dgProp
   put line 1 of tempData into cols
   replace tab with cr in cols

-- kill the header row
   delete line 1 of tempdata

-- set the column names manually
   set the dgProp[columns] of grp datagrid 1 to cols

-- now set the grid text with as if there is no header.
   set the dgText [FALSE] of grp datagrid 1 to tempdata

I thought the whole idea of 'pFirstLineContainsHeaders' was to handle  
the header row automatically.

What am I missing?

Thanks,
Jim Lambert
___
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: Dumb Newbie Questions -- 4 of N

2009-05-04 Thread Judy Perry

Say what?!?

(I've not had my caffeine yet!)

Judy

On Mon, 4 May 2009, Richmond Mathewson wrote:

There were even a few postings (Judy ???) a while back about 'the dark lord', 
a.k.a.

the lord of light.

___
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: Dumb Newbie Questions -- 4 of N

2009-05-04 Thread Scott Rossi
Recently, Judy Perry wrote:

 Say what?!?

Judy, consider this just another stop on the magical mystery tour, as
Colin H so amusingly posted recently.

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: shell access in on-rev - please do not complain anymore

2009-05-04 Thread Bill Marriott
This was one of the first policies to be changed... you can get SSH (shell) 
access on request, no problem, with on-Rev. p.s.: The Founder's offer is 
still available until 11:59 GMT Tuesday I think.


runrev260...@m-r-d.de wrote in message 
news:00036331.49ff0...@the-office.us...
 Hi,

 i do not know, what web hosting does mean in the other countries.
 But if i buy a web hosting package here in germany, then it is normal, 
 that i do not get full shell access.
 If i want full control of the server including shell access i have to 
 purchase a server or a virtual server package.
 On-rev offers lot more than normal web hosting. So i cannot understand why 
 so many people are complaining about the
 missing shell access. Btw. before purchasing on-rev everyone can see the 
 feature chart of on-rev. There is nothing to
 read about shell access.

 Okay, if there would be the possibility to use some command line tools 
 like magick this would be fine.
 But i, for one, want a system, which is not vulnerable because everyone 
 gets (full) shell access.

 Sorry, but i am just in a bad temper at the moment and i am sick of 
 reading messages complaining about a missing feature
 which was even not promised by Runrev.

 I do not know how much you pay for other web hosting packages, but with 
 the on-rev founder offer i can spent about 130,- Euros a month.




___
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


Video for Windows - saving settings

2009-05-04 Thread Richard Miller
Is there a way to save (and later access) the compression and video 
format settings using the Video for Windows option when capturing video 
through Rev? I've only ever used Quicktime, which I know can save these 
using the revVideoGrabSettings. But that option doesn't work for VFW. 
Anyone figure out a workaround for this?


Thanks.
Richard Miller
___
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: Dumb Newbie Questions -- 4 of N

2009-05-04 Thread Richmond Mathewson

Umm:  http://mail.runrev.com/pipermail/use-revolution/2009-March/121144.html

Because Scott Raney had absolutely no use for it and lied that sound
channels and/or HC-like musical scripting couldn't be supported under
Windows IIRC.
And I'm still plenty steamed about that.

sounds like a touch of 'the dark lord' there.  :)

Judy Perry wrote:

Say what?!?

(I've not had my caffeine yet!)

Judy

On Mon, 4 May 2009, Richmond Mathewson wrote:

There were even a few postings (Judy ???) a while back about 'the 
dark lord', a.k.a.

the lord of light.

___
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: data grid, custom sorting

2009-05-04 Thread Shao Sean

 You could then format the data for display in the FillInData message.

I am, and when I tell it to sort on that column it sorts it based on  
the displayed values and not the values in the dgData variable.. I  
will try out the new build you mention in another post and see how  
that works..


thank you for the updates and the sample code (in other messages).. i  
look forward to giving it a try and hopefully stream-lining my code  
down to the two lines ^_^

___
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] Web hosting?

2009-05-04 Thread Shao Sean
For completely free (as in beer) web hosting, check out my fellow  
Canuks at www.t35.com  There are limits to the file sizes you can  
upload but other than that..


Unlimited Web Space
Unlimited Bandwidth
http://you.t35.com
PHP w/ restrictions
FREE: $0.00/mo or $0.00/yr
___
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


Data grid, cut and paste

2009-05-04 Thread Sadhu Nadesan

Trevor,

Cut and paste is not working in my data grids, with standard windows 
shortcuts, like, Ctrl-X, Ctrl-C, Ctrl-V.  (nothing happens).  But when I 
create a simple test stack with the only object a simple data grid, 
these keyboard short cuts work fine.  I haven't removed any of the code 
in the column behavior scripts - any idea why this is happening?  None 
of my menu shortcuts uses X, C, or V.  Or any idea what to do about it, 
such as, should I try to code this functionality as choices on an edit menu?


I want to be able to copy from one cell to another, with Ctrl-C to copy 
in cell A, and Ctrl-V to paste in cell B.


Thanks for any advice!
Sadhu


___
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: Joining 2 images

2009-05-04 Thread Sarah Reichelt
On Mon, May 4, 2009 at 1:10 PM, Mark Smith li...@futilism.com wrote:
 I've nearly got it working without image magick.

 This works perfectly in the rev ide:

 function joinImages imgFile1, imgFile2

        set the textdata of the templateimage to url (binfile:  imgFile1)
        put the width of the templateimage into w1
        put the height of the templateimage into h1
        put the imagedata of the templateimage into tid1

        set the textdata of the templateimage to url (binfile:  imgFile2)
        put the width of the templateimage into w2
        put the height of the templateimage into h2
        put the imagedata of the templateimage into tid2

        put max(h1, h2) into h3

        put 0 into bytesDone1
        put 0 into bytesDone2

        repeat with n = 1 to h3
                if n = h1 then
                        put byte (bytesDone1 + 1) to (bytesDone1 + (w1 * 4))
 of tid1 after tid3
                else
                        repeat w1 * 4
                                put null after tid3
                        end repeat
                end if
                add w1 * 4 to bytesDone1

                if n = h2 then
                        put byte (bytesDone2 + 1) to (bytesDone2 + (w2 * 4))
 of tid2 after tid3
                else
                        repeat w2 * 4
                                put null after tid3
                        end repeat
                end if
                add w2 * 4 to bytesDone2
        end repeat

        set the width of the templateimage to w1 + w2
        set the height of the templateimage to h3
        set the imageData of the templateimage to tid3

        put composite.jpg into tFile
        export the templateimage to file tFile as JPEG
        return tFile
 end joinimages

 but all it produces on irev is a shocking pink rectangle :
  http://marksmith.on-rev.com/imagejoin.irev

 Perhaps there's a bug to do with imageData in the irev engine.


I got this working in the Rev IDE but only after changing the first 2
sections to use formattedWidth  formattedHeight.

In on-rev, this didn't work. It would get the width  height of the
first image, but the second image would be reported as 0 x 0. So I
changed back to your original and the width  height of the 2 starting
images were reported correctly, but the composite image had the right
height but a much larger width. See
http://troz.on-rev.com/mergePics.irev.

However I have solved the actual problem of having gaps between
images, using the margins style. You can see what I was doing here:
http://troz.on-rev.com/numbers.irev.

Cheers,
Sarah

P.S. I posted a question on the on-rev forum about ImageMagick so I'll
let you all know if/when I get a reply.
___
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: Dumb Newbie Questions -- 4 of N

2009-05-04 Thread Judy Perry

Magical Mystery Tour indeed...

On Tue, 5 May 2009, Richmond Mathewson wrote:


Umm:  http://mail.runrev.com/pipermail/use-revolution/2009-March/121144.html

Because Scott Raney had absolutely no use for it and lied that sound
channels and/or HC-like musical scripting couldn't be supported under
Windows IIRC.
And I'm still plenty steamed about that.

sounds like a touch of 'the dark lord' there.  :)

___
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: property inspector poll

2009-05-04 Thread Josh Mellicker

Thanks Martin!

Interesting, but still primitive compared to the old Galaxy- which  
intelligently showed certain controls for certain properties (for  
example, a prepopulated popup menu for styles of a button, rather than  
just type in the new value).


Either:

1. everyone is happy clicking around on the stock property inspector

or

2. people have created their own property inspectors but want to keep  
them secret!


;-)


Well, I should ask this, is anyone interested in a property inspector  
that gives you instant access to any parameter? And allows you to  
easily copy properties from one object to another?


I would be happy to work on one, but would need help making it a  
plugin...


thanks


On May 1, 2009, at 11:09 PM, Martin Blackman wrote:


Check out the plug-in included with Rev called SmartProperties.
I've noticed it is generating a script error probably due to some
change in Rev but it should be pretty easy to fix I would think

2009/5/2 Josh Mellicker j...@dvcreators.net:
Thanks Craig, does it work with all objects, or just fields and  
buttons?


Are you all working with the stock property inspector where you  
have to

access a menu to get to all the different property groups??!? Hard to
believe!


On May 1, 2009, at 6:46 AM, dunb...@aol.com wrote:

My gadget is a rewrite of my HC development tool, though much  
smaller,

since rev does many things it did, either better or natively. It is
useful, for
me at least, especially in the early authoring stage. In HC it was
implemented as an external window (Dan Gelder's MegaWindow). In  
rev it

is, of
course, a stack. Maybe I will upload it to revOnLine, with  
instructions.

It seems
stable, and does do some very handy tasks.

Craig Newman

In a message dated 4/30/09 8:49:43 PM, j...@dvcreators.net writes:



Hi Craig,

Where would I find more info on your gadget?

Thanks






**
Access 350+ FREE radio stations anytime from anywhere on the
web. Get the Radio Toolbar!
(http://toolbar.aol.com/aolradio/download.html?ncid=emlcntusdown0003 
)

___
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


___
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


datagrid Column grand total

2009-05-04 Thread Josep

Hi,

It's posible calculate the total for a column using the column templates?
Any tip of how do it? I need to calculate a grand total for all the items
inside the datagrid... 
Where is better perform the operation?

I'm blocked with it...


Thanks in advance,
Josep M


-- 
View this message in context: 
http://www.nabble.com/datagrid-Column-grand-total-tp23378836p23378836.html
Sent from the Revolution - User mailing list archive at Nabble.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


Embeded images don't showed in standalone

2009-05-04 Thread Josep

Hi,

I have some stacks that have embeded images, all run fine, but when I build
the standalone all the images are showed as grey. 
All the images are embede using Import control as new image.

Any idea?

Salut,
Josep M
-- 
View this message in context: 
http://www.nabble.com/Embeded-images-don%27t-showed-in-standalone-tp23378864p23378864.html
Sent from the Revolution - User mailing list archive at Nabble.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: property inspector poll

2009-05-04 Thread Sivakatirswami

Josh Mellicker wrote:

Thanks Martin!

Interesting, but still primitive compared to the old Galaxy- which 
intelligently showed certain controls for certain properties (for 
example, a prepopulated popup menu for styles of a button, rather than 
just type in the new value).


Either:

1. everyone is happy clicking around on the stock property inspector

or

2. people have created their own property inspectors but want to keep 
them secret!


;-)


Well, I should ask this, is anyone interested in a property inspector 
that gives you instant access to any parameter? And allows you to 
easily copy properties from one object to another?


I would be happy to work on one, but would need help making it a 
plugin...


thanks



Please...Yes... I've see many iterations of such a tool thru the years. 
Why not get all the wizards  to post the inspectors on RevOnLine?




___
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