Re: script for redo/undo text?

2019-07-10 Thread Nicolas Cueto via use-livecode
Thank you everyone for the various options/suggestions. -- N.C. On Wed, 10 Jul 2019 at 07:24, Mark Wieder via use-livecode < use-livecode@lists.runrev.com> wrote: > On 7/8/19 8:05 PM, Nicolas Cueto via use-livecode wrote: > > Good day eh. > > > > To quote a post

can't do Find/Search on LC UI stacks (bug?) [was "script for redo/undo text?"]

2019-07-10 Thread Nicolas Cueto via use-livecode
"Find and Replace" is warning me that "... To search a LiveCode UI stack you must first select 'Show IDE Stacks in Lists' from the View menu." But, I did select "Show IDE Stacks" in "View"! Something I've overlooked or a bug? The reason I want to search LC UI stacks? To understand Mark Wieder's

can't do Find/Search on LC UI stacks (bug?)

2019-07-10 Thread Nicolas Cueto via use-livecode
Even though "View > "Show IDE Stacks in Lists" is checked, am still getting a " ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

script for redo/undo text?

2019-07-08 Thread Nicolas Cueto via use-livecode
Good day eh. To quote a post from "User Experience Stack Exchange ": " undo/redo is one of the biggest implementation, testing and maintenance headaches in any significantly sized application" And yet I ask... Would

Re: localization/localisation/ of LC Community version's GUI?

2019-03-20 Thread Nicolas Cueto via use-livecode
The replies so far---for which, many thanks---are also off topic. I want to change the language of LC "itself", i.e., the development environment. Its menus, such as for opening/ saving stacks, or for creating/ copying/ pasting/ deleting objects. Its windows, such as properties, the toolbar,

localization/localisation/ of LC Community version's GUI?

2019-03-18 Thread Nicolas Cueto via use-livecode
In short, if my aim is to translate LC Community's GUI (for youngish Japanese students learning to program) , where might I start? Now, if something terrifyingly named "GitHub" should be part of the answer, all I know about that is it's a discussion start-off point for LC "gurus", plus a cue for

Re: who has experience with mp4 videos on windows?

2019-03-18 Thread Nicolas Cueto via use-livecode
Tiemo, My advice is probably of no use but... Could it be the solution is updating the codecs? What you described reminded me very much of "MX Player" updates (a popular video player for Android). Every time after an update, some videos open up with no sound and a "This Audio Format AC3 Is Not

Re: LC on Chromebook?

2018-09-25 Thread Nicolas Cueto via use-livecode
18/08/19/install-linux-applications-chrome-os/ > > It may be possible according to this new capability to run Linux apps. > I’ve not seen any reported successes though. > > Thanks, > Brian > On Sep 17, 2018, 9:15 PM -0500, Nicolas Cueto via use-livecode < > use-livecode@lists

Re: how to know 2 monitors are in use?

2018-09-25 Thread Nicolas Cueto via use-livecode
of all active monitors with > the default monitor as the 1st line. > > Unfortunately, "the screenLoc" only returns the center of the default > monitor. You would need to get the rect of any other monitor and > calculate the center for centering a dialog on other monitors. >

how to know 2 monitors are in use?

2018-09-25 Thread Nicolas Cueto via use-livecode
During "development" on Windows with 2 monitors, how to use "set the loc of this stack to the screenloc" so that a stack centres in on one or the other monitor? (And, if not in the development environment? say, a standalone?) Thanks. -- Nicolas Cueto

LC on Chromebook?

2018-09-17 Thread Nicolas Cueto via use-livecode
Not for running apps. For programming. Is there ANY way to get LC running on a Chromebook? One possibility is a cloud service (MacInClud or Frame). But there´s a fee -- unless someone knows of a limited trial service? -- plus, when not on wifi, my connection is thru hotspotting onto a limited

Re: editing & combining sound files?

2018-08-22 Thread Nicolas Cueto via use-livecode
put > files. > > 6. Close the access to the original files. > > > > If MP3 isn't comprehensible, then you could bulk convert the resulting > > files from AU to MP3 using any number of tools. > > > > gc > > > > > > On Wed, Aug 22, 2018 at 5:14 PM Nico

