Re: Can I put advisory text in an 'ask' dialog?

2012-04-10 Thread FlexibleLearning
Achievable by rolling your own dialog and trapping keystrokes. If the field is empty, then set the text of the field to the advisory text. If the field is the advisory text and the selectedText is not empty, then set the text of the field to empty. Hugh Senior FLCo ---

Re: Zipping Up an LC standalone program

2012-04-10 Thread Tim Jones
Hi Pete, Understood - what I saw in the thread was others offering up tar options that can easily be executed in a shell in much the same manner as the revZip stuff. But, as Phil mentions concerning folders with the revZip functions, tar will automatically pickup the folder structures and comp

Re: Zipping Up an LC standalone program

2012-04-10 Thread Phil Davis
Pete, I wonder if your revZip issue comes from the fact that a .app file is really a folder in disguise. To pick an app via dialog on OS X, you must say "answer file" but then immediately you must treat the .app "file" you picked as a folder containing subfolders and files. Consider this b

Re: Zipping Up an LC standalone program

2012-04-10 Thread Pete
Got it, thanks Warren. Pete On Tue, Apr 10, 2012 at 6:22 PM, Warren Samples wrote: > It was Mark who commented that tar+compression seems like too much work > without any benefit, and my original comment was mostly a response to that > thought. -- Pete Molly's Revenge

Re: Zipping Up an LC standalone program

2012-04-10 Thread Pete
Hi Tim, The origin of this thread was me trying to automate the packaging of the app at my end by writing a script to handle the standaloneSaved message. It used the revZIPxxx commands which, unfortunately, don't seem to work very well, so other scripted solutions were offered, including tar and z

Re: play sound from url on iOS

2012-04-10 Thread Thomas McGrath III
Klaus, I have downloaded files and I have played downloaded sounds but I have not played downloading sounds while downloading i.e. streaming. I also can not get the play command with mediaPicker to play iCloud music, but these do play and stream in the apple music app just not in LC…… sorry I

Re: Zipping Up an LC standalone program

2012-04-10 Thread Warren Samples
On 04/10/2012 07:54 PM, Pete wrote: Hi Warren, It's the un-zipping at the other end that concerns me, not the zip on my machine. Sounds like the ability to handle tar files might require a Windows user to install some software. Pete Yes, that is something completely different :D You could off

Re: Zipping Up an LC standalone program

2012-04-10 Thread Tim Jones
On Apr 10, 2012, at 5:54 PM, Pete wrote: > Hi Warren, > It's the un-zipping at the other end that concerns me, not the zip on my > machine. Sounds like the ability to handle tar files might require a > Windows user to install some software. You might be surprised at just how many Windows users a

Re: Zipping Up an LC standalone program

2012-04-10 Thread Pete
Hi Warren, It's the un-zipping at the other end that concerns me, not the zip on my machine. Sounds like the ability to handle tar files might require a Windows user to install some software. Pete On Tue, Apr 10, 2012 at 5:25 PM, Warren Samples wrote: > On 04/10/2012 07:04 PM, Pete wrote: > >> I

End Coming for Omegabundle for LiveCode 2012 - Don't Miss Out on the Best Deal on LiveCode Add-ons

2012-04-10 Thread Lynn Fredricks
The clock is ticking on this offer @ http://www.omegabundle.com/ - coming to an end in 14 days. It won't be back in 2012. Omega Bundle 2012 for LiveCode brings together 13 essential plugins, add-ons and more for only $399. If you purchased in 2011 or 2010, note that upgrading the software you got

Re: Zipping Up an LC standalone program

2012-04-10 Thread Pete
Yeah, it was the earlier comment about WIndows that scared me. Now, if only the revZIP commands worked OK, we wouldn't be excahnging these emails! Pete On Tue, Apr 10, 2012 at 5:11 PM, Mark Schonewille < m.schonewi...@economy-x-talk.com> wrote: > Hi Pete, > > On Mac, the BOM Archiver can als

Re: Zipping Up an LC standalone program

2012-04-10 Thread Warren Samples
On 04/10/2012 07:04 PM, Pete wrote: I guess my primary concern is that a user can simply download the compressed file and either have his browser autoatically un-compress it or just be able to double-click on it to un-compress it, then have the program be ready to use. I may be misunderstanding

