Re: Saving into invisible folders ?

2013-04-16 Thread Richmond
AND, v. happy to report that the reverse also works: on mouseDown set the defaultFolder to specialFolderPath("Home") & "/.pox" end mouseDown on mouseUp import paint from file "Stack.png" end mouseUp I am stiil wondering whether the ".XXX" form

Re: fontSizes bust in 6.0

2013-04-16 Thread Jacques Hausser
Hi Peter, I just compared the fontSizes in 5.5.4 and 6.0.0. In 5.5.4, the Fontsizes returns every numbers from 9 to 72, one number per line, for any scalable font. For bitmap fonts, it returns the installed sizes only. In 6.0.0, the fontSizes returns 0. For bitmap fonts, it returns the installe

Re: What's the best way to store data that one iOS app sends to another?

2013-04-16 Thread Geoff Canyon
On Thu, Apr 11, 2013 at 2:16 PM, Mark Wilcox wrote: > There's this really great but fairly recent trend for Backend-as-a-Service > providers Any thoughts on https://www.firebase.com/ I haven't written any code yet for either possibility, but the language on firebase's web site makes sense to

revOpenDatabase

2013-04-16 Thread Mats Åström
Has anyone used revOpenDatabase to connect to an MS SQL database? I have been trying to open an ODBC connection using this: put revOpenDatabase("ODBC","DRIVER=SQL Server;SERVER=" & tServerAndPort &  ";DATABASE=" & tDBname & ";UID=" & tUser & ";PWD=" & tPsw &  ";Trusted_Connection=No",,,) into db

Re: revOpenDatabase

2013-04-16 Thread G.W.Gaich
Hallo Mats, the correct syntax for the SERVER part is Server= [protocol:]Server[,port] hope this helps Wolfgang Am 16.04.2013 12:19, schrieb Mats Åström: Has anyone used revOpenDatabase to connect to an MS SQL database? I have been trying to open an ODBC connection using this: put revOpenDa

Re: What's the best way to store data that one iOS app sends to another?

2013-04-16 Thread Mark Wilcox
From: Geoff Canyon To: How to use LiveCode Sent: Tuesday, 16 April 2013, 9:14 Subject: Re: What's the best way to store data that one iOS app sends to another? > Any thoughts on https://www.firebase.com/ I've heard some good things about Firebase but it's primarily about sending small ch

Invisible folders

2013-04-16 Thread Richmond
On Linux and Mac (a.k.a. kinky UNIX) one can hide a folder by starting its name with a '.', and this means handling invisible folders in Livecode is very simple. HOWEVER, from what I have read an invisible folder on Windows is not invisible by dint of its name but by setting a property of the old

Re: Invisible folders

2013-04-16 Thread G.W.Gaich
Hello Richmond, you have to use the windows shell command attrib e.g. attrib +H use it in livecode with the shell() function e.g. put the directory into tPathAndFilename replace "/" with "\" in tPathAndFilename -- if tPathAndFilename contains spaces then -- put quote & tPathAndFilename &

Server Migration, Thor and Freyr servers

2013-04-16 Thread dwilliams
Dear List Members, As many of you already know, we are currently carrying out a migration from our on-rev server cluster to vastly upgraded servers, in order to improve the level of service we can offer you. This does involve some minimum disruption during the process, and we apologise if y

revOpenDatabase server syntax

