Re: Mobile devices and barcodes

2011-12-06 Thread paolomazza
Hi Malte,
I wonder if you have found a way to read a barcode with a mobile device.
Any news about that?
All the best
Paolo Mazza

--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Mobile-devices-and-barcodes-tp3780353p4163941.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
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/listinfo/use-livecode


Are iOS push notifications needed for this use case?

2011-12-06 Thread Keith Clarke
Hi folks,
I'm considering LiveCode for an iOS app but I think I need push notification 
support. 

The use case is to alert users of app-specific messages waiting (even when the 
application is not active) and set the little 'messages waiting' counter on the 
app's icon. I'm looking for on-device behaviour much like with the Mail app. 

Is this use case supportable with LiveCode as-is or do I need to look elsewhere 
unless/until RunRev implement support for push notifications?
Best,
Keith.. 


___
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/listinfo/use-livecode


Re: Image Cropping Tool for Livecode

2011-12-06 Thread Francis Nugent Dixon

Hi from Beautiful Brittany,

Alejandro wrote


Some years ago, I created this stack:
Mask bitmap 02



http://andregarzia.on-rev.com/alejandro/stacks/mask_bitmap02.zip


Great Stuff ! Thanks a million !

-Francis

Nothing should ever be done for the first time !

___
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/listinfo/use-livecode


Confirming an FTP Upload

2011-12-06 Thread Gregory Lypny
Hi everyone,

I was wondering whether anyone would be willing to share scripting tips on how 
to monitor and confirm the uploading of files via FTP.  I’m using the simple 
PUT URL form rather than the revFTP library stuff because the latter’s examples 
are not particularly well documented in the built-in help feature of LiveCode.


Gregory
___
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/listinfo/use-livecode


Re: Are iOS push notifications needed for this use case?

2011-12-06 Thread Thomas McGrath III
Keith,

As of this moment RunRev has not implemented the push notification APIs for iOS 
into LiveCode. There are third party solutions outside of LC. I also have a 
vital need for Push Notification.


-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Dec 6, 2011, at 5:36 AM, Keith Clarke wrote:

 Hi folks,
 I'm considering LiveCode for an iOS app but I think I need push notification 
 support. 
 
 The use case is to alert users of app-specific messages waiting (even when 
 the application is not active) and set the little 'messages waiting' counter 
 on the app's icon. I'm looking for on-device behaviour much like with the 
 Mail app. 
 
 Is this use case supportable with LiveCode as-is or do I need to look 
 elsewhere unless/until RunRev implement support for push notifications?
 Best,
 Keith.. 
 
 
 ___
 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/listinfo/use-livecode


___
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/listinfo/use-livecode


Re: Mobile devices and barcodes

2011-12-06 Thread paolomazza
Hi Nicolas,
I went through the Sara's Stacks:

BarcodeTester
A very simple stack that reads data from a keyboard wedge barcode scanner.
It allows you to check the raw data transmitted by the scanner as well as
the ASCII data.
Category: UtilityLast Updated: Wed, Apr 29, 2009

Barcodes
A utility that converts text into the ASCII codes to generate Code128 subset
A barcodes. You will need a Code128 font to display and print the codes when
generated. There are plenty available but I use Riversedge fonts.

Actually what I am looking for is a piece of software to scan an image of a
barcode and get import the data into an iOS application.

All the best, Paolo

--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Mobile-devices-and-barcodes-tp3780353p4164973.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
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/listinfo/use-livecode


Last chance to tell (a small part of) the world about your Android and iOS apps

2011-12-06 Thread Ben Rubinstein
Thanks to all the people who've already added details of their apps to this 
survey (37 apps so far - but only one Android one!).


As a reminder, this is explicitly about apps that have gone on public 'sale' 
(including for free) in an app store.


If you've produced such an app using LiveCode, and haven't added details of it 
yet, please do so at:


http://www.surveymk.com/s/C93Y6LT

It's really quick!

I'll close it in a couple more days and will then present the data back to the 
list.


Many thanks,

Ben

___
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/listinfo/use-livecode


Re: Last chance to tell (a small part of) the world about your Android and iOS apps

2011-12-06 Thread Mark Schonewille
Hi Ben,