editing & combining sound files?

2018-08-22 Thread Nicolas Cueto via use-livecode
Hello List, I wish to automate a repetitive (and tedious!) process that's now being done manually using a sound-file editor (Goldwave). The process is: 1. Open an AU sound file. 2. Append 1 second of silence to that file. 3. Open a 2nd AU sound file. 4. Copy and append that 2nd file to the 1st

button action different on Android

2018-05-29 Thread Nicolas Cueto via use-livecode
Developing a stack on windows, which has two groups of 30 buttons contiguosly placed, and each button's settings are: ''' style=standard autohilite, sharedhilite, focuswithkeyboard, focusborder,

Re: how to copy a card?

2018-03-08 Thread Nicolas Cueto via use-livecode
queline Landman Gay | jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > > On March 8, 2018 12:24:58 AM Nicolas Cueto via use-livecode < > use-livecode@lists.runrev.com> wrote: > > ?Need a new card, and want it t

how to copy a card?

2018-03-07 Thread Nicolas Cueto via use-livecode
​Need a new card, and want it to be an exact copy (other than the card title) of an existing card. How yo do this in LC? Thank you. -- Nicolas Cueto ​ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe,

Re: position of text-curson within field

2018-02-19 Thread Nicolas Cueto via use-livecode
02/19/2018 05:01 PM, Nicolas Cueto via use-livecode wrote: > > As you can see, the reason I'm interrupting the backspace key is to find >> out the number of lines in a field after a char is deleted. >> > > I would do that differently: > > local sHowManyLine

position of text-curson within field

2018-02-19 Thread Nicolas Cueto via use-livecode
I'm trying to script a special backspace script. As is the usual backspace behavior, I still want the char to the left of the flashing cursor to be deleted. Wherever that cursor happens to be. But because the backscape key cannot get passed, it seemsI have to manually delete that character to

updating LC on Windows breaks SDK path

2018-02-14 Thread Nicolas Cueto via use-livecode
A previously working setup for Android development on Windows has suddenly stopped working. Again! Twice this has happened. First, back in January, when updating from 8.1.0 to 8.1.8, and now this morning, from 8.1.8 to 8.1.9. First sign of a problem is I can't point LC 8.1.9 after installation

Re: discrepancy between official device metric and LC stack size

2018-02-14 Thread Nicolas Cueto via use-livecode
ode@lists.runrev.com> wrote: > On 1/31/18 5:23 PM, Nicolas Cueto via use-livecode wrote: > >> I test my mobile stacks on a Nexus 5, and, in portrait orientation, many >> bottom pixels are offscreen, even though for width and height I follow >> exactly the numbers given in dp

Re: how to format text for copy-pasting as a spreadsheet table

2018-02-08 Thread Nicolas Cueto via use-livecode
> was just because I felt it may be useful to others, and exposing new LC > users to this type of action may help someone else too. > > Paul > > > On 8 Feb 2018, at 15:11, Nicolas Cueto via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > >

Re: how to format text for copy-pasting as a spreadsheet table

2018-02-08 Thread Nicolas Cueto via use-livecode
Craig wrote: > I should be able to paste directly into any spreadsheet. One would think it should, but long experience copy-pasting from/to LC confirms "directly" just doesn't work. An intermediary step, such as a text editor app, is always needed. Brian wrote: > If you are talking about

how to format text for copy-pasting as a spreadsheet table

2018-02-07 Thread Nicolas Cueto via use-livecode
To make bingo grids, I'm using LC to randomize and arrange a list of words (tabs between words, cr between lines). What I then have to do to end up with an actual spreadsheet-style grid is: (1st) Copy-paste the LC generated text into a notepad app (Notepad++); (2nd) Copy-paste from the notepad

a how-to for DG2 & swipe scrolling

2018-02-07 Thread Nicolas Cueto via use-livecode
On the LC forum there's a thread with sample stacks but only for iOS. Could someone explain, or know of some LC reference, or, even better yet, have a sample stack for Android that covers using DG2 for making a swipeable datagrid

