Thanks to Mike Bonner for his helpful suggestions. Stack A and Stack B are both
mainStacks. Further tests seem to confirm this rule:
A setProp or getProp handler in the script of stack A cannot be invoked for a
target in Stack B UNLESS we have "started using" stack A (even if Stack A is
I have for years successfully run a set of stacks using LiveCode 5.5.3 in
Windows 7. Recently certain operations have become painfully slow (Windows
says "not responding" for 2 minutes or so, but eventually does respond and the
operation is completed).
Setting some breakpoints to investigate,
Is there a way of scripting the export of an animation constructed in Livecode
to some standard video file format (avi, mp4, etc.)?Alternatively, is there a
way of scripting the creation of a standalone Livecode file that contains the
animation?
David Epstein
___
I have encountered a bizarre problem that occurs in a somewhat complicated
context. I wonder if anyone has experienced anything similar.
In short: when I click a locked field on one occasion “the long id of the
target” returns the expected result; but when I click on it subsequently “the
long
Thanks to Bernd for the simplest solution to my practical problem. If we "go
to" Stack A "the selectedChunk" will mean "the selectedChunk in stack A". But,
as he notes, preservation of the prior selection depends on certain conditions
(more on this below).
One anomaly is that "the selecte
Thanks to Craig Newman and Bob Sneidar. Unless I have misunderstood them,
which is possible, I think I have not clearly enough explained my problem.
I want a menu button in a palette to paste the clipboard's contents to the
topStack at the selectedChunk. This works if the selectedChunk act
ything BUT a bitmap. But this was all QuickTime stuff, so
things may have changed more recently.
Regards,
Scott Rossi
Creative Director
Tactile Media, UX/UI Design
On 5/26/15, 4:09 PM, "David Epstein" < dfepstein at comcast.net > wrote:
> In the past, when I displaye
Thanks for this prudent advice. The case I am contemplating would involve a
user creating new substacks to hold content. While I can make sure each
substack created by my program gets a unique name, if a file created on one
machine is moved to another machine there is some chance of a conflict
Thanks to Scott Rossi and Richard Gaskin for their suggestions, which led me to
the problem (large block of data stored as a custom property of a substack).
While poking around, I noticed that many but not most controls and groups, when
I get "the customPropertySets" of them, return the v
A stack I have gradually improved over several years now occupies 4 MB on disk,
whereas for a long time it was more like 500 KB.
Is there some way to diagnose what elements are causing this? I'd like to
generate a list of all of the stack's substacks, cards, fields, images,
scripts, etc., and
For high resolution export of vectors: open printing to pdf
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/
compared 3 methods of stripping lines from a
variable, and concluded:
If memory is an issue, then Method 2 is best
If memory is not an issue, then Method 3 is best
3 questions:
1. Is there a good way to determine ahead of time whether memory is an issue?
When I start the handler I can find
I hope someone can help me understand printing resolution.
If I use LiveCode to generate a PDF that will be printed at 300 dpi, how do I
achieve the best output? For vectors, I assume that it makes no difference at
what scale I compose the picture. (Is that true?) But suppose I want to print
I am trying to set the numberFormat so that calculation is precise enough for
the situation. Since I don't know ahead of time how many decimal places will
be used, I wrote a function that I hoped would adjust things as necessary.
But when this function is called with parameters m = 1.09131 an
Testing for speed, I found that my July 29 function--the one that uses
lineDelimiter and itemDelimiter--is thwarted when two parens appear as
consecutive characters, and gives the wrong answer in that case. Sorry about
that.
I may not have correctly implemented Peter Haworth's Regex string,
On second thought :
function offsetPair a,b,str -- str cannot be more than one line
-- returns first instance of char a && "matching" instance of char b in str,
or 0 if no a or empty if no match
put offset(a,str) into ca
if ca = 0 then return 0
put numToChar(7) into char 1 to
1 + (the duration of player myPlayerName)/ 75
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/listi
I think this will work on a Mac:
on pdfToPage n -- show page n of the pdf in player 1
put round(n) into n -- n as passed by scrollBarDrag doesn't seem to
-- always be an integer
put (n-1)*75 into t
set the playSelection of player 1 to true
set the startTime of player 1 to t
I have encountered two strange new symptoms using RevMedia 2.9 on a Windows 7
machine. I do not know if they are related.
1. I often write stacks on my Macintosh with Metacard 2.0, then run them
successfully in Windows with RevMedia 2.9. But for a new stack that works fine
on my Mac, op
I have for a long time pasted text copied from other programs to a field by
using a script like
"set the htmlText of [destination chunk] to clipboardData["html"]
After a recent upgrade to Windows 7 and Internet Explorer 8 this does not work
for text copied from Internet Explorer; pasting yiel
I want to count the number of days between some past date and today.
I tried this (using Rev 3.0):
on mouseUp
put "March 12, 2012" into a
convert a to seconds -- LC should understand this as midnight
get the date
convert it to seconds -- should also be midnight
put (i
Perhaps relevant to this thread is this problem I have found while copying in
Excel, pasting in LC (actually an older version of Rev):
When you zoom Excel's display, the number formatting changes. E.g., "442593"
becomes "4E+05" if space is too tight, or "" if space is really tight. This
Ben Rubenstein asked
Can I just confirm that there's no way to print high-quality
rotated text from LC?
Create the field with fontsize 4 times what your want, take a snapshot, rotate,
paste, and reduce the image's width and length to 25% of the original .
David Epste
23 matches
Mail list logo