Hi folks,
Having made some progress with screen-scraping specific web page content into
LiveCode, I'm now wondering about how I might automate the process of finding
the pages of interest on a website.
The idea is to work through a documentation site (or wiki), returning
structured tabular dat
This would work for a particular function. I was looking for a general
solution that would allow memo-ing any function without further
consideration. In J, for example, you just and "M." to the function
definition, and you're done. If I were to do something like this in LC I'd
want to implement som
...a kind of quantum scrolling/fixed duality inherent in cards, so we can know
it's state by inserting an object - Shrödinger's card?
But then 50% of cards would be created with a scrollbar - unless of course,
these are all non-local, sitting in the anti-stack that can't be accessed
because it'
On 6/15/11 11:44 PM, Richard Gaskin wrote:
Thomas McGrath III wrote:
Although, I suppose if you could group a card then you could scroll a card.
Actually, I believe empty cards do scroll. ;)
Cute. :P
But for Tim: you can in fact scroll a card. Cards have a scroll
property. Just make the
Thomas McGrath III wrote:
> Although, I suppose if you could group a card then you could scroll a card.
Actually, I believe empty cards do scroll. ;)
--
Richard Gaskin
Fourth World
LiveCode training and consulting: http://www.fourthworld.com
Webzine for LiveCode developers: http://www.
On 6/15/11 6:58 PM, Timothy Miller wrote:
Hi Jacque,
We may as well let everyone else in on this, someone may have something
to add. And I don't think you embarrassed either of us. I mean, we
weren't posting our underwear to Facebook or anything. :)
For the peanut gallery: we were talking i
Although, I suppose if you could group a card then you could scroll a card.
-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net
On Jun 15, 2011, at 11:43 PM, Richard Gaskin wrote:
> Timothy Miller wrote:
>> Is there any rational reason that native scrollbars can be
>> enabled fo
Timothy Miller wrote:
> Is there any rational reason that native scrollbars can be
> enabled for fields and groups but not for cards or stacks?
What is there to scroll in an empty window?
--
Richard Gaskin
Fourth World
LiveCode training and consulting: http://www.fourthworld.com
Webzine
Oopsie! I meant this to be a back-channel message to Jacque.
Fortunately, I don't think I embarrassed myself or Jacque.
Sorry for the inconvenience.
Tim
On Jun 15, 2011, at 4:58 PM, Timothy Miller wrote:
> Hi Jacque,
>
> Thanks very much. I understand the arithmetic in your function. You jus
Hi Bob,
I think I understand your arguments. I'm not convinced, though.
If you had a complicated nest of scrolling fields, scrolling cards, scrolling
backgrounds and a scrolling stack, you'd really have a mess. Inexperienced
authors (are they still called "authors"?) would have to be warned aga
Hi Jacque,
Thanks very much. I understand the arithmetic in your function. You just made
my life a little easier, as you have several times before.
If I understand your article on functions correctly, a handler or a script can
do anything a function can do. However, scripts containing functions
I think there is. You can see how certain kinds of fields would need to scroll,
where other fields do not. Fields are more akin to windows than any other LC
object. I suppose you could think of a card that way, but the card and stack of
cards allegory lends itself to some fixed size. If the whol
Hi,
I never thought about it before, but now I'm wondering. Is there any rational
reason that native scrollbars can be enabled for fields and groups but not for
cards or stacks?
Cheers,
Tim
___
use-livecode mailing list
use-livecode@lists.runrev.co
Richard-
Wednesday, June 15, 2011, 9:16:19 AM, you wrote:
> @Mark Weider: are you able to get "-ui" in any of the $ vars in your
> Fedora setup?
I believe the engine eats *all* the commandline arguments it uses
itself rather than passing them on.
> @All: Anyone know a way to run facelessly fro
I think someone did this already. They built a geometry manager (which is what
Livecode calls what you want to do).
Bob
On Jun 15, 2011, at 10:02 AM, Nonsanity wrote:
> As a side note, I designed the UI XML system used for Oblivion and Fallout 3
> (I don't know if Bethesda is still using it f
Importing images and/or using imageSource will make a very big stack!
It is often better to set the fileName of an image to an externally stored
jpg, gif or png...
eg: set the filename of image 1 to "bird1.jpg"
If you have a lot of images, you could keep them in a folder then use a
relative pat
On Jun 15, 2011, at 10:59 AM, Timothy Bleiler wrote:
> Thanks Devin,
>
> You are correct. I messed up and was running 4.5.2 on the Mac. So,
> what this means is that from 4.6 on backgroundBehavior = true for
> groups on >1 card is the expected behavior? Anyone know why this
> change was ma
I have a need to define custom properties for fields in a datagrid column.
Defining custom properties for columns that have been customised with
buttons, menus, checkboxes, etc is easy since they are actual LC controls
within the datagrid, but unless I'm misunderstanding something, it seems
like f
Thanks Devin,
You are correct. I messed up and was running 4.5.2 on the Mac. So,
what this means is that from 4.6 on backgroundBehavior = true for
groups on >1 card is the expected behavior? Anyone know why this
change was made? It seems like a pain in terms of message passing for
groups
Well, it takes code to flip images with buttons, and the scrolling field
needs none. But if you want to write some code anyway, you can also script
the field to randomize the order of the images.
As for cutting them off, that is true... You will get partial images at the
top and bottom while scrol
On 6/14/11 3:43 PM, Jeff Reynolds wrote:
in the end i rebuilt the whole group and the behavior went away, so it
was something odd in that group that popped in in the last 5 years or so
w/o any edits being done to that card. the odd show the other group
behavior only showed up when the stack went
On 6/15/11 11:09 AM, Timothy Miller wrote:
I think maybe the way to do it is to make a scrolling group of
several empty picture placeholders -- "image areas" is the correct
terminology, I guess. For each card, I'll store a list of locations
of desired images in a field. (The locations will be on
As a side note, I designed the UI XML system used for Oblivion and Fallout 3
(I don't know if Bethesda is still using it for Skyrim), and it used an
active version of this sort of relational layout. You could set the left of
an image, for example, to always be the right of another image plus 10. Th
This is a brilliant idea (using a character as a placeholder for an image),
but what's the advantage of having a bunch of images in a scrollable field
vs. a series of images with the Next and Previous (and maybe Any) buttons?
And maybe an option for placing up to four reduced images on the card at
Hi Roger,
Am 15.06.2011 um 18:47 schrieb Roger Eller:
> On Wed, Jun 15, 2011 at 12:43 PM, Klaus on-rev wrote:
>
>> Hi Richmond,
>>
>> Am 15.06.2011 um 18:34 schrieb Richmond Mathewson:
>>
>>> So; I wrote this to Timothy Miller:-
...
end mouseUp
>>>
>>> "find out the language equival
On Wed, Jun 15, 2011 at 12:47 PM, Roger Eller wrote:
>
> In addition to left/top/right/bottom, there is also loc.
>
> ~Roger
>
>
and width and height (probably others too).
~Roger
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit
If you want to stick with what you are familiar with, just to get the
project done, try looking up "imageSource" in the dictionary. With that, you
can change a character in a text field to be an image.
So make a background field with fixedLineheight turned off, centered text,
and a single characte
On Wed, Jun 15, 2011 at 12:43 PM, Klaus on-rev wrote:
> Hi Richmond,
>
> Am 15.06.2011 um 18:34 schrieb Richmond Mathewson:
>
> > So; I wrote this to Timothy Miller:-
> >> ...
> >> end mouseUp
> >
> > "find out the language equivalents of
> > the alignment commands in the Obj. Inspector"
>
> set t
On Jun 15, 2011, at 10:34 AM, Richmond Mathewson wrote:
> So; I wrote this to Timothy Miller:-
>>
>> on mouseUp
>> clone card "TWEETY"
>> set the name of card "TWEETY" to "TWEETY2"
>> --obviously this is a bit daft, you could have a field that counts the
>> cards and assigns them numbers as the
Hi Richmond,
Am 15.06.2011 um 18:34 schrieb Richmond Mathewson:
> So; I wrote this to Timothy Miller:-
>> ...
>> end mouseUp
>
> "find out the language equivalents of
> the alignment commands in the Obj. Inspector"
set the left/top/right/bottom of YYY to the left/top/right/bottom of XXX
Where
So; I wrote this to Timothy Miller:-
on mouseUp
clone card "TWEETY"
set the name of card "TWEETY" to "TWEETY2"
--obviously this is a bit daft, you could have a field that counts the
cards and assigns them numbers as they are cloned---
{this is where you can have your import routine}
select
On Wednesday, June 15, 2011 11:16:19 AM Richard Gaskin wrote:
> > seems to work as expected with and without -ui. Using this command:
> > ''launchTest -ui -Q some-param -h" launches Opera and creates the file
> > with this line: "launchTest -Q some-param -h".
>
> Thanks for that info. I've had no
On Wed, Jun 15, 2011 at 12:16 PM, Richard Gaskin wrote:
> @All: Anyone know a way to run facelessly from the command line in Windows
> and quit after executing without having Windows think it's an error?
>
Shot in the dark. What if you explicitly an exit code of zero to quit?
quit 0
Does that
On Jun 15, 2011, at 9:33 AM, Timothy Bleiler wrote:
> Hi,
>
> The backgroundBehavior property of groups appears to work differently
> on Mac vs Windows, Livecode version 4.6.1. On Mac, backgroundBehavior
> can be toggled between true and false at any time. On Windows
> BackgroundBahavior m
Warren Samples wrote:
This simple script:
on openStack
put $0 && $1 && $2 && $3 into url
"file:/home/warren/Documents/launchtestLOG.txt"
if $3 is "-h" then get shell("opera")
end openStack
seems to work as expected with and without -ui. Using this command: ''launchTest -ui
-Q some-para
Thanks, Keith, Slava and Richmond,
Hmm... Tricky...
The database suggestion is reasonable, but I never learned how to use a
database with LC. As a pathetic hyperCard retread, I tend to think of LC as a
database!
I want to be able to see multiple photos of the same bird at the same time, to
ge
Hi,
The backgroundBehavior property of groups appears to work differently
on Mac vs Windows, Livecode version 4.6.1. On Mac, backgroundBehavior
can be toggled between true and false at any time. On Windows
BackgroundBahavior must always be true IF the group is on more than
one card. If yo
Jan,
Interesting !
Thanks for the tip.
Pierre
Le 15 juin 2011 à 06:59, Jan Schenkel a écrit :
> --- On Mon, 6/13/11, Maarten Koopmans wrote:
>> Hi,
>>
>> Is there a way to send or receive multicast in livecode? I
>> want to use that
>> with a TTL=2 so devices on the same network can discove
On 06/15/2011 09:13 AM, Timothy Miller wrote:
Greetings,
I thought I knew how to do this, but it isn't working out.
I'm making a stack that will help me practice identifying birds. One card per species.
Images and songs, mostly, plus a few fields for habitat, seasonality and so on. Some
field
39 matches
Mail list logo