2013-04-16 Thread Mats Åström
Hi Wolfgang, thank you very much for taking time. I tried the syntax you provided, but it seems I got it wrong, please bare with me. Lets assume this: server IP address is 123.45.67.89 port is 55999 I got it to: put revOpenDatabase("ODBC","DRIVER=SQL Server:SERVER=123.45.67.89,55999, ... but tha

Re: revOpenDatabase

2013-04-16 Thread Roger Eller
You need to first create a new System DSN that is configured to connect to the database. http://www.interfaceware.com/manual/creating_odbc.html ~Roger On Apr 16, 2013 6:19 AM, "Mats Åström" wrote: > > > Has anyone used revOpenDatabase to connect to an MS SQL database? > I have been trying to op

Re: revOpenDatabase server syntax

2013-04-16 Thread G.W.Gaich
I tried this with my MS-SQL Server and it works after changing the port to 55999 put "192.168.178.67,55999" into aPrefs["DBServer"] put "myDB" into aPrefs["DBDatabase"] put "sa" into aPrefs["DBUser"] put "myPassword" into aPrefs["DBPassword"] put revOpenDatabase("ODBC","DRIVER=SQL Server;SERVER

put URL destroys my file

2013-04-16 Thread Tiemo Hollmann TB
Hello, Working with LC 4.5.4 I have a dmg file uploaded on my webserver. When downloading it on a mac with a browser via ftp, the dmg keeps in good order. But when doing put URL pUrl into URL ("binfile:" & tFile) the format of the file seems to be destroyed and my mac thinks of it as being a te

Re: put URL destroys my file

2013-04-16 Thread Warren Samples
On 04/16/2013 08:58 AM, Tiemo Hollmann TB wrote: Hello, Working with LC 4.5.4 I have a dmg file uploaded on my webserver. When downloading it on a mac with a browser via ftp, the dmg keeps in good order. But when doing put URL pUrl into URL ("binfile:" & tFile) the format of the file seems to

Re: What's the best way to store data that one iOS app sends to another?

2013-04-16 Thread Geoff Canyon
On Tue, Apr 16, 2013 at 5:41 AM, Mark Wilcox wrote: > Firebase but it's primarily about sending small chunks of realtime data. > Is that what you want for your app No, but the early, non-optimized stage the app is likely to send many small messages, so firebase's bandwidth-based billing sounds

Reading directly from Excel

2013-04-16 Thread Magicgate Software - Skip Kimpel
Is there any way to read in cells directly from an Excel spreadsheet (not CSV)? Would make my life on my current project a lot easier if I could! If not, I guess I could always write a command line script that would covert it over to CSV before manipulating it in LC. Just thought I would ask bef

Re: Reading directly from Excel

2013-04-16 Thread Andrew Kluthe
Curry Kenworth has been working on a library for that for some time. SpreadLib handles importing, SpreadOut handles exporting. I contacted him off list about it a while back and March 26th he said: "SpreadLib and SpreadOut currently have funding for the basic features and just need a little more

Re: Saving into invisible folders ?

2013-04-16 Thread Peter M. Brigham
On Apr 16, 2013, at 1:48 AM, Richmond wrote: > So, I have a stack with a single card containing: > > 1. A group "PAIR". > > 2. A button "Button" containing the following script: > > on mouseUp > set the defaultFolder to specialFolderPath("Home") > create folder ".myMuck" > set the default

Re: What's the best way to store data that one iOS app sends to another?

2013-04-16 Thread Mark Wilcox
Makes sense. If the pricing model is a major factor you might also want to look at StackMob. I believe they have unlimited free use of their basic feature set. Geoff Canyon wrote: >On Tue, Apr 16, 2013 at 5:41 AM, Mark Wilcox wrote: > >> Firebase but it's primarily about sending small chunks

Re: fontSizes bust in 6.0

2013-04-16 Thread Peter Haworth
Hi Jacques, Thanks for checking this out. It might be more logical but it's not backward compatible and it's not mentioned anywhere in the release notes that I could find - not a good combination! I also notice that, for Verdana, the Inspector Text Formatting tab returns the "6,8,12,18,24" in bot

RE: Reading directly from Excel

2013-04-16 Thread Ralph DiMola
I just wrote a program in VB6 the other day to read an Excel spreadsheet and update a MySql database. It was easy until I needed to "get char 3 of word 5 of line 2 of var" and then I got a headache. I would also LOVE to use LC for these type of things. I thought about exporting to a csv and using L

Re: fontSizes bust in 6.0

2013-04-16 Thread Peter Haworth
On Tue, Apr 16, 2013 at 10:13 AM, Peter Haworth wrote: > returns the "6,8,12,18,24" in both 5.5.4 and 6.0 Sorry, that should be "9,10,12,14,18,24" Pete lcSQL Software ___ use-livecode mailing list use-livecode@lists.runrev.com

Re: Reading directly from Excel

2013-04-16 Thread Colin Holgate
Doing a copy from the Excel cells and a paste into LiveCode doesn't quite work. But, doing a paste into a text editor, and then a paste into LiveCode, does work. Or asa worse case you reselect the text after the paste in the text editor, and copy that before pasting into LiveCode. __

Current Card

2013-04-16 Thread Peter Bogdanoff
Hi, How would I refer to the current card of the topStack, or any open stack, without actually going to that stack? Do I have to send a message to it to get that info? Peter Bogdanoff UCLA ___ use-livecode mailing list use-livecode@lists.runrev.com Pl

Re: Current Card

2013-04-16 Thread dunbarx
Hi. Could you: answer the name of cd 1 of stack yourStack or answer the name of card 1 of stack line 3 of the stacks If the name is what you are after, of course... Craig Newman -Original Message- From: Peter Bogdanoff To: How to use LiveCode Sent: Tue, Apr 16, 2013 1:3

Re: Current Card

2013-04-16 Thread Mark Wieder
Peter Bogdanoff writes: > How would I refer to the current card of the topStack, or any open stack, without actually going to that stack? the currentcard of stack the topstack the currentcard of stack "xyzzy" -- Mark Wieder mwie...@ahsoftware.net __

Re: Current Card

2013-04-16 Thread Peter Bogdanoff
That's it! It works, notwithstanding I don't see "currentCard" in the LC Dictionary... Craig's suggestion doesn't have the precision I was needing--I don't know what card is showing. Peter On Apr 16, 2013, at 10:45 AM, Mark Wieder wrote: > Peter Bogdanoff writes: > >> How would I refer to

RE: Current Card

2013-04-16 Thread John Dixon
Peter.. Have a look at RecentCards in the dictionary... > Subject: Re: Current Card > From: bogdan...@me.com > Date: Tue, 16 Apr 2013 11:09:09 -0700 > To: use-livecode@lists.runrev.com > > That's it! > > It works, notwithstanding I don't see "currentCard" in the LC Dictionary... > > Craig's su

Re: Current Card

2013-04-16 Thread Richmond
On 04/16/2013 09:09 PM, Peter Bogdanoff wrote: That's it! It works, notwithstanding I don't see "currentCard" in the LC Dictionary... The Dictionary is a bit like "The Hitchhiker's Guide to the Galaxy" . . . Craig's suggestion doesn't have the precision I was needing--I don't know what car

Re: Current Card

2013-04-16 Thread J. Landman Gay
On 4/16/13 1:09 PM, Peter Bogdanoff wrote: That's it! It works, notwithstanding I don't see "currentCard" in the LC Dictionary... You can also use: this card of stack x -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperacti

Re: Current Card

2013-04-16 Thread Phil Davis
It also works to say go to current card of stack "ABC" or go this card of stack "ABC" or just go stack "ABC" -- goes to current card of that stack if stack is open Best - Phil Davis On 4/16/13 11:40 AM, John Dixon wrote: Peter.. Have a look at RecentCards in the dictionary..

iOS Push Certificate not showing up for Provisioning Profile

2013-04-16 Thread Thomas McGrath III
Hello all, I am trying to build a sample app for testing my push notification server. I am following the lesson at: http://lessons.runrev.com/s/lessons/m/4069/l/53405-how-do-i-use-push-notifications-with-ios Even though that lesson is out dated I was able to: Create a Development Certificate for

Re: Reading directly from Excel

2013-04-16 Thread Magicgate Software - Skip Kimpel
Cut and paste not an option. I have a client that stores all of their work in Excel and that will not change I need to be able to manipulate that data on the fly. Curry Kenworth, come through for me! You would be a lifesaver! SKIP On Tue, Apr 16, 2013 at 1:30 PM, Colin Holgate wrote: >

Re: fontSizes bust in 6.0

2013-04-16 Thread Jacques Hausser
Hi Pete, For ages I was also frustrated by the poor choice of sizes proposed by the text formating inspector, and used the more flexible Text menu… before discovering that if you type a value instead of selecting it, the inspector takes the typed value. (By the way, the "other…" size in Text me

Re: Reading directly from Excel

2013-04-16 Thread Richmond
On 04/16/2013 10:26 PM, Magicgate Software - Skip Kimpel wrote: Cut and paste not an option. I have a client that stores all of their work in Excel and that will not change I need to be able to manipulate that data on the fly. Curry Kenworth, come through for me! You would be a lifesaver!

Re: iOS Push Certificate not showing up for Provisioning Profile

2013-04-16 Thread Mike Kerner
Hey, Tom, The developer portal just changed a couple of days ago, so it's unlikely that any lesson will be current. 1) Make sure that when you look at the App ID that under "Application Services" Push Notifications are Enabled. 2) In that same list, at the bottom, your Development SSL Certification

Re: iOS Push Certificate not showing up for Provisioning Profile

2013-04-16 Thread Thomas McGrath III
OK, So I deleted everything and started over. What I noticed is that the Certificate Generation had a team ID that did not match the one that I use normally (don't know where it comes from or why) so I changed to the ID that I normally use and this time instead of following the Lesson I used Jo

Re: iOS Push Certificate not showing up for Provisioning Profile

2013-04-16 Thread Thomas McGrath III
Mike and all, First thank you Mike for getting back to me. I have successfully sent a PNS to my Livecode app on the device. The other problem I had was that mobileGetDeviceToken() returns a number that is divided by spaces after every eight numbers/letters and that the APNS Assistant should not

Re: iOS Push Certificate not showing up for Provisioning Profile

2013-04-16 Thread Pierre Sahores
Thomas, Please see below how to solve this smoothly : Le 16 avr. 2013 à 21:04, Thomas McGrath III a écrit : > Hello all, > > I am trying to build a sample app for testing my push notification server. > I am following the lesson at: > http://lessons.runrev.com/s/lessons/m/4069/l/53405-how-do-i-

Re: iOS Push Certificate not showing up for Provisioning Profile

2013-04-16 Thread Mike Kerner
you have to remove the spaces. I tweaked John's code so that it pulls out the brackets (gt/lt) and the spaces. On Tue, Apr 16, 2013 at 4:02 PM, Thomas McGrath III wrote: > Mike and all, > > First thank you Mike for getting back to me. I have successfully sent a > PNS to my Livecode app on the d

Re: Reading directly from Excel

2013-04-16 Thread Michael Grinder
Depending on how the data is structured, you may be able to use an ODBC connection to manipulate the Excel file. On Tue, Apr 16, 2013 at 1:26 PM, Magicgate Software - Skip Kimpel < s...@magicgate.com> wrote: > Cut and paste not an option. I have a client that stores all of their work > in Excel

Re: iOS Push Certificate not showing up for Provisioning Profile

2013-04-16 Thread Mike Kerner
Here's the code I put in the token field: on closeField put 1 into i repeat while i<= the number of characters in me if char i of me is not in "0123456789abcdefABCDEF" then delete char i of me else -- char i of me is hex add 1 to i end if -- char i fo me i

Re: iOS Push Certificate not showing up for Provisioning Profile

2013-04-16 Thread Thomas McGrath III
Well now I am sending and getting my first PNs and it is an awesome feeling. I now need to finish the server setup and then on to Android. This took me about three hours to work through the first time step by step, problem by problem. Then after I trashed it all and started again this time usin

Re: iOS Push Certificate not showing up for Provisioning Profile

2013-04-16 Thread Thomas McGrath III
I just put this in and it will be a great help I think in setting up and testing further apps. Thanks Mike, Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Apr 16, 2013, at 4:17 PM, Mike Kerner wrote: > Here's the code I put in the token field: > > on closeField > p

Re: Reading directly from Excel

2013-04-16 Thread Magicgate Software - Skip Kimpel
Michael... didn't even think to go that route. These are very consistent excel spreadsheets so that might be a solid alternative. Thanks... SKIP On Tue, Apr 16, 2013 at 4:06 PM, Michael Grinder wrote: > Depending on how the data is structured, you may be able to use an ODBC > connection to ma

RE: Reading directly from Excel

2013-04-16 Thread Terry Dennis
Date: Tue, 16 Apr 2013 13:25:09 -0400 From: "Ralph DiMola" To: "'How to use LiveCode'" Subject: RE: Reading directly from Excel Message-ID: <002a01ce3ac7$5856ceb0$09046c10$@net> A couple of years ago, I built a prototype LC application to directly access spreadsheet data. I used the OpenOffice

Re: What's the best way to store data that one iOS app sends to another?

2013-04-16 Thread Monte Goulding
Geoff is this for an app in the same room/wifi? Or two apps anywhere need to keep in sync. If it's the same room then the peer to peer stuff in gamekit would do nicely. I've implemented it in mergGK -- Monte Goulding M E R Goulding - software development services mergExt - There's an external f

Re: Current Card

2013-04-16 Thread Mark Wieder
Richmond writes: > The Dictionary is a bit like "The Hitchhiker's Guide to the Galaxy" . . . ...except for the "Don't Panic" part... -- Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit

LC Community version - what's included ?

2013-04-16 Thread Alex Tweedly
Yeah, I know ... the standard answer is something like "LC Community edition includes everything except password-protected stacks." But, I'd specifically like to know Does it include the on-rev client ? Does LCServer community include the remote debugging capability ? -- Alex

on-rev: THOR server problem

2013-04-16 Thread Ralph DiMola
Anyone else having problems? (Again) Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscrip

Re: Reading directly from Excel

2013-04-16 Thread Phil Davis
Hi Skip, I added Curry Kenworthy's SpreadLib into one tool for a client and it works like a charm. Their spreadsheets are similar but not identical formats, but that doesn't stop anything from working. The spreadsheet is loaded into a data grid where they can work with it in their LC app's en

Re: on-rev: THOR server problem

2013-04-16 Thread Marty Knapp
Hi Ralph, David Williams posted a message earlier today that they were going to be moving folks on Thor to a new server. Hopefully things will settle in soon. My Wordpress site are not currently working but my non-Wordpress site are coming up fine. -- Best regards, Marty Knapp Knappster Solut

Re: LC Community version - what's included ?

2013-04-16 Thread Monte Goulding
On 17/04/2013, at 8:23 AM, Alex Tweedly wrote: > Does it include the on-rev client ? > > Does LCServer community include the remote debugging capability ? I haven't investigated fully but it looks like all the code is there to turn that on for a server build. The on-rev client is not currently

RE: on-rev: THOR server problem

2013-04-16 Thread Ralph DiMola
Thanks, I did not see the email as I was making a major update to the SW that connects to it and busy all day with clients. I pulled the complaint trigger too soon. Oops. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livec

Re: LC Community version - what's included ?

2013-04-16 Thread Mark Wieder
Monte Goulding writes: > The on-rev client is not currently in the repo I don't think. I'm not sure > if RunRev ever promised to open source that but it would be nice if they > did seeing as it doesn't seem to get any > maintenance. Perhaps someone in > the community would take over maintenance o

Re: LC Community version - what's included ?

2013-04-16 Thread Martin Koob
When some one starts working the on-rev editor here are a couple of things to put on the todo list. Copy bug. Copy with 'control' - C does not work. Cut with 'Control' -X does not work You can copy by dragging a selection with the option key down however. Paste with 'Control'-V does work Undo

Re: What's the best way to store data that one iOS app sends to another?

2013-04-16 Thread Geoff Canyon
On Tue, Apr 16, 2013 at 12:00 PM, Mark Wilcox wrote: > StackMob Checking it out now... ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.

Re: What's the best way to store data that one iOS app sends to another?

2013-04-16 Thread Geoff Canyon
On Tue, Apr 16, 2013 at 4:23 PM, Monte Goulding wrote: > is this for an app in the same room/wifi No, it could be anywhere. For 1.0 I think all I need is slow, peer-to-peer messaging, for small (usually < a few hundred bytes, but occasionally larger) messages, but in fairly large quantities --

Re: Trouble with Android

2013-04-16 Thread Thomas McGrath III
Just downloaded the Android SDK linked from the lesson at http://lessons.runrev.com/s/lessons/m/4069/l/27389-how-do-i-become-an-android-developer-on-a-mac and built a simple test stack with one button. Test in Android and nothing but a black screen. This is a new stack with one card and no scrip

Re: Trouble with Android

2013-04-16 Thread Thomas McGrath III
Ben, Where did you get the Orientation Stack from? I'd like to test it as well. Thanks Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Mar 16, 2013, at 1:13 AM, J. Landman Gay wrote: > On 3/15/13 3:08 PM, Ben Rubinstein wrote: >> Hmm... attempting to do some very simpl

Re: Reading directly from Excel

2013-04-16 Thread Magicgate Software - Skip Kimpel
Oo.. thanks for all the good info everybody! Zryip the Slug, I would be more than honored and elated if you could let me try it out! SKIP On Tue, Apr 16, 2013 at 6:55 PM, Phil Davis wrote: > Hi Skip, > > I added Curry Kenworthy's SpreadLib into one tool for a client and it > works like a

Re: Reading directly from Excel

2013-04-16 Thread Magicgate Software - Skip Kimpel
Phil, do you have a link to the documentation? I would love to make sure that the functions would fit my needs. SKIP On Tue, Apr 16, 2013 at 10:20 PM, Magicgate Software - Skip Kimpel < s...@magicgate.com> wrote: > Oo.. thanks for all the good info everybody! Zryip the Slug, I would > b

Re: Current Card

2013-04-16 Thread Kay C Lan
On Wed, Apr 17, 2013 at 5:29 AM, Mark Wieder wrote: > Richmond writes: > > > The Dictionary is a bit like "The Hitchhiker's Guide to the Galaxy" . . . > > ...except for the "Don't Panic" part... > > ---and the number of people that have read it... ___

Re: Current Card

2013-04-16 Thread Richmond
On 04/17/2013 08:54 AM, Kay C Lan wrote: On Wed, Apr 17, 2013 at 5:29 AM, Mark Wieder wrote: Richmond writes: The Dictionary is a bit like "The Hitchhiker's Guide to the Galaxy" . . . ...except for the "Don't Panic" part... ---and the number of people that have read it... Has anyone re

Plugins with Community Edition

2013-04-16 Thread Terence Heaford
Hi, One of the methods suggested for the use of the Community Edition was for producing in-house applications. Unless I am mistaken it does not seem possible to fulfil this promise when using commercial plugins that have password protection. Is that correct or am I missing something? All the