Not sure if this will be userful, but would placing the following script in
your stack (or frontscript I guess) work easier?
command amIHere pName
try
dispatch "imHere" to group pName of the current card
catch tError
return false
end try
end amIHere
command imHere
return true
end imHere
Can you share the code to the page you're actually posting to? Its
sounding like its not actually returning any output, causing a 500 internal
error. Just to let you test, I set up a quick and dirty page at
http://guidezone.info/test.lc
The code in the page is as follows.
"
end repeat
else
I'm curious as to the differences..
Bob, what do you get if you..
put the behavior of group "workingdatagridname" into tWorking
put the behavior of group "nonworkingdatagridname" into tBroken
get dicompare(the script of tWorking,tBroken,1)
put it
On Wed, Apr 18, 2018 at 8:53 AM, Bob Sneidar via us
Should have been diffcompare(the script of tWorking, the script of tBroken,
1)
Typos galore.
On Wed, Apr 18, 2018 at 9:05 AM, Mike Bonner wrote:
> I'm curious as to the differences..
> Bob, what do you get if you..
> put the behavior of group "workingdatagridname" into tWorking
> put the behavio
Something like this might work..
put "a create a sentence title" into tTitle
repeat with i = 1 to the number of truewords in tTitle
put toupper(char 1 of trueword i of tTitle) into char 1 of trueword i of
tTitle
end repeat
put tTitle -- the adjusted case sentence
If you have words that you wou
Not sure what you mean?
Also, definitely use one of the Andy versions to "case" your titles. Much
more comprehensive solution. The only edge case I can see would be
something like a title with a McGary type name, pretty much impossible to
account for without looking up every word in a names DB.
when you set the dragaction, it doesn't actually DO the action.. All it
really does is a) set the prompt to the action you intend to do, and b)
send that info back to the source of the dragdrop. (not positive about that
second part)
So, if you have a button as the destination for your drag drop,
I had no clue you could do that! Thank you!
On Thu, Apr 26, 2018 at 8:43 AM, Brian Milby via use-livecode <
use-livecode@lists.runrev.com> wrote:
> on mouseUp
>put "answer" into tA["firstkey"]["secondkey"]
>put "firstkey" into tPath[1]
>put "secondkey" into tPath[2]
>put tA[tPath
If you change it to
on mouseup
save this stack as "TestSaveStack"
put it && the result
put cr & the files after msg
end mouseup
does it return an error?
If not, does it show the file?
If the default folder is set to an unwritable folder you should receive an
error. If not, you should see the saved
hard drive doesn’t show
> any file named “TestSaveStack”.
>
> There is no error reported for "the result”.
>
> Rick
>
>
> > On Jan 5, 2017, at 11:32 AM, Mike Bonner via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > If you change it
If you mean a simple interaction, IE lc server loads the stack, gets or
changes something on the stack, and save the changes to the stack, thats a
pretty straight forward thing. If you mean inter-process communication
between lc server and an actively running stack, thats a different animal
entire
Sorry I didn't get back to you till now, but it looks like things are
covered as far as accessing a stack file from lc server. As for the other
direction, (lc server talking to an in memory stack..) FROM the stack
itself would be a simple http request, but the reverse not so much.
I'm now curiou
ply when your server
> stack is used in a long-running LC process. If you run in CGI mode, you
> don't have to deal with some of those things (like figuring out when to
> reload a stack). Personally I'm glad the on-rev default is CGI mode.
>
> Best -
> Phil Davis
>
>
>
If I recall correctly, that is a keyed custom prop, and also if I remember
correctly, it works with our without the space. (So its like an array, but
its a property with array notation)
portal_RowNames [headerName] and portal_RowNames[headerName] should both
work. (unless I misremember completely)
What jacque was referring to is a different animal. An executable set up as
a cgi, that (if I recall correctly has a startup script and that after
script completion, exits)
The lc server itself runs in cgi mode (as apposed to as a module I believe)
and unless you're using the earliest version (you'
d the stack did nothing.
>
> What am I not doing properly here?
>
> Thanks,
>
> Rick
>
>
> > On Jan 20, 2017, at 2:26 PM, Mike Bonner via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > What jacque was referring to is a different ani
; In the stack script of “teststack” the contents of
>> “executeThis”:
>>
>> on executeThis
>>
>> answer "This is the script in the teststack”
>>
>> end executeThis
>>
>> I looked at the stack..
>> ..and the stack did nothing.
>&g
script of “teststack” the contents of
>>> “executeThis”:
>>>
>>> on executeThis
>>>
>>>answer "This is the script in the teststack”
>>>
>>> end executeThis
>>>
>>> I looked at the stack..
>>> ..and t
; Hi Mike,
>
> Sorry, I didn’t see this until I had already sent my last message. LOL
>
> Yes, I see that things work on your end. I’ll try it again.
>
> Thanks,
>
> Rick
>
> > On Jan 20, 2017, at 5:58 PM, Mike Bonner via use-livecode <
> use-livecode@lists.
last message. LOL
>>
>> Yes, I see that things work on your end. I’ll try it again.
>>
>> Thanks,
>>
>> Rick
>>
>> > On Jan 20, 2017, at 5:58 PM, Mike Bonner via use-livecode <
>> use-liveco
How do you know it didn't work?
Well ok.. first.. On the server you have to make sure that the stack you
are on is the one you think you're on.
If you put the name of "this stack" you can see where you are when it
happens.
Second, the server first loads the stack. Then if you "put" something into
just checked, "this stack" should work fine (unless you do something that
changes the context)
On Fri, Jan 20, 2017 at 5:27 PM, Mike Bonner wrote:
> How do you know it didn't work?
> Well ok.. first.. On the server you have to make sure that the stack you
> are on is the one you think you're on.
think I may have figured out what you're wanting to do.. Correct me if I'm
wrong.
YOu want to have an active process with an open stack that is running,
either in the ide or as a standalone. And to then be able to hit a web page
that then updates the currently open stack. If thats the case, its no
ities exist in using the server to communicate with stacks.
>
> Thanks,
>
> Rick
>
> > On Jan 20, 2017, at 7:27 PM, Mike Bonner via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> > How do you know it didn't work?
> > Well ok.. fir
change - yes?
>
> The file communication idea makes things a little more
> complex but is certainly doable.
>
> I’ve never done anything with sockets - are there any good
> examples out there you can point me to for this?
>
> Thanks,
>
> Rick
>
>
>
> > On Jan 20,
Looks like utf16 based on this info I found here:
https://codepoints.net/U+00F1?lang=en
SystemRepresentation
Nº 241
UTF-8 C3 B1
UTF-16 00 F1
On Sat, Jan 21, 2017 at 8:22 PM, J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:
> Here's a test sample of some UTF8 I get back from
If you have php on your second server, and don't have lc, you can do a
check with php similar to what you're talking about. This is untested but..
If you have the following php file (perhaps named checkforfile.php) on the
alternate server, and send it a get request containing the path to the file
f the result code
> return (tResultCode = 200)
> end qrtHTTP_FileExists
>
> It's working for me but now I can't re-find it so I can't credit
> whoever wrote it!
>
> Copying here for posterity!
>
> Tim Selander
> Tokyo, Japan
>
>
>
> On 2017.
Does the error message happen to mention aapt.exe?
On Sun, Jan 22, 2017 at 7:37 AM, git.vb via use-livecode <
use-livecode@lists.runrev.com> wrote:
> Hi all,
>
> Why is so difficult to make a simple android app?
>
> Why I get every time this error? What I need? To download all source
> code and d
What richard said. Instead of the clipboard (which I suspect doesn't work
because the lc server engine is not running in the same shell instance)
The idea of using a file as an intermediary storage container would work,
but sockets would be so much better. (Since this will be same machine
socke
I'm trying to get a tablet working for a friend (hard reset is a no go.) I
think I can use phoenix card to reflash it, but does anyone know of a site
with firmware/roms that isn't a hack/trojan/scam site? (just for info, its
an allwinner a33 TZX-723Qb6 Hoping to reg this going but I don't trust
unrev.com> wrote:
> If it were mine, I would try to get a rom from the original manufacturers
> site, if possible.
>
> I found this just by googling...
>
> http://mytabletguru.com/allwinner-a33-firmware-and-tool/
>
> ~Roger
>
>
> On Jan 24, 2017 4:04 PM, "
om> wrote:
>
>> If it were mine, I would try to get a rom from the original manufacturers
>> site, if possible.
>>
>> I found this just by googling...
>>
>> http://mytabletguru.com/allwinner-a33-firmware-and-tool/
>>
>> ~Roger
>>
>>
&g
use serv...@allwinnertech.com <mailto:service@allwinnertech.
> com> to contact them.
>
>
> > Am 24.01.2017 um 23:02 schrieb Mike Bonner via use-livecode <
> use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.com>>:
> >
> > Amazing. Submit
(mostly to solidify the memory for myself)
set the text of tObjectReference gives the engine enough clue to know that
you're setting a property (set the text of) so the next thing needs to be
an object reference.
put "fred" into tObjectReference is ambiguous because you can put fred into
tname or a
If you don't mind the message on re-click being another "hiliteChanged"
message, you can tweak it on your own.
If you're on windows, go to your x86 programs folder/runrev/ then the
version you're using. Guessing 8.1.1. Then extensions
Copy the segmented control folder out to where you can work on
Most likely you have an extraneous cr at the end of the url, and its
showing as html encoded. If thats the case, before you
encode/launch/whatever, remove the cr and it should go away.
On Sun, Jan 29, 2017 at 5:58 PM, Tom Glod via use-livecode <
use-livecode@lists.runrev.com> wrote:
> Hi Liveco
rewrite the variable
> somehow. Thanks
>
> On Sun, Jan 29, 2017 at 8:16 PM, Mike Bonner via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> > Most likely you have an extraneous cr at the end of the url, and its
> > showing as html encoded. If thats th
ates label "HTTP Link, item delimiter "=" and the
> URL
> > starting with HTTP.
> >
> > I think I will just write a little repeat loop to rewrite the URL before
> I
> > send it off to the launch command. Gonna try format function too
> >
> >
Somewhere around here I have a library that should help with your turtle
moving. Will see if I can dig it up.
On Mon, Jan 30, 2017 at 2:46 PM, Tore Nilsen via use-livecode <
use-livecode@lists.runrev.com> wrote:
>
> > 30. jan. 2017 kl. 21.20 skrev Richmond Mathewson via use-livecode <
> use-live
Most likely thing I can think of is that on opening the database, something
is wrong with the path so it created a new and empty database.. somewhere..
Just to test, I would "put theRes" and see whats actually in there.
On Mon, Jan 30, 2017 at 7:29 PM, Dr. Hawkins via use-livecode <
use-livecode@l
I'm at a loss then.
On Mon, Jan 30, 2017 at 8:06 PM, Dr. Hawkins via use-livecode <
use-livecode@lists.runrev.com> wrote:
> On Mon, Jan 30, 2017 at 7:03 PM, Dr. Hawkins wrote:
>
> > theRes holds "dhbk_lcnsees", as it should. The name was created, found
> in revDatabaseTableNames,
> > and filter
Depending on what version of LC you're using,k and if you're using the
widget, or openrevbrowser
look at revBrowserAddJavascriptHandler in the dictionary.
If using the widget, use the dropdown to select the browser widget in the
dictionary and look at the javascripthandlers property.
On Mon, Ja
Yeah. Thats what my (as yet unrediscovered) library can help with.
On Mon, Jan 30, 2017 at 11:14 PM, Richmond Mathewson via use-livecode <
use-livecode@lists.runrev.com> wrote:
> The problem is not with drawing the line.
>
> The problem is how, when the turtle's "nose" is pointing at, say, 37
> d
K heres the required parts..
*## takes length and the angle in radians and returns vector as x,y offsets*
function aLenToVector pLen pAngle
return pLen * sin(pAngle),pLen * cos(pAngle)
end aLenToVector
*## takes degrees and changes to radians*
function dToRadians pDegrees
return pDegrees
If I recall correctly, you can SET a location now that is a fraction of a
pixel.. Keep track of the decimals as your current location and use those
numbers (within reason) as your start point, and continue onward. (think
it was called partial pixel positioning?) While the actual location will
be
Yeah, I think this is due to that change a while back (the partial pixel
positioning stuff) it doesn't throw an error in your face if you set to a
decimal coord anymore.
>
> Apparently fractional coordinates work fine, rounded reasonably well -
> this works:
>
>set the left of btn 1 to 100.0
Ah. Its sub pixel positioning. (a rose by any other name wouldn't be as
alliterative as a ppp name)
On Tue, Jan 31, 2017 at 2:35 PM, Mike Bonner wrote:
> Yeah, I think this is due to that change a while back (the partial pixel
> positioning stuff) it doesn't throw an error in your face if you se
nvm. ignore me. :) Something else entirely. (but the whole idea of
tracking the coords separately still applies)
(goes to bed)
On Tue, Jan 31, 2017 at 2:57 PM, Mike Bonner wrote:
> Ah. Its sub pixel positioning. (a rose by any other name wouldn't be as
> alliterative as a ppp name)
>
> On Tue,
ropboxusercontent.com/u/6767916/VR_and_Javascript_Example.zip
> >
>
> Any help is greatly appreciated!
>
> John Patten
> SUSD
>
>
>
> > On Jan 30, 2017, at 8:01 PM, Mike Bonner via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> &g
gt; of the particular challenge.
>>
>> https://ggnome.com/forum/viewtopic.php?f=13&t=11663 <
>> https://ggnome.com/forum/viewtopic.php?f=13&t=11663>
>>
>> There may be folks interested in what Livecode could do for their
>> workflow too :)
Thx for the info. Honestly, all I want is for the example in the
dictionary to work for me. (and yes, the javascript causes the lc side
handler to fire, but.. No parameters passed.) I'll read through the stuff
you linked and see what I can learn. Thanks!
On Sun, Feb 5, 2017 at 1:41 PM, Sannya
if just tacking on a ? at the end doesn't work, do this instead. Tack on
the ?dummyvar=1234125 where 1234125 is "the seconds." That way its always
a unique url and should do a fresh load.
On Sun, Feb 5, 2017 at 1:44 PM, Sannyasin Brahmanathaswami via use-livecode
wrote:
> John: Ditto what Bill
Nevermind, user error. It doesn't matter how many changes I make to local
files when i'm actually pointing to an external web page.
On Sun, Feb 5, 2017 at 3:08 PM, Mike Bonner wrote:
> Thx for the info. Honestly, all I want is for the example in the
> dictionary to work for me. (and yes, the
editing local files.. and expecting it to
change what I was getting from the server. (DOH)
On Sun, Feb 5, 2017 at 7:54 PM, Sannyasin Brahmanathaswami via use-livecode
wrote:
> On 2/5/17, 12:08 PM, "use-livecode on behalf of Mike Bonner via
> use-livecode" use-livecode@lists.ru
In an actual browser (at least as far as I know) one doesn't have to resort
to tricks. Like in chrome, ctrl-f5 bipasses cache and reloads. More info
here. https://en.wikipedia.org/wiki/Wikipedia:Bypass_your_cache
On Mon, Feb 6, 2017 at 9:01 AM, Bob Sneidar via use-livecode <
use-livecode@lists
aching.
>
> But maybe I misunderstand the problem.
>
> Bob S
>
>
> On Feb 6, 2017, at 08:39 , Mike Bonner via use-livecode <
> use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>>
> wrote:
>
> In an actual browser (at least as far as I kn
If the loop is tight enough, the keypress never gets through. I've just
got into the habit of putting an escape hatch into loops that can go wrong.
Something like:
if the environment is "development" and the shiftkey is down then exit to
top
(or if you want the user to have access to the same exit
I can't test it on mac, but 2 things. First, if your path is a folder but
doesn't have the trailing / you'll end up in the wrong place so you might
consider doing a check:
if there is a file sRootFolder then delete item -1 of sRootFolder
Then for the windows segment use "start":
put ("start " & s
Just remembered, you can bipass the shell call entirely..
launch document sRootFolder -- native lc command. Just need to do as I
mentioned and be sure its a folder you're dealing with. (otherwise it will
launch the apropos app to match the file type)
It will probably work for both platforms. (my
Will this work for you?
dispatch function "myFunction" to card "myCard"
put the result into tResult
Parameters can also be passed using the "with" extension. Unlike the
"call", "send" and "value" handlers, the parameters are sent directly to
the target handler, rather than being extracted from th
of field "fieldname" is an optional argument youcan use.
get the selectedtext of field "myfield"
On Fri, Feb 24, 2017 at 9:50 AM, Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:
> Hi all.
>
> The Short Version:
>
> Is there a way to get the hilited text for a control without
Nevermind, it doesn't work, and I think it should. Enhancement request?
Bug?
On Fri, Feb 24, 2017 at 10:16 AM, Mike Bonner wrote:
> of field "fieldname" is an optional argument youcan use.
>
> get the selectedtext of field "myfield"
>
> On Fri, Feb 24, 2017 at 9:50 AM, Bob Sneidar via use-livec
Feb 24, 2017 at 10:26 AM, Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:
> I'll submit one.
>
> Bob S
>
>
> > On Feb 24, 2017, at 09:21 , Mike Bonner via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> >
> &g
faux select in
> that mode, or b) it should be an actual real selection which it obviously
> is not.
>
> On Fri, Feb 24, 2017 at 10:26 AM, Bob Sneidar via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
>> I'll submit one.
>>
>> Bob S
>>
>&g
The difference is, turning traversal off, rather than setting the locktext
to true doesn't work. Even if one manages to hilite text in the
non-traversable field, it isn't really selected. (Which is why if it were
me I'd not do it that way)
On Fri, Feb 24, 2017 at 1:35 PM, Richard Gaskin via use-l
I'm not sure if its the same thing, but you might try "put line xx of the
scriptexecutionerrors"
On Mon, Feb 27, 2017 at 9:11 AM, Ben Rubinstein via use-livecode <
use-livecode@lists.runrev.com> wrote:
> For years I've been accustomed to interpreting the error reported in a
> 'catch' statement us
;> On Tue, Feb 28, 2017 at 10:18 AM, Ben Rubinstein via use-livecode <
> >> use-livecode@lists.runrev.com> wrote:
> >>
> >> Thanks Thierry and Mike! That's it. And better than the old approach.
> >>>
> >>> How do you know about this? AFA
Sounds like the widget needs to be tweaked to allow for dragging. Its over
my head, if someone with a clue could do the modification and explain it,
I'd really appreciate the lesson.
On Mon, Feb 27, 2017 at 5:36 AM, Richmond via use-livecode <
use-livecode@lists.runrev.com> wrote:
> I have a stac
An alternate solution..
If you
put item 2 of the selectedloc of the first field - item 2 of the
selectedloc of the second field into tScroll
-- you can then
set the vscroll of field "your second field" to the vscroll of field "your
second field" - tScroll
On Mon, Mar 6, 2017 at 8:27 AM, Paul Dupu
Try this form:
filter lines of tSource without regex pattern "^stack.*"
On Fri, Mar 10, 2017 at 11:31 AM, Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:
> Hi all.
>
> I am trying to filter a list without integer numbers. Note that
> matchText(tControlNames, "[0-9]+") returns
mousemove works. It does appear that "mousecontrol" doesn't fire when the
mouse is down so that is out.
You can also use "within" which is pretty fast.
Have a variable with a list of the objects you wish to check against (or
array, or whatever)
on mousemove
if the mouse is down then
repeat for
accidental send before complete. *sigh*
on mousemove
put 1 & cr & 2 into objectList -- just using control number for the
quick example
if the mouse is down then
repeat for each line tLine in objectList
if within(control tLine,the mouseloc) then
put tLine into tRes
| jac...@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
>
>
>
> On March 11, 2017 3:51:04 AM Tim Selander via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> Oh ho!
>>
>> That does it, Mike. Many t
@hyperactivesw.com
> HyperActive Software | http://www.hyperactivesw.com
>
>
>
> On March 11, 2017 11:54:59 AM Mike Bonner via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> Hey thats awesome! Thanks Jacqueline, another gem I had yet to discover.
>&
If the names of the tiles are numbered in a logical way, and only go
horizontal, and vertical, then all you need to know is the start spot, and
the end spot, and can fill in the gaps between.
On Sat, Mar 11, 2017 at 4:06 PM, Quentin Long via use-livecode <
use-livecode@lists.runrev.com> wrote:
>
On windows, only folders show.
On Mon, Mar 13, 2017 at 3:43 PM, Ben Rubinstein via use-livecode <
use-livecode@lists.runrev.com> wrote:
> Hi Tiemo,
>
> I'm not sure which OS you're looking at (or which version of LC).
>
> On MacOS, I'm not seeing the behaviour you describe: for me, "answer
> fold
What a pane. (see what I did there because of what you did there?)
On Tue, Mar 14, 2017 at 8:44 AM, Bob Sneidar via use-livecode <
use-livecode@lists.runrev.com> wrote:
> You can't fix a broken Windows. (see what I did there?)
>
> Bob S
>
>
> > On Mar 13, 2017, at 18:04 , Mark Wieder via use-liv
to get the top of the window, in the message box do:
put the top of stack "revnewscripteditor 1"
Same of course for bottom, left, right, rect, and loc
On Tue, Mar 14, 2017 at 10:12 AM, Bob Hall via use-livecode <
use-livecode@lists.runrev.com> wrote:
> Is it possible to get the location of the I
does this mean one could replace /u with 0x and then replace uls with empty
and end up with the correct end result?
On Wed, Mar 15, 2017 at 2:16 PM, Richmond Mathewson via use-livecode <
use-livecode@lists.runrev.com> wrote:
> Just knock off the last 3, and what is left is what you want.
>
> Rich
(watches as the whole topic zooms over his head)
On Wed, Mar 15, 2017 at 4:03 PM, J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:
> On 3/15/17 4:03 PM, Mike Bonner via use-livecode wrote:
>
>> does this mean one could replace /u with 0x and then replace
If you're using a proxy, can you temporarily turn it off and test again?
On Wed, Mar 15, 2017 at 7:52 PM, Stephen MacLean via use-livecode <
use-livecode@lists.runrev.com> wrote:
> Works fine in LC 8.13 and 9.0 DP6 Business on Windows 7 x64 and Mac OS X
> 10.12.3
>
> Best,
>
> Steve MacLean
>
> _
Go here: http://downloads.livecode.com/livecode/
Another reason the site should provide a direct link rather than obfuscate.
On Sat, Mar 18, 2017 at 1:39 PM, Phil Thane via use-livecode <
use-livecode@lists.runrev.com> wrote:
> OK, I'm back. When I follow the links I end up here:
>
> https://live
You could write a small app just to do the processing (or use a web server
with an lc script to process) break it into chunks, and spawn
processes/server requests to offload the work maybe. Though imagemagick
would be a pretty awesome solution if it can be made to do what you need.
On Sat, Mar 18,
When you shrink the group, it does indeed move things around, so you'll
need to do the math to adjust the vscroll and hscroll. Something like
this..
*set* the hscroll of me to the hscroll of me -(the left of me - the left of
the target )
*set* the vscroll of me to the vscroll of me -( the top of
This is awesome! Quick question (feature request) would it be difficult to
add a dictionary selector? So if I have 13 versions of lc installed, I
could pick which dict to look at? (and make it work as a standalone at the
same time?)
On Wed, Mar 22, 2017 at 9:23 AM, Thierry Douez via use-livecode
ay.. I can just open whatever
versions I wish and access the plugin from them.
On Wed, Mar 22, 2017 at 9:44 AM, BNig via use-livecode <
use-livecode@lists.runrev.com> wrote:
> Hi Mike,
>
>
> Mike Bonner via use-livecode wrote
> > This is awesome! Quick question (featur
Confirmed on win10 If you set target to 1, it works. If you set it to > 1
it seems to always set it to the layer thats highest. I tested with this
script.
on mouseup
set the layer of the target to 2
repeat with i = 1 to the number of buttons of this card
set the label of button i to the laye
I don't have a mac available at the moment, but can't you use ifconfig for
this? Most likely with no arguments then parse the results.
If the results are similar to linux (never a safe bet, but worth a check)
there will be a line with something like HWaddr and then the mac address.
On Thu, Mar
If you call it with no arguments, doesn't it list them all? I'll have to
get my mac running again so I can test this stuff.
On Thu, Mar 30, 2017 at 11:52 AM, Tiemo Hollmann TB via use-livecode <
use-livecode@lists.runrev.com> wrote:
> Yes, using ifconfig I get exact 1 MAC (see Ken Rays script a
Place a grc of the right size behind the image. Make sure the grc is set to
opaque. Group the grc and the image and place your mouseup handler in the
group. If they click a visible portion of the image it'll fire the groups
mouseup, if they click a trasnarent spot, the (blended and invisible) grc
;
> could return other results (after filtering, sorting etc.) or why I
> shouldn't use one of them? Are these commands the same available as netstat
> in modern Oss (> 10.9)? networksetup seems to be the easiest solution and
> is fast as ifconfig.
>
> Thanks for any advice
>
Stackfile change, the stack must be in a later format.
I saved a copy with the older stack file version, hopefully it won't break
any code (it shouldn't.)
https://www.dropbox.com/s/ca3yqa9gvvtrsd4/myMACsStackfilever2_4.livecode?dl=0
On Fri, Mar 31, 2017 at 7:36 AM, Francis Nugent Dixon via use-li
Just for fun, I did as others have said and converted the stack to use a
field. Since each button used the same exact script (as far as I could
tell, too many to go through individually) it was easy to modify it to use
the selectedtext rather than the label of the clicked button. TO get the
fonts
Got bored. Heres a version using a datagrid form so you can keep that
buttony look.
https://www.dropbox.com/s/p8xlv0zoyeb34za/CHAR%20REFDG.livecode?dl=0
On Sun, Apr 2, 2017 at 12:25 PM, Jim Lambert via use-livecode <
use-livecode@lists.runrev.com> wrote:
> A little fancier.
>
> on mouseup
>
You should be able to open an in memory database (or database file,
whatever) and then do..
*get *revdatafromquery(,,1,"select sqlite_version()") -- where 1 is the
database connector id, and the select statement is obvious.
On Mon, Apr 3, 2017 at 1:48 PM, Tom Glod via use-livecode <
use-livecode@
btw. on ver 9 dp6 I get 3.15.0
On Mon, Apr 3, 2017 at 2:06 PM, Mike Bonner wrote:
> You should be able to open an in memory database (or database file,
> whatever) and then do..
>
> *get *revdatafromquery(,,1,"select sqlite_version()") -- where 1 is the
> database connector id, and the select st
If you build a standalone for your app, and immediately build again, is the
second build faster? If so, it would make me think that the server spins
some of its drives down and it takes a second or two to spin them back up.
Even if the drive you are accessing doesn't spin down, if others on the
se
Can't answer the rest, but as for the global.. Since you can utilize stacks
with server, you could declare a global just as you would normally, in any
scripts that needed it, and it would work just like in lc proper. It would
only persist during the run of that particular instance.
On Thu, Apr 6,
I was mainly referring to the fact that an lc server script isn't
restricted to a single script file, so scope still matters. (Clarity is
not my strong suit) So as in a standalone etc, to use a global one would
need to declare it in each script where it needs to be available, whether
server or no
201 - 300 of 379 matches
Mail list logo