discrepancy between official device metric and LC stack size

2018-01-31 Thread Nicolas Cueto via use-livecode
I test my mobile stacks on a Nexus 5, and, in portrait orientation, many bottom pixels are offscreen, even though for width and height I follow exactly the numbers given in dp at the website Device Metrics . Why is it cut off? And how can I avoid this? Is there an

Re: how to refer to a custom prop that is a multidimensional array

2018-01-23 Thread Nicolas Cueto via use-livecode
Thanks, Brian and Craig. Two lines of code? Then, I'll skip using multidimensional custom props. -- Nicolas Cueto On 23 January 2018 at 23:02, dunbarx via use-livecode < use-livecode@lists.runrev.com> wrote: > Oh. Now I see. You want to retrieve "interior" elements of an array > directly >

how to refer to a custom prop that is a multidimensional array

2018-01-22 Thread Nicolas Cueto via use-livecode
My stack has a custom prop "cKweto" which has various elements. For now, elements (arrays?) are single. But next I want to add multidimensional elements (arrays?). The proble is I do not how to refer to those multidimendional elements, say within a button script. For single elements, no problem.

The "Property Profile Pane" -- where's it gone to? -- or, should profiles be avoided completely?

2018-01-22 Thread Nicolas Cueto via use-livecode
Did not know until a week ago anything about the concept of LC profiles, as in revSetCardProfile, revSetStackProfile, or revSetStackFileProfile. So, looked at the LC doc and found this: "You create a profile for an object, and give it a name, using the PROPERTY PROFILES PANE in the object's

Re: resizing and rescaling an object: Is this math/logic ok?

2018-01-22 Thread Nicolas Cueto via use-livecode
Brian Milby wrote: The GM avoids the cumulative error problem by storing positioning as fixed numbers in the GM custom properties. It will either store absolute pixel positions or relative % of card dimension positions. Positions are based on either a card edge or another control edge. So for

resizing and rescaling an object: Is this math/logic ok?

2018-01-18 Thread Nicolas Cueto via use-livecode
Given these values... original STACK-width is tOSW original stack-height is tOSH resized stack-width is tRSW resized stack-height of stack is tRSH original OBJECT rect is tOOR (i.e., left,top,right,bottom) ... and assuming I'm right that ... ratio of stack's width change is tRSWC and equals

Re: deploying to multiple mobile devices

2018-01-16 Thread Nicolas Cueto via use-livecode
> Is this a classroom you work with directly, or a product for others to use in their own classrooms? Directly. On 17 January 2018 at 12:38, Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote: > Nicolas Cueto wrote: > > > Some of my stacks are for a classroom situation, so

deploying to multiple mobile devices

2018-01-16 Thread Nicolas Cueto via use-livecode
Some of my stacks are for a classroom situation, so would like to deploy to the various smartphones of class sizes of 3 to 20 students (1) preferably cable-free (Wifi?), (2) easily for the end-user, and (3) as simultaneously as possible. On Mac and for iOS, it seems the best (only?) choice is

Re: Android devpt on Mac OS -- your setup?

2018-01-15 Thread Nicolas Cueto via use-livecode
Can now test on Android device from Mac. Hooray. Thanks, Andrew. But went with what LC recommends. Kind of. -- Nicolas Cueto On 15 January 2018 at 22:50, Andrew Bell via use-livecode < use-livecode@lists.runrev.com> wrote: > > ::: Mac OS version ::: >> > 10.11.5 on MBP > 10.12.6 on iMac >

Mac path to Android SDK?

2018-01-15 Thread Nicolas Cueto via use-livecode
To configure Mobile prefs on Mac, where might the Android SDK be? LC states "The root directory may look something like: ...android-sdk-mac", so I'll try searching for that in the meantime. Thank you. -- Nicolas Cueto ___ use-livecode mailing list

Android devpt on Mac OS -- your setup?