Re: Zipping Up an LC standalone program

2012-04-10 Thread Mark Schonewille
Hi Pete, On Mac, the BOM Archiver can also decompress tar files. On Windows, additional software is needed. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Get th

Re: Zipping Up an LC standalone program

2012-04-10 Thread Tim Jones
Pete - Both OS X and Linux will auto-extract tar, tar.gz, tgz, and tar.bz files if that setting is enabled in the browser (safe files) or by double clicking the file. If the user adds WinTAR or a later version of PkZIP or 7zip to their Windows systems, they'll get the same thing there. Tim O

Re: Zipping Up an LC standalone program

2012-04-10 Thread Pete
I guess my primary concern is that a user can simply download the compressed file and either have his browser autoatically un-compress it or just be able to double-click on it to un-compress it, then have the program be ready to use. I may be misunderstanding but sounds like it might not be that s

Re: how to do this type of search

2012-04-10 Thread Robert Brenstein
On 10.04.2012 at 10:06 Uhr +0900 Nicolas Cueto apparently wrote: > The 'lineOffset' function will be your friend here... If only it truly were that simple... In my example, lineOffset would return "3" for "is". But "5" is what I'm after. -- Nicolas Cueto untested but something along this

Re: Browse tool. I give up.

2012-04-10 Thread dunbarx
Mark. Good reading. Thanks. I think a preference ought to be available to set the startup tool. Most times, I would think, the browse tool is the one users (or even developers) want. But I do not mind a stable workaround, as long as I don't forget it. Craig -Original Message- Fro

Re: Script editor instability

2012-04-10 Thread dunbarx
Interesting stuff from all. Am I to understand that events queued in the IDE are taking sizable fractions of minutes to process, or flush? And that if I wait a while normalcy returns? Minutes?? I will try this tonight. I usually cmd-S to save in either the script editor or in the stack, where

Re: Zipping Up an LC standalone program

2012-04-10 Thread Mark Schonewille
Hi Tim, Yes, you're right, tar is older. Nonetheless, can you think of any other reason why one would want to use tar, except for glueing files together in preparation of compression? I'm not sure what you mean by "property bundle up bits of code". I don't think that tar is available on Windows

Re: Browse tool. I give up.

2012-04-10 Thread Mark Schonewille
Hi Craig, My explanation won't help much, but maybe you like to know the reasons why it doesn't work as expected. I HyperCard there is an IDE layer and a stack layer. Except for the stacks themselves, the IDE is written in Pascal (later C) and handle everything. The scripts in the Home stack d

Re: Zipping Up an LC standalone program

2012-04-10 Thread Tim Jones
On Apr 10, 2012, at 4:02 PM, Mark Schonewille wrote: > Hi, > > Tar is a bad idea because it glues files together and doesn't compress. Tar > was invented to allow gzip to compress multiple files. It is easier and > faster to use the zip command line tool rather than to use both tar and gzip. >

Re: Zipping Up an LC standalone program

2012-04-10 Thread Mark Schonewille
Hi, Tar is a bad idea because it glues files together and doesn't compress. Tar was invented to allow gzip to compress multiple files. It is easier and faster to use the zip command line tool rather than to use both tar and gzip. Many unix geeks still prefer tar+gzip but I'm not sure why. -- B

Re: Zipping Up an LC standalone program

2012-04-10 Thread Mark Schonewille
Kee, This doesn't get rid of the .DS_Store files. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Get the extIco2Png external for LiveCode here http://qery.us/1w6

[ANN] SQLiteAdmin

2012-04-10 Thread Pete
I'm happy to announce the release of my first commercial Livecode application, SQLiteAdmin, a db admin tool for SQLite databases. A 30-day trial version of SQLiteAdmin is available at www.lcsql.com/products.html In recognition of the amazing amount of knowledge imparted to me by subscribers to th

Re: Script editor instability

2012-04-10 Thread J. Landman Gay
On 4/10/12 12:26 PM, Mark Talluto wrote: On Apr 9, 2012, at 7:37 PM, dunb...@aol.com wrote: Since I upgraded to 5.5, now and then the script editor cannot be moved. Rather the titlebar becomes a sort of resize tab, as if I clicked and dragged the actual resize tab. So trying to move the scrip

