Saving Image Data to Local File

2011-05-06 Thread Peter Reid
I am displaying a static map from Google in an image object. How do I save a copy of this map to a local PNG file so I can display it again without access to the Internet? Thanks Peter -- Peter Reid Loughborough, UK ___ use-livecode mailing list

Rectangle detection

2015-09-04 Thread Peter Reid
m its surrounding image? Thanks. -- Peter Reid Loughborough, UK ___ 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/listinf

Re: Rectangle detection

2015-09-05 Thread Peter Reid
ToChar(tGval) into byte (tImgPos + 3) of image "graph" of stack "ImageHolder" put numToChar(tBval) into byte (tImgPos + 4) of image "graph" of stack "ImageHolder" end setPixelColour Thanks for any ideas! Peter -- Peter Reid Loughborough, UK

Re: Rectangle detection

2015-09-07 Thread Peter Reid
s can come up with better/faster/cleverer ways of doing this but what I have works and is fast enough for my purposes. Thanks to anyone who gave this some thought. Peter -- Peter Reid Loughborough, UK ___ use-livecode mailing list use-livecode@li

LiveCode with Balsamiq?

2015-09-25 Thread Peter Reid
tried this combination of Balsamiq with LiveCode? Better still, has anyone developed a conversion tool to quickly turn Balsamiq mockups into LiveCode screens?! Peter -- Peter Reid Loughborough, UK ___ use-livecode mailing list use-livecode@lists.

Re: Edinburgh Conference Partners?

2015-11-29 Thread Peter Reid
enjoy during the day whilst we're in the depths of the LC-coder's boiler-room. Is there any chance of this?! Peter -- Peter Reid Loughborough, UK > On 29 Nov 2015, at 10:50am, use-livecode-requ...@lists.runrev.com wrote: > > Message: 4 > Date: Sat, 28 Nov 2015 13:37:22 +0

Interactive Filing System View?

2016-05-17 Thread Peter Reid
widget might be the obvious thing to use but I can't see how. At the moment I'm trying to do this by scripting a list field, but it feels like a lot of work for something that seems to be a common element of many apps. Any suggestions please? Peter -- Pe

Multi-level Undo?

2016-07-23 Thread Peter Reid
level only. Can anyone suggest a way of providing multi-level undo, even if only 3 levels? Thanks. Peter -- Peter Reid Loughborough, UK ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and

PowerPoint VBA from LC?

2016-08-07 Thread Peter Reid
t" but I can't see how to save the file and leave PowerPoint active ready for the next file in the sequence. Can anyone help me with this please? Thanks. Peter -- Peter Reid Loughborough, UK ___ 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: use-livecode Digest, Vol 155, Issue 15

2016-08-09 Thread Peter Reid
Thanks Mike and Richmond, I'll take a look at autoit as I don't want to get into VB unless I REALLY have to! I was hoping that a short VBA script might do the job so I can use LC for the file/folder management, but autoit may be the solution anyway. Peter -- Peter Reid Loughborough,

vCard/vCal Parsing?

2016-09-09 Thread Peter Reid
-- Peter Reid Loughborough, UK ___ 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: use-livecode Digest, Vol 156, Issue 20

2016-09-10 Thread Peter Reid
Hi Richard Very good - informative and humorous! Peter -- Peter Reid Loughborough, UK > On 10 Sep 2016, at 11:00am, use-livecode-requ...@lists.runrev.com wrote: > > Date: Fri, 9 Sep 2016 08:02:38 -0700 > From: Richard Gaskin > To: use-livecode@lists.runrev.com > Subje

Silly Text Field Question

2016-09-20 Thread Peter Reid
o tID if there is a field id tID then select the text of the target end if end hiliteText Any suggestions please? Peter -- Peter Reid Loughborough, UK ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, un

Re: Silly Text Field Question

