Throw some votes on it if you like :-)
Also do it for features request/bug ID 1893: revInsertXMLNode and
XSLT routines ID 2809.
Thanks!
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe
Rev 2.6.1
Greetings,
I made a routine for checking a FIELD from start to end for html tags,
then to change their color. Worked great! That is with a small html
file of maybe 4000 characters. But then I ran a html file that was
about 28000 characters, and found my routine was not so good af
John-
> libURLSetFTPMode "passive"
If you're testing things you might want to set both the server and the
client NOT to use passive mode, and make sure there aren't any
firewalls or routers in the way that might block ports 20 and 21.
Also, if you've got the internal firewall running on the XP b
Check to see if passive mode is enabled on the client. This is
typically what goes wrong. Whatever it is set to on the Win client,
change it.
Bob Sneidar
IT Manager
Logos Management
Calvary Chapel CM
On Mar 22, 2006, at 3:54 PM, [EMAIL PROTECTED]
wrote:
Hello All...
I searched the arch
so true.
On OSX I think you can do the system call to System Events via AppleScript,
but this is certainly not a good solution, since users may not be accustomed
to this behavior.
Jim Ault
Las Vegas
On 3/22/06 7:04 PM, "Ken Ray" <[EMAIL PROTECTED]> wrote:
> On 3/22/06 8:40 PM, "Jim Ault" <[EMAI
On 3/22/06 8:40 PM, "Jim Ault" <[EMAIL PROTECTED]> wrote:
> Actually, I use the F10 key... tap it twice and Expose will show/bring to
> the front all the windows in the frontmost app.
>
> Also, tab-switching by ( cmd-tab, cmd-shift-tab ) which will show the tab
> display, then bring you back the
Thanks Andre -- this solves the practical problem (except for Word's inability
to actually paste size 10 text in any font -- ah, Microsoft!) -- it gives the
proper formatting as specified in the formatting field.
I'm still curious about the failure of the htmltext function to include font &
siz
OK I did what you suggest, but it's not working:
put theHdr into fld "formatPrintText"
set the textFont of char 1 to -1 of fld "formatPrintText" to "Bookman Old Style"
set the textSize of char 1 to -1 of fld "formatPrintText" to "10"
set the clipboarddata["html"] to the htmltext of fld "formatPrin
Actually, I use the F10 key... tap it twice and Expose will show/bring to
the front all the windows in the frontmost app.
Also, tab-switching by ( cmd-tab, cmd-shift-tab ) which will show the tab
display, then bring you back the the left-most app.
Jim Ault
Las Vegas
On 3/22/06 2:49 PM, "Ken Ra
Is it a context problem?
It might be worth trying to replace
put "MessageY" into me
with
put "MessageY" into
I've always thought that 'me' always referred to the control whose
script it appears in, but that's an assumption, not necessarily a
fact...
Mark
On 22 Mar 2006, at 19:14, David
On 3/23/06, Sivakatirswami <[EMAIL PROTECTED]> wrote:
> As we know, at least on Mac OSX, for a pulldown menu button, setting
> the autoArm, autohilite and Armed to true and applying a different
> icon to those states does not take effect. Nothing happens.. Worse:
> In fact one of those properties,
> Recent defences on the list of RunRev's capability with libraries has
> made me realise how much I've missed out by not organising my own
> work with libraries in mind. I would now like to make the move. but
> I'm finding it quite hard to decide how to get started. As in the old
> joke, to get th
As we know, at least on Mac OSX, for a pulldown menu button, setting
the autoArm, autohilite and Armed to true and applying a different
icon to those states does not take effect. Nothing happens.. Worse:
In fact one of those properties, if set to true, interferes with the
proper action (men
to my fellow ludites also not familiar with that particular acronym ...
http://en.wikipedia.org/wiki/Model-view-controller
Looks like great fun! I can't wait to buy one.
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit th
I just replaced a crashed hard drive and after reinstalling Revolution, the
shiftKey and the optionKey return "up" even if my shift or option key is
down. The shift and option keys work fine, but Revolution doesn't seem to
know what the state of the keys is. Thanks in advance for any suggestions!
Hi John,
Make sure that both the server and the client (Rev) are set to
use either passive or active FTP. If you enable passive FTP, you
have to set Rev's ftp mode to passive as well:
libURLSetFTPMode "passive"
You may have to set the socketTimeoutInterval to a really big
number.
If you'd
Thanks Chipp
Liam Lambert
[EMAIL PROTECTED]
IRELAND
___
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-
Hello All...
I searched the archives and could not come up with a solution to an FTP problem
I'm having.
I have an OSX Tiger Server configured for FTP. Everything works like it
supposed to with both Fetch (Mac side) and FTP Commander on the WinXP side. No
problem.
However, I've been trying to
Hi Liam,
You need to perform a math action on it first.
So, do:
put it into tShowid
add 0 to tShowID
should do it.
liamlambert wrote:
I have this bit of code the numberFormat
is not giving me two zeros after the decimal point
Why ???
thanks in advance
global gConID
get fld "showid"
put i
On 23 Mar 2006, at 00:25, thulme wrote:
openFile "myfile.txt"
put the result
I get: Message execution error:
Error description: Handler: can't find handler
Hi Thulme,
This means you should have a handler < on openFile >
or you can enter in the msg box:
open file "myfile.txt"
G
I have this bit of code the numberFormat
is not giving me two zeros after the decimal point
Why ???
thanks in advance
global gConID
get fld "showid"
put it into tshowid
set the numberFormat to "#0.00"
put "SELECT sum (child) FROM Booking where showid = '"& tshowid &
"'" into tChild
pu
Figured it out - have to hit enter key twice - then file shows up in my
defalut folder.
Go figure!
Thanks Devin
--
View this message in context:
http://www.nabble.com/Message-Box--t1327177.html#a3543696
Sent from the Revolution - User forum at Nabble.com.
___
>set the defaultFolder to /Users/myusername/Desktop/
>Then try it again. Chances are it will work this time. If this
>doesn't fix it, try switching to the multi-line message box and enter:
>openFile "myfile.txt"
>put the result
>Then hit the enter key. If there is an error 'the result' should
On Mar 22, 2006, at 3:40 PM, thulme wrote:
Hi All,
I'm a newbie reading through Dan Shafer's ebook. My question has to
do with
page 273 of the book which states that typing (open file
"MyToDo.txt") into
the message box will create a file if none exisits. Nothing gets
created
when I do t
Hi All,
I'm a newbie reading through Dan Shafer's ebook. My question has to do with
page 273 of the book which states that typing (open file "MyToDo.txt") into
the message box will create a file if none exisits. Nothing gets created
when I do this. All that happens is the line I entered gets hig
On 3/22/06 4:33 PM, "Graham Samuel" <[EMAIL PROTECTED]> wrote:
> Is it just me, or is it rather difficult to keep a number of
> different windows (stacks) together on Windows XP without the
> possibility of a window from another application getting in between
> them? For example, I have a mainstac
On 3/22/06 6:32 AM, "André.Bisseret" <[EMAIL PROTECTED]> wrote:
> Hi !
>
> As far as a substack is concerned,
> from the Doc (on save, close, destroyStack)
> I understand that :
> even if its destroyStack property is set to true,
> If I save and close this substack while the main stack remains o
Is it just me, or is it rather difficult to keep a number of
different windows (stacks) together on Windows XP without the
possibility of a window from another application getting in between
them? For example, I have a mainstack, a couple of palettes, and a
kind of homegrown backdrop. I can
Yes, Dave's suggestion works in context - but my problem that the
context of the handler is different from that of the field whose id I
want to pass as a parameter: this has to be true if the handler is to
be at all worthwhile, as it does its work on ids of objects from
various stacks etc.
Sarah, Mark, et al:
arrays are things that don't come
naturally to me, so I probably ignore them when they would be useful.
Arrays, in the traditional sense (ie: element(1)...element(n)), were
part and parcel of my programming instruction in BASIC and my first
professional programming in F
The Hinduism Today Digital Edition remote client PDF downloader and
back issues manager will be released on April 1st. Code name
"Brazil" (smile). More later... Bottom line for today's announcement:
Your Name May Be In the Credits!
more below:
-
While I have not offered much to ot
I've been reworking my framework and its data management engine to
explore ways it can shorten my development time even more. Since MVC is
the buzzword du jour, I've been looking into ways of implementing MVC in
Rev.
Factoring code, data, and presentation is generally easy in Rev, and
with
Ken,
putting binary data from a Word XML file into an image on a Rev card
is quite straightforward.
There is a node containing the image data.
put revXMLNodeContents(treeID, node) into theData
create img
put it into theImg
set the text of image theImg to base64Decode(theData)
On 3/22/06 1:38 PM, "Thomas McGrath III" <[EMAIL PROTECTED]> wrote:
> Ken,
>
> Thanks, So which would the default be? straight to console = "" or not?
Yeah, just leave the third param blank.
> I will look into Python. Not sure myself since python scripts use
> Python or PythonWin to execute.
Le Wednesday, 22 Mar 2006, à 17:21 Europe/Paris, [EMAIL PROTECTED] a
écrit :
I am using a button to put a text field on the clipboard. I set the
clipboarddata["html"] to the htmltext of the field, then when I try to
paste into MS Word, my field formatting does not come through.
Instead, the
I'm putting together an article and toolkit to help with code base
analysis for revJournal, and after slicing and dicing my way through
dozens of stacks it had me wondering about the role of automated testing
in Rev projects.
What sorts of automated tests are common with other languages, and w
Arthur Urban wrote:
> It would be great if I could help out. Is there a specific means to
> generate a crash log?
I'd like some confirmation about this from a regular XP user, but it is
my understanding that if you get the error dialog from Windows saying
the program must exit, there will be a
Chipp Walters wrote:
> I, too, keep having Rev crash in the middle of programming (twice in the
> last hour). I was wondering if there's a 'recipe' for this so I can
> watch out for it?
I'm not sure. It appears to have something to do with copying and
pasting into the script editor, so that's w
[EMAIL PROTECTED] wrote:
I am using a button to put a text field on the clipboard. I set the
clipboarddata["html"] to the htmltext of the field, then when I try
to paste into MS Word, my field formatting does not come through.
Instead, the default textFont and textSize for the stack is what
deter
Ken,
Thanks, So which would the default be? straight to console = "" or not?
I will look into Python. Not sure myself since python scripts use
Python or PythonWin to execute.
Thanks again,
Tom
On Mar 22, 2006, at 2:27 PM, Ken Ray wrote:
What is the difference between straight to consol
Hi,
Update:
If I put a breakpoint in Card2:ObjectX on the statement:
put "MessageY" into me
and then press the button in Card1:ObjectA and when I hit the
breakpoint use the App Browser Window to manually select Card2 (so
that it is shown instead of Card1, then the field is set to
"Messag
On 3/22/06 1:10 PM, "Thomas McGrath III" <[EMAIL PROTECTED]> wrote:
> Ken,
>
> If I understand this the "VBS" will run if "VB Script" is in
> pSriptType because there is no break after the case "VB Script"?
> I just never wrote a switch that way and well, this is the first time
> I've seen that
Thanks Sarah great tip! It works great for development, which I
needed presently. I will in the future be making a card which will
act as a table listing function for various tables and their
respective data sets, and so I will need to change them on the fly,
by passing the tab stops along
Remember to convert the XCMDs & XFCNs to revolution equivalents or no
operation FIRST. Name the replacements with the same name of the
XFCN. Then getting it all to work together will be a lot easier.
Hi from Paris,
Thanks for all your responses (especially Sarah &
Jacqueline).
I was stupid
Hi,
function ListenForMessages theMessageID,theHanlderLocation
Adds to an Array (stored in a GlobalProperty of StackUtil) as so:
MessageArray[theMessageID] = theHanlderLocation
If theMessageID is already in the Array and the Location is not
already in the data part of the array, then it is
Ken,
If I understand this the "VBS" will run if "VB Script" is in
pSriptType because there is no break after the case "VB Script"?
I just never wrote a switch that way and well, this is the first time
I've seen that.
What is the difference between straight to console and not? Why is
tha
On 3/22/06 12:57 PM, "Thomas McGrath III" <[EMAIL PROTECTED]> wrote:
> Ken,
>
> Thanks for the quick response. Is cscript.exe available on All
> windows computers OR does it need to be installed with some certain
> software?
All computers going back to Win98. Win95 (prior to Internet Explorer 4.
What do these functions do?
Mark
On 22 Mar 2006, at 18:51, David Burgun wrote:
PutMessage()
ListenForMessages()
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscrip
Ken,
Thanks for the quick response. Is cscript.exe available on All
windows computers OR does it need to be installed with some certain
software?
I have installed so many things now on the PC that I don't know what
will work without relying on these other installs.
I am off to test your
I have the exact same problem. I've had no luck fixing it so far.
Chris Carroll-Davis wrote:
Tariel -
good suggestion, but no. Initially I thought it was something like
that because the icons came up consistently with Adobe PDF icons. But
I can change the file association to more or less an
Hi,
I have a 2 Stacks, StackMain and StackUtil. I used StackUtil as a
"library stack" via the start using command.
In the Stack Script for StackUtil I have the following functions:
PutMessage()
ListenForMessages()
In StackMain Card 2 ObjectX, I do:
function InitObject
get ListenForMessages
On 3/22/06 9:40 AM, "Henk van der Velden" <[EMAIL PROTECTED]> wrote:
> I've done some testing, here are my results:
> - when an image is loaded, it's text property is not set; when it is
> imported, it is.
> - when the text property of an image is changed, the imageData,
> width, height etc also c
On 3/22/06 12:26 PM, "Thomas McGrath III" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> Does anyone know or can show me how to edit and run a VB script from
> with a Rev stack?
>
> I want to change item's in the VB script and then run it like I am
> doing with Applescript on the Mac side.
>
> I know
Hello,
Does anyone know or can show me how to edit and run a VB script from
with a Rev stack?
I want to change item's in the VB script and then run it like I am
doing with Applescript on the Mac side.
I know how to launch an external script from within REV but I want to
run a script sto
I figured this on out. I was grabbing the selectedtext vs the label.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff
Honken
Sent: Wednesday, March 22, 2006 8:32 AM
To: use-revolution@lists.runrev.com
Subject: Option Box
I'm using an option box in m
Tariel -
good suggestion, but no. Initially I thought it was something like
that because the icons came up consistently with Adobe PDF icons.
But I can change the file association to more or less any program
using the file profile options. The problem here though is the fact
that Windo
On Mar 22, 2006, at 10:20 AM, Chris Carroll-Davis wrote:
Date: Wed, 22 Mar 2006 15:12:37 +
From: Chris Carroll-Davis <[EMAIL PROTECTED]>
Hello folks.
Question here from complete Windows dope. What am I doing wrong?
I've installed Rev on PC to test and tweak stuff I've written on Mac.
But
>From: Devin Asay <[EMAIL PROTECTED]>
>Hi Folks,
>
>Is it possible to store html styled text in an xml document and then
>successfully retrieve the text with html markup intact?
>
>I'm working on an application where I need to save styled text in an
>XML document. I can successfully insert the
set the hilitedLine of me to 0
set the vScroll of me to 0
should work.
Mark
On 22 Mar 2006, at 17:34, David Burgun wrote:
Hi,
The following fails when executing:
select before line 1 of me
or
select before me
This is in a handler inside a List Field.
All I want to do is to deselect anyt
Hi,
I have a Rev 2.6 in a Debian Sarge distributions, and I tried to minimize my
application in KDE, it work very fine, but I tried to minimized in GNOME
that is not work. Why?
How I can minimize my application in GNOME?
Best regards,
Gilberto Cuba
_
Hi,
The following fails when executing:
select before line 1 of me
or
select before me
This is in a handler inside a List Field.
All I want to do is to deselect anything that is selected and scroll
the list to the beginning.\
Thanks a lot
All the Best
Dave
_
Geoff,
Because it gets rid of a bunch of if statements in your repeat loop.
It costs you a bit in that the repeat structure is duplicated in the
routine that simply counts, so that's a tradeoff. But your repeat ends
up being faster because you aren't doing tests each time through.
Further,
Hi,
Instead of doing:
myHandler (the long id of fld "myField" of cd "myCard" of stack
"myStack")
do
myHandler (the long id of me)
That should fix it!
All the Best
Dave
On 22 Mar 2006, at 14:47, Graham Samuel wrote:
I've never come across this before, and it's got me confused. I
have
Geoff:
on doSomething pArg
if tSingleUser then
doSomethingForSingleUser pArg
else
doSomethingForMultiUser pArg
end if
end doSomething pArg
doSomethingForMultiUser pArg
is the seven lines I used as an example in my last post, the remaining
90 lines comprise doSomethingForSi
Hi Henk,
- when an image is loaded, it's text property is not set; when it is
imported, it is.
- when the text property of an image is changed, the imageData, width,
height etc also change.
So now I can use the binary data from the Word XML file, decode them,
create a new, empty image on th
Geeze Geoff ,
If I've offended, I apologize.
I thought you knew me better than that. :{`)
If I've come off pedantic or emotionally upset, then I'm sorry.
There is no right or wrong answer, it's a matter of preference...and my
preferences are closer to Chipp's than yours in this matter.
Geoff,
-- breaking out routines for local vs. server connection
Client selection [server opens all dbs as local connections]:
replace return with numToChar(29) in itemList
replace return with numToChar(29) in searchCriteria
requestSDBService
sdbBuffer,"find",packArguments(9,ex
On Mar 22, 2006, at 7:34 AM, Rob Cozens wrote:
Hi Geoff,
-- breaking out routines for local vs. server connection
You're ignoring my notes: application requirement: the calling
syntax must be identical for client, server, and single user.
That's fine -- I'm just saying that the routin
I am using a button to put a text field on the clipboard. I set the
clipboarddata["html"] to the htmltext of the field, then when I try to paste
into MS Word, my field formatting does not come through. Instead, the default
textFont and textSize for the stack is what determines the format of the
I've hit this before. I generally postfix a cr like so:
put (the long id of fld "myField" of cd "myCard" of stack
"myStack") & cr into tParam
myHandler tParam
Then in myHandler:
on myHandler pID
delete char -1 of pID -- ready to go now
or if it could be a list:
on myHandler pIDList
Hello Rob e.a.
On 19-mrt-2006, at 19:00, [EMAIL PROTECTED] wrote:
Indeed does the text of an image contain binary data, but it
looks like it's in the PNG format.
I will do some testing.
If the text of an image is PNG binary data, and the Word file
contains only PNG images, I would be able t
Hi Geoff,
-- breaking out routines for local vs. server connection
You're ignoring my notes: application requirement: the calling syntax
must be identical for client, server, and single user.
-- breaking out a routine for when we're just counting records that
match vs. returning data
Hi Arthur,
Has there been any progress with the perpetual crashing in WinXP?
I personally have made progress: I have not crashed the Script Editor
(or anything else) in over a week.
What have I done? I've made a conscious effort to apply the changes
made to each handler in a script befor
Go to Rev's Preferences, the Application Browser section. There you
can set exactly what you want to happen when you double-click with or
without modifier keys.
Thanks Sarah,
Rob
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please
I'm using an option box in my application to allow a user to choose a
static list. I'm using the "on menuPick" handler to save the
information to a database. The information saves if you use the mouse
to choose the value. The problem is when you a user tabs into the field
and then uses the down
Hello folks.
Question here from complete Windows dope. What am I doing wrong?
I've installed Rev on PC to test and tweak stuff I've written on Mac.
But... any .rev files I see have the wrong icon. Presumably the file
association is wrong on my system. I have tried going to
"properties"
I've never come across this before, and it's got me confused. I have
a handler, say "myHandler" that has a couple of parameters which are
intended to be the long ids of objects (actually fields). The handler
manipulates the fields, something like
on myHandler para1
do "put empty into
Hi David,
On 22 Mar 2006, at 12:53, David Burgun wrote:
Hi,
Nice Script!
There is just one thing I don't understand?
What are the:
get "/*" & i
Statements for?
/* this is a comment
as is this */function whatever
return "something"
end whatever
This is to force the tokenizing.
The
Hi !
As far as a substack is concerned,
from the Doc (on save, close, destroyStack…)
I understand that :
even if its destroyStack property is set to true,
If I save and close this substack while the main stack remains opened,
then this substack remains in memory.
If this is true, then I understa
Hi,
Nice Script!
There is just one thing I don't understand?
What are the:
get "/*" & i
Statements for?
Thanks a lot
All the Best
Dave
On 21 Mar 2006, at 14:45, Wouter wrote:
on Sun Mar 19 16:12:57 CST 2006 Geoff Canyon wrote:
/* this is a comment
as is this */on mouseUp
answer
Hi from Paris,
Thanks for all your responses (especially Sarah &
Jacqueline).
I was stupid enough to think that in Rev, the reference
"bg" was invalid, so I didn't even try it.
I now have several ways to get what I want.
On the comments about WHY I want to convert my
HC stacks :
1 - My HC sta
Hi Sarah and all,
I am currently working through the XML docs and am desparately
looking for something llike -> "revXMLfindNodeBycontent"
There is a "revXMLmatchingNode" but that only lets me find the node
that has an atrribute with a specific value!
Do I really have to cycle through the XMLtext
Sarah Reichelt wrote:
OK, I have a better example. Say I have a data set and I need to loop
through it and extract three different pieces of information e.g. a
list of the 4th column in each line, a list of lines that match a
certain set of criteria, and a cumulative total obtained by adding a
On Mar 21, 2006, at 10:13 AM, Richard Gaskin wrote:
So while it keeps people who don't have Rev from extracting data,
it still leaves data vulnerable to those who do.
Exactly the problem...
Scott wrote:
but I would guess the likelihood of your users owning a copy of
Rev is lower than f
Bonjour Joel.
Hi Ken,
On 3/21/06 10:21 AM, "Klaus Major" <[EMAIL PROTECTED]> wrote:
Hi all,
I am currently working through the XML docs and am desparately
looking for
something llike -> "revXMLfindNodeBycontent"
...
Sorry, Klaus, AFAIK you can't find data information with the revXML
DLL.
Da
On Sun, 19 Mar 2006 08:52:22 -0800, Rob Cozens <[EMAIL PROTECTED]> wrote:
[some good advice on the above subject, including]
I hate to confirm what you don't want to hear; but, yes, it ends up
being a messy job for the reasons you identified: creating a
generalized handler from two or more simi
I'm sorry for Arthur Urban and his experience of "perpetual crashing
on WinXP", and I'm glad to see Jacqueline's statement that the
problem has been acknowledged and is being fixed. I just want to
confirm that this doesn't affect everyone: at present I am switching
an app I'm developing bet
First, this isn't all that long -- 98 lines -- but in any case I'd
consider:
-- breaking out routines for local vs. server connection
-- breaking out a routine for when we're just counting records that
match vs. returning data
-- breaking out a routine that, given a itemList describing a s
88 matches
Mail list logo