Re: Script editor instability

2012-04-10 Thread Mark Wieder
Mark Talluto writes: > We are having a number of issues with stability in 5.5. The problem is that the script editor issues you are > seeing are very sporadic. I think the majority of issues arise if you save with a command S often like I do. I > find that the IDE becomes locked down for a per

Re: play sound from url on iOS

2012-04-10 Thread Klaus on-rev
Buonasera Giulio, Am 10.04.2012 um 19:25 schrieb Giulio Mastrosanti: > Hi Klaus, > > yes, I use the player this way: > > iphoneControlCreate "player", "ioscontrol" > iphoneControlSet "ioscontrol", "filename", > "http://www.yoursitecom/audiofolder/audiofile.mp3"; > iphoneControlSet "iosco

iOS: using data grid on a retina display

2012-04-10 Thread Chris Sheffield
Is anyone using a data grid in an app that supports multiple resolutions? In particular, both iPad screens? I'm having a problem getting the data grid resized correctly to display on the iPad retina display. Is there a trick to it? Perhaps some property that can be set on the data grid that resi

Re: Script editor instability

2012-04-10 Thread Mark Talluto
On Apr 9, 2012, at 7:37 PM, dunb...@aol.com wrote: > > > Since I upgraded to 5.5, now and then the script editor cannot be moved. > Rather the titlebar becomes a sort of resize tab, > as if I clicked and dragged the actual resize tab. So trying to move the > script editor window only results i

Re: play sound from url on iOS

2012-04-10 Thread Giulio Mastrosanti
Hi Klaus, yes, I use the player this way: iphoneControlCreate "player", "ioscontrol" iphoneControlSet "ioscontrol", "filename", "http://www.yoursitecom/audiofolder/audiofile.mp3"; iphoneControlSet "ioscontrol", "preserveAspect", true iphoneControlSet "ioscontrol", "showController",

Re: Script editor instability

2012-04-10 Thread dunbarx
Mark. But have you seen the actual behavior I explained? That dragging in the titleBar to try to move the window instead changes the width of that window? I will keep in mind what you said. I have tried this, I think, or at least must have in the scramble to try to restore order. I certainly

Re: Can I put advisory text in an 'ask' dialog?

2012-04-10 Thread Mark Schonewille
Hi Graham, You can't do exactly what you want with the ask dialog, but the default text is select disappears as soon as the user starts typing. In msot cases, that should do the job. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-

Can I put advisory text in an 'ask' dialog?