2018-01-14 Thread Nicolas Cueto via use-livecode
I want to configure a new Mac mini running 10.13.2 for Android development. But, as I've learnt these last two weeks, LC advise can be out-of-date, and what works on one setup may not on another. At least, that's been the case on Windows. So, if you are on a Mac OS ++and++ have succesfully tested

Re: Android build executable on test device fails

2018-01-13 Thread Nicolas Cueto via use-livecode
And now a new problem. The SDK and JDK paths have disappeared. Just now installed 8.0.2, pointed it to the SDK root path that worked with 8.1.8, but got the error "chosen folder not a valid Android SDK". And, opening 8.1.8 to confirm the SDK rooth path, the SDK field there has become blank and

Re: Android build executable on test device fails

2018-01-13 Thread Nicolas Cueto via use-livecode
Found the thread ("Error while saving standalone 8 & 9"), and, yes, widget problem. But my stack is simply a field and two buttons. No widgets. So, still stuck. -- Nicolas Cueto On 14 January 2018 at 09:15, Nicolas Cueto wrote: > The problem is on 8.1.8. > > Any idea what

Re: Android build executable on test device fails

2018-01-13 Thread Nicolas Cueto via use-livecode
The problem is on 8.1.8. Any idea what the subject of that thread was? -- Nicolas Cueto On 13 January 2018 at 20:15, MWCM via use-livecode < use-livecode@lists.runrev.com> wrote: > > > Testing on an Android device, the "Standalone builder progress" window > > shows first "Building classes" and

Android build executable on test device fails

2018-01-12 Thread Nicolas Cueto via use-livecode
Testing on an Android device, the "Standalone builder progress" window shows first "Building classes" and then for a brief moment "Building executable", after which an error window reads "Unable to build app for testing: could not open module file". Searched the forums but no mention at all of

libUrlDownloadToFile: desktop ok, Android no

2018-01-11 Thread Nicolas Cueto via use-livecode
Hello. Below is the script used to download a text file. Which works on the Windows desktop. But on my Nexus 5, "error" is returned by the script commands "log" and "logflushbuffer". Why oh why ... Help! please. --- BUTTON SCRIPT on mouseUp put empty into the last

Re: updating text of a mobile app (newbie)

2018-01-10 Thread Nicolas Cueto via use-livecode
Noob again. This works on the dektop but not on an Android device: on mouseUp put url "http://mysite.com/dir/file.txt; into tTextToDecode put textDecode(tTextToDecode,"UTF-8") into field "the text" end mouseUp I looked in LC dictionary "put" but only thing was "Note: The Android and iOS

updating text of a mobile app (newbie)

2018-01-08 Thread Nicolas Cueto via use-livecode
A goal this year is to get an app (for foreign language learning) on the Android and iOS stores. To this end, I have begun to re-study LC8's app building course; LC itself I've been using for decades. Let's say my original app gets approved. In that app is a datagrid object list consisting of 10

Re: screenloc not actually centered after changing scalefactor (was Screen Resolution for Desktop Apps)

2018-01-03 Thread Nicolas Cueto via use-livecode
Jacqueline yet again saves the day. Thank you! -- N. On 2 January 2018 at 08:34, J. Landman Gay via use-livecode < use-livecode@lists.runrev.com> wrote: > On 12/31/17 7:31 PM, Nicolas Cueto via use-livecode wrote: > >> To do "some calculations", I

Re: screenloc not actually centered after changing scalefactor (was Screen Resolution for Desktop Apps)

2017-12-31 Thread Nicolas Cueto via use-livecode
> You may have to do some calculations based on the scalefactor, in order to adjust the visual location. Thanks Jacqueline, but still confused. To do "some calculations", I thought of comparing the loc to the scalefactor. So ran the standalone on three devices, but saw no consistent corelation

Re: delete the customproperty (of a card)

2017-12-31 Thread Nicolas Cueto via use-livecode
The answer for what I was after: set the customPropertySets of this card to empty Thanks all. Particularly, Glen Bojsza for the offlist sample stack and explanatory video. -- N. Cueto On 1 January 2018 at 10:14, Nicolas Cueto wrote: > The answer for what I was after: > >

Re: delete the customproperty (of a card)

