Hi Gerry,
I know that using the iPhonePickPhoto command I can open the
camera application of the iPhone, let the user to take a picture (he
has to click the proper button) , import the image and save it in the
pictures folder.
However, I wonder if there is a way to take a picture (opening the
I don't think the binaryEncode function will return the same
binary or ascii number that you get using the baseConvert
function. The dictionary states it returns the same thing as
the pack() function used by perl. I do not know perl so I am
not sure what they are doing.
Can anyone explain what
Thank you, Roger. Works like a charm!
Gregory
On Tue, Jan 3, 2012, at 12:37 AM, Roger wrote:
Have you tried binfile: instead of file: to prevent alteration? In certain
cases, you may not need the // either.
?Roger
___
use-livecode
Thanks Jacque.
I was hoping to present the user with vision of a cursor moving to the button
and then clicking on it.
I think now that I will manufacture my own cursor, using RR's line graphic
(with arrow attached) and thereby simulate a cursor.
It is perhaps the dark side of my nature that
Perhaps a png would be better. That way you could show a Mac cursor to a Mac
user, and a Windows cursor to Windows users.
On Jan 3, 2012, at 10:00 AM, Jim Hurley wrote:
I think now that I will manufacture my own cursor, using RR's line graphic
(with arrow attached) and thereby simulate a
Hi there,
what are the recordInput settings if I want to record a text from a
(text)field being read out by the revspeak-comand? I know, there's a
list in the dictionary (imic, emic, cd etc.), but I couldn't
manage to get this kind of recording working.
Cheers
Martin
function convertTextToBinary varText
--repeat with n = 1 to the number of chars of varText
repeat for each char tChar in varText
--put chartonum(char n of varText) into theNum
put chartonum(tChar) into theNum
put baseConvert(theNum,10,2) into tBaseConverted
put char
Yes that is what I do. In a selectionChanged handler, the last thing I do is
store the current selection in a property of the object. Any validation failure
before that I set the selection to that property and bail out before it saves
the property. Of course I have to lock messages before
on mouseup pButtonNum
if pButtonNum is 3 then
select me
-- do some stuff
select empty
end if
end mouseUp
Is that what you meant?
Bob
On Jan 1, 2012, at 3:55 PM, Kresten Bjerg wrote:
I am trying to script a handler guiding (through Answer dialogue) user of
standalone to
Our electronic key system failed the morning of the first. Seems everyone's
keys were being handed an invalid date. Imagine the panic as people started
showing up at 6 in the morning on the first day of the year and their keys no
longer opened any doors! LOL! Damn Mayans! How could they have
I can't seem to find a page describing what the limitations are for MobGUI if
you haven't registered it. Do any of you know? Mine is registered, so I get to
see everything, and if I unregistered it I might not notice all the differences.
___
I like Parallels, especially because it is capable of creating multiple network
adapters and assigning a real adapter to it very easily. This would allow you
to connect a server to two different networks for example. It's entirely
possible to set up a virtual software router like that. I now
Does this happen even when you use dgDataOfIndex or dgDataOfLine? If so, then
this would be a great situation for copying the datagrid behavior to a button
in the stack and then coding the copy of the behavior scripts to check for the
existence of a CR and replace it with a vertical tab
Because a mouseDown only gets sent when the tool is Browse. The contextual menu
gets built when using the pointer tool. I am creating a dev utility for adding
field validations in a database app framework. I only want this to be visible
when using the pointer tool.
Bob
On Jan 2, 2012, at
Jim Hurley wrote:
Ken's suggestion (using screenMouseLoc) would allow me to take
control of the cursor. It is odd that there is a command to
locate the mouse relative to the screen but not the card.
I wonder whether this, and the notion of exercising power only
for good, might not date
Bob Sneidar wrote:
Because a mouseDown only gets sent when the tool is Browse.
This is true only in the IDE. Even then, it's not really true per se,
but merely that the IDE eats most mouse messages when the pointer tool
is active.
For your purposes it won't matter much, but for anyone
On Tue, Jan 3, 2012 at 9:29 AM, Bob Sneidar b...@twft.com wrote:
All of them, right?
Yes
A front script appears to be inserted into the message path before ( or
above ) any target. So it has a chance to handle any message that is sent
to any target.
I know this is common knowledge to the old
When converting ascii to binary you convert each char using the
repeat script you provided below,
repeat for each char tChar in varText
But when you want to convert the binary to ascii you need to get
eight char then convert then repeat eight chars.
How would you write the fastest repeat
jvalle wrote:
starting with an old Macbook would like to know your expert opinion about what
is the best virtualization solution to run Windows on Mac, from a developer
point of view.
With any VM the key is RAM. The more the merrier. Anything less than
2GB will make VMs really difficult to
Richard,
VirtualBox was mentioned at least 3 times. I like Parallels too, but I like
VirtualBox just as much feature-wise and it beats Parallels because of the
price.
I agree that a PC might be a better solution, but it isn't always possible to
fit a PC in your backpack :-)
--
Best regards,
If I am not mistaken, sent or dispatched messages are always sent to the card
if another target is not specified, but of course must pass through the
frontscript first. I believe that would be the way to put it. That matters
because the send command changes the current context of the command as
OK, got it.
On Tue, Jan 3, 2012 at 9:40 AM, Bob Sneidar b...@twft.com wrote:
Because a mouseDown only gets sent when the tool is Browse. The contextual
menu gets built when using the pointer tool. I am creating a dev utility
for adding field validations in a database app framework. I only
Aye. Where virtualization really begins to pay off for me is running multiple
vm's on a single hardware platform, or else the convenience of having several
operating systems at my fingertips at once. As an IT manager that has really
been a huge boon for me. I should also mention that in a
On 1/3/12 11:25 AM, Colin Holgate wrote:
I can't seem to find a page describing what the limitations are for
MobGUI if you haven't registered it. Do any of you know? Mine is
registered, so I get to see everything, and if I unregistered it I
might not notice all the differences.
As near as I
Thanks, that helps.
On Jan 3, 2012, at 1:35 PM, J. Landman Gay wrote:
As near as I can tell, the only difference is that unregistered copies cause
the built iOS app to show a brief accredidation when the app starts up on the
device or simulator. There are no differences during development
Do we have the ability yet in LiveCode to customize the answer (UIAlertView)
dialog? I need a little more control over the appearance of the dialog than the
default answer command allows for. Things like text font, alignment, styles,
etc. The ability to skin it would also be great, but not
On Tue, Jan 3, 2012 at 10:09 AM, Bob Sneidar b...@twft.com wrote:
If I am not mistaken, sent or dispatched messages are always sent to the
card if another target is not specified,
hmm, Not what I see
Send, dispatch, and call use the current object as the target if none is
specified. It would
I think it's time to refer to the message path bible - Richard Gaskin's
great article at
http://www.fourthworld.com/embassy/articles/revolution_message_path.html
Pete
On Tue, Jan 3, 2012 at 12:01 PM, Todd Geist t...@geistinteractive.comwrote:
On Tue, Jan 3, 2012 at 10:09 AM, Bob Sneidar
Hello everyone,
I develop LiveCode apps for my students on my Mac, and I sometimes have limited
opportunities to fully test them on PCs. I recently updated to LiveCode 5.0.2
and rebuilt a stack that was originally coded in 5.0.1. I saved the stack as
Mac and Windows standalones for
Thanks Pete, That is where I began :-)
On Tue, Jan 3, 2012 at 12:22 PM, Pete p...@mollysrevenge.com wrote:
I think it's time to refer to the message path bible - Richard Gaskin's
great article at
http://www.fourthworld.com/embassy/articles/revolution_message_path.html
Pete
On Tue, Jan 3,
How's this?
Function convertBinaryToText varText
repeat with x = 1 to the len of varText-8 step 8
put numtochar(BaseConvert(char x to (x+7) of varText,2,10)) after
tConverted
end repeat
return tConverted
end convertBinaryToText
On 2012-01-03, at 11:21 AM, Ken Ray wrote:
That looks real good!
-=JB=-
On Jan 3, 2012, at 12:40 PM, Michael Doub wrote:
How's this?
Function convertBinaryToText varText
repeat with x = 1 to the len of varText-8 step 8
put numtochar(BaseConvert(char x to (x+7) of varText,2,10)) after
tConverted
end repeat
return
On Tue, Jan 3, 2012 at 3:23 PM, Gregory Lypny wrote:
Hello everyone,
I develop LiveCode apps for my students on my Mac, and I sometimes have
limited opportunities to fully test them on PCs. I recently updated to
LiveCode 5.0.2 and rebuilt a stack that was originally coded in 5.0.1. I
Because rolling your own answer dialog is pretty easy, the typical answer to
this question is roll your own. I'm sure many have done so. Someone is sure to
offer something up. A good place to start is to read up on the dialogData. It's
a global property that you can put anything into, so that
Thanks, Bob, but I already tried that. When issuing the modal command, or the
go stack as modal command on iOS, the modal stack takes over the whole
screen, which is not the desired result. Still looking...
Chris
On Jan 3, 2012, at 2:00 PM, Bob Sneidar wrote:
Because rolling your own answer
On Jan 3, 2012, at 12:01 PM, Todd Geist wrote:
Send is different because messages not handled but the target DO NOT
continue down the message path. Send does NOT resolve me to the behavior
script if there is any. Like Dispatch the context is the receiving object,
not the sending one.
I am
That is a great writeup on the subject, and seems to indicate, although
indirectly, that send and dispatch work the same as regards the context of the
called handler. I'm still not sure this is the case, but if so, then the
dictionary needs to be updated in this regard.
Bob
On Jan 3, 2012,
That is an interesting UI question though. Do you really want multiple stacks
open in a mobile interface? Does the Android OS spec that as valid? I know on
my iPhone, apps generally work like modal windows, that is I never see a window
pop up in front of another window. But the point seems
On Tue, Jan 3, 2012 at 1:24 PM, Bob Sneidar b...@twft.com wrote:
That is a great writeup on the subject,
Thanks!
and seems to indicate, although indirectly, that send and dispatch work
the same as regards the context of the called handler. I'm still not sure
this is the case, but if so,
OK, sorry didn't realise you'd already read it. You're turning up some
interesting stuff. I guess my only comment is that I prefer to always
specify a target for dispatch, etc. Defaults are great but being specific
relieves my already overloaded brain of having to remember what they are!.
Pete
On 1/3/12 3:00 PM, Bob Sneidar wrote:
Because rolling your own answer dialog is pretty easy, the typical
answer to this question is roll your own.
The problem with mobile apps is that only one stack can be open at a
time, so when the dialog opens, it closes the main stack and takes up
the
Without scripting every field, if you have a data entry system with
multiple fields, and you want to flag the user that he or she made a
change but did not save before click next or Previous to go to
another record... what would be the simplest method to check that the
card was modified to
Hey Ken,
Oddly your terse script ran a bit longer than the final one the group
cobbled together by community heavy lifting. Not by much though. 1000
repeats on both showed yours was about 13 to 20 ticks slower.
Not at all what I would have expected either.
On 1/3/12 3:57 PM, Bob Sneidar wrote:
OIC! So it would be possible to set a global before the calling stack
launches the dialog, and have the dialog stack when it is returning
control to the calling stack, lock messages, close itself, then open
the stack stored in the global when it's finished
Phil,
Your final version of the script ended up winning the speed race. See my
note to Ken.
Thanks to everyone for pitching in. That was fun. Forced me to learn a
bit about baseConvert and binaryEncode/Decode
___
use-livecode mailing list
On 1/3/12 3:51 PM, Sivakatirswami wrote:
Without scripting every field, if you have a data entry system with
multiple fields, and you want to flag the user that he or she made a
change but did not save before click next or Previous to go to
another record... what would be the simplest method to
Jacque, you're right. And overlaying a group seems to do the trick. I'm still
playing with it, and I'm not even totally sure if the powers that be will like
what I've done, but so far it seems to be working well. Thanks for the
suggestion.
Chris
On Jan 3, 2012, at 3:08 PM, J. Landman Gay
Not sure this is a simple problem, but one thing I like to do is create a
global and then set it. I can then check for the mode when necessary.
For simple edits I typically use a simple true false value in a global called
isEditing. For more complex operations, I have a mode variable called
Also remember that closeField does not get sent to a field if the user clicks
on a button before exiting the edited field, at least on the Mac OS.
Bob
On Jan 3, 2012, at 2:12 PM, J. Landman Gay wrote:
On 1/3/12 3:51 PM, Sivakatirswami wrote:
Without scripting every field, if you have a
On 1/3/12 4:29 PM, Bob Sneidar wrote:
Also remember that closeField does not get sent to a field if the
user clicks on a button before exiting the edited field, at least on
the Mac OS.
Didn't that get fixed? That bug dates back about 12 years, but I thought
it worked again now.
Inserting
Oh right you are! I just tested that and it worked. Awesome!
Bob
On Jan 3, 2012, at 3:02 PM, J. Landman Gay wrote:
On 1/3/12 4:29 PM, Bob Sneidar wrote:
Also remember that closeField does not get sent to a field if the
user clicks on a button before exiting the edited field, at least on
That behavior is still there in 4.6.4. The workaround I remember is to put
a focus on nothing in the button script.
I seem to remember there was a discussion on this issue a while back that
concluded it wasn't a bug since clicking on a button doesn't cause the
field to lose focus?
On Tue, Jan
Roger-
Tuesday, January 3, 2012, 12:51:51 PM, you wrote:
Without decorations, your app is a ghost (sort of). It will only show in
the taskbar (windows dock) when decorations are visible. You can make a
small button with quit in a mouseUp handler, or instruct the user to
press Alt-F4 to
Pete-
Tuesday, January 3, 2012, 4:56:17 PM, you wrote:
focus on nothing
Yeah- that's what I've been doing all day...
--
-Mark Wieder
mwie...@ahsoftware.net
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to
On Tue, Jan 3, 2012 at 9:11 PM, Mark Wieder wrote:
Roger-
Tuesday, January 3, 2012, 12:51:51 PM, you wrote:
Without decorations, your app is a ghost (sort of). It will only show in
the taskbar (windows dock) when decorations are visible. You can make a
small button with quit in a
What was that again?
On Tue, Jan 3, 2012 at 6:14 PM, Mark Wieder mwie...@ahsoftware.net wrote:
Pete-
Tuesday, January 3, 2012, 4:56:17 PM, you wrote:
focus on nothing
Yeah- that's what I've been doing all day...
--
-Mark Wieder
mwie...@ahsoftware.net
56 matches
Mail list logo