What exactly will you do with the data, besides publishing the results on this 
list?

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Become our partner in sales http://qery.us/1bq Start selling Color Converter 
today. 20% commission!

On 6 dec 2011, at 15:59, Ben Rubinstein wrote:

 Thanks to all the people who've already added details of their apps to this 
 survey (37 apps so far - but only one Android one!).
 
 As a reminder, this is explicitly about apps that have gone on public 'sale' 
 (including for free) in an app store.
 
 If you've produced such an app using LiveCode, and haven't added details of 
 it yet, please do so at:
 
 http://www.surveymk.com/s/C93Y6LT
 
 It's really quick!
 
 I'll close it in a couple more days and will then present the data back to 
 the list.
 
 Many thanks,
 
 Ben


___
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/listinfo/use-livecode


Re: Confirming an FTP Upload

2011-12-06 Thread AcidJazz
Greg,
  Here's how I submit data using the Put URL approach...


*put *DataToBeSaved into URL
(ftp://username:passw...@ftp.sitename.com/filename.txt;)
*If* the result is not empty *then* 
hide field wait
answer the result CR Oops!  There was a problem saving your
response.  Please wait a minute and try again. 
*exit* mouseup
*end* if


You can also read back the data that you just saved...

*get *URL (http://www.sitename.com/filename.txt;)
*put *it into tData
*answer *Your data has been stored on the server and then retrieved. 
CR  It looks like this: CRCR the last line of tData 




Cheers,
   Mark

--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Confirming-an-FTP-Upload-tp4164699p4165561.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
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/listinfo/use-livecode


Re: Are iOS push notifications needed for this use case?

2011-12-06 Thread Keith Clarke
Thanks for the confirmation that it's push notifications I need, Tom. 

Before I put LiveCode on ice as a platform for iOS apps (as I've already had to 
for web apps), are there any examples of these third-party solutions that play 
nicely with LC?
Best,
Keith..  

On 6 Dec 2011, at 14:40, Thomas McGrath III wrote:

 Keith,
 
 As of this moment RunRev has not implemented the push notification APIs for 
 iOS into LiveCode. There are third party solutions outside of LC. I also have 
 a vital need for Push Notification.
 
 
 -- Tom McGrath III
 http://lazyriver.on-rev.com
 3mcgr...@comcast.net
 
 On Dec 6, 2011, at 5:36 AM, Keith Clarke wrote:
 
 Hi folks,
 I'm considering LiveCode for an iOS app but I think I need push notification 
 support. 
 
 The use case is to alert users of app-specific messages waiting (even when 
 the application is not active) and set the little 'messages waiting' counter 
 on the app's icon. I'm looking for on-device behaviour much like with the 
 Mail app. 
 
 Is this use case supportable with LiveCode as-is or do I need to look 
 elsewhere unless/until RunRev implement support for push notifications?
 Best,
 Keith.. 
 
 
 ___
 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/listinfo/use-livecode
 
 
 ___
 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/listinfo/use-livecode


___
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/listinfo/use-livecode


Re: Confirming an FTP Upload

2011-12-06 Thread stephen barncard
You should know that the password and username are sent as plain text and
can be easily sniffed.  This is NOT secure FTP and can expose an entire
account.  Create a special FTP space for this purpose, not your website.

Secure FTP is a long-awaited feature that is still not available in
livecode except with externals.

sqb

On 6 December 2011 09:07, AcidJazz mpe...@gmail.com wrote:

 Greg,
  Here's how I submit data using the Put URL approach...


 *put *DataToBeSaved into URL
 (ftp://username:passw...@ftp.sitename.com/filename.txt;)
 *If* the result is not empty *then*
hide field wait
answer the result CR Oops!  There was a problem saving your
 response.  Please wait a minute and try again.
*exit* mouseup
 *end* if


 You can also read back the data that you just saved...

 *get *URL (http://www.sitename.com/filename.txt;)
*put *it into tData
*answer *Your data has been stored on the server and then retrieved. 
 CR  It looks like this: CRCR the last line of tData




 Cheers,
   Mark

 --
 View this message in context:
 http://runtime-revolution.278305.n4.nabble.com/Confirming-an-FTP-Upload-tp4164699p4165561.html
 Sent from the Revolution - User mailing list archive at Nabble.com.

 ___
 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/listinfo/use-livecode




-- 



Stephen Barncard
San Francisco Ca. USA

more about sqb  http://www.google.com/profiles/sbarncar
___
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/listinfo/use-livecode


Re: Confirming an FTP Upload

2011-12-06 Thread Gregory Lypny
Hi Mark,

Much appreciated!  Just the kind of thing I was looking for.

Regards,

Gregory


On Tue, Dec 6, 2011, at 1:00 PM, use-livecode-requ...@lists.runrev.com wrote:

 Greg,
  Here's how I submit data using the Put URL approach...

___
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/listinfo/use-livecode


Re: Confirming an FTP Upload

2011-12-06 Thread AcidJazz
Stephen,

That's true, and I probably should have mentioned that.  For my purposes,
it's irrelevant, because my research data (indeed the entire site) is all
just a bunch of meaningless numbers that nobody would have any interest in.  
But for the rest of you out in the real world, caveat emptor. 

By the way, to actually send a file, you might try this:

on mouseUp
   answer file Please choose a file to get:
   get URL (file:  it)
   put it into URL (address goes here)
   if the result is not empty then
  answer oops
  exit mouseup
   end if
end mouseUp

--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Confirming-an-FTP-Upload-tp4164699p4165852.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
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/listinfo/use-livecode


Tab Order Property?

2011-12-06 Thread Bob Sneidar
Hi all. 

Is there some kind of hidden property pertaining to the tab order of objects on 
a card? I know about the layer property, but I was hoping there was some kind 
of list, so I could set the tab order of fields by entering a repeat loop and 
clicking on objects, building a list of them, then moving the objects in the 
list to the bottom in the order clicked, effectively setting their tab order. 

Has anyone developed a method for doing this?

Bob
___
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/listinfo/use-livecode


Re: Confirming an FTP Upload

2011-12-06 Thread AcidJazz
Actually, Stephen, could you elaborate on the special ftp space that is not
the website.   I'm a little unclear on the distinction.

Mark

--
View this message in context: 
http://runtime-revolution.278305.n4.nabble.com/Confirming-an-FTP-Upload-tp4164699p4165858.html
Sent from the Revolution - User mailing list archive at Nabble.com.

___
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/listinfo/use-livecode


Re: Last chance to tell (a small part of) the world about your Android and iOS apps

2011-12-06 Thread Ben Rubinstein

On 06/12/2011 15:26, Mark Schonewille wrote:

What exactly will you do with the data, besides publishing the results on this 
list?


*Short answer*
That's exactly it - publish it.

*Longer answer*
And I guess ponder it a bit.  And look at some of the apps.  But I hope other 
people will do those things too.  When asking the question what can you 
achieve with the current state of LiveCode for mobile? these published apps 
represent real data points - they may not show everything that can be 
achieved, they may not show how much pain and sweat was required; but they 
represent some indisputable evidence to put alongside the documentation.


*Even longer answer*
To be very explicit: my company have put something over a dozen apps into the 
iOS store (mostly for clients, not under our own name).  None of those were 
built with LiveCode, they're all in Objective-C (with our own framework that 
we've invested heavily in).  Some are trivial, but some are really substantial 
commercial projects, for clients with a massive reputation to defend. We've 
used LiveCode for prototyping elements of some of these; and for a 
commissioned proof of concept for a client, that was never intended for 
publishing; but never for anything that went beyond that. We're getting (some, 
not many) requests for projects to be delivered on both iOS and Android; it's 
going to be expensive to port our framework to Android.


We're interested in whether to use LiveCode for a complete app project; but 
nervous about whether (a) the fit and finish will be adequate, compared with a 
project in native code where we can always access the native controls; (b) 
about hitting a roadblock or serious bug, which we can't get past because we 
can't go to native code.


To date these fears (along with other issues) have stopped us deciding to 
commit to LiveCode for any projects, even when with a following wind doing so 
should allow us to build the app a lot cheaper; and in some cases have led to 
us turning down a project that would be possible within the constraints only 
by using LiveCode; because once we commit to the client that we'll produce an 
app, in a given timeframe, we want to be in control of our own destiny in 
terms of being able to meet that commitment.  To defend our own reputation, 
we'd rather turn down the work than take it on and find that we can't deliver.


In this respect, being able to look at apps that others have successfully 
completed may help alleviate some of those fears.  So I want to see some apps 
that other people have created using LiveCode; I can't find a list anywhere; 
so I decided to try compiling one.


Ben

___
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/listinfo/use-livecode


Re: Tab Order Property?

2011-12-06 Thread Pete
The text property holds the tab names, one per line, in left to right
order.  One thing I've found useful when chasing down property names is to
set the Preferences option to display property names instead of labels in
the Inspector dialogs.

On Tue, Dec 6, 2011 at 10:29 AM, Bob Sneidar b...@twft.com wrote:

 Hi all.

 Is there some kind of hidden property pertaining to the tab order of
 objects on a card? I know about the layer property, but I was hoping there
 was some kind of list, so I could set the tab order of fields by entering a
 repeat loop and clicking on objects, building a list of them, then moving
 the objects in the list to the bottom in the order clicked, effectively
 setting their tab order.

 Has anyone developed a method for doing this?

 Bob
 ___
 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/listinfo/use-livecode




-- 
Pete
Molly's Revenge http://www.mollysrevenge.com
___
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/listinfo/use-livecode


Tab Order Property?

2011-12-06 Thread Bob Sneidar
Belay my last. Pretty simple:

on clickOrder
put the selectedobjects into theObjectList
repeat for each line theObject in theObjectList
set the layer of theObject to top
end repeat
end clickOrder



 Hi all. 
 
 Is there some kind of hidden property pertaining to the tab order of objects 
 on a card? I know about the layer property, but I was hoping there was some 
 kind of list, so I could set the tab order of fields by entering a repeat 
 loop and clicking on objects, building a list of them, then moving the 
 objects in the list to the bottom in the order clicked, effectively setting 
 their tab order. 
 
 Has anyone developed a method for doing this?
 
 Bob

___
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/listinfo/use-livecode


Re: Tab Order Property?

2011-12-06 Thread Bob Sneidar
Sorry Pete I should have explained myself a bit better. I don't meat a tab 
panel. I mean the order in which fields get the focus when a user is tabbing 
through them. I found a really simple solution. See my prior post.

Bob


On Dec 6, 2011, at 10:45 AM, Pete wrote:

 The text property holds the tab names, one per line, in left to right
 order.  One thing I've found useful when chasing down property names is to
 set the Preferences option to display property names instead of labels in
 the Inspector dialogs.
 
 On Tue, Dec 6, 2011 at 10:29 AM, Bob Sneidar b...@twft.com wrote:
 
 Hi all.
 
 Is there some kind of hidden property pertaining to the tab order of
 objects on a card? 
snip-eroonie


___
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/listinfo/use-livecode


autoTab affects automatic text selection?

2011-12-06 Thread Bob Sneidar
Hi all. 

I've discovered a useful, if odd anomaly. If I have a field with  autoTab set 
to true, tabbing to it will auto select the text it contains (the desired 
behavior). But if autoTab is set to false, the text will NOT be auto selected, 
although I CAN select it manually. Is this the intended behavior? It's useful 
for sure, but I wouldn't have guessed that autoTab would effect text selection. 
I checked the help on autoTab and nothing is noted in the documentation about 
it, so I posted a user note. 

Bob
___
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/listinfo/use-livecode


Re: Confirming an FTP Upload

2011-12-06 Thread stephen barncard
Just a method to get the uploads (and exposed password/user) to a place
that isn't your public website.  Most web providers will allow unlimited or
many FTP accounts, and you can use completely different user/passwords.
 Some providers (not On-Rev) will allow an account to have multiple users
that can own websites and/or ftp sites.  Then I give that site a sub-domain
name and use that for uploads.

There are also ways to do uploads safely that involve using server-side PHP
or Livecode solutions which have been discussed here before.   Many
examples abound for that.



On 6 December 2011 10:30, AcidJazz mpe...@gmail.com wrote:

 Actually, Stephen, could you elaborate on the special ftp space that is
 not
 the website.   I'm a little unclear on the distinction.

 Mark

 --
 View this message in context:
 http://runtime-revolution.278305.n4.nabble.com/Confirming-an-FTP-Upload-tp4164699p4165858.html
 Sent from the Revolution - User mailing list archive at Nabble.com.

 ___
 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/listinfo/use-livecode




-- 



Stephen Barncard
San Francisco Ca. USA

more about sqb  http://www.google.com/profiles/sbarncar
___
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/listinfo/use-livecode


Put into url Not working on Android

2011-12-06 Thread Timothy Bleiler

Hi,

I'm trying to do some work on Android.

Does anyone know why the following command would work fine from the  
desktop but not work in Android? . FYI, in this example it is a fake  
address.


put Test content goes here into url “ftp://123.456.78.901/ftptest.txt”

 Specifically has anyone had success with Put into URL on Android?  
If so, could you share the syntax or other hints?


I am able to access web sites using the GET command from the Andriod  
device but this FTP Put does not work from the emulator or actual  
Android devicesThe straightforward example found in the Android  
release notes is definitely not working for me. I've also tried  
several combinations of urlEncode, user names, passwords and an  
anonymous site with no luck.




Thanks,

Tim Bleiler, Ph.D.
Instructional Designer, HSIT
University at Buffalo

___
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/listinfo/use-livecode


Re: Image Cropping Tool for Livecode

2011-12-06 Thread Web Admin Himalayan Academy

On 12/4/11 8:09 PM, Sivakatirswami wrote:

As anyone created a image cropping tool for LiveCode?

On 12/4/11 5:37 PM, J. Landman Gay wrote:
If you hold down the command key while resizing an image, it gets 
cropped to the new size. There's no warning, it just happens.


Yes, I am familiar with this option, but it has the very problem that 
Richard points out: it is destructive.


Yes, of course we can, as Bjoerkne points out, have an undo... but this 
again is not useful.


If you have a piece of portrait art/photo that you want to crop out a 
rectangular section for using in a horizontal ratio slideshow, you are 
making aesthetic guesses before the final crop and need the able to 
drag out the area, make it bigger, move it etc.  It's a problem if the 
actual image data is being wiped out as you drag into the image, you 
want to be able to drag back out and get back your pixels. But as we 
know, those pixels are gone. It would force the user to undo the entire 
crop on every attempt to view a cropping option.   Way too user unfriendly.


i.e. you don't want your crop frame-rect-select tool to be actually 
wiping out pixels until you click OK or Crop or Do it!





___
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/listinfo/use-livecode


Re: Tab Order Property?

2011-12-06 Thread Mark Wieder
Bob Sneidar bobs@... writes:

 
 Belay my last. Pretty simple:
 
 on clickOrder
 put the selectedobjects into theObjectList
 repeat for each line theObject in theObjectList
 set the layer of theObject to top
 end repeat
 end clickOrder

Depending on the number of theObjects you have, you may want to lock the screen
first - changing the layer of an object affects the visible layering.

Also, there may well be times when the tab order you desire doesn't necessarily
match the visible ordering of objects on the screen - you may want to have other
non-tabbable objects interspersed with them, or you might want to have other
objects on top of them layerwise (ok - that's not a word, but you get the idea).
I do think a tab-order property is a useful thing to add in addition to the
layer hierarchy.



___
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/listinfo/use-livecode


Set the color of text for a disabled field

2011-12-06 Thread Bob Sneidar
Hi all. 

Any way to set the color of the text in a disabled field? It's gray by default, 
but I cannot find anything in the help about how to set the disabled color. It 
would be nice to set it to blue or some darker shade of gray, as it is hard on 
the eyes the way it is. 

Bob
___
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/listinfo/use-livecode


Re: Tab Order Property?

2011-12-06 Thread Bob Sneidar
Good points. But the selectedObjects will contain a list of objects in the 
order they were selected (very dammed handy), not in the order they appear on 
the screen, nor the order they were in before calling the command. So by 
selecting objects in the order you want them to be, calling this command will 
order them properly, and at the topmost layer, preventing me from burying them 
behind other objects. 

Also I discovered a bit of a flaw in my code. If I click on a field that is a 
part of a group then I will likely throw an error, because you cannot set a 
fields layer to something higher than the layer of the highest layered object 
in the group. In other words, you have to change the layer of the entire group, 
not just the field itself. Hence the following update:

on clickOrder
put the selectedobjects into theObjectList
repeat for each line theObject in theObjectList
if of group is in theObject then
put wordoffset(group, theObject) into firstWord
put word firstWord to -1 of theObject into theNewObject
set the layer of theNewObject to top
else
set the layer of theObject to top
end if
end repeat
end clickOrder

On Dec 6, 2011, at 12:09 PM, Mark Wieder wrote:

 Bob Sneidar bobs@... writes:
 
 
 Belay my last. Pretty simple:
 
 on clickOrder
put the selectedobjects into theObjectList
repeat for each line theObject in theObjectList
set the layer of theObject to top
end repeat
 end clickOrder
 
 Depending on the number of theObjects you have, you may want to lock the 
 screen
 first - changing the layer of an object affects the visible layering.
 
 Also, there may well be times when the tab order you desire doesn't 
 necessarily
 match the visible ordering of objects on the screen - you may want to have 
 other
 non-tabbable objects interspersed with them, or you might want to have other
 objects on top of them layerwise (ok - that's not a word, but you get the 
 idea).
 I do think a tab-order property is a useful thing to add in addition to the
 layer hierarchy.
 
 
 
 ___
 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/listinfo/use-livecode


___
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/listinfo/use-livecode


Re: Set the color of text for a disabled field

2011-12-06 Thread stephen barncard
I am guessing that one can't - that it's determined by the host machines'
os.

However, why not turn the problem around - prevent text entry, then change
the bg color of the  field.

 make a handler  (setprop, getprop) in the field to handle the fake states.

set the defaultState of fld x to true

etc

sqb

On 6 December 2011 12:11, Bob Sneidar b...@twft.com wrote:

 Hi all.

 Any way to set the color of the text in a disabled field? It's gray by
 default, but I cannot find anything in the help about how to set the
 disabled color. It would be nice to set it to blue or some darker shade of
 gray, as it is hard on the eyes the way it is.

 Bob
 ___
 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/listinfo/use-livecode




-- 



Stephen Barncard
San Francisco Ca. USA

more about sqb  http://www.google.com/profiles/sbarncar
___
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/listinfo/use-livecode


Re: autoTab affects automatic text selection?

2011-12-06 Thread Pete
Yes, there's no clue in the docs about using autoTab for this purpose.  I
guess the question then becomes - is this the way it is supposed to work or
is it a bug that will be fixed at some point?  I would like to use this
feature/bug but not if I have to go back and change a bunch of fields at
some point in the future when it changes!

On Tue, Dec 6, 2011 at 11:04 AM, Bob Sneidar b...@twft.com wrote:

 Hi all.

 I've discovered a useful, if odd anomaly. If I have a field with  autoTab
 set to true, tabbing to it will auto select the text it contains (the
 desired behavior). But if autoTab is set to false, the text will NOT be
 auto selected, although I CAN select it manually. Is this the intended
 behavior? It's useful for sure, but I wouldn't have guessed that autoTab
 would effect text selection. I checked the help on autoTab and nothing is
 noted in the documentation about it, so I posted a user note.

 Bob
 ___
 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/listinfo/use-livecode




-- 
Pete
Molly's Revenge http://www.mollysrevenge.com
___
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/listinfo/use-livecode


Re: Set the color of text for a disabled field

2011-12-06 Thread Bob Sneidar
Thanks Stephen. I was hoping for something simple that I overlooked. If anyone 
complains I will address it then. Too much work for too little gain. 

Bob


On Dec 6, 2011, at 12:30 PM, stephen barncard wrote:

 I am guessing that one can't - that it's determined by the host machines'
 os.
 
 However, why not turn the problem around - prevent text entry, then change
 the bg color of the  field.
 
 make a handler  (setprop, getprop) in the field to handle the fake states.
 
 set the defaultState of fld x to true
 
 etc
 
 sqb
 
 On 6 December 2011 12:11, Bob Sneidar b...@twft.com wrote:
 
 Hi all.
 
 Any way to set the color of the text in a disabled field? It's gray by
 default, but I cannot find anything in the help about how to set the
 disabled color. It would be nice to set it to blue or some darker shade of
 gray, as it is hard on the eyes the way it is.
 
 Bob
 ___
 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/listinfo/use-livecode
 
 
 
 
 -- 
 
 
 
 Stephen Barncard
 San Francisco Ca. USA
 
 more about sqb  http://www.google.com/profiles/sbarncar
 ___
 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/listinfo/use-livecode


___
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/listinfo/use-livecode


Re: Set the color of text for a disabled field

2011-12-06 Thread dunbarx
If you set the foregroundColor of text, that color persists after disabling.


Is this what you meant?


Craig Newman



-Original Message-
From: Bob Sneidar b...@twft.com
To: How to use LiveCode use-livecode@lists.runrev.com
Sent: Tue, Dec 6, 2011 10:13 am
Subject: Set the color of text for a disabled field


Hi all. 

Any way to set the color of the text in a disabled field? It's gray by default, 
but I cannot find anything in the help about how to set the disabled color. It 
would be nice to set it to blue or some darker shade of gray, as it is hard on 
the eyes the way it is. 

Bob
___
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/listinfo/use-livecode

 
___
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/listinfo/use-livecode


clone problem

2011-12-06 Thread Nicolas Cueto
Hell All,

I have a script that does not always work as expected.

From the student's point of the view, the script allows them to click
and drag an alphabet letter for release onto a writing area. That way,
there's two images visible : the image they clicked on originally
apparently at its original location, and the new image apparently now
in the new location.

The problem visually is that it seems like the original image becomes
draggable, and the cloned image gets left behind.

What the script is actually doing in the background is on mouseDown
the original image is cloned, the clone gets the original image's
name, and the original image gets a new name. Similarly, their
layering is switched too. That was the only way I could think of to
allow an image to become draggable and cloned at the same time, i.e.,
without mouseUp

Also, instead of mouseDown, I'm using AnimationEngine's
constrainRectangularInit.

The problem with my script is that sometimes the image that's supposed
to stay in place becomes the image that's supposed to be draggable. I
assume the problem happens in the renaming my script does.

Here is the actual script:

on constrainRectangularInit
   deleteClonedHilites -- deletes unneeded graphic objects
   put the short name of me into tGrabbedImg
   if _ is not among the chars of tGrabbedImg then
  ## the char _ is added by my script when renaming
  clone invisible image tGrabbedImg
  put word 3 of it into tNewImgID
  put tGrabbedImg  _  the milliseconds into tNewImgName
  set the name of me to tNewImgName
  put the cpCloned_Letters of this card into tTemp
  put tNewImgName  cr after tTemp
  set the cpCloned_Letters of this card to tTemp
  set the name of image id tNewImgID to tGrabbedImg
  set the loc of image id tNewImgID to the loc of me
  set the layer of image id tNewImgID to the layer of me
  show image id tNewImgID
   end if
   set the layer of me to top
   put item 1 of the clickLoc into sX
   put the milliseconds into sLastTime
   put true into sMove
   play letter_pickup.au
end constrainRectangularInit

If anyone understands and can help, I'd much appreciate it.

Thank you.

___
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/listinfo/use-livecode


Re: autoTab affects automatic text selection?

2011-12-06 Thread J. Landman Gay

On 12/6/11 4:02 PM, Pete wrote:

Yes, there's no clue in the docs about using autoTab for this purpose.  I
guess the question then becomes - is this the way it is supposed to work or
is it a bug that will be fixed at some point?  I would like to use this
feature/bug but not if I have to go back and change a bunch of fields at
some point in the future when it changes!


Autotab has always used the layering number to determine the next field, 
so you can use that with confidence. It's not a bug, it is designed 
behavior. It should be mentioned in the User Guide (too lazy to look.)


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
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/listinfo/use-livecode


Re: Set the color of text for a disabled field

2011-12-06 Thread Bob Sneidar
ohhh yes!

Bob


On Dec 6, 2011, at 2:09 PM, dunb...@aol.com wrote:

 If you set the foregroundColor of text, that color persists after disabling.
 
 
 Is this what you meant?
 
 
 Craig Newman
 
 
 
 -Original Message-
 From: Bob Sneidar b...@twft.com
 To: How to use LiveCode use-livecode@lists.runrev.com
 Sent: Tue, Dec 6, 2011 10:13 am
 Subject: Set the color of text for a disabled field
 
 
 Hi all. 
 
 Any way to set the color of the text in a disabled field? It's gray by 
 default, 
 but I cannot find anything in the help about how to set the disabled color. 
 It 
 would be nice to set it to blue or some darker shade of gray, as it is hard 
 on 
 the eyes the way it is. 
 
 Bob
 ___
 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/listinfo/use-livecode
 
 
 ___
 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/listinfo/use-livecode


___
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/listinfo/use-livecode


Re: autoTab affects automatic text selection?

2011-12-06 Thread Bob Sneidar
Aye but we were talking about the fact that text will either be entirely 
selected or else the cursor will be placed at the beginning of the text, 
depending on the setting of autoTab. Apparently it controls more than just 
tabbing to the next field if a user hits return. It's actually way cooler than 
trying to kludge a way for text to be selected yourself, if that is what you 
want. 

Bob


On Dec 6, 2011, at 2:49 PM, J. Landman Gay wrote:

 Autotab has always used the layering number to determine the next field, so 
 you can use that with confidence. It's not a bug, it is designed behavior. It 
 should be mentioned in the User Guide (too lazy to look.)


___
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/listinfo/use-livecode


Re: autoTab affects automatic text selection?

2011-12-06 Thread J. Landman Gay

On 12/6/11 5:08 PM, Bob Sneidar wrote:

Aye but we were talking about the fact that text will either be
entirely selected or else the cursor will be placed at the beginning
of the text, depending on the setting of autoTab. Apparently it
controls more than just tabbing to the next field if a user hits
return. It's actually way cooler than trying to kludge a way for text
to be selected yourself, if that is what you want.


Sorry. Right. That behavior's been there forever too. In fact, it's 
thrown a few new users for a loop.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com

___
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/listinfo/use-livecode


Re: Are iOS push notifications needed for this use case?

2011-12-06 Thread Thomas McGrath III
Keith,
The one that I am looking into is Urban Airship 
http://urbanairship.com/pricing/ but it is not free but does cover iOS Android 
and Blackberry…

Basic Free is a pay per message version that I am looking into. THe API looks 
straight forward and might work with LC.

HTHs

-- Tom McGrath III
http://lazyriver.on-rev.com
3mcgr...@comcast.net

On Dec 6, 2011, at 12:13 PM, Keith Clarke wrote:

 Thanks for the confirmation that it's push notifications I need, Tom. 
 
 Before I put LiveCode on ice as a platform for iOS apps (as I've already had 
 to for web apps), are there any examples of these third-party solutions that 
 play nicely with LC?
 Best,
 Keith..  
 
 On 6 Dec 2011, at 14:40, Thomas McGrath III wrote:
 
 Keith,
 
 As of this moment RunRev has not implemented the push notification APIs for 
 iOS into LiveCode. There are third party solutions outside of LC. I also 
 have a vital need for Push Notification.
 
 
 -- Tom McGrath III
 http://lazyriver.on-rev.com
 3mcgr...@comcast.net
 
 On Dec 6, 2011, at 5:36 AM, Keith Clarke wrote:
 
 Hi folks,
 I'm considering LiveCode for an iOS app but I think I need push 
 notification support. 
 
 The use case is to alert users of app-specific messages waiting (even when 
 the application is not active) and set the little 'messages waiting' 
 counter on the app's icon. I'm looking for on-device behaviour much like 
 with the Mail app. 
 
 Is this use case supportable with LiveCode as-is or do I need to look 
 elsewhere unless/until RunRev implement support for push notifications?
 Best,
 Keith.. 
 
 
 ___
 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/listinfo/use-livecode
 
 
 ___
 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/listinfo/use-livecode
 
 
 ___
 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/listinfo/use-livecode


___
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/listinfo/use-livecode


Re: Mobile devices and barcodes

2011-12-06 Thread paolo mazza
Hi Nicolas,
I went through the Sara's Stacks:

BarcodeTester
A very simple stack that reads data from a keyboard wedge barcode scanner.
It allows you to check the raw data transmitted by the scanner as well as
the ASCII data.
Category: UtilityLast Updated: Wed, Apr 29, 2009

Barcodes
A utility that converts text into the ASCII codes to generate Code128 subset
A barcodes. You will need a Code128 font to display and print the codes when
generated. There are plenty available but I use Riversedge fonts.

Actually what I am looking for is a piece of software to scan the
image (from the camera) of a
barcode  and import the barcode data into an iOS application.

All the best, Paolo

___
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/listinfo/use-livecode