the message box has no effect (the image
named is in a stack “in use”).
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http
rounded rectangle
of a check box button, and the edges of an option button have this same light
gray color.
Is there some way to change this?
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe
it
close printing
end p1
This prints a full page at the proper size, but not with acceptable print
quality; everything is slightly blurred and pixellated. How can I get a good
quality printout?
David Epstein
___
use-livecode mailing list
use
Let me try to clarify the problem I stated.
I am not trying to remove the button, I am trying to use the “grab” command to
let a user move the button around the window by dragging it.
If I use a script to “set the loc” of a button to somewhere outside that
group’s rectangle
- the group
. Confirm that the group’s lockLoc property is false. Then
with the browse tool, drag the button past the edge of the group. The button
disappears.
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to
time with something like
send “upDateGroupLayout oneGroupID” to me in 10 milliseconds. Is that right?
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
at some level these methods all
amount to the same thing from the engine’s point of view (since everything is
in RAM in any case).
Many thanks.
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe
char 4097ff of String B;
âPNG
IHDR,,y}éu IDATxúÏΩ{¨mYv÷˜sƵˆ„ÏÛ∏˜ú{Îvuuwuπ‹.€Ìˆ«!,d«2$qä¯a«9éCj,d°!dÅ"EâàB
So my hope that String A could somehow be extracted from String B and used to
“paste” the included image was disappointed.
David Epstein
_
ck clipboard
> end mouseUp
>
> I tested this in LC 10dp6 and it works. Once you see what keys are
> present with your mixed text and images copied to the clipboard, you can
> choose which clipboard array and keys to work with to get the data.
>
> -- Paul
>
>
>> O
ardData
or rawClipboardData to an array variable; and it does not seem that I can
access any element of the rawClipboardData array. Further advice is
welcome.
Best wishes,
David Epstein
*on* a2
*lock* clipboard
*put* the keys of the clipboardData into myK1
*put* the keys of the fullClipboardData into myK2
To clarify my original question:
I'm not expecting the built-in paste command to handle this task; I'm
wondering if I can script my own paste command to handle it.
Richmond, I can write a script to "paste" an image by itself (by creating
an image and setting its text to clipboardData["image"]).
included on the clipboard.
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
How can I redraw objects after the user has resized the stack, but not
continuously during the resize? Releasing the mouse at the end of a resize
does not appear to send a mouseUp message.
David Epstein
___
use-livecode mailing list
use-livecode
problem has something to do with a message that calls a handler
in a stack-in-use.
Best wishes,
David
>
>
> On Thu, Jun 29, 2023 at 8:40?PM David Epstein via use-livecode
> mailto:use-livecode@lists.runrev.com>> wrote:
>>
>> I?ve just started using LiveCode 9.6.
.”
I can click OK, but the error message soon returns.
Any suggestions?
Best wishes,
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http
the
widget’s name is not recognized as the name of a viewer when I try to call a
function like XPDFViewer_Get(viewerName,property).
So do I need either to create a widget or create a viewer? And are there
non-obvious reasons to do one or the other?
David Epstein
impractical. But in order to design workarounds I’d like to get as
much clarity as possible on what limits I am working around.
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and
trying to load a 2.1 GB variable in a field surpass the
4GB limit, because the variable and the field would each need 2.1 GB?
Best wishes,
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, un
How many rows or columns or characters can reasonably be displayed in a
LiveCode field? A 1.39 GB text file seems pretty clearly to surpass the limit,
but how much do I need to subdivide it?
David Epstein
___
use-livecode mailing list
use-livecode
I didn’t text the speed, but why not
put fld A into x[1]
put fld B into x[2]
put fld C into x[3]
put fld D into x[4]
combine x by column
return x
>
> I have a set of fields, call them A, B, C, and D. Each has the same
> number of lines. Each field has different text (per line)
>
> I need to co
: how do I find the script that LC runs when the “New Widget/Chart” command
is chosen?
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http
es is set?
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
convenient use by LiveCode?
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
irregularly shaped images. Is there some imprecision in the “within” function?
This would be important to know for other uses of it.
David Epstein
on imageToGrc gID
# fills graphic id gID with image it is positioned on; works for polygon,
oval, regular, or rectangle
set the linesize of grc id gID to
under the polygon's
enclosing rectangle, and then adjust the alphaData of that new image. But
while the new image gets trimmed a bit, the result does not match the shape of
the designated polygon. Any thoughts?
David Epstein
on action gID ## gID is the short id of the polygon
import sna
emoved”], and u[“cardsAdded”],
and uses values stored in u to restore the prior state of things, while
reloading u with values reporting the state of things now being reversed.
For text, I load u[“changed”] with “htmlText”,, and load
u[“htmlText”,] with the htmlText of that field before the lat
when I do the same
thing to the same text in those other programs. (LC 9.6 on Mac OS 10.12.6).
Do others see the same thing? Does anyone know the underlying cause of this,
or a remedy?
David Epstein
___
use-livecode mailing list
use-livecode
? Thank you!
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
care of this?
Many thanks.
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
repeat
end if
put fL into item 1 of hold
return hold
end colGuide
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
into" && gName
return oldVal
end globalSwap
Is there some way to write this with fewer or no uses of “do”?
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
eload u with
the state of the field just before undoing. I store the chunk information so
that undo can restore the selection as well as the text to its prior state.
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Ple
the name of this
stack into gActiveStack.
David Epstein
Jacqueline Gay wrote:
I wouldn't expect the execution contexts to be in the list but it sounds
like that's a result of the debugging process itself. Is it different if
you just log it to the message box without the debugger
earing in the recentCards, and why is my
palette not appearing there?
Many thanks.
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http
user types
there? Does it happen if I open a palette, or move a palette, or if the user
clicks on the palette?
Many thanks.
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and
Has anyone written a LiveCode function that will take a table of 2 or more
independent variables and 1 dependent variable, and return coefficients,
intercept, and standard errors for a multiple regression?
David Epstein
___
use-livecode mailing list
quickly than a field?
Many thanks.
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
of text.
Does anyone have relevant experiences or suggested remedies or ways of better
diagnosing the problem?
Perhaps relevant is that on the Mac I mostly use LC 5.5, on Windows 10 I am
using LC Community 9.0 (dp4).
Many thanks.
David Epstein
___
use-liv
While trying Mike Bonner's suggestion of "manual" measuring, I learned the
answer: a regular polygon whose official length is L and width is W is
inscribed in the oval whose length is L and width is W. So for an equilateral
triangle the area will be 3/4 * 3^.5 * R^2 (where R =
that could fit into that square. Is there some math that would give me the
area of that triangle from the height and width of the square (i.e., the
official height and width of the polygon object)?
David Epstein
___
use-livecode mailing list
use-livecode
with accent grave. Is
there some font I can choose, or some other action I should take, to get these
(and others) to display properly?
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe
point or
selection from one unlocked field to the next, the list hilite is lost. How
can I preserve it?
Many thanks.
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
ceMargins
put the effective textHeight of the target into t
put round(t*7/12) into m1
put round(t/3) into m2
return m1,6+m2,m1,m1
end niceMargins
getProp tightMargins
put round(.25*the effective textHeight of the target) into m
return m,6,m,max(6,m)
end tightMarg
perhaps related question: Why does a field margin of zero clip the visible
text at the top and left?
Many thanks.
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
word by my script.
Is there a better way to test for a line of text that has no visible characters?
Many thanks.
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
To clarify:
For a locked field with autohilite and traversalOn both true, the “built in”
auto scrolling works the same as with an unlocked field. I’m looking for a way
to script this kind of auto scrolling with autohilite and traversalOn both
false.
David Epstein
thanks.
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
: error in object expression
Hint:
Various other property names also fail, but I can’t detect a pattern.
Any insights?
Many thanks,
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe
expected result. But with stack A still
frontmost, if I type in the message box “the nSL of stack ‘B’” I get an empty
result (not even a “0”).
What am I missing?
Thanks very much.
David Epstein
___
use-livecode mailing list
use-livecode
moves from one rectangle to the next; so
that on each change of card there is a new mouseEnter event that restarts the
mouseMove message stream.
I tried Matt’s idea of catching all mouseMoves, but still had problems. So I
have placed the entire “quick browse” diagram in a separate palet
, unless I move the mouse out of and back into the control.
Is this how things should work? Do I need to move my control to a palette so
that the change of card that it triggers does not interrupt its own operation?
Are there other options?
David Epstein
think it will be easier to circumvent this problem than to figure it out, but
I will report back if I narrow it down.
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage
from the action
that my script is displaying in a LiveCode stack.
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com
B’s. Only after the user has
repeatedly clicked OK or Cancel to remove the duplicative series of subgroups
will a click on Field A cause the problem.
Thanks very much for any insights about this.
David Epstein
___
use-livecode mailing list
use
an
option can be put into effect in one step, not requiring some other action that
enables or shows the button.
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
?
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
see this, or have solutions?
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
anything other than
100%. And if I print it, even at 100%, I get screen quality, i.e., very bad,
resolution. Has something changed? Can LiveCode not display or print PDFs at
full resolution on an Intel Mac?
David Epstein
___
use-livecode mailing list
a file I
will already be loading that file into memory, and it will be too late to head
off the alert.
Many thanks.
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage yo
of diagnosing what’s
going on?
David Epstein
> An issue that has been discussed in the past might be unplaced groups --
> groups that have been created at some time but aren't being used in the
> stack. Here's one thread:
> <http://runtime-revolution.278305.n4.nabble
m
put
ATAN2(SIN(myLon-Lon0)*COS(myLat),COS(Lat0)*SIN(myLat)-SIN(Lat0)*COS(myLat)*COS(myLon-Lon0))
into k -- bearing in radians
put k/rpd into aid -- in degrees
return dkm
end earthKM
David Epstein
___
use-livecode mailing list
use-livecode@lists
can “set the loc” using non-integers. I
wrote the function without rounding because I may want to call it from a script
that performs multiple transformations and then rounds the final results.
> On 3/10/15 10:27 PM, David Epstein wrote:
>> function yAD x,y,d,a,@xAD
>> -- calcu
-- calculate point x1,y1 that is distance d and angle a from point x,y
-- return y1, load x1 into param 5
-- a is in degrees, positive is east of north
put (90-a)*2*pi/360 into a
put x + d*cos(a) into xAD
return y + d*sin(a)
end yAD
David Epstein
ter k2
end repeat
put return into char -1 of k2
put k2 after hold2
put empty into k2
end repeat
return hold2
end scrubbedText
If anyone sees a way to do this without stepping through each character, or
without excluding non-standard visible characters, suggestions are
s that are always or sometimes invisible that cause
the same problem? And what is a remedy?
Many thanks.
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
p
character it gets indented properly, showing me that the tab had been inserted.
In LiveCode 5.5 the cursor moves as expected and desired when I press tab, to
the indented point where what I type next will be inserted.
Do others see this symptom?
Many thanks.
David Epstein
thanks.
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
statement inside the loop. Doing so
will not cause a script error, but will almost certainly produce
unexpected results."
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
eful information is stored as script local variables by LC's
frontscript, which doesn't give me access to it in my own script.)
Any thoughts?
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
om property, but I see no indication that the field
actually has such a property or where the script is.
Many thanks.
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe an
Thanks to Jan Schenkel for the confirmation and suggestion.
Unfortunately, when I tried to script my own pageHeights function
using formattedHeight, I discovered that formattedHeight also gives
inaccurate results when paragraph properties have been set. I have
reported both of these probl
llustrates the problem.)
Can anyone confirm this, and has anyone already scripted a workaround?
Thanks very much.
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and m
er very far from the front. And I tried to match the first
"(" rather than building a list of all matches. There is no
practical need for yet another approach, but in case others will find
it of interest here is a speedy one that does not step through each
character and barel
Has anyone scripted a function that will locate the closing
parenthesis (or bracket, etc.) of a pair? Below is my effort.
Reports of its limitations or simpler alternatives (regex?) are invited.
David Epstein
function offsetPair a,b,str,@z
-- returns offset(a,str) and loads in z offset
d be derived as
100 * item 1 of the printPaperSize / ( item 1 of the printRectangle +
item 3 of the printRectangle).
But this symmetry was found on only one of the two printers I tested.
David Epstein
___
use-livecode mailing list
use-livecode@lists.runr
ectangle that
will, when printed, be 1 inch from each edge of the paper; and also
as much space outside of that rectangle as can be printed to. Thus I
need to know how much of that 1 inch cannot be printed to.
Many thanks for any suggestions.
David Epstein
___
("coverage" reports the number of pixels that are
within the object divided by the number of pixels that are within the
object's rectangle). For the image, "coverage" remains quite close
to constant when you resize the image, or when you resize the graphic
and then impo
I was hoping to use “within
()” so that I could handle graphics that are not singly connected and
closed. Is there some way to script a test for those cases?
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
sions
by about two-thirds. With tens or hundreds of thousands of pixels
being sampled in the calculation, I would not expect this variation.
Many thanks for any insights or suggestions.
David Epstein
___
use-livecode mailing list
use-liv
oll of the group
to the top of the image minus item 2 of the formattedRect of the group.
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
hange the content of field 1 of stack
2 whenever field 1 of stack 1 is edited).
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
htt
get the customKeys[myCustomPropertySetName] of myObject
Jacqueline Gay asked:
If I store an array as a custom property, is there a way to get its
keys
without putting the whole thing into a variable first?
David Epstein
___
use-livecode
etermines that my findings are
incorrect.
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
type in the message box:
copy group 1 of stack "x" to this card
Then with card 2 of stack y frontmost, type in the message box:
copy group 1 of stack "x" to this card
Result:
When copying to card 1, the content of the fields is copied.
When copying to card 2, the fields are
uses a crash as soon as I
choose the file.
On my MacBook Air, I do not have this problem.
Any one else have this experience, or suggestions?
Many thanks.
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this u
Are there any limits on what characters can be used in an array key?
For example, do tab characters cause problems?
Many thanks.
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe
ed this again, using 9. Result was 51711
What's going on?
Many thanks.
David Epstein
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http:/
87 matches
Mail list logo