Ken Ray wrote:
The problem is that there is a discontiguous selection at all. The
original recipe was with multipleHilites set to true, but
nonContiguousHilites left in its original state (which is false), which
should mean that you can only make a *contiguous* selection.
Thanks for
Hi Liam,
I can not find any specific tutorial for SQLite.
In the video tutorial section of revolution site if found Thumbnail
Kiosk - Simple MySQL Front End. which is about MySQL.
Is there anything else?
Thanks
Paolo
How to use Revolution use-revolution@lists.runrev.com writes:
There is a
Hello,
on various sites - and again in this best practice thread - it is
recommended not to use globals, or at least so less as possible, because
they can be changed from everywhere and that's hard to debug and no nice
style. I really don't see any difference between using globals or properties
Just FYI, gm-2 is not on general release yet. Its still in testing.
Once it is ready for release, the links on the main download pages
will be changed, and your check for updates menu in Rev will be able
to see it.
Regards,
Heather
On 21 Jun 2007, at 22:55, Shao Sean wrote:
All you need
There has been a very nice altSQLite3 Demo stack from altuit, which was
created for altSQLite, before they took it into 2.8.1 and had a very nice
step by step demo. I just don't know where to find it, perhaps you'll find
it somewhere. The only difference is it was called altSQLite3 and now SQLite
Hiya,
Revolution Studio/2.8.1-gm-2/Resources/Examples/SQLite Sampler.rev
Substitute '2.8.1-gm-2' for your Rev version.
Cheers,
Luis.
On 22 Jun 2007, at 09:16, paolo mazza wrote:
Hi Liam,
I can not find any specific tutorial for SQLite.
In the video tutorial section of revolution site if
Hi Paolo,
I think Liam meant for you to look in your revolution application folder
on your hard drive. You should find a folder called examples in the
folder called resources. In the examples folder is a stack called
SQLite Sampler.rev
Martin Baxter
paolo mazza wrote:
Hi Liam,
I can not
Eh? I got it via the Rev Updates Menu a few days ago.
Cheers,
Luis.
On 22 Jun 2007, at 09:51, Heather Nagey wrote:
Just FYI, gm-2 is not on general release yet. Its still in testing.
Once it is ready for release, the links on the main download pages
will be changed, and your check for
- Original Message -
From: paolo mazza [EMAIL PROTECTED]
I can not find any specific tutorial for SQLite.
There's one in RevOnline that I did a few years ago. It assumes some basic
knowledge so I'm not sure if it will help you or not...
Scott Kane
Hello List:
I have a frontscript with a resizeControl handler that does stuff when a
control is resized with the mouse. Can I trigger this handler when changing
the dimensions of a control via script, for example:
set the width of btn 1 to 200
When I run this from the message box, the
From: Tiemo Hollmann TB [EMAIL PROTECTED]
on various sites - and again in this best practice thread - it is
recommended not to use globals, or at least so less as possible, because
they can be changed from everywhere and that's hard to debug and no nice
style. I really don't see any difference
Hi Scott,
Assuming that this is done with the pointer tool:
just set the cRevLoadInfo[revResizeControl] of your stack to true.
I's a trick normally reserved for plugins but it works with any stack.
Then the engine will send a revResizeControl to you.
Just change the name of your resizeControl
Thank you all. It is very helpfull.
Revolution Studio/2.8.1-gm-2/Resources/Examples/SQLite Sampler.rev
**
Paolo Mazza
NEOL SRL
Società partecipata da Università di Padova
via N. Tommaseo 84
35131 - Padova (Italy)
Tel 049- 2050147 - Fax 049-7964386
Hello Scott,
Ok, what I can follow is the better reference and with that the better
documentation to whom an information belongs with properties instead of
globals, as far there is a connection between them (not to store the number
of legs of the cat independ of the cat in a global). So I see an
- Original Message -
From: Tiemo Hollmann TB [EMAIL PROTECTED]
Ok, what I can follow is the better reference and with that the better
documentation to whom an information belongs with properties instead of
globals, as far there is a connection between them (not to store the
number of
on various sites - and again in this best practice thread - it is
recommended not to use globals, or at least so less as possible, because
they can be changed from everywhere and that's hard to debug and no nice
style. I really don't see any difference between using globals or properties
yet.
Hi Sarah,
yes, whereever it is possible I try it with parametrized function calls, but
I meant overall needed status informations, where there is no need for
persistency. I think there it is more a matter of style not to use
globals. Perhaps I'll switch in these cases to custom properties of
On 22 Jun 2007, at 09:50, Tiemo Hollmann TB wrote:
I really don't see any difference between using globals or properties
yet.
Scott pointed out some of the problems of using globals. One
particular problem in Rev is that we can easily share stacks with
each other. If you use someone
Hi Dave, this really is a hard fact assuming I will never have same object
names as others, what is less risky, living in germany :) Thanks for
reminding
Tiemo
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Dave Cragg
Gesendet: Freitag, 22. Juni
Very nice. Have only played with the demo, not used it in anger, but it looks
great: does one small thing, and does it perfectly. Well, maybe not
perfectly, but very well.
Peter
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please
On 22 Jun 2007, at 12:49, Dave wrote:
Hi,
I really can't get this to work, I've tried it under 3 different
versions of RunRev and they all crash the IDE when setting the
alwaysBuffer flag to true. This is a repeatable, crashing bug
with the stacks and system I have here, I can't
On 22 Jun 2007, at 13:07, Phil Jimmieson wrote:
If its important to you that it get fixed, or you get a
workaround, then you may need to invest in some proper support.
The thing is, if I invested in some proper support (as apposed to
im-proper support!) I'd have paid god knows how much by
Hi Dave,
Le 22 juin 07 à 14:39, Dave a écrit :
Af far as I can tell I'm doing everything that should be done and
the IDE crashes out.
How many among us have ended by finding their own mistakes?
;-)
Actually, if you don't find anything related to your problem in BZ,
it might signify that
Following a thread (some time ago) about getting the size of a file,
I've finally got around to doing a little test.
One of the contentions was that it seemed inefficient to have to
navigate to the folder containing the file, then get 'the detailed
files', and parse the result just to find
Hi Len,
There's the classical and there the global way to debug... Im sure some
people in the best practices thread might not like what i say but it is
a suggestion and nothing prevents you from using a custom prop either to
do the same thing. I love globals.
But what i can propose as a
In trying to debug a rather complex application, I'm wondering if there
is some sort of stack trace fuction (like there is in Tcl/Tk) so that
when a message is sent, I can see the calling sequence that got me there?
What's happening is that I have a message that clears a group when the
group
Hi Len,
Le 22 juin 07 à 15:25, Len Morgan a écrit :
In trying to debug a rather complex application, I'm wondering if
there is some sort of stack trace fuction (like there is in Tcl/
Tk) so that when a message is sent, I can see the calling sequence
that got me there?
Probably you can
On 22 Jun 2007, at 13:54, Eric Chatonet wrote:
Hi Dave,
Le 22 juin 07 à 14:39, Dave a écrit :
Af far as I can tell I'm doing everything that should be done and
the IDE crashes out.
How many among us have ended by finding their own mistakes?
;-)
Actually, if you don't find anything
I would say looking into the source code without having explicit details
what to look for wouldn't give more insight as looking into your source
code. You only can track it down step by step, excluding one question, what
has any relation to the player, after the other.
Just my two cents
Tiemo
On 22 Jun 2007, at 15:06, Tiemo Hollmann TB wrote:
I would say looking into the source code without having explicit
details
Well you are wrong then! That's how bugs gets fixed. I have had a
similar problems in the past where someone has looked at the source
code and been able to find a
Hi Dave,
Deep breathing...it helps;-)
Tiemo was saying that your case is pretty clearly an issue of the unintended
consequences of different parts of code interacting. Asking for someone to
look at the code most likely won't reveal the bug because they have no
context for the other
I use girlfriends names, but after the first one I need to use
numbers...
Cheers,
Luis.
On 22 Jun 2007, at 15:44, Shari wrote:
Differentiating local and global variables:
One way I differentiate is that all of my local variables are
related to *it*. I always name a local variable some
Differentiating local and global variables:
One way I differentiate is that all of my local variables are related
to *it*. I always name a local variable some variation of it, for
example:
tit, wit, skit, pit, grit, twit, spit...
If I get confused and can't remember in a long handler if
Bug 5165 Unexpected Quits update:
The unexpected quit problem was definitely related to a graphic, but
I don't think a bad image was the culprit.
I created a whole new graphic in Photoshop from scratch and saved it
as a PNG instead of GIF as the original had been, but that did not
stop the
It's not that complex at all. One stacks calls another, there about 4
levels of call nested, that's about it.
All works fine until I set alwaysBuffer to true on the Player, then
it crashes!
Here is a stack dump just before I set it true:
field id 1167 of group id 1173 of card id 1002 of
- Original Message -
From: -= JB =- [EMAIL PROTECTED]
Is there a way to show the clipboard from a Revolution script?
Yes. From the Rev doc's.
if the clipboard is text then paste
if the clipboard is empty then answer Nothing to paste!
Scott Kane
Is there a way to show the clipboard from a Revolution script?
thanks,
-=JB=-
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
Eric Chatonet wrote:
Assuming that this is done with the pointer tool:
just set the cRevLoadInfo[revResizeControl] of your stack to true.
I's a trick normally reserved for plugins but it works with any stack.
Then the engine will send a revResizeControl to you.
Just change the name of your
Shari,
What the handler did was copy a graphic from one stack to another, and
perform a lot of manipulations on the newly pasted graphic. It would
resize and rotate the graphic frequently. This handler used to work
without issue. But for some reason now it chokes the engine and makes it
On 22 Jun 2007, at 09:45, -= JB =- wrote:
Thanks for the reply but I don't think you understood
the question. When I am in the finder I can select
the clipboard from the edit menu and show it. I am
really not interested in pasting because I can do it.
And I would rather not paste to see what
Tiemo wrote:
on various sites - and again in this best practice thread - it is
recommended not to use globals, or at least so less as possible, because
they can be changed from everywhere and that's hard to debug and no nice
style. I really don't see any difference between using globals or
No unfortunately. The way I do this is to:
set the view_Rect of someControl to someRect
You can then place these scripts in the front script:
setprop view_Rect someRect
put the long id of the target into targetObject
put the rect of targetObject into someRect
trigger_FrontScriptResize
I've looked for this but can't find it. Is there a simple way to
create a Windows-style 3-D-ish line that separates the menu from the
rest of the window? (I.e., the line under the menubar, not the
separators within individual menus.)
Devin
Devin Asay
Humanities Technology and Research
Recently, Dave wrote:
I really can't get this to work, I've tried it under 3 different
versions of RunRev and they all crash the IDE when setting the
alwaysBuffer flag to true. This is a repeatable, crashing bug with
the stacks and system I have here, I can't reproduce it in a simpler
form
On Jun 22, 2007, at 8:10 AM, Scott Kane wrote:
- Original Message - From: -= JB =- [EMAIL PROTECTED]
Is there a way to show the clipboard from a Revolution script?
Yes. From the Rev doc's.
if the clipboard is text then paste
if the clipboard is empty then answer Nothing to
Hi Richard,
I love your precision sense ;-)
And you are right: I did not answered the question Scott asked.
Nevertheless knowing all these messages that can be automatically
sent to any stack by just setting a custom property appropriately
stays unknown and valuable for stacks running in the
Dave wrote:
On 22 Jun 2007, at 13:07, Phil Jimmieson wrote:
If its important to you that it get fixed, or you get a workaround,
then you may need to invest in some proper support.
The thing is, if I invested in some proper support (as apposed to
im-proper support!) I'd have paid god knows
Speaking of persistence, has anyone been using the Variable
preservation by default feature in Preferences--Script Editor--
that showed up a few version ago?
How would this be used, and does anybody actually turn this on?
the tooltip says
Preserve script-local variables are declared and
Devin Asay wrote:
I've looked for this but can't find it. Is there a simple way to
create a Windows-style 3-D-ish line that separates the menu from the
rest of the window? (I.e., the line under the menubar, not the
separators within individual menus.)
Here's a script from the MC IDE which
On Jun 22, 2007, at 10:16 AM, Ian Wood wrote:
On 22 Jun 2007, at 09:45, -= JB =- wrote:
Thanks for the reply but I don't think you understood
the question. When I am in the finder I can select
the clipboard from the edit menu and show it. I am
really not interested in pasting because I
Stephen Barncard wrote:
Speaking of persistence, has anyone been using the Variable
preservation by default feature in Preferences--Script Editor--
that showed up a few version ago?
How would this be used, and does anybody actually turn this on?
the tooltip says
Preserve script-local
-= JB =- wrote:
So you want to show the clipboard text in a window? In that case
you are going to need a new substack, and put the text into a field
in that substack. Then use something like:
put the clipboardData[text] into fld clip of stack show clip
go stack show clip
...
Okay, thanks.
Stephen Barncard wrote:
Speaking of persistence, has anyone been using the Variable
preservation by default feature in Preferences--Script Editor-- that
showed up a few version ago?
How would this be used, and does anybody actually turn this on?
It was turned on by default when it first
J. Landman Gay wrote:
Just so the list knows, tech support is working with Dave without a
support contract. This is pretty much normal procedure for crashing
bugs. To actually go in and examine his code in detail though, he would
have to purchase a support incident.
For those of us who may
The issue is very likely rotate.
There are some issues with the rotate command. You can cause a crash in rev
simply by loading an image and rotating it repeatedly.
It hasn't been an easy problem to resolve, but it is slated for 2.9...
Thanks for sending in the crash logs and reporting the bug.
OSX Universal standalone on 10.2.8 update:
The weird issue where it didn't decompress a file stored in a
property and copy it to the hard drive seems to have disappeared.
I recompiled a new verson today and tried it on the 10.2.8 and it
worked perfectly.
I did have trouble logging into the
Has anyone been using rev 2.6.1 stanalons on mac osX 10.2 and
earlier? We are having a devil of a time getting a 10.2 test machine.
we are buying a 10.2 set of discs and setting up an old imac, but i
thought i would make double sure that folks were not having any 10.2
or earlier troubles
Jeff Reynolds wrote:
Has anyone been using rev 2.6.1 stanalons on mac osX 10.2 and
earlier? We are having a devil of a time getting a 10.2 test machine.
we are buying a 10.2 set of discs and setting up an old imac, but i
thought i would make double sure that folks were not having any 10.2
Richard Gaskin wrote:
For those of us who may need a support contract from time to time, it
might be helpful is you or someone from RunRev could describe what's
covered by such a contract and what isn't.
It's on the web site in pretty good detail:
Ah... then that would explain why I had to restart some things after
editing some libraries when I hadn't before...
thanks
In that context persistence only applies to the current session;
unlike custom props, which are physically stored in the object
record, the values of script-local
Devin Asay wrote:
I've looked for this but can't find it. Is there a simple way to create
a Windows-style 3-D-ish line that separates the menu from the rest of
the window? (I.e., the line under the menubar, not the separators within
individual menus.)
I usually just set the showborder and
Doesn't the v2.8.1GM2 build address OS X 10.2?
I can verify that I've built a 10.2.x compatible standalone with
2.8.1-gm-2 (build 471)
Didn't the Rev team just tell us that this release is not official,
though? In spite of so many of us having it :-)
My question is:
Where some places
Hi,
i have to read a textfile, which is comma separated and contains as text
identifier. The item delimiter is ,
My problem is, i do not know, how can i read the file and detect each item of a
line, as the items are sepearated by comma and the textfield/items could
contain comma, too. How can
In cases like this I usually open the csv with my OpenOffice and save it
with record delimiter set to tab and no text delimiter (e.g. ordinary tab
delimited file). Then I go to my Revolution studio :-). Otherwise it is a
real headache to process the correct csv files as some clever programs
also
Jeffrey,
One of my stand-alones makes use of drawers (drawers aren't usable in
rev versions after 2.6.1 when run under OSX prior to 10.4) so still I
build with rev 2.6.1 and test on OSX 10.2.8 and 10.3.9 machines
regularly.
Scott Morrow
Elementary Software
On Jun 22, 2007, at 12:13 PM,
Tiemo-
BTW does anybody know if there is a performance difference if you declare
local variables or not? (beside the style question)
Questions of style aside, there shouldn't be any performance hit at
runtime - it all compiles down to the same code. At compile time there might
be a miniscule
Jeff-
I can verify that 2.6.1 and OSX 10.2.8 cooperate fully. It's been a little
while since I've used a rev version that old, but I used that combination
before 2.7 got stable and still have it installed as a backup. For the
record, 2.7.4 and 10.2.8 also play well together.
--
Mark Wieder
My problem is, i do not know, how can i read the file and detect each item of
a line, as the items are sepearated by comma and the textfield/items could
contain comma, too. How can i tell Revolution to ignore the comma in the
tesxtarea of an item
Short answer is to ask for a tab delim file
runrev260805 wrote:
i have to read a textfile, which is comma separated and contains
as text identifier. The item delimiter is ,
My problem is, i do not know, how can i read the file and detect
each item of a line, as the items are sepearated by comma and
the textfield/items could contain
Whoops, forgot one line for sure...
Job 2 is to scan for quotes where readingString = true
and convert it to numtochar (4)
false into readingString
put empty into prevCH
repeat for each char CH in textBlock
if (CH is ,) and prevCH is q then
put false into readingString
put
On Fri, 22 Jun 2007 10:41:46 -0700, Richard Gaskin wrote:
Devin Asay wrote:
I've looked for this but can't find it. Is there a simple way to
create a Windows-style 3-D-ish line that separates the menu from
the rest of the window? (I.e., the line under the menubar, not the
separators
On Fri, 22 Jun 2007 14:39:58 +0100, Mark Smith wrote:
Currently, I have a library handler:
function getFileInfo pFileName
(snip)
Great minds think alike! There's a similar one on the Rev Standard
Library at RevInterop:
http://groups.yahoo.com/group/revInterop
stdFileInfo
Shari wrote:
Where some places call a build gm-2 and some call it 471, how do you
know which gm = which build number?
Couple of places. On OS X, it's in the version in the Get Info box. Or
you can query Rev's message box with put the buildnumber.
--
Jacqueline Landman Gay |
Where some places call a build gm-2 and some call it 471, how do
you know which gm = which build number?
Couple of places. On OS X, it's in the version in the Get Info box.
Or you can query Rev's message box with put the buildnumber.
I guess my question should have been worded differently...
On Fri, 22 Jun 2007 21:36:21 +, [EMAIL PROTECTED] wrote:
Hi,
i have to read a textfile, which is comma separated and contains as
text identifier. The item delimiter is ,
My problem is, i do not know, how can i read the file and detect each
item of a line, as the items are sepearated
Ahh parsing fun... this is easy...
Rev considers text between quotes as a word
when wholematches is true. Each data within the
data is on a separate line.
set the wholematches to true
put line 1 of fld output2 into tLine
repeat for each word tWord in tLine
put tWord return after tOut
end
On Jun 22, 2007, at 11:12 AM, Richard Gaskin wrote:
That's basically what the Mac Finder does. You can obtain the type
of data on the clipboard with the clipboard() function, then use
the clipboardData global array to obtain its contents for display.
--
Richard Gaskin
Managing Editor,
That won't work; there's commas within the quotes. See my previous post.
Hi,
Not sure what you are asking? Do you want to know how to get rid off
the quote characters?
If so, just do this on the line that is read in:
replace quote with empty in myCSVLine
Then just break off all the fields
Hi,
Not sure what you are asking? Do you want to know how to get rid off
the quote characters?
If so, just do this on the line that is read in:
replace quote with empty in myCSVLine
Then just break off all the fields using , as the delimiter as in:
put item 1 of myCSVLine into
-= JB =- wrote:
How do you set the clipboard to empty.
You did it fine. set the clipboardData to empty.
Don't ask why because
I really have no reason except I am curious if it can be done.
Ours is not to question why. :)
If
I use the script below it will empty the clipboard from
There are also commas between quotes.
This means that embedded quotes and commas are part of the string data and
need to be preserved.
eg. chain, gold, 12, hook clasp,out of stock,0,36.00, 79.99
Jim Ault
Las Vegas
On 6/22/07 10:19 PM, Stephen Barncard [EMAIL PROTECTED]
wrote:
That won't
On 6/21/07 6:15 PM, Sarah Reichelt [EMAIL PROTECTED] wrote:
While either of these approaches will work, the html version is much
faster if you have to color a lot of lines because you can work in a
variable instead of directly in a field.
I have a printout generation routine where every 2nd
On Jun 22, 2007, at 10:46 PM, J. Landman Gay wrote:
When you set the clipboardData to empty, the contents are empty but
it still has a type. The clipboard is text when I try that;
apparently Rev thinks empty is a text type.
--
Jacqueline Landman Gay | [EMAIL PROTECTED]
83 matches
Mail list logo