2017-12-31 Thread Nicolas Cueto via use-livecode
The answer for what I was after: On 1 January 2018 at 02:03, Richmond Mathewson via use-livecode < use-livecode@lists.runrev.com> wrote: > Fegs! > > delete the customKeys of card id 1002 > > warked :-* > > Richmond. > > > > On 31/12/2017 6:59 pm, Richmond Mathewson wrote: > >> If you know the

delete the customproperty (of a card)

2017-12-31 Thread Nicolas Cueto via use-livecode
Very simple question, I guess. But from the documentation I've only figured out : set the customKeys["myCP"] of this card to empty How do I completely delete the customProp myCP itself? Bettery yet, how could I delete at once all customProps, even if I don't know their names?! Thanks. (And

preloading an mages dimensions

2017-12-27 Thread Nicolas Cueto via use-livecode
Before setting the filename of an image object, how do I get the original dimensions of an image (jpg)? Thank you. -- Nicolas Cueto ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage

screenloc not actually centered after changing scalefactor (was Screen Resolution for Desktop Apps)

2017-12-27 Thread Nicolas Cueto via use-livecode
Following upon Jacqueline's advice on the original thread, here is my stack script for modifying scalefactor based on monitor screenrect differences (i.e., between the monitor I developed the stack and other monitors): /// on

Re: incrementing a decimal...

2017-11-07 Thread Nicolas Cueto via use-livecode
t; put format("%s.%03d", item 1 to 2 of tValue, item 3 of tValue + 1) into > tNextValue > > > On 8 Nov 2017, at 11:22 am, Nicolas Cueto via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > I'm after an easy way to convert span 3.33.00

incrementing a decimal...

2017-11-07 Thread Nicolas Cueto via use-livecode
I'm after an easy way to convert span 3.33.007-3.33.012 into this incremental cr-del list: 3.33.007 3.33.008 3.33.009 3.33.010 3.33.011 3.33.012 >From experience, I know if I add 1 to "07" the result is "8" and not "08". Thank you. -- Nicolas ___

Re: filter? replace? wildcard? reg exp? help please!

2017-05-10 Thread Nicolas Cueto via use-livecode
in’. I am not good with languages, as you can probably tell. > > Graham > > > On 10 May 2017, at 06:33, J. Landman Gay via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > On 5/9/17 11:16 PM, J. Landman Gay via use-livecode wrote: > >> On 5/9

Re: filter? replace? wildcard? reg exp? help please!

2017-05-09 Thread Nicolas Cueto via use-livecode
​Thank you everyone. Went with ​Jacqueline's, cause fastest. -- N. Cueto ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

filter? replace? wildcard? reg exp? help please!

2017-05-09 Thread Nicolas Cueto via use-livecode
Given this snippet... --- CANTO XXXIV CÍRCULO IX: TRAIDORES. «Vexilla regis prodeunt[307] del Abismo hacia nosotros[308], mas delante mira 3—dijo el maestro— y los verás tú mismo.» --- ... how

Re: align field scrolls

2017-03-06 Thread Nicolas Cueto via use-livecode
Y to newPosition > > end scrollbarDrag > > > > > > On 3/6/2017 9:39 AM, Rick Harrison via use-livecode wrote: > > > Hi Nicolas, > > > > > > Does the number of lines increase or decrease between executions? > > > > > &

Re: align field scrolls

2017-03-05 Thread Nicolas Cueto via use-livecode
Provided both fields have the same number of lines and the text properties > are identical they should stay aligned correctly. > > Or a simpler version would be; > set the vScroll of fld 2 to the vScroll of fld 1 > > Paul > > > > > On Mar 5, 2017, at 6:00 PM, Nicolas C

align field scrolls

2017-03-05 Thread Nicolas Cueto via use-livecode
Hi. The part I've got working... Two clickable scrolling fields (fld1, fld2), same height and width. Click a fld1 line and fld2 SCROLLs and HILITEDLINEs to visually reveal a matching line. (fld1 is French text, fld2 is an English gloss.) The part I would welcome your help with... If, say, the