2012-04-10 Thread Graham Samuel
Sometimes one sees apps (on different platforms) where the user is invited to type something into a field, and the field is pre-filled with a text which disappears the moment the user starts typing - the initial text says stuff like 'type your name here'. This type of text is not preselected (ap

Re: Zipping Up an LC standalone program

2012-04-10 Thread Pete
Thanks Mark, I'll take a look. Pete On Tue, Apr 10, 2012 at 8:39 AM, Mark Schonewille < m.schonewi...@economy-x-talk.com> wrote: > Pete, > > This is a line from my Compression Tool software. It zips without the > .DS_Store files. Item -1 of fld "File" is the name of a file or folder in > the curr

Re: Another iOS native control instantiation question

2012-04-10 Thread Graham Samuel
Just to add to my message below, I have an interesting (at least to me!) real-life example. In my iOS app, I have a card with a scrolling list on it (an instantiated native control) and an action when a user touches one of the lines in the scrolled list which includes cloning some template cards

Re: Zipping Up an LC standalone program

2012-04-10 Thread Mark Schonewille
Pete, This is a line from my Compression Tool software. It zips without the .DS_Store files. Item -1 of fld "File" is the name of a file or folder in the current defaultFolder. put "zip -r" && quote & myZipFile & quote && quote & item -1 of fld "File" & quote && " -x .* *.DS_Store *Icon*" int

Re: play sound from url on iOS

2012-04-10 Thread Klaus on-rev
Hi all, Am 09.04.2012 um 15:35 schrieb Klaus on-rev: > Hi friends, > > short question, is it possible to play a sound file from an URL in iOS? > If yes, what do I need to use: "play ..." or "iphonePlaySoundOnChannel..."? > > The docs do not mention URL, only in the "Video playback" section. >

Re: Script editor instability

2012-04-10 Thread Mark Schonewille
Hi Craig, I use LC 5.0.2 and earlier and have problem with the script editor whenever an error occurs in e.g. a resizeStack handler. When this happens, I usually activate a different application and click in the red close button while LiveCode is in the background. This closes the script window

Re: iOS Control Instantiation problem

2012-04-10 Thread J. Landman Gay
Graham Samuel wrote: I have not yet found out how to filter the Console output so that I only see my own 'put' lines, but give me time... Put the name of your app in the "filter" field. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | ht

Re: Zipping Up an LC standalone program

2012-04-10 Thread Pete
Thanks guys. I was hoping for a way to automate this and a few other steps involved in getting my app ready for release by using the standaloneSaved message, that's why I was using the revZIPxxx commands. I was also hoping that they would get around the problem I came across with the built in Mac

Re: iOS Control Instantiation problem

2012-04-10 Thread Andrew Meit
I agree fully with you Graham. Its what has been holding me back for doing work with ios. I admire and thank those who can wrestle with the docs and ins/outs of Apple stuff dealing with ios. Here is an idea, provide free (many year agreement) copies of LC mobile to a school/classroom that develo

Re: Looks like runrev.com is down

2012-04-10 Thread Roger Eller
And now it's back. On Tue, Apr 10, 2012 at 10:09 AM, Mike Bonner wrote: > yeah just noticed myself. Its toast at the moment. > > On Tue, Apr 10, 2012 at 8:07 AM, Roger Eller >wrote: > > > http://www.isup.me/runrev.com > > > > ~Roger ___ use-livecode

Re: Unicode Problem

2012-04-10 Thread Takashi Yoshino
Hi, Kojima! Your script is perfect! Thank you for your help! _.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ Takashi Yoshino http://www.wakayama-u.ac.jp/~yoshino/lab/ Tel: +81-73-457-8441 On 2012/04/09, at 21:58, Kenji Kojima wrote: > Hi Takashi-san, > > >>> 2. set

Re: Looks like runrev.com is down

2012-04-10 Thread Mike Bonner
yeah just noticed myself. Its toast at the moment. On Tue, Apr 10, 2012 at 8:07 AM, Roger Eller wrote: > http://www.isup.me/runrev.com > > ~Roger > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, uns

Looks like runrev.com is down

2012-04-10 Thread Roger Eller
http://www.isup.me/runrev.com ~Roger ___ 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

Another iOS native control instantiation question

2012-04-10 Thread Graham Samuel
Hi Can someone confirm that if one moves from card to card in an iOS app, any native controls (such as text input) need to be instantiated as the card is opened, and destroyed when another card is shown? This is very unlike the behaviour of LC on other platforms, where a field remains a field w

Re: Browse tool. I give up.

2012-04-10 Thread dunbarx
Thanks all. I figured this out too, though the explanation was most helpful. When I say "figured it out", I meant I tried sending the command in time, well, just because. In HC, the loading must be different, since one can choose, say, the field tool with a one-liner like I tried to do. T

Re: iOS Control Instantiation problem

2012-04-10 Thread Graham Samuel
Thanks Chris, very helpful. I have not yet found out how to filter the Console output so that I only see my own 'put' lines, but give me time... IMNSHO the mother ship makes working with iOS unnecessarily difficult by not explaining things like this more clearly. There are a lot of not fully e

Re: Is this possible on iOS?

2012-04-10 Thread Gerry Orkin
Try something like this (untested): if the environment contains "mobile" then put (specialFolderPath("engine") & "/yourStackInEngine.livecode") into EngineStack put url ("binfile:" & EngineStack) into EngineStackPath put EngineStackPath into url ("binfile:" & (specialFolde

Re: Is this possible on iOS?

2012-04-10 Thread Gerry Orkin
Yes. Gerry On 10/04/2012, at 3:47 PM, Geoff Canyon wrote: > But is it possible to save out a > stack from the app locally, allowing it to be saved periodically and loaded > locally at startup? ___ use-livecode mailing list use-livecode@lists.runrev