LC and the Apple Watch?

2021-07-13 Thread Graham Samuel via use-livecode
I notice that iOS apps can interact with the Apple Watch, for example by providing snippets of information on the watch while the main data or display stays on the iOS app. Can LC help in this limited use of the Watch? I am not expecting to develop fully functional watch apps, but rather to acce

Re: LC User Guide in 9.6.3 rc1?

2021-07-13 Thread Graham Samuel via use-livecode
this. > > Kind regards, > Panos > -- > > On Tue, 13 Jul 2021 at 13:01, Graham Samuel via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> I normally rely I on the LC Dictionary to get information during >> development, but today after a long interval I t

Re: LC and the Apple Watch?

2021-07-15 Thread Graham Samuel via use-livecode
community looked into this? Just wondering Graham > On 13 Jul 2021, at 11:04, Graham Samuel via use-livecode > wrote: > > I notice that iOS apps can interact with the Apple Watch, for example by > providing snippets of information on the watch while the main data or display > st

Anyone using/playing with .fit files?

2021-10-31 Thread Graham Samuel via use-livecode
I’ve just come across these files which are generated by sport apps (such as Garmin and Specialized) and also have health applications. The format appears to be open and was I think originated by Garmin. The SDK is available but not too friendly to a Mac/LC person. My interest is in extracting

Re: Anyone using/playing with .fit files?

2021-11-01 Thread Graham Samuel via use-livecode
l from LC to convert the .fit file internally and make use of the data > within. That's the way I would go personally. > > Sean > > > On Sun, 31 Oct 2021 at 15:36, Graham Samuel via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> I’ve just come

Re: Smile for Christmas.

2021-12-17 Thread Graham Samuel via use-livecode
Pretty much OT, but Davy was a really interesting man: look him up in Wikipedia. Before I read that article, all I knew about him was the clerihew: Sir Humphry Davy Abominated gravy He lived in the odium Of having discovered Sodium Compliments of the season to all. Graham > On 17 Dec 2021, at

Reviving CD-ROM material [was: Re: Livecode and interactive video]

2022-01-23 Thread Graham Samuel via use-livecode
I know I’m old enough to be the father of the average LiveCoder, and maybe the grandfather of quite a few, so I clearly remember CD-ROMs. I had a favourite cross-platform one which contains some very attractive material, and I have often thought of reviving the contents using either an LC standa

Re: Reviving CD-ROM material [was: Re: Livecode and interactive video]

