This should help. Download links are in there:
http://livecode.com/developers/guides/desktop-externals/
On Sat, Sep 20, 2014 at 12:44 AM, JB sund...@pacifier.com wrote:
I see the Foundation.h library was added and that
is what I needed because I am interested in using
Objective-C and the
Hi from beautiful Brittany,
Jacqueline,
I was already in a repeat loop to colour lines which contained certain field
names,
so I just tacked in the addition of the RGB, and then sorted the field.
Then I added a three line repeat loop to remove the RGB data, and got what I
wanted.
So I found,
I could be wrong but I previously looked at ell of the links I
could find in the externals lesson and did not see it. I am
using a Mac and it shows links for ExternalsEnvironmentV1
and ExternalsEnvironmentV2. Then I looked at Linux and
it showed a link for ExternalsEnvironmentV3. I downloaded
When I click on the message box it becomes the active
window and then if I click on the card in my stack that is
currently displayed it becomes the active window.
When I use the answer command it becomes the active
window but after closing the answer window my card is
not the active window. If I
This code will do it.
lock screen
go next cd
go previous cd
But I am sure that is not the proper way
to handle the problem.
John Balgenorth
On Sep 20, 2014, at 5:52 AM, JB sund...@pacifier.com wrote:
When I click on the message box it becomes the active
window and then if
See the toplevel command in the dictionary.
On September 20, 2014 7:52:52 AM CDT, JB sund...@pacifier.com wrote:
When I click on the message box it becomes the active
window and then if I click on the card in my stack that is
currently displayed it becomes the active window.
When I use the
Hi Jacque,
Thanks for the info.
I tried it and it does not work. The Dictionary says
if the stack is already in a editable window it does
not send the messages.
The problem is with ListMagic lines not refreshing
properly. They will refresh from the message box
and back and from a dialog like
I juste tried it with the ask command and it
did not work properly. Maybe the message
box and files dialog become the editable
window and when they close the card is
the editable window while the answer and
ask commands do not become editable
windows and the messages are not sent
properly.
John,
I noticed that the ask and answer dialogues both issue a 'suspendStack' message
to the card, but there is no 'resumeStack' message when the dialogue is
dismissed, maybe that is confusing listMagic. Going to the messageBox and back
to the card does issue a 'suspendStack' and 'resumeStack'
I believe that some months ago, when I mentioned setting custom properties
of a modal stack to pass data back to the calling program, that someone
stated that there was actually a mechanism to pass such information.
I can't find that in my email, could someone either please remind me what
I'm
I have a stack with a series of groups on it. I need to control the order
in which data is entered into the groups. The obvious/easy way is to
enable/disable the groups as needed but I'm not happy with the way groups
look when they are disabled.
I vaguely remember a thread about using images to
Hi Paul,
I did not know for sure thats what was happening
but I tried that before I posted. I tried it like you
wrote it and I also included the stack name after
resumeStack and it did not work.
Thanks for the reply and suggestion.
John Balgenorth
On Sep 20, 2014, at 8:57 AM, Paul Hibbert
the dialogData is what you want. Just set it to whatever values you need
to return from your modal stack, then examine it in your calling stack.
You can format it any way you want, lines, item, even an array. You can
also use it to pass data into a modal stack.
Pete
lcSQL Software
Hi Peter,
I'm not sure what you're exactly looking for in looks but I just now made
a little test stack with colored buttons.
You can adjust the blendlevel so that the group is as opaque or as
transparent as you wish it to be.
That's one idea.
Larry
- Original Message -
From: Peter
I recently was waggling the 'Recent' thing from Hypercard around.
Would be glad if someone could point me in the right direction
as to how to generate thumbnails in Livecode.
Richmond.
___
use-livecode mailing list
use-livecode@lists.runrev.com
I have an embedded image, size 120Kb, and want to toggle between a
non-compacted (120Kb) and a compacted (30Kb) thumbnail version...
1. I thumbnail the original image (data is still 120Kb as expected).
2. I store the TEXT of the resized image.
3. I compact the image by setting the imageData of
I'm sure other can offer more details, but as far as I know, you grab a
snapshot of the card and set the imageData of your thumbnail image to it.
I've been saving those snapshots to a hidden resources card, and then using a
scrolling field with inline images (referencing the images on the
Richmond wrote:
Would be glad if someone could point me in the right direction
as to how to generate thumbnails in Livecode.
The import snapshot command will do it, specifying the long ID of the
card you want imaged rather than a rect of the current screen buffer.
In the olden days we used
I have a variable with:
/Users/hawk/bk_clients/blue aardvark/blue_aardvark001.dhbk
/Users/hawk/bk_clients/pink panther/pink_panther_001.dhbk
/Users/hawk/bk_clients/super chicken/super_chicken005.dhbk
/Users/hawk/bk_clients/test5/test5001.dhbk
which was obtained with a
You might try (?m) to switch on multiline mode at the start of your regex.
I'm pretty sure that won't work though. LC makes you use a repeat loop to
go through each line and issue the replaceText() against each one.
Hope that Thierry chimes in with a workaround for this - he's the LC regex
King.
You could change your shell call, and use sed inline to strip what you
don't want before sending it back to LC
Since I don't know how you're generating the list, i'm using find to do it
on .mov files
Quote the whole string, use a pipe to sed with the -e switch, surround the
string for sed with
Thanks Larry. I tried your suggestion but it has the same problem as using
an image - buttons underneath the button are blocked but fields can still
be used.
I guess I'll have to stick with disabling each group when necessary. Wish
there was a way to affect the background color of a disabled
I might be on to something I think. If I export a snapshot of the group I
want to disable and place it over the group's rectangle, it obviously stops
any input into the group.
However, I'm having a hard time finding a way to fill the graphic with a
color. Setting the backgroundcolor didn't do
For a graphic's fill color to be visible, the graphic needs to have its
opaque property enabled, its blendLevel must be less than 100, and it
shouldn't have any special ink effects applied (srcCopy is the default).
Another option you might try it to apply a snapshot image as a backPattern
of the
You can put a white image over the group and set its blendlevel to 99. That
makes it visually transparent but it will still respond to mouse clicks (or use
any level you want.) Then put an empty mouseUp handler in the image to block
clicks.
On September 20, 2014 6:19:05 PM CDT, Peter Haworth
The explanation of ^ that I found states, The ^ (circumflex or caret) outside
square brackets means look only at the beginning of the target string., so the
way I see it, if it's only looking at the beginning it's not going to repeat
through the rest of the lines, so you could use a repeat loop
26 matches
Mail list logo