2016-09-20 Thread Peter Reid
o provide the default behaviour for all fields on the card. Peter -- Peter Reid Loughborough, UK > On 20 Sep 2016, at 10:14pm, use-livecode-requ...@lists.runrev.com wrote: > > Date: Tue, 20 Sep 2016 07:07:42 -0600 > From: Mike Bonner > To: How to use LiveCode > S

How to create an application that opens when you drag a folder onto it?

2016-09-28 Thread Peter Reid
on! Can anyone tell me the event ID or alternative mechanism for handling folders? Thanks. Peter -- Peter Reid Loughborough, UK ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage you

Regular Expressions in IDE

2016-10-26 Thread Peter Reid
It's a bit disappointing that advanced editing in the IDE isn't covered very well in the documentation, or perhaps I'm looking in the wrong place! Peter -- Peter Reid Loughborough, UK ___ use-livecode mailing list use-livecode@lists

Unreliable File Deletion

2021-03-27 Thread Peter Reid via use-livecode
blem when tested on a brand new up-to-date virtual Windows 10 Home 64-bit and a similar PC laptop. It's not a problem on the Mac. Any ideas please? Thanks Peter -- Peter Reid Loughborough, UK ___ use-livecode mailing list use-livecode@lists.run

Unreliable File Deletion

2021-03-27 Thread Peter Reid via use-livecode
blem when tested on a brand new up-to-date virtual Windows 10 Home 64-bit and a similar PC laptop. It's not a problem on the Mac. Any ideas please? Thanks Peter -- Peter Reid Loughborough, UK ___ use-livecode mailing list use-livecode@lists.run

matchChunk & matchText broken?

2021-08-13 Thread Peter Reid via use-livecode
ly finds or not the patterns I'm looking for but I don't get the positions (matchChunk) or text (matchText). These seem to be fairly fundamental and frequently used functions that should just work. Which is why I'm assuming that I'm doing something wrong! Ple

Re: matchChunk & matchText broken?

2021-08-15 Thread Peter Reid via use-livecode
expression inside the parentheses > is placed in the variables in the positionVarsList. > > Sent from my iPhone > >> On Aug 13, 2021, at 4:33 AM, Peter Reid via use-livecode >> wrote: >> >> ?Either I'm doing something wrong or both matchChunk and matchText ar

Linux Speech Support?

2021-12-06 Thread Peter Reid via use-livecode
eral question - has anyone got text-to-speech (or speech-to-text) working with Linux? For speech in general there are the following inclusions: Android Speech-to-text (all platforms are listed) Speech Library (X, iOS, Android only) Speech (X, Win only) Any suggestion

Ghost in the Machine?

2021-12-08 Thread Peter Reid via use-livecode
'type' and 'mouse click' their way through completing the on-line form. Any suggestions please? Peter -- Peter Reid Loughborough, UK ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscr

Re: Ghost in the Machine?

2021-12-12 Thread Peter Reid via use-livecode
Thanks Alex, Dan & Tom for responding to this, but I suspect that I didn't explain things well enough, let me elaborate… 1. Periodically we have small batches of new members joining a club. We have their details in a CSV file which we'd normally think of doing some kind of batch upload. 2. How

Re: Ghost in the Machine

2021-12-15 Thread Peter Reid via use-livecode
uot; class="middle">Address</td><td style="width:800px">No/Name <input type="text" name="ecHouse" id="ecHouse" size="10" maxlength="25" value="71" onChange="modified()" class="vAddress&

Re: How to use LiveCode

2022-03-01 Thread Peter Reid via use-livecode
Hi I hit the same problem a little while ago and decided to try to dodge the issue as much as possible. My solution was to include the following guidance where appropriate: Can't Open ... Note that both Mac and Windows users may be asked to give permission to run the app for the first time. T

Processing WAV file sample data

