of the stack
file for no useful purpose.
Rob Cozens CCW
Serendipity Software Company
"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."
from "The Triple Foole" by John Donne (1572-1631)
__
break
case "whisper"
answer "psst"&&pData2
break
case "bye"
answer "Hasta la vista,"&&pData2
break
case "anotherFunction"
answer anotherFunction(pData1
place when the standalone was created.
Rob Cozens
"There's nothing wrong with Capitalism except Capitalists: they're
too damn greedy!"
-- Herbert Hoover
___
use-revolut
ack "Calendar"
add 1 to lineCount
if item 1 of theLine is "Sunday" then
set the textStyle of line lineCount of field "Test" to "bold"
end if
end repeat
Rob Cozens CCW
Serendipity Software Company
"And I, which was two fooles, do so grow three;
t; to "bold"
BTW, one can skip setting the itemDelimiter by substituting
if word 1 of theLine is "Sunday" then
or
if offset("Sunday ",theLine) = 1 then
your if statement.
Rob Cozens
"I cannot do great things;
but I can do small things wi
stified) fields with leading blanks to achieve the
proper alignment.
Rob Cozens CCW
Serendipity Software Company
"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."
from "The Triple Foole" by John Donne (1572-1631)
__
tack. If the script locals reside on an
interior control, one might want to script getValue as a command
which can be sent by other handlers elsewhere in the stack:
on getMySharedVariable
return mySharedVariable
end getMySharedVariable
Where the calling handler could...
send "
tValue
on setValue newValue
put newValue into mySharedVariable
end setValue
Rob Cozens, CCW
Serendipity Software Company
Vive R Revolution!
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsub
deal
with _some_ TPC comparability.issues, contact me privately.
My (perviously-posted) comments in a nutshell: "The pen is mightier
than the mouse!"
My caveat: Don't buy a "convertible" TPC with an attached keyboard;
buy a "slate" TPC and leave the keyboard in its box
ne generally sets both
the dynamicPaths and the HCAddressing properties to false after
converting a HC stack to Rev and appropriately modifying the scripts.
Rob Cozens CCW
Serendipity Software Company
"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles
Mark, et al:
You need to make a zip or dmg file of the
standalone.
How do creator/file types get set and creator/document types get registered?
Rob Cozens
"The current near-hysterical preoccupation with safety is at best a
waste of resources and a crimp on the human spirit, and at wor
u will probably need
to maintain arrays similar to SDB's.
Rob Cozens CCW
Serendipity Software Company
"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."
from "The Triple Foole" by John Donne (1572-1631)
__
-- array by clientId: 1=ASCII>ANSI, 0=None,
or -1=ANSI>ASCII + tab & ipcProtocol [tp,ae,pc,dc,sf]
Rob Cozens
"I must be the change I want to see in the world."
-- Gandhi
___
use-revolution mailing list
use-revolution@lists.run
inal printRotated
open printing
set the printMargins to "75,5,0,0"
put "Printrotated ="&&(the printRotated)
print this card
close printing
end mouseUp
Rob Cozens CCW
Serendipity Software Company
"And I, which was two fooles, do so grow three;
Who a
s one loses image detail when referencing imageData of an
image that is not displayed full-size.
Rob Cozens CCW
Serendipity Software Company
"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."
from "The Triple Foole"
otated property work for me in WinXP?
Rob Cozens CCW
Serendipity Software Company
"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."
from "The Triple Foole" by John Donne (1572-1631)
uld provide a starting point? Maybe you
could convert the source to Transcript?
Rob Cozens
"The way to destroy the power of the Corporate State
is to live differently now."
-- Charles Reich, The Greening of America
___
use-revolution mailin
Hi Paolo,
how can I print a stack as PDF from revolution 3.0?
For Windows systems, you can download and install CutePDFWriter free
from <http://www.cutepdf.com/Products/CutePDF/writer.asp>. Once
installed, any printer output can be saved as a pdf file.
Rob Cozens, Director
Res
acter is theDecimalSeparator then put characterNumber
into periodPosition
end repeat
if commaList is empty then return true
if periodPosition is 0 then put stringLength+1 into periodPosition
repeat with x = number of lines of commaList down to 1
get (line x of commaList+0)
if periodPos
quot;'"
as the decimal separator.
* Entry of multiple "."s in one number
* Negative numbers, if allowed. And if allowed, multiple "-"s or
embedded "-"s.
* Currency symbol, if allowed; And if allowed, multiple or embedded
currency symbols.
Rob Cozens
from text & images, why not
just create a Rev stack and print it using QutePDF Writer on Windows
platforms and OS/X's Print Dialog PDF option on Macs?
Rob Cozens CCW
Serendipity Software Company
"And I, which was two fooles, do so grow three;
Who are a little wise, the best f
the atoll nation of Tuvalu, 1998
Could the island in the documentary be Tuvalu? If so, I find the
reference to "excessive consumption" to be quite ironic...and strong
testimony to the power of money addiction.
Rob Cozens, Staff Conservator
Mendonoma Marine Life Conservancy
"And
iction. It exists
in every "private" company that receives government subsidies or
tariff protection and/or works to socialize the environmental costs
of its operation.
This addiction may have already damaged the environment
irrevocably. If not, it certainly will do so if left unc
All,
put empty into item of recordBuffer
Thanks to those who noted this logic comes up one character short.
However the better generic fix (IMO) is:
put empty into item (+1) of recordBuffer
Rob Cozens CCW
Serendipity Software Company
"And I, which was two fooles,
Hi Len,
While I'm at it, if I DO have to create a string of
first, how do I create a string of spaces long?
Another approach:
put empty into recordBuffer
set the itemDelimiter to space
put empty into item of recordBuffer
Rob Cozens CCW
Serendipity Software Co
cked and given focus.
3) Related to #2 above, I frequently get vertical lines (insertion
point cursors) in a field as I move the mouse across it. Once they
start showing up, (and they stay so I end up with vertical bars
between every letter in the field!), I can get them to appear by
movin
possibility of executing multiple
cases while falling through a single switch. That alone adds both
power and complexity.
Rob Cozens, Staff Conservator
Mendonoma Marine Life Conservancy
"Knowledge of the oceans is more than a matter of curiosity.
Our very survival may depend upon it."
put the name of stack secondChoice into scriptObject
break
case "Unsorted"
edit the script of stack "libOPN_Unsorted"
break
default
breakpoint
end switch
This assumes a finite number of libraries with kn
Richard, et al:
Consider the number of potentially affected users: the subset of
Rev users still using only older versions,
If the issue were simply that developers have not chosen to upgrade
to current-format versions, I would ignore the issue and release all
stacks in the current format
All,
Is it possible to distribute a "source" stack for other developers
to use to build a standalone in a single format that can be used by
all versions of the Distribution Builder?
Best I've come up with
1. Add DB settings to current-format stack.
2. Convert stack to Legacy format.
3. Shi
Jacque, Richard, et al:
Let me ask this another way:
Is it possible to distribute a "source" stack for other developers to
use to build a standalone in a single format that can be used by all
versions of the Distribution Builder?
If build settings are included in the source stack, older vers
Hi Richard,
AFAIK the standalone settings are stored in custom properties, and
do not rely on anything specific to the new format for storage.
First, let's make sure we're talking apples & apples: by standalone
settings, I am referring to the standalone build settings:
platform(s) to build f
e same archive for
stacks that are standalone templates).
Suggestions or comments?
Any clue when Linux developers will be able to work in the current
stack format?
Rob Cozens CCW
Serendipity Software Company
"And I, which was two fooles, do so grow three;
Who are a little wise, the best
Bless you, Jacque!
I don't think there is such a property, but you can read the binary
file to see the format. If it starts with "REVO" then it is the new
format. But for what you are doing, I don't think you'll have to
resort to this.
Thanks to you it was simple for me to create a menuItem
in
stack format. Every time I save those stacks in Legacy format, I
must subsequently rename them to remove ".rev".)
3. Save multiple stacks in Legacy format without having to reset the
"Save as type" popUp every time.
Suggestions or comments?
Rob Cozens CCW
Serendipity S
yone interested should eMail me privately, and I'll have something
for you by Monday at the latest.
Rob Cozens CCW
Serendipity Software Company
"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."
from "The Tri
ord
checkSDBResult
closeSDBFile
createSDBFile
deleteSDBRecord
fileSDBRecord
findSDBRecord
getFirstSDBRecord
getLastSDBRecord
getSDBClientId
getSDBComments
getSDBDbId
getSDBRecord
logInSDBClient
logOutSDBClient
openSDBFile
preOpenSDBFiles
setSDBComments
setSDBClientId
setSDBDbId
theSDBRecordIndex
unloc
Richard, et al:
Why bother with the overhead of storing the data in fields on cards,
when you can easily parse item and line chunks of a single block of
data so very efficiently?
This is basically how SDB handles non-binary data. The field
delimiter character for each record type is specifi
Scott, Joe, et al:
I believe Rob Cozens does something of the sought [partially load a
db stack] with Serendipity, but the question is whether it's really
worth while given it's all there already with a "real" database.
I've followed this thread this far wond
Hi David,
I've had a quick search regarding the ability to auto fill in PDF forms -
that is not creating PDF's from databases - but lets say you have an
existing PDF that you need to fill out many many times from your data -
software that does this for you.
FWIW, the US IRS distributes fill-in
Is there a way to restrict the display of a moving object in the screen?
Try making the object a group and setting the group's
windowBoundingRect set to the limits of movement.
Rob
___
use-revolution mailing list
use-revolution@lists.runrev.com
f one wants to change the layer of the group as a whole.
Rob Cozens, CCW
Serendipity Software Company
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
prefer
All,
Don''t know what platform you're on, but I would assume that on OS X
you could pipe it to TextEdit and get it to save it as a PDF
If Rev is running on OS X, "open printing with dialog" opens the OS X
print dialog, which includes a "Save as PDF" opt
down with Andre Garzia's old web site, and it is not my
intention to update it until the revisions I am working on are
further tested and bundled for distribution. If you'd like to
explore this further, contact me off-list.
Rob Cozens
CCW, Serendipity Software Company
"And I, w
testing, as defined above.
Would anyone care to comment on the potential role of testers to:
A. Point out where the operational manifestation of the
specifications creates illogical or inappropriate user experiences and
B. Suggest alternative designs or approaches?
Rob Cozens
CCW, Serendipity
ers to the revolution_ipc
group: <http://groups.yahoo.com/group/revolution_ipc/>.
--
Rob Cozens
CCW, Serendipity Software Company
"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."
from &q
his thread. Was the possible use of
URLEncode/URLDecode suggested and tested?
--
Rob Cozens
CCW, Serendipity Software Company
"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."
from "The Triple Foole" by John Donne (1572-1
compliance. The request and
subsequent comments outline the deficiencies and provide workarounds
for some problems.
You can vote for this at
<http://support.runrev.com/bugdatabase/show_bug.cgi?id=3252>.
--
Rob Cozens
CCW, Serendipity Software Company
"And I, which was two fooles, do so
es if the stack is opened in
RunRev; but one can suppress messages and get to the text.
--
Rob Cozens
"Any man's death diminishes me,
because I am involved in Mankind."
-- John Donne, Devotions 1624
___
use-revolution mailing
Hi Dom,
> This is fine if signed and decimal input is allowed; but isn't an
adequate check for numerics that must be positive or integers only.
if field "MyTextField" is an integer
Still doesn't cut it if the input must be positive. :{`)
--
Rob Cozens
CC
Francis, Mark, et al:
> Is this the right way to check for numerics, and if
so, what have I done wrong ?
Try
if field "MyTextField" is a number
This is fine if signed and decimal input is allowed; but isn't an
adequate check for numerics that must be positive or integ
ample "Q1.000.50", the decimal points are constant, you
could have three user input fields ("Q1", "000", and "50") , validate
each field separately, and concatenate them between decimals to form
the working input.
--
Rob Cozens
CCW, Serendipity Software
; after returnDateFormat
put "m" after returnDateFormat
end if
end repeat
return returnDateFormat&dateSeparator
end systemDateFormat
--
Rob Cozens
CCW, Serendipity Software Company
"And I, which was two fooles, do so gr
;theMonth&comma&theDay&",0,0,0,0"
if theDay is 31 then return false
else return true&return&theYear&comma&theMonth&comma&theDay&",0,0,0,0"
end if
end validDate
function leapYear theYear -- 16 Mar 04:RCC
if theYear mod 100 is
s set to DD MM (& the year of
birth is within the range defined by the centuryCutoff),
"put the short system date into theDateNow"
should do the job.
--
Rob Cozens
CCW, Serendipity Software Company
"And I, which was two fooles, do so grow three;
Who are a little w
corner remains under the mouse), whereas mine places the loc of
the window under the mouse. These are two different effects.
--
Rob Cozens
CCW, Serendipity Software Company
"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee.&
this stack to the ScreenMouseLoc
end mouseMove
--
Rob Cozens
CCW, Serendipity Software Company
"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."
from "The Triple Foole" by John Donne (1572-1631)
_
delete char 1 to deleteCutoff of sourceString
add deleteCutoff to offsetAdjustment
end repeat
end offsets
Example: offsets("at","The cat in the hat smelled a rat where he sat.") returns
6
17
31
44
Note that the same logic can be applied to create lineOffsets,
itemO
m 1 of fileInfo) -- itemDelimiter
should set to comma
if offset("Slof",it) <> 1 then next repeat
-- process or build list of "Slot" files here
end repeat
--
Rob Cozens
CCW, Serendipity Software Company
"And I, which was two fo
and y are numbers then add them, otherwise
concatenate them".
Perhaps Foxpro has stronger variable typing than xTalk.
"123" and "456" are strings AND numbers in Revolution; so would
"Foxpro syntax" like
"123" + "456"
resolve to 579 or &q
(send message packets) directly to each
other.
If you're simply trying to pass data to app 2 from app 1 when app 1
starts app 2 (as opposed to ongoing interprocess communications),
look at the $ keyword in Rev Dictionary.
--
Rob Cozens
CCW, Serendipity Software Company
"And I, which was t
oesn't work
in Rev. I'm not sure how I can mix the two fonts in the mainstack field.
Check the stack's HCAddressing property: RR default is false;
imported HyperCard stacks [& SuperCard stacks?] are set to true.
What was a background field in SC may not be a background f
it) <> 0
replace return&return with return in it
end repeat
or
put return&return into theTarget
repeat while offset(theTarget,it) <> 0
replace theTarget with return in it
end repeat
will do the job.
--
Rob Cozens
CCW,
Hi Liam,
how do I delete blank lines from a field
Another approach:
get fld "emailList"
replace return&return with return in it
--
Rob Cozens
CCW, Serendipity Software Company
"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee.
ageData why is it converted to png
format instead of, in this case, gif format?
--
Rob Cozens
CCW, Serendipity Software Company
"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."
from "The Triple Foole" by John Donne (1572-1631)
_
Moi:
In my personal version of Revolution, imageData would be read-only.
And syntax for the "set" command would support:
set the text of image imageName to value as [format]
where value could be in imageData format and format is any image
format Rev supports.
--
Rob
.
In my personal version of Revolution, imageData would be read-only.
--
Rob Cozens
CCW, Serendipity Software Company
"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."
from "The Triple Foole" by John Donne (1572-1631)
___
Jacque, Jeanne, Ben, and others,
Thank you for reducing the scope of my ignorance.
--
Rob Cozens
CCW, Serendipity Software Company
"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."
from "The Triple Foole" by J
Jeanne:
At 8:03 AM -0700 7/25/2006, Rob Cozens wrote:
* Rev. Dictionary: "Revolution supports GIF, JPEG, PNG, PICT, BMP,
PBM/PGM/PPM, and XBM/XPM/XWD formats, as well as its own internal
format". My presumption is (untested) the "internal format",
designated as
ipulate images rle
format, it just means once one has created the image string, one
should set the text of the image to it or put it into the image,
rather than setting the imageData of the image to it.
--
Rob Cozens
CCW, Serendipity Software Company
"And I, which was two fooles, do
ions to
thumbnail size, and create a small, low resolution image on the index
card using the original image's current imageData property.
--
Rob Cozens
CCW, Serendipity Software Company
"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."
mage at 72 dpi of my screen, not the 250 dpi resolution of the
image's TEXT. If so, simply storing the imageData somewhere and
using it in a new image (or in resetting the existing image) causes a
loss of image detail.
--
Rob Cozens
CCW, Serendipity Software Company
"And I, which wa
omatically.
--
Rob Cozens
CCW, Serendipity Software Company
"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."
from "The Triple Foole" by John Donne (1572-1631)
___
use-revolution mailing list
u
ntent.
--
Rob Cozens
CCW, Serendipity Software Company
"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."
from "The Triple Foole" by John Donne (1572-1631)
___
use-revolution mailing list
use-re
e trying it peacemeal.
Something I haven't tried but just thought of: try saving the stack
in legacy format and then reopening it. Probably won't help; but if
your source stacks were not created in v2.7+ format, it's a quick
expirement.
--
Rob Cozens
CCW, Serendipity Software Company
m getting into this thread late; so the following is ignorant of
previously-posted details:
If the stack size is relatively large and this happens in the Rev IDE
but not in a standalone, it's because the IDE sets a
windowBoundingRect inside its windows and palettes.
--
Rob Cozens
CCW, Ser
t know if these qualify, but
* Non-native English speakers might translate Rev into their native
language. [Only to see it translated to English upon returnInField.]
* One might create a font of high-order special characters and dabble
in symbolic programming
--
Rob Cozens, CCW
Serendipity S
me
put it - item 1 of veryLongDescriptiveVariableName into theHeight
get item 4 of veryLongDescriptiveVariableName
put it - item 2 of veryLongDescriptiveVariableName into theWidth
Brevity on input; verboseness on output. So there, Bob Seeger: one
can have it all after all.
--
Rob Cozens, Staf
nd switch
select empty
send "revFormatField lineNum,lineNum" to card "revscript"
select after line (lineNum) of fld "script" of card
"revscript" -- modify for include file insertion
end if
end if
pass returnInField
end returnInFiel
>.
Thanks again to Brian for showing the way.
Rob Cozens
CCW, Serendipity Software Company
"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."
from "The Triple Foole" by John Donne (1572-1631)
__
Brian's script at the Script
Editor level by RRLtd would empower every Rev developer with the
capability of defining a personal syntax, so long as she can script a
translation into legal Revolution (I would prefer the sound of
"Transcript " here).
And if Brian or anyone else wants
better than "put 5 into x"?
Use Brian Yennie's script or write your own compiler,
And thank you, Brian, for demonstrating that revolutionist thinking
can find a way of doing things better than the establishing does it,
Vive Revolution!
Rob Cozens
CCW, Serendipity Software Company
"
ery developer use notation
with which she is comfortable without bastardizing Revolution's
xTalk. Truly better than what the establishment is doing, me thinks.
Kudos!
Rob Cozens, CCW
Serendipity Software Company
Vive R Revolution!
___
use-revol
Cousin Richard,
The proposed assignment OPTION is consistent with several dozen
languages, many of which are still actively growing a strong rate,
The end of a revolution begins when leading revolutionists seek to do
things like the establishment does instead of better than the
establishment
ts current interpertation, "does x equal 5?"
would break existing syntax.
Rob Cozens
CCW, Serendipity Software Company
"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."
from "The Triple Foole" by John Donne (1572-1631)
r, Revolution evaluates "(recordNumber = 1) as a bolean
expression evaluated as true or false.
Rob Cozens
CCW, Serendipity Software Company
"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."
from "The Triple Foole" by John D
else set the disabled of button "Previous Record" to false
But that wasn't my main point.
In my reply to Josh, I noted his request would break existing
syntax. IMO that should end the discussion.
Rob Cozens
CCW, Serendipity Software Company
"And I, which was two fo
script where I use this structure.
I can't believe you find the need for this OPTION so great that you
would advocate breaking existing syntax.
Rob Cozens
CCW, Serendipity Software Company
"And I, which was two fooles, do so grow three;
Who are a little wise, t
Why not just buy a C compiler?
Rob Cozens
CCW, Serendipity Software Company
"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."
from "The Triple Foole" by John Donne (1572-1631)
___
us
pecific to the platform with which they are working.
Rob Cozens
CCW, Serendipity Software Company
"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."
from "The Triple Foole" by John Donne (1572-1631)
Hi Josh,
have found Rev extremely intuitive except for one thing:
I wish it would parse
x = 5
(if not following an IF)
the same as
put 5 into x
This would cause scripts using the current syntax [eg: put "(x=5)
into trueOrFalse"] to fail.
Rob Cozens
CCW, Serendipity Softwa
urse I move my hand! My point is I can move it
more quickly and shorter distances to accomplish the same task with a
pen than a mouse.
Over the years I have used mice, trackpads,and trackballs, and IMO
the pen is mightier than the mouse.
Rob Cozens
CCW, Serendipity Software Company
"A
udes many
improvements over the original TPC Edition.
You are faulting the hardware, which is but one example of many
hardware vendors' offerings. The essence of the TPC is in the O/S,
which is the same on all TPCs (that shipped with or upgraded to, Edition 2005).
Rob Cozens
CCW, S
down where you want the
cursor instead of dragging it.
2. Pick up a pen or pencil,place your hand in the center of your
screen, and see how much of the screen real estate you can reach with
the tip of the pen(cil) without moving your hand.]
The pen is mightier than the mouse!
Rob Cozen
y my count, at least three separate discussions took place there.
Rob Cozens
CCW, Serendipity Software Company
"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."
from "The Triple Foole" by John Donne (1572-1631)
LOL, Dan:
Because like my wife's housekeeper, I don't do Windows! But I also no longer
bash them.
Kudos!
Rob Cozens
CCW, Serendipity Software Company
"And I, which was two fooles, do so grow three;
Who are a little wise, the best fooles bee."
from "The Triple F
unning under the IDE; but the dialog is not
displayed by either a MacOSX or a WinXP standalone.
I have tried including the dialog explicitly and allowing RunRev to
determine included resources.
What am I missing? (RR v2.7.1)
Rob Cozens
CCW, Serendipity Software Company
"And I, which wa
code showing how to
program ink input & manipulation and other TPC features. The longer
it takes RRLtd to provide TPC compliance, the greater the share of
the market that will be lost to C# & VB developers.
--
Rob Cozens
CCW, Serendipity Software Company
"And I, which was two foole
nd termanology
The message I was trying to convery was, "If one is a Mac bigot whose
opinions are not based on an assessment of current Windows
technology--including the TPC--one would be well advised to reassess
one's position."
--
Rob Cozens
CCW, Serendipity Software Company
7;t support ink input and profile screen
orientation. My keyboard sits in a drawer, and virtually never sees
the light of day.
The pen is mightier than the mouse!
Rob Cozens
CCW, Serendipity Software Company
"And I, which was two fooles, do
1 - 100 of 1455 matches
Mail list logo