2022-01-24 Thread Graham Samuel via use-livecode
As the one who started this thread, I just wanted to say I agree wholeheartedly with Richard in his attitude to copyright works. My own problem arose (long ago) when in Richard’s words, I tried to reach the creator (strictly speaking the copyright owner, as the work includes copyright material f

Calendar interfaces

2022-09-19 Thread Graham Samuel via use-livecode
Folks, I have not been following this list with great attention for the last few months, nor doing active LC development, so I’ve missed a lot, but now I have been asked to look into the possibility of an app that reads and writes to standard calendars, particularly the kind used by Apple. I bel

Re: Calendar interfaces

2022-09-19 Thread Graham Samuel via use-livecode
; https://datatracker.ietf.org/doc/html/rfc5545#section-3.7 > > Bob S > > > On Sep 19, 2022, at 08:43 , Graham Samuel via use-livecode > mailto:use-livecode@lists.runrev.com>> wrote: > > Folks, I have not been following this list with great attention for the last >

Re: I seem to have missed something

2024-07-25 Thread Graham Samuel via use-livecode
I’m in roughly the same position as Bill. Long ago I wrote Livecode apps for sale, but in the last several years I’ve just written a few personal apps, and have more or less stopped work, due mostly to old age. However I don’t like to say I’ve entirely given up as a hobbyist, and I was thinking

Re: Mac app code signing for beginners

2018-04-29 Thread Graham Samuel via use-livecode
Sorry Mark, I’ve just switched countries and I haven’t got all the info to hand, but I think the length of validation depends on the certifcate(s) one buys - you can get them for different lengths of time. From memory, mine are three-year certificates, but you can get shorter and longer ones. H

Re: Informal survey: multiple desktops

2018-05-01 Thread Graham Samuel via use-livecode
I use a Mac with an additional monitor and have been content with that, but lately I have been bitten by the bug in LC which doesn’t allow the multiple monitor setup to reflect the real-world relationship between the screens, so multiple monitors might help. Just upgraded my Windows VM to 10, no

Re: Emergency Help?

2018-05-03 Thread Graham Samuel via use-livecode
And me. Graham Sent from my iPhone > On 3 May 2018, at 12:44, David V Glasgow via use-livecode > wrote: > > Me too… > > David Glasgow > >> On 3 May 2018, at 12:22 pm, Peter Reid via use-livecode >> wrote: >> >> Hi >> >> What's the news about Sean, has anyone made contact with him and ha

Re: LC & Java

2018-05-31 Thread Graham Samuel via use-livecode
Perhaps I don’t quite know what is being expressed here, but nevertheless I think it chimes with the feeling I have when I see stuff on this list about linting, github, even LCB. It’s an alien world. It may also be the future. Increasingly I realise I belong to the past. Is it time to stop tryin

Re: LC & Java

2018-05-31 Thread Graham Samuel via use-livecode
18:36, Trevor DeVore via use-livecode > wrote: > > On Thu, May 31, 2018 at 7:43 AM, Graham Samuel via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> Perhaps I don’t quite know what is being expressed here, but nevertheless >> I think it chimes with th

iOS and video mirroring

2018-07-17 Thread Graham Samuel via use-livecode
Those of us who use iOS devices to watch video sometimes want to see stuff on a big screen. One way of doing this is to buy a (very expensive) Apple Lightning to HDMi connector and connect your device (iPhone or iPad) to an HD TV using an HDMI cable. Bingo! Only sometimes it doesn’t work… it’s O

Bluetooth detection and use?

2018-08-16 Thread Graham Samuel via use-livecode
After a long long interval of not really coding anything, I’m thinking of a cross-platform app that uses Bluetooth devices. I see that mergNIC can tell me if my iOS has something connected via Bluetooth, but that raises a lot more questions than it answers, such as “what kind of device have we h

Bluetooth again (was Re: use-livecode Digest, Vol 180, Issue 17)

2018-09-09 Thread Graham Samuel via use-livecode
Nice to know, but this seems to leave more than half the potential users of one’s app out in the cold. OK Apple, you win this time. Is there no PC and/or Android help on the horizon? Graham > On 8 Sep 2018, at 22:38, Jim Lambert via use-livecode > wrote: > >> MarkR wrote: >> >> Can LiveCode

Re: Standalone build workaround

2018-09-19 Thread Graham Samuel via use-livecode
I am very late to this conversation, but does this mean that a very naive user, devising a simple app that is going to end up as a standalone, will suddenly be plunged into weird unguided coding issues just because the code contains ‘preOpenStack’ and similar handlers, maybe even a ‘Startup’ han

Re: glo webhooks

2018-12-03 Thread Graham Samuel via use-livecode
It is sad, after more than half a century in the business, to read something about software development that means absolutely nothing to me… OK, Google will come to the rescue, but I am seriously thinking that maybe it's time to give up. (Sigh) Graham > On 3 Dec 2018, at 14:51, Mike Kerner via

Re: glo webhooks

2018-12-03 Thread Graham Samuel via use-livecode
t > glo is a visual tool for issue management. boards can be synced with > github projects or standalone. > > On Mon, Dec 3, 2018 at 10:46 AM Graham Samuel via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> It is sad, after more than half a century i

Us and them? [was Re: Livecode Dictionary]

2019-01-20 Thread Graham Samuel via use-livecode
Just covering this one point of Geoff’s in the Dictionary discussion. I agree with his comment, and I think it’s symptomatic of a problem with the development of LC in the last few years: there is IMHO a conflict between the “everyone can code” philosophy that LC inherited (and greatly enriched)

Re: Us and them? [was Re: Livecode Dictionary]

2019-01-22 Thread Graham Samuel via use-livecode
Just to clarify, I didn’t really mean to suggest that there was a plan - it’s just that a lot of the creative energy around LC and its development seems to be going away from this as if it were bad, basically because it’s hard to do version control on binary stacks, as far as I can see. I do und

Naive Player Questions

2017-12-04 Thread Graham Samuel via use-livecode
Hi - perhaps due to not picking the right search terms in the documentation, I am confused about playing audio files in LC 8. What I want seems quite simple to me: I want the user to click a button which will cause a single MP3 file to play. While it plays I may or may not want to switch cards o

Re: Naive Player Questions

2017-12-05 Thread Graham Samuel via use-livecode
.runrev.com> wrote: > >> Happy, Happy 5th of December: by sheer chance I stumbled on how to do this >> . . . >> >> In fact the whole thing is dead easy (not, admittedly clear from the >> Dictionary). >> >> http://forums.livecode.com/viewtopic.php?f=7&

Re: Naive Player Questions

2017-12-05 Thread Graham Samuel via use-livecode
yer to see if it’s still running* > > You can do that by checking "the playmate of player 1". If it is 0, then > the player does not play > > - doing other stuff while it’s running > > You can do other stuff without problems, as the player does not block them > > - b

Re: Naive Player Questions

2017-12-05 Thread Graham Samuel via use-livecode
I don’t really know if it was DropBox exactly, but I got a temporary glitch that made my Mac freeze the first time I tried to download your zip file via the linkg. I tried it again just now and it worked. If I find out any more about what I did, I’ll let you know! Graham > On 5 Dec 2017, at 19:

Re: Naive Player Questions

2017-12-06 Thread Graham Samuel via use-livecode
Yes, this is just plain nonsense - it may be a leftover from a previous LC/Revolution idea that “play” would have a larger range of possible formats, but in the current versions of LC the IDE should warn one off, no? Graham > On 6 Dec 2017, at 10:26, Richmond Mathewson via use-livecode > wrot

Re: videoClip

2017-12-12 Thread Graham Samuel via use-livecode
Me too. Graham > On 12 Dec 2017, at 12:10, Keith Martin via use-livecode > wrote: > > On 12 Dec 2017, at 11:05, Richmond Mathewson via use-livecode wrote: > >> One of the reasons why videoClip and AudioClip are useful >> is to do with portativity. > > This is a VERY good reason to support th

Error deleting a stack

2018-01-01 Thread Graham Samuel via use-livecode
Happy New Year to all! I have a bit of script that says delete stack “myStack” This runs in a mainstack (not the one I’m trying to delete, “myStack”, which I’ll call the target), but the path by which this script was invoked was started in a menu item in the target. I get error 377 “stack loc

Uninstaller question

2018-01-02 Thread Graham Samuel via use-livecode
I’m developing a very simple uninstaller for a Mac app. I have an installer, thanks to DropDMG. The uninstallation process isn’t difficult - it’s just a matter of deleting all the involved files (some are slightly tricky to find, like dock aliases, but I guess there’s a way around that). But t

Re: Uninstaller question

2018-01-02 Thread Graham Samuel via use-livecode
uot;, and that seems > a risky business as the end-user might have other LiveCode stacks on their > machine that are needed to do something else. > > Richmond. > > On 2/1/2018 1:00 pm, Graham Samuel via use-livecode wrote: >> I’m developing a very simple uninstaller for

Re: Uninstaller question

2018-01-02 Thread Graham Samuel via use-livecode
ver recommend Mac Keeper or Mac Cleaner as they > are considered to be Malware/Spyware/Annoyance-ware > and are difficult for some users to eradicate. > > Good luck! > > Rick > > > > > > >> On Jan 2, 2018, at 6:00 AM, Graham Samuel via use-liveco

Mac 64 bit?

2018-01-04 Thread Graham Samuel via use-livecode
I notice using LC 8.1.8 (the latest stable release AFAIK) that in the Standalone Application Settings, building for Mac OS X is still described as EXPERIMENTAL. Is this right? Has anyone experienced any gotchas by using this type of build? In reality I don’t know what OSX started to expect 64 bi

Mac 64 bit?

2018-01-04 Thread Graham Samuel via use-livecode
Oops - I should have said “building for Mac OS 64 bit”, of course. Sorry. I wrote just now > I notice using LC 8.1.8 (the latest stable release AFAIK) that in the > Standalone Application Settings, building for Mac OS X is still described as > EXPERIMENTAL. Is this right? Has anyone experienced

Re: Mac 64 bit?

2018-01-04 Thread Graham Samuel via use-livecode
Bob S > > >> On Jan 4, 2018, at 03:32 , Graham Samuel via use-livecode >> wrote: >> >> Oops - I should have said “building for Mac OS 64 bit”, of course. Sorry. >> >> I wrote just now >> >>> I notice using LC 8.1.8 (the latest stable re

Finding the 'Applications' folder on a Mac

2018-01-04 Thread Graham Samuel via use-livecode
It looks to me that specialFolderPath doesn’t give a way of finding the /Applications folder on a Mac (or presumably the equivalent on a PC). If one is running a standalone which has been placed in the Applications folder, then it is possible to start with specialFolderPath(“engine”) and work ba

Re: Finding the 'Applications' folder on a Mac

2018-01-05 Thread Graham Samuel via use-livecode
2018 um 23:46 schrieb Graham Samuel via use-livecode >> : >> >> It looks to me that specialFolderPath doesn’t give a way of finding the >> /Applications folder on a Mac (or presumably the equivalent on a PC). If one >> is running a standalone which has been placed in

Visibility problem

2018-01-05 Thread Graham Samuel via use-livecode
I have a substack which is supposed to contain logging data. It’s got a single card and a single scrolling field. Being at an early stage of development, I have this bit of code to be sure it’s working: put empty into fld "TheLog" of cd "Log" of stack "TheUninstallLog" set the visible of stack

Trying to delete a Mac application

2018-01-05 Thread Graham Samuel via use-livecode
Thanks to Klaus and Ken, I know how to address the Mac Applications folder. But when I try to delete an app (which I take to be a folder of the form xxx.app) by script, I get a result “can’t delete that file”. But as a user -admittedly with admin privileges - I can move any app into the trash.

Re: Mac 64 bit?

2018-01-06 Thread Graham Samuel via use-livecode
OK, I stopped using LC 9 in earlier versions because of instability. Richard, you remind me how long ago all that was… anyway since your email (below) I’ve switch to 9.0.0 DP11. Seems fine, although the Project Browser still seems to update itself in real time. (Just as an aside, I’m having lot

Re: Object layers

2018-01-10 Thread Graham Samuel via use-livecode
And again. I really could not count the number of times over the years that the good people of this list have dug me out of a LiveCode hole, usually (but not always) of my own making. I literally could not use LiveCode now without knowing the list is there as the first-aid line. One cannot alway

Anyone else got two-monitor issues with LC9 on Mac?

2018-01-13 Thread Graham Samuel via use-livecode
Sorry this is a bit long, but it needs an accurate description IMHO. I’ve already submitted a bug report on some strangeness with using the IDE with LC9.0.0 (dp11) on a two-screen system, with the suspicion that it was me doing something wrong - it was just very muddling. However, today I seem t

Re: Anyone else got two-monitor issues with LC9 on Mac?

2018-01-13 Thread Graham Samuel via use-livecode
Thanks Martin - yes I do have a Mac Book Pro Retina, and since it’s normally on my desk with the monitor on a stand, the monitor is above the MacBook as you say. My search for bugs related to this didn’t turn up anything relevant: maybe I don’t understand how to do searches for unresolved bugs i

Re: Anyone else got two-monitor issues with LC9 on Mac?

2018-01-13 Thread Graham Samuel via use-livecode
ption in mission control too. > > Regards, > Matthias > > > > > Matthias Rebbe > Tel +49 5741 31 > ‌https://matthiasrebbe.eu <https://matthiasrebbe.eu/>‌ > >> Am 13.01.2018 um 13:14 schrieb Graham Samuel via use-livecode >> mailto:use-livecode@li

Re: Anyone else got two-monitor issues with LC9 on Mac?

2018-01-13 Thread Graham Samuel via use-livecode
Jacqueline Landman Gay | jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > > On January 13, 2018 8:51:59 AM Graham Samuel via use-livecode > wrote: > >> Thanks Martin - yes I do have a Mac Book Pro Retina, and

Re: Anyone else got two-monitor issues with LC9 on Mac?

2018-01-14 Thread Graham Samuel via use-livecode
w issue. That will be something that is good to know > when working on this issue. > On Sat, Jan 13, 2018 at 11:24 AM Graham Samuel via use-livecode > mailto:use-livecode@lists.runrev.com>> wrote: > Yes, of course it’s an OS thing really. I think it’s reasonable to want the

Re: Anyone else got two-monitor issues with LC9 on Mac?

2018-01-14 Thread Graham Samuel via use-livecode
etina screens, but > both you and graham have a mixed setup? > > Warmest Regards, > > Mark. > > P.S. There's clearly a problem here in the engine if hit testing on stacks > isn't working correctly. > > Sent from my iPhone > >> On 14 Jan

Code Signing Blues

2018-01-14 Thread Graham Samuel via use-livecode
A couple of years ago, I got a lot of advice on this list about code signing Mac apps that are not being distributed via the Mac App Store, and I got some of it working. Trying to revive that knowledge and working with a different computer, I seem to have come unstuck at stage one, which is the

Re: Anyone else got two-monitor issues with LC9 on Mac?

2018-01-14 Thread Graham Samuel via use-livecode
Not to go into detail, but I have not seen any problems using two monitors with a variety of mainstream Mac software, e.g Photoshop Elements, Pages, MS Word, MS Excel, Transmit etc etc. Maybe I’m just lucky, but it’s certainly LC that’s giving me the biggest headache at the moment. Good tip abou

[Somewhat OT] Mac Code Signing - can anyone explain?

2018-01-15 Thread Graham Samuel via use-livecode
I wrote an earlier mail on this subject. Good thing nobody replied, since I more or less worked it out myself. I have now generated a couple of certificates (app and installer), so I should be able to do the code signing. However, in my Keychain Access under “My Certificates” I have a lot of fol

Re: Anyone else got two-monitor issues with LC9 on Mac?

2018-01-17 Thread Graham Samuel via use-livecode
There are several reports, which Panos has now combined into one (18363). The idea of changing the arrangement of the two monitors in the System Prefs so that the tops are aligned is a pretty sad workaround, because of course the System Prefs settings are supposed to reflect the monitor position

Anyone using a third-party update tool for LC-originated desktop apps?

2018-01-22 Thread Graham Samuel via use-livecode
Nowadays it’s customary for quite modest apps after launching to notify the user of an update being available, with the possibility of carrying out the update there and then, or refusing. A succession of dialog boxes guides the user through the updating process and shows progress. The update som

Re: Anyone using a third-party update tool for LC-originated desktop apps?

2018-01-22 Thread Graham Samuel via use-livecode
22 Jan 2018, at 16:06, Trevor DeVore via use-livecode > wrote: > > On Mon, Jan 22, 2018 at 5:04 AM, Graham Samuel via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> Nowadays it’s customary for quite modest apps after launching to notify >> the use

Re: Anyone using a third-party update tool for LC-originated desktop apps?

2018-02-03 Thread Graham Samuel via use-livecode
would have to avoid coding - well, certainly in any language other then classic LC - to work for me. Anyone else got any thoughts on this? Graham > On 22 Jan 2018, at 15:06, Trevor DeVore via use-livecode > wrote: > > On Mon, Jan 22, 2018 at 5:04 AM, Graham Samuel via use-live

Re: Levure update 0.9.5

2018-02-19 Thread Graham Samuel via use-livecode
I have not tried to look at Levure until now, but since I am in difficulties trying to create a user-oriented update system (the kind that professionals use Sparkle for on Mac, and other techniques on other platforms), I have some hopes (from previous emails from Trevor) that Levure might help m

Re: Levure update 0.9.5

2018-02-19 Thread Graham Samuel via use-livecode
I understand the problem. It looks as if I might have a short window of around 3 days where I could see if I could get Levure to work for me. If (and it is only an if) I manage this, I will try to write it up. Graham > On 19 Feb 2018, at 16:45, Trevor DeVore via use-livecode > wrote: > > :-

Re: Levure update 0.9.5

2018-02-20 Thread Graham Samuel via use-livecode
nd the effort on other > parts of your project instead. It will take longer than 3 days to get > yourself into the Levure groove, IMHO. It's well worth it, but you can't > just jump in and be off and going. > > On Mon, Feb 19, 2018 at 2:51 PM, Graham Samuel via use-livecode &l

A little Levure-oriented question

2018-02-20 Thread Graham Samuel via use-livecode
I’m following the Levure discussion and of course Trevor's pronouncements with great interest. One thing strikes me - is there really a universally understood meaning to the term “UI stack”? I do understand the concept of separating the UI from the logic of an app, but any UI must contain **some

Re: A little Levure-oriented question

2018-02-21 Thread Graham Samuel via use-livecode
3 PM, Trevor DeVore via use-livecode < > use-livecode@lists.runrev.com> wrote: > >> On Tue, Feb 20, 2018 at 5:15 PM, Graham Samuel via use-livecode < >> use-livecode@lists.runrev.com> wrote: >> >>> I’m following the Levure discussion and of course Trevor&#

Re: A little Levure-oriented question

2018-02-21 Thread Graham Samuel via use-livecode
handlers, etc. > If you like, you can consolidate your code into only a few SOS's, or you > can have an SOS as the behavior for every single object. > > On Wed, Feb 21, 2018 at 11:46 AM, Graham Samuel via use-livecode < > use-livecode@lists.runrev.com> wrote: > >>

Re: A little Levure-oriented question

2018-02-21 Thread Graham Samuel via use-livecode
knows? Graham > On 21 Feb 2018, at 22:33, Bob Sneidar via use-livecode > wrote: > > The target. > > Bob S > > >> On Feb 21, 2018, at 10:58 , Graham Samuel via use-livecode >> wrote: >> >> But if there’s no code in the UI stack, how do the hand

Re: A little Levure-oriented question

2018-02-22 Thread Graham Samuel via use-livecode
only to this particular object >> … >> >> But isn’t that just making the whole thing more complicated than it need be? >> >> Maybe I will understand this clearly in the morning - who knows? >> >> Graham >> >>> On 21 Feb 2018, at 22:33, Bob Sneidar via

Re: A little Levure-oriented question

2018-02-22 Thread Graham Samuel via use-livecode
Thanks for your patience, Trevor. I will stop tyre-kicking now and decide whether or not my particular project work merits taking the Levure plunge! Graham > On 22 Feb 2018, at 15:56, Trevor DeVore via use-livecode > wrote: > > On Thu, Feb 22, 2018 at 7:25 AM, Graham Samuel via

Re: A little Levure-oriented question

2018-02-22 Thread Graham Samuel via use-livecode
Just read in Trevor’s reply to me - it’s Sublime Text. No, I’d never heard of it either. Myself, I have been happy editing with what comes with LC, which probably goes to show something a bit negative about me. (Rant-style observation: I see really that what the whole Levure thing is doing is m

Background color in an 'answer' dialog?

2018-02-28 Thread Graham Samuel via use-livecode
I have created hundreds of LC ‘answer’ commands in my time, and as far as I can remember they all had white backgrounds. Recently I accidentally created one with a lovely red background, showing up in standalones on both Mac High Sierra and Windows 7. Well, it would be lovely if i wanted it that

Re: Background color in an 'answer' dialog?

2018-02-28 Thread Graham Samuel via use-livecode
Craig, you make an excellent point. We now know there is a stack named “answer dialog” and that it has properties you can set. Surely the documentation should explain this somewhere? By the way, when I said my red background had disappeared, it hadn’t. It’s just that when you I through the scri

Re: Background color in an 'answer' dialog?

2018-02-28 Thread Graham Samuel via use-livecode
Should have said “when I run through the script in the IDE…”. Sorry = Craig, you make an excellent point. We now know there is a stack named “answer dialog” and that it has properties you can set. Surely the documentation should explain this somewhere? By the way, when I said my red backgr

Re: Background color in an 'answer' dialog?

2018-02-28 Thread Graham Samuel via use-livecode
t I have seen this happen > with standalones that have a stack color set, and I’m fairly certain this is > what you’re seeing. What happens if you change your main stack’s background > color then rebuild the standalone? > > Devin > > > On Feb 28, 2018, at 8:01 AM, Graham Samuel

Internet checking?

2018-02-28 Thread Graham Samuel via use-livecode
I know this is a golden oldie, but I can’t find a reference… I have a script that wants to check a file on a server, and basically to do nothing if the program is offline. Remind me, is there an easy way to tell from within an LC standalone if the internet is not accessible? I don’t want my pr

Re: Internet checking?

2018-03-02 Thread Graham Samuel via use-livecode
wrote: > > On 2/28/18 5:20 PM, Graham Samuel via use-livecode wrote: >> I know this is a golden oldie, but I can’t find a reference… I have a script >> that wants to check a file on a server, and basically to do nothing if the >> program is offline. >> Remind me, is there a

Re: Internet checking?

2018-03-02 Thread Graham Samuel via use-livecode
I wrote: > > Maybe I will write a tiny standalone that just talks to my server, and > experiment with switching off the internet connection to see what errors I > get. I just did that, but so far have only used it in the IDE. I found out two things: 1. Despite my not being particularly inter

Re: Internet checking?

2018-03-02 Thread Graham Samuel via use-livecode
gt; > Hi Graham, > > Why don’t you just check for the existence of "tsneterr: (7)”? > > Rick > >> On Mar 2, 2018, at 7:18 AM, Graham Samuel via use-livecode >> wrote: >> >> 2. If I switch of

Re: Internet checking?

2018-03-02 Thread Graham Samuel via use-livecode
fore dumping him). > 2. Inner loop to open socket to prescribed server (Not necessary either, but > you may want to check multiple times for the open socket in case of slow > connections, and timeout after x tries). > > Bob S > > >> On Mar 2, 2018, at 03:44 , Graham Samu

tsNet Error Codes (was: Internet checking?)

2018-03-03 Thread Graham Samuel via use-livecode
Charles Warwick of Tech Sstrategies gave me this info and doesn’t mind if it’s shared. May be useful to some folk on the list! It certainly solved my question about tserror(7). Graham > The numeric error codes that tsNet reports back come from the curl library > which it uses for all network o

this is a test

2018-03-05 Thread Graham Samuel via use-livecode
Just a test, please ignore… (in case you were wondering, my mail client has just seen the first mail to this list since 3rd March, but I know that some are missing.) ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to su

tsNet or not tsNet?

2018-03-05 Thread Graham Samuel via use-livecode
This message may be a repeat. If you see two copies on the list, I apologise. === I’ve been executing this line of script in an app made on a Mac with LC 9.0.0 dp11 get URL “http://www.myserver.com/mytextfile .txt It works fine, but I also wanted to detect

tsNet or not tsNet?

2018-03-05 Thread Graham Samuel via use-livecode
I’ve been executing this line of script in an app made on a Mac with LC 9.0.0 dp11 get URL “http://www.myserver.com/mytextfile .txt It works fine, but I also wanted to detect what happens when the connection can't be established, so I made the command fail b

Re: tsNet or not tsNet?

2018-03-05 Thread Graham Samuel via use-livecode
ibrary (libUrl) is to include and use tsNet. > > It calls tsNetInit on startup so that you don’t need to do that separately. > > Hope that helps, > > Charles > >> On 5 Mar 2018, at 7:21 pm, Graham Samuel via use-livecode >> wrote: >> >> I’ve

Get URL anomaly

2018-03-05 Thread Graham Samuel via use-livecode
Thanks to Charles Warwick I now understand that when using LC Indy versions, tsNet is automatically included both in standalones and the IDE. So, there should be no real difference between doing some simple ‘getting’ in either environment. Perhaps there isn’t, but I have run into an anomaly that

Overwriting a file on a server

2018-03-05 Thread Graham Samuel via use-livecode
Another dumb question, I’m afraid. The dictionary says I can do put tdata into URL [some url] well, I want to put a file on my server (in this example, it’s a text file) to replace one of the same name. If I just try to steamroller it by ignoring the existing file, I get a ‘405’ error (forbid

Re: Get URL anomaly

2018-03-06 Thread Graham Samuel via use-livecode
use-livecode > wrote: > > Hi Graham, > > >> On 5 Mar 2018, at 10:56 pm, Graham Samuel via use-livecode >> wrote: >> >> As in some of my previous mails, I’m talking about having to retrieve a tiny >> text file from a server (and later put a modified v

Re: Overwriting a file on a server

2018-03-06 Thread Graham Samuel via use-livecode
of this list must have mucked around with files on a server - can someone point me to a tutorial on all this? TIA Graham > On 6 Mar 2018, at 08:59, Charles Warwick via use-livecode > wrote: > > Hi Graham, > >> On 5 Mar 2018, at 11:04 pm, Graham Samuel via us

Re: Get URL anomaly

2018-03-06 Thread Graham Samuel via use-livecode
’ should be deprecated. Anyway thanks for the explanation. Graham > On 6 Mar 2018, at 22:30, J. Landman Gay via use-livecode > wrote: > > On 3/6/18 8:56 AM, Graham Samuel via use-livecode wrote: >> I was relying on the Standalone Application Settings option ’search for >

Re: Overwriting a file on a server

2018-03-06 Thread Graham Samuel via use-livecode
OK, I’ll be looking at it: I was not planning to use LiveCode server for this task, although as a matter of fact I do have a copy on the site in question for other purposes. Thanks to you and to Richard G. I’ll report back when I’ve sorted it out. Graham > On 6 Mar 2018, at 17:38, Mike Bonner

Re: Overwriting a file on a server

2018-03-06 Thread Graham Samuel via use-livecode
In case anyone was holding their breath, I have just realised that the data I wanted to store on the server can be stored elsewhere (in the application data area, as a property of a stack). So I won’t be in such a hurry to learn this stuff, though I know its value and will do so eventually. Gra

Re: Overwriting a file on a server

2018-03-07 Thread Graham Samuel via use-livecode
Graham > On 7 Mar 2018, at 04:42, Bob Sneidar via use-livecode > wrote: > > if there is a file? > > Bob S > > >> On Mar 5, 2018, at 05:04 , Graham Samuel via use-livecode >> wrote: >> >> How can I grow my own, by detecting the

Sparkle anybody?

2018-03-08 Thread Graham Samuel via use-livecode
I don’t think this is OT - I suppose it depends on your point of view. Sparkle is a framework for providing update logic to Mac Apps (this is my take on it anyway). I know Trevor has kind of incorporated into Levure, but the commitment to understanding and working with Levure is too heavy for me

Re: [OT] Free tool for ease Windows Installer creation

2018-03-14 Thread Graham Samuel via use-livecode
Great stuff Matthias - helps to bang the drum for easier deployment of LC apps, my continued obsession. Like Jacque and others, I eagerly await the code signing features. Graham > On 14 Mar 2018, at 03:57, J. Landman Gay via use-livecode > wrote: > > This sounds great, Matthias. Just a few w

Re: OT: Can’t download file

2018-03-14 Thread Graham Samuel via use-livecode
Thanks, but it ain’t the FTP aspects that worry me, since my uploads via FTP always work using normal FTP clients: it’s the straight download from a publicly available web site. I’ve achieved this with binary files before (for example, with Mac installers), but now I have been bitten by this per

Strange problem with tsNet external on Windows

2018-03-15 Thread Graham Samuel via use-livecode
I have a LiveCode standalone running as PC app (a .exe file, plus some other files which are needed when it runs). If I simply run the original standalone on Windows 7 (OK, running under Parallels on a Mac), it all just works. If I create an installer for the program and its dependent files usin

Re: Strange problem with tsNet external on Windows

2018-03-16 Thread Graham Samuel via use-livecode
number 42, I suppose. Graham > On 15 Mar 2018, at 16:47, Graham Samuel via use-livecode > wrote: > > I have a LiveCode standalone running as PC app (a .exe file, plus some other > files which are needed when it runs). If I simply run the original standalone > on Windows 7

A poor man's app updater

2018-03-18 Thread Graham Samuel via use-livecode
I’ve written before about trying to include within a desktop app a check for updates, and a user-driven update action: I’ve looked a bit at Trevor’s incorporation of such a scheme in Levure, and independently at Sparkle (only for Macs), but I have never reached an encapsulated solution that work

Re: A poor man's app updater

2018-03-19 Thread Graham Samuel via use-livecode
topic. Graham BTW, I certainly use installers, and they’re code-signed too, to simplify matters for users. > On 18 Mar 2018, at 20:57, J. Landman Gay via use-livecode > wrote: > > On 3/18/18 6:44 AM, Graham Samuel via use-livecode wrote: >> Now, here is the primitive bit: if th

[OT, maybe] - configuring a Windows Installer for a Standalone

2018-04-04 Thread Graham Samuel via use-livecode
Another deployment PITA. I’ve got a standalone which is cross-platform and works well on Mac and PC. Unfortunately I’m having a lot of trouble with making a viable Windows Installer, using the Inno system. All goes well with the installation process until the user checks “launch” for the app at

Zygodact queries

2018-04-04 Thread Graham Samuel via use-livecode
Hi Jacque It’s a long time since I wrote to you about Zygodact, but I’m using it quite happily to support Art DiVito’s PointPlots app, which I know you contributed to some time ago. Zygodact works well, but there are a couple of small issues. I realise this is all ancient history to you, but I

[OT, maybe] Another deployment issue - uninstallation (Windows)

2018-04-04 Thread Graham Samuel via use-livecode
I find that sometimes when I try to delete a standalone installed on a Windows machine, the Control Panel reports that it couldn’t get rid of everything. If one looks in the \Programs directory, sure enough an old version of the app is still there, and there may be old install files in the \Down

Re: Zygodact queries

2018-04-05 Thread Graham Samuel via use-livecode
y be a Windows issue but I haven't nailed >> it down yet. It doesn't happen to everyone. >> Hope that sheds some light, >> Jacque >> On 4/4/18 4:37 PM, Graham Samuel via use-livecode wrote: >>> Hi Jacque >>> >>> It’s a long time since I

Re: [OT, maybe] - configuring a Windows Installer for a Standalone

2018-04-05 Thread Graham Samuel via use-livecode
ding the installer, or > else there may be a feature in the Inno packager which allows you to set > this. > > Bob S > > >> On Apr 4, 2018, at 14:21 , Graham Samuel via use-livecode >> wrote: >> >> Another deployment PITA. >> >> I’ve g

<    1   2   3   4   >