2022-10-18 Thread Peter Reid via use-livecode
Hi I'm developing a project that will manipulate WAV files. The source files will be in the following form: - WAV stereo (2-ch), 48kHz, 16bit 16kbit, 2-15 secs duration, uncompressed The output will be a series of chunks from the source files, each being WAV mono (1,2,3,4 channe

OT: Catalina - the end of ad hoc & in-house development?

2019-09-07 Thread Peter Reid via use-livecode
add-ons: £320. Some of my users of this app already have an iPad but they are having to buy a cheap Android tablet. Like the Mac and Catalina, the iPad and iOS is driving away potential app developers due to Apple's rigid control of the delivery mechanisms. Maybe I'm wrong,

Re: OT: Catalina - the end of ad hoc & in-house development?

2019-09-10 Thread Peter Reid via use-livecode
tand code-signing, notarising and stapling, DMG/ZIP creation and be signed/paid-up Apple developers. Thanks to Matthias, you're a life/sanity saver, but I still find the prospects as an app developer rather depressing! Peter -- Peter Reid Loughborough, UK

Building Android Apps

2019-10-09 Thread Peter Reid via use-livecode
rting technologies, both as a clean set-up and how to clean up JDK and SDK support if necessary? Thanks Peter -- Peter Reid Loughborough, UK ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsub

Re: A Windows 10 WTF

2019-12-24 Thread Peter Reid via use-livecode
The 'with messages' is the key element, this made the LC app hand back control to Windows to handle other system activities. I add this line to all my loops when running under Windows. Give this a try and let me know whether this helps. Peter -- Peter Reid Loughborough, UK > On

Automating User Input

2020-01-31 Thread Peter Reid via use-livecode
b key repeatedly to move from file to field, checkbox to checkbox etc. I'd like my app to do the same tabbing etc. instead of my user who could sit back and watch the form being completed interactively! Any idea whether this is possible and if so how? Thanks. Peter -- Peter Reid Loughb

Atom Editor Help

2020-05-14 Thread Peter Reid via use-livecode
Hi, I’ve noticed that several of the LiveCode staff use the Atom text editor. Until now I’ve used BBEdit on the Mac and Notepad++ on the PC. I’m thinking of switching to Atom but need to be sure it can everything I need. For example, I have a typical piece of pre-process manipulation of text dat

Re: Atom Editor Help

2020-05-15 Thread Peter Reid via use-livecode
well as Mac, I'd happily stick with it! Cheers Peter -- Peter Reid Loughborough, UK > On 15 May 2020, at 5:00pm, use-livecode-requ...@lists.runrev.com wrote: > > Subject: Re: Atom Editor Help > Message-ID: <7c085b5f-6fdd-4ef6-9bf3-6c09a576d...@edison.tech > <mailto:7c

ICS Generation

2020-10-01 Thread Peter Reid via use-livecode
LLECT MEDS 3. ORDER NEXT MEDS What I'm looking for is either a full calendar library that I can use to generate such a ICS file, or the minimalist version, ie just enough calendar support to generate this minimal ICS file - nothing more complex. Anyone know of anything suitable? Thanks

Re: ICS Generation

2020-10-03 Thread Peter Reid via use-livecode
how I get on with my very modest iCal support. Peter -- Peter Reid Loughborough, UK > On 2 Oct 2020, at 5:00pm, use-livecode-requ...@lists.runrev.com wrote: > > Message: 6 > Date: Thu, 1 Oct 2020 23:22:25 +0200 > From: matthias_livecode_150...@m-r-d.de > To: How to use LiveCode

Deploying to Android (Amazon Fire 7)

2017-09-05 Thread Peter Reid via use-livecode
asises ease and speed of development, which I agree with over the 18 years I've used it (almost completely desktop/laptop developments). However, getting set up for mobile development is confusing, tedious and tortuous! Please can someone give me 2 step-by-step guides for these 2 dev

Re: Deploying to Android (Amazon Fire 7)

2017-09-05 Thread Peter Reid via use-livecode
same colour orange text). The screen correctly list the facilities the app will need access to. However, only the Cancel responds to a tap, the Install does nothing and says nothing! Any suggestions as to how I get over this last hurdle? Thanks Peter -- Peter Reid Loughborough, UK > Mes

Android Audio Playback & Recording

2017-09-10 Thread Peter Reid via use-livecode
subsequent comparison with a speech fragment played earlier. What I'm looking for is the way to include the output of a word or short phrase, as spoken text; followed by speech input from the user, and then compared with the original speech recorded previously. Andy suggestions please? Thanks.

Re: Android Audio Playback & Recording

2017-09-12 Thread Peter Reid via use-livecode
esearch about this. Points 1. and 2. above are potential showstoppers as the lack of either one stops this project in its tracks! Point 3. above still needs doing, but there are various ways of tackling this. Thanks for any help with this. Peter -- Peter Reid Loughborough, UK > On 12 Sep 201

Re: Android Audio Playback & Recording

2017-09-13 Thread Peter Reid via use-livecode
ay (thanks BR) I did get the mobilePlaySoundOnChannel to work after fixing some code stupidity on my part. So I can play the clips OK. Peter -- Peter Reid Loughborough, UK > On 13 Sep 2017, at 11:00am, use-livecode-requ...@lists.runrev.com wrote: > > Message: 8 > Date: Tue, 12 Sep 2017

Wrapping Android Speech-to-Text?

2017-09-17 Thread Peter Reid via use-livecode
#x27;s an equivalent tutorial for the reverse process, text-to-speech: https://www.androidhive.info/2012/01/android-text-to-speech-tutorial/ How great would it be to build apps with LC that can communicate by voice (at least for Android devices)?! Thanks Peter -- Peter Reid 71 Leconfield Road, Lough

Re: Atkinson dither algorithm & 'for each' loop

2017-10-12 Thread Peter Reid via use-livecode
aster than the other forms. This shows how variable the speed will be with the simulated "repeat for each sequenced...", depending on the details of the loop body. If there was a "repeat for each sequenced..." form of loop in LC, any speed-up could be very beneficial even i

Re: use-livecode Digest, Vol 169, Issue 18

2017-10-12 Thread Peter Reid via use-livecode
uence of chunks, but I've assumed this was a restriction for some time. It would be great if this is incorrect as I've got some heavyweight looping in several of my apps that would benefit from this! Can anyone from LiveCode give a definitive answer to this please? Peter -- Peter Re

Comparing 2 Spoken words, FFT function in LiveCode?

2017-10-16 Thread Peter Reid via use-livecode
gle word spoken by 2 different people is the same word or not. Any advice or code that might help with this would be most welcome. Thanks Peter -- Peter Reid Loughborough, UK ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit t

Android Sound Capture in WAV format

2017-10-17 Thread Peter Reid via use-livecode
derSetRecordCompressionType "AMR NB" androidRecorderSetRecordFormat "ThreeGPP" I can't see which alternatives for CompressionType (AMR NB) and Format (ThreeGPP) will give me uncompressed WAV files. Am I missing something or does the library need updating to support WAV

Android Filing System?

2017-10-27 Thread Peter Reid via use-livecode
ring general use of the app, the user will record their voice several times. These recordings should be stored on both the internal and SD card filing systems. What I'm finding is that my file and folder paths are not reliable and that most attempts to write anywhere fail due to being re

Android Filing System using LC9

2017-10-30 Thread Peter Reid via use-livecode
I've investigated further the way the Android filing system seems to be available to LC 9.0.0-dp10. As I reported previously, I have found several anomalies. Here's what I've found, (with my app being identified as "com.reidit.aphtrain" in the examples): 1. The internal storage area pointed to

Remote Debugger Frustrations

