If import a big image and reduce its dimensions to a thumbnail, how do I
reduce the data size of the thumbnail?
If this has already been written up somewhere, could someone point it out to
me? The imageData dox entry describes what it is but not really how to use
it.
(Hugh has shinpads
The documentation states on resizeControl that,
'The resizeControl message is sent after the resizing is finished.
This means that you cannot prevent a control's size from being changed
by trapping this message.'
which leaves me under impression, that there must be a way to block
The simplest way to do this is with imageData. Something like the
following should do the trick (untested):
on mouseUp
put 100,100,180,180 into theRect --or whatever
set the rectangle of image 1 to theRect --original image
set the rectangle of image 2 to theRect --thumbnail image
set
You could set the lockLoc to true, but then the handles change colour.
I don't know any other way though.
Björnke
On 18 Feb 2008, at 13:03, Sakari Ruoho wrote:
The documentation states on resizeControl that,
'The resizeControl message is sent after the resizing is finished.
This means
Thanks Björnke, but I want to be able to move the control(just block
the resize), forgot to mention that in the first post.
Sakari Ruoho
On Feb 18, 2008, at 2:11 PM, Björnke von Gierke wrote:
You could set the lockLoc to true, but then the handles change
colour. I don't know any other way
Hello!
First of all, my Revolution has turned to blue mushy thing and I don't
know why this has happened. Then I get behavior where the colors are
changing in an unexpected ways while setting backgroundPattern for an
object.
Here's a snapshot of my pattern in image library:
in sqlite ' should be escaped with '' (e.g. ' and ') that's it...
Viktoras
Horst wrote:
Holá Mark,
ik wil u danken.
I know, the easiest way would be to encode the data with base64encode. But
there must also be a way to save a text f.e. like 1234'5'6öä'ioup# in a
varchar or text type. With
Hi Sakari Ruoho,
If you set the lockLoc to true, you can still move the control around
by script, depending on what you want to achieve, you might use e.g.
on mouseDown
repeat while the mouse is down with messages
set the loc of me to the mouseLoc
wait 0 millisecs with messages
Hiya Mark,
I should learn to state my problem better.. sorry for that.
The basic idea is that I want the user to be able to use the pointer
tool where some objects can be resized and some can't. The objects
which cannot be resizen are groups with objects in them. I call them
components.
Hi Sakari Ruoho,
I believe you have to emulate your own pointer tool. Create tiny
buttons and place them at the corners of the object you want to
change. Allow the user to drag these buttons and change the size of
the object while the buttons are dragged.
Why do you want to do this?
Well my problem is, that I want to create these so called
'components', which are groups with objects in it. Let's say one
component could be a group with a button on top and an image. The
button sets the filename for the image. Now If I would let the user
resize the group, the button nor
Following Sarah and Ken advices, I run this script from Revolution 2.6 .1
application, and it works fine.
put XXX into tPassword
put YYY into COMMAND1
put pw=tPassword cr into tScript
put echo $pw | sudo -S COMMAND1 cr after tScript
get shell(tScript)
I tryed the same script, in the
Sakari Ruoho wrote:
Hello!
First of all, my Revolution has turned to blue mushy thing and I don't
know why this has happened. Then I get behavior where the colors are
changing in an unexpected ways while setting backgroundPattern for an
object.
This looks a little like what happens if you
I use
set the imagedata of image myImportedJpg to image myImportedJpg
this sets the image size to the current rect and discards the previous large
data.
Hope this helps
Jim Ault
Las Vegas
On 2/18/08 2:55 AM, [EMAIL PROTECTED] [EMAIL PROTECTED]
wrote:
If import a big image and reduce its
I dunno... I will submit this to the Omniscient Revolution Users List
Some wizard will know...
---
Namaste, Swami
This is either a bug report, or, the split comand has changed? Do you
still have a copy of the old mc ?
Running the identical program on my old mc interpreter at work,
Peter Alcibiades wrote:
Sivakatirswami, thanks for a most interesting and thought provoking post and
approach that would never have occurred to me. Perhaps the disadvantage of
it might be that exporting the data in a way that can be used by another
application might require extra work, if you
On 2/15/08 5:55 PM, Sadhunathan Nadesan [EMAIL PROTECTED] wrote:
FYI
PostgreSQL is free.
Sadhu
Thanks, I'm using it a while and its good as well
From: Hershel Fisch [EMAIL PROTECTED]
Subject: Re: Cgi and Database (stick to standards)
To: How to use Revolution
On 2/15/08 3:41 AM, Ruslan Zasukhin [EMAIL PROTECTED] wrote:
That¹s what they say on there site, but I could understand only on small
files or records, my mistake. Then I might go with PostgreSQL which is a bit
slower then MySql on smaller db's but doesn't slow down as much as database
grows like
Katirswami,
If you don't get any answers, I'd suggest creating a 'stack version' of the
problem, then post it and others can take a look. Most of us don't have a
Rev server available to test scripts on.
-Chipp
On Feb 18, 2008 12:43 PM, Sivakatirswami [EMAIL PROTECTED] wrote:
I dunno... I will
Hello Jacqueline
Millions
Sakari Ruoho
Software Designer
Academica Information Ltd
[EMAIL PROTECTED]
On Feb 18, 2008, at 7:02 PM, J. Landman Gay wrote:
Sakari Ruoho wrote:
Hello!
First of all, my Revolution has turned to blue mushy thing and I
don't know why this has happened. Then I get
Hello all,
I am confused about when to use the statement ³lock messages² in setProp
handlers. I found the explanation in the User Guide very unclear.
Page 183, the statement lock messages is used in the example lastChanged
to prevent recursion. On the same page, the exemple percentUsed does not
Hello All,
I am trying to write a piece of code to search for a control (based on the
ID) within a group.
I am looking for something like
Foreach field f in group ³mygroup²
-- do something on f
End
How can I do sth like this? Maybe there is a faster way to find a specific
control within a
Hi Jacque,
I'm looking at playing around some with RevCGI and saw where you suggested
JagPC a couple of years ago. Do you still recommend them?
Anyone else have any good recommendations and instruction setup tips? TIA,
Chipp
___
use-revolution mailing
Chipp,
I am also on JaguarPC, I have a host of Revolution Apps running there.
I can help you setup your environment in case you need.
It's pretty straight forward, the 2.9-dp-3 is running out of the box in there.
cheers
Andre
On 2/18/08, Chipp Walters [EMAIL PROTECTED] wrote:
Hi Jacque,
I'm
Andre,
So what do I do? Just go to their website, buy an account...then what? Sorry
to act so stupid.
-C
On Feb 18, 2008 4:44 PM, Andre Garzia [EMAIL PROTECTED] wrote:
Chipp,
I am also on JaguarPC, I have a host of Revolution Apps running there.
I can help you setup your environment in
Hoi François,
The easiest way probably is
repeat with x = 1 to number of controls of grp blabla
-- do something with control x of grp blabla
end repeat
It might be faster to make a list of id numbers of controls that
satisfy particular conditions as you make those controls. You can
keep
Chipp,
they have many hosting plans with different abilities, I've migrated
three times, going to higher level plans everytime since they offer
some nice discounts for upgrading.
The first thing is to decide if you simply want a hosting account or a
full blown virtual private server. Both are
Chipp Walters wrote:
Katirswami,
If you don't get any answers, I'd suggest creating a 'stack version' of the
problem, then post it and others can take a look. Most of us don't have a
Rev server available to test scripts on.
-Chipp
right... good idea --- also we get to see if we can
Chipp Walters wrote:
Hi Jacque,
I'm looking at playing around some with RevCGI and saw where you
suggested
JagPC a couple of years ago. Do you still recommend them?
I still use them and I still recommend them. Andre has answered most of
your questions, but I'll just add that I am on their
Sakari Ruoho wrote:
Hello Jacqueline
Millions
I'm not sure what the problem is then, but it does look like a monitor
issue. If you changed color depth while Rev was running, restarting Rev
should help. If that isn't it, then I'm not sure. The appearance is the
same as what I saw one time
On 2/18/08 5:41 PM, Chipp Walters [EMAIL PROTECTED] wrote:
Hi this is what i use (unfortunately I'm stuck without being able to use db
do to lack of knowledge)
http://www.3ix.org/index.php
Check it out
http://www.syp2u4c.com/indecs.html
Just hit the log in icon
Works well and its cheap
hershel
Hi, I don¹t know exactly how to describe it, but the 2.9 db4 the tool bar
gives some problems on the 10.3.9 osx
Hershel
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
go stack url
http://www.himalayanacademy.com/runrev/stacks/TestSplitData.rev;
turns out it is skipping every other line in the input data.
Sivakatirswami wrote:
Chipp Walters wrote:
Katirswami,
If you don't get any answers, I'd suggest creating a 'stack version'
of the
problem, then post
The Rev archives had a thread on this topic
a while back, and Dreamhost.com was another
host that got favorable reviews.
In my own case, this word-of-mouth, their rates,
and the existence of archived messages specific to
setting up CGI + Dreamhost were what
convinced me. And, yes, it wasn't that
Going even further out on a limb than I usually do ...
Finally got a rev.cgi script that can connect and
query a MySQL database (both on a web-server):
#!revolution
on startup
-- This is an edited example.
put revOpenDatabase(...) into connectionID
put SELECT * FROM `tableNihongo` into sql
put
from the docs on repeat foreach:
Important! You cannot change the labelVariable in a statement inside the
loop. Doing so will cause a script error. You can change the content of the
container, but doing so will probably produce unexpected results.
--
cb
On Feb 18, 2008 7:40 PM,
Well, I've decided to try out JaguarPC and the least expensive option. So,
exactly which version of the Rev engine do I install? I suppose it's a Linux
one, and I suppose I put it in the cgi-bin folder. The latest one available
from the RunRev site is 2-6.1, so do I just put the revolution.x86
And some other questions...do I rename revolution.x86 to
revolution.cgi? And if I try Jacque's helloworld script:
#!revolution
on startup
put Content-Type: text/plain cr cr
put Hello World!
end startup
and I name it hello.cgi how does it know to run with the
revolution.cgi? So may
On Feb 19, 2008 10:22 AM, Judy Perry [EMAIL PROTECTED] wrote:
Just bought myself a new (used) open hole, sterling head
flute ('cuz I always wanted one)
Sorry, but the mention of jazz and flute in the same thread immediately
brings to mind the scene from Anchorman with Will Ferrell.
I uploaded the engine and, for mysql work, the file dbmysql.so
both to my cgi-bin folder, and set their permissions (CHMOD)
to 755. Any scripts I make are also in that same cgi-bin folder
and also set to 755, plus I make sure the name and case of
the rev engine matches the name and case in the
Thanks Nicolas,
Yep, I see where the engine needs to be named revolution (no
extension) and that the first line in the cgi script will call it. I'm
using the Linux version of revolution on the server but I can't seem
to get it to work. I wonder if there's some other setup which must be
done.
You (all) should!
I played flute piccolo (and recorder... and piano for about a year
and a half) from 5th grade through high school and am just now picking
it up again. Just bought myself a new (used) open hole, sterling head
flute ('cuz I always wanted one) and had my picc serviced and am
I'm using the Linux version of revolution on the server but I can't seem
to get it to work. I wonder if there's some other setup which must be
done.
Beside setting permissions, one other thing to beware of is the format
you used for uploading the engine to cgi-bin. Maybe someone else can
Chipp Walters wrote:
And some other questions...do I rename revolution.x86 to
revolution.cgi?
You can rename it to anything -- or not rename it at all -- but I'd
avoid any extensions. The main thing is that the top line of your script
exactly matches the name of the engine in the cgi folder.
Nicolas Cueto wrote:
A couple of other newbie things to watch out for and
which I still overlook: be sure to set the permissions (chmod)
of revolution and your scripts to 755; and, type your scripts
in a no-frills text editor, or else you'll have invisible end-of-line
characters mysteriously
Thanks Jacque and Nicolas and Andre,
Finally got it working. Turns out, even though the permissions showed
777, they were not. I had to set them a different way than
right-clicking on them. After that, it worked fine.
Thanks a bunch for all your helpnow off to create some CGI's :-)
Couple
And some other questions...do I rename revolution.x86 to
revolution.cgi?
Not revolution.cgi. Just, revolution. Because that's
what the first line of your helloworld script calls it.
how does it know to run with the
revolution.cgi?
The way I understand this mystery is that the first line
of
Chipp Walters wrote:
Well, I've decided to try out JaguarPC and the least expensive option. So,
exactly which version of the Rev engine do I install? I suppose it's a Linux
one, and I suppose I put it in the cgi-bin folder. The latest one available
from the RunRev site is 2-6.1, so do I just put
Chipp,
Andre recommended them to us and we have switched. I like them a
bunch. We host all of our GLX2 update files on there and run our Rev
CGI's there as well.
Best,
Jerry Daniels
Daniels Mara, Inc.
Makers of GLX2
http://www.daniels-mara.com/glx2
On Feb 18, 2008, at 6:56 PM, J.
Hi Chipp
Just had success using the 2.9.0-dp4 linux engine on my current webhost
(www.asmallorange.com), who I have been using for a few years now.
Previously only the 2.6 engine would work.
The main file didn't work so I had to use the Standalone file from the
Runtime/Linux/x86-32 folder.
Spent some time chatting with Andre Garzia this evening and he showed me this:
http://himalayanacademy.com/resources/lexicon/
Andre and Sivakatirswami wrote it.
When you click on a letter, a 3000+ card stack is launched as a cgi,
it is sorted and returns the lexicon list for that letter and
On 19/2/08 12:01 AM, Hershel Fisch [EMAIL PROTECTED] wrote:
Hi Hershel,
On 2/15/08 3:41 AM, Ruslan Zasukhin [EMAIL PROTECTED] wrote:
That¹s what they say on there site, but I could understand only on small
files or records, my mistake.
Then I might go with PostgreSQL which is a bit
slower
52 matches
Mail list logo