2017-10-31 Thread Peter Reid via use-livecode
ise script changes. I find the Remote Debugger to be very helpful. BUT, if only there was a quick reliable way of stopping, editing the script and continuing/restarting. Currently the run-check-edit-rerun cycle is far too slow and error prone using the remote debugger. Any thoughts or advic

mobilePlaySoundOnChannel bug?

2017-11-04 Thread Peter Reid via use-livecode
s for any help and thanks to others for related help given previously - I intend to summarise the collected solutions once I've got past this current show stopper. Peter -- Peter Reid Loughborough, UK ___ use-livecode mailing list us

Slow Opening IDE

2017-11-15 Thread Peter Reid via use-livecode
clean installs and re-registring LC, but nothing seems to work. Any ideas please? Thanks Peter -- Peter Reid Loughborough, UK ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage

Re: Slow Opening IDE

2017-11-15 Thread Peter Reid via use-livecode
Hi Matthias Brilliant, perfect diagnosis! I've just added the log file to the exclusion list for Intego (didn't bother deleting it) and now LC opens instantly!! This probably explains other slow opening issues with other apps, so it's really useful info. Many thanks. Pete

Voice Comparison in LiveCode?

2017-12-27 Thread Peter Reid via use-livecode
ng that gives an end-to-end method, from sound in to comparative score out! Any help with this would be gratefully received! Peter -- Peter Reid Loughborough, UK ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url t

Re: use-livecode Digest, Vol 171, Issue 44

2017-12-27 Thread Peter Reid via use-livecode
stage I'm not looking beyond this, so licensing, etc. is not on the horizon at the moment. Thanks again Peter -- Peter Reid Loughborough, UK ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsub

Re: Audio Processing in LiveCode

2017-12-28 Thread Peter Reid via use-livecode
Thanks Phil, I'm sorry to hear of Mark's demise. I've grabbed Mark's libraries and will take a look at them for use in general, with acknowledgements as appropriate. Peter -- Peter Reid Loughborough, UK > Date: Wed, 27 Dec 2017 20:10:08 -0800 > From: Phil Davis

Re: Audio Processing in LiveCode

2017-12-28 Thread Peter Reid via use-livecode
u say. Nevertheless, I'll continue anyway as the family are very positive about it and how it helps them engage with the problem as a whole family. I don't really mind if the result is a placebo effect, just as long as the family feel it is of some benefit. Thanks. Peter -- Peter Reid L

Re: Aphasia

2017-12-28 Thread Peter Reid via use-livecode
e problem as a whole family. I don't really mind if the result is a placebo effect, just as long as the family feel it is of some benefit. But you're correct in general, I should make sure I'm coding towards the correct target! Peter -- Peter Reid Loughborough, UK > Date: Thu, 28

Re: use-livecode Digest, Vol 172, Issue 19

2018-01-10 Thread Peter Reid via use-livecode
d the source code. Here's the link to this web page, help yourself: https://www.reid-it.co.uk/downloads/downvcclip.htm <https://www.reid-it.co.uk/downloads/downvcclip.htm> Peter -- Peter Reid Loughborough, UK > On 10 Jan 2018, at 9:38am, use-livecode-requ...@lists.runrev.com wro

Re: Problem pasting from Livecode to Mac Mail

2018-01-12 Thread Peter Reid via use-livecode
ode case "HTML" put pPlainText into tHTMLtext replace return with "" in tHTMLtext replace space with " " in tHTMLtext set the clipboardData["HTML"] to "" & tHTMLtext & ""

Size of screen diagonal?

2018-02-28 Thread Peter Reid via use-livecode
r, etc. but not the physical size on the screen such as "27 inch diagonal" or physical px per inch. Can anyone tell me how to get this info, either using just LiveCode or via Mac/PC shell/command scripts? Thanks Pete -- Peter Reid Loughborough, UK ___

Stupid Question Again - Proportional Scaling

2018-03-17 Thread Peter Reid via use-livecode
global gImageRatio on preOpenStack put the width of image "CoinSet" / the height of image "CoinSet" into gImageRatio end preOpenStack I'm probably missing something obvious, but can anyone help please?! Thanks Peter -- Peter Reid Loughborough, UK

Re: Stupid Question Again - Proportional Scaling

2018-03-18 Thread Peter Reid via use-livecode
;myImage") set the startSizeStack of image "myImage" to (the width of this stack, the height of this stack) send "tidyUpAfterwards" to me in 5 ticks end preOpenStack It's a pity that this proved a bit more convoluted than perhaps it should have been. Thanks aga

Emergency Help?

2018-05-03 Thread Peter Reid via use-livecode
Hi What's the news about Sean, has anyone made contact with him and has he accepted the help? I'm asking as I'm about to make a donation and I'd like to be sure that this will get through to him before I proceed. Thanks Peter -- Peter Reid Loughborough, UK > On 2 M

Colour Manipulation

2017-03-18 Thread Peter Reid via use-livecode
, code, add-ons, etc. that can do this kind of thing in a flash?! Thanks Peter -- Peter Reid Loughborough, UK ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription pr

Standalone Magnify Problem

2017-04-05 Thread Peter Reid via use-livecode
However, even when I include "everything", it still doesn't work in the standalones! The problems imply the lack of some inclusion and/or memory issues. Has anyone come across this and, if so do you have a solution?! Thanks. Peter -- Peter Reid Loughborough, UK __

Re: use-livecode Digest, Vol 163, Issue 13

2017-04-06 Thread Peter Reid via use-livecode
g to my preOpenStack handler and the problem was solved! Thanks very much for solving this. Peter -- Peter Reid Loughborough, UK > On 6 Apr 2017, at 9:22pm, use-livecode-requ...@lists.runrev.com wrote: > > Date: Thu, 6 Apr 2017 12:09:13 +0200 > From: hh mailto:h...@hyperhh.de>

Setting LD_LIBRARY_PATH

2017-04-16 Thread Peter Reid via use-livecode
mp; "printenv") it doesn't work either! Other environment variables seem to be OK. Any suggestions please? Peter -- Peter Reid Loughborough, UK ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this ur

Android text-to-Speech?

2018-08-31 Thread Peter Reid via use-livecode
ogle service. revSpeak works for Mac and Windows, it's a pity that it doesn't work for Android and iOS. Thanks Peter -- Peter Reid Loughborough, UK ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subs

Reading PDF Form Data in LiveCode?

2018-10-10 Thread Peter Reid via use-livecode
Peter -- Peter Reid Loughborough, UK ___ 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

How to reliably identify an Android Tablet microSD Card

2018-11-28 Thread Peter Reid via use-livecode
that the only variable is the part. However, I have 2 tablets (Android 5.1 and Android 8.1) where I haven't been able to locate the microSD card at all! Any suggestions about how to reliably locate the microSD card in an Android tablet? Peter -- Peter Reid Loughborough, UK __

Android Text-To-Speech?

2018-12-18 Thread Peter Reid via use-livecode
Has anyone got a way of doing text-to-speech for Android? We have revSpeak for desktop/laptop but not for Android deployment. Any solutions please? Peter -- Peter Reid Loughborough, UK ___ use-livecode mailing list use-livecode@lists.runrev.com

FYI: How to reliably identify an Android Tablet microSD Card

2018-12-19 Thread Peter Reid via use-livecode
al documents") doesn't work reliably across the 4 Android-based tablets I'm trying to support. If anyone has a more elegant or succinct method, please let me know. In the meantime you're welcome to use the above code. Peter -- Peter Reid Loughborough, UK > On 28 Nov 201

Using A Browser for TTS?

2019-01-06 Thread Peter Reid via use-livecode
Code fully support TTS and STT across Mac, Win, iOS and Android?! Thanks Peter -- Peter Reid Loughborough, UK ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription pr