Re: Very naive URL question

2017-05-27 Thread Graham Samuel via use-livecode
Thanks Mike Somehow my testing managed to wreck the command, because when I reloaded LC 8.1.4 rc2, it worked, when neither my original call nor the Google one worked at all before. This is a bug in the IDE perhaps, since a bit of script testing should not affect what the Message Box can do. If

Re: Very naive URL question

2017-05-27 Thread Mike Bonner via use-livecode
If you have full reference to the file, and it works in your browser, you should be able to put "http://your.domain.com/text.txt"; and have it appear in the msg box If you use "get" it'll put the page into "it'. Even if the server returns an error, it'll end up in "it" so the result being empty is

Re: Very naive URL question

2017-05-27 Thread Graham Samuel via use-livecode
Thanks Mike - I take your point about having the password etc embedded, so I am going for your “http” solution. I had naively thought that “http” was exclusively involved in the serving of web pages, and i imagined that a simple text file isn’t one of those. Thanks to you, I now know better. An

Re: Very naive URL question

2017-05-27 Thread Mike Bonner via use-livecode
You can embed a username and password in the request, I believe the form is ftp://*username*:*password*@hostname/.. this can be dangerous though, so i'm not sure you should necessarily do that. If you can set up a read only ftp account, that might be ok. In this case though, you're placing a file

Very naive URL question

2017-05-27 Thread Graham Samuel via use-livecode
Hi - I’m using LC 8.1.4 rc2 Indy on a Mac with Sierra. I am confused about something so fundamental that I am embarrassed to have to ask for help, but there it is… I own a website, www.mydomain.com Mostly it serves web pages, which works fine. I decided to put a tiny text file onto the server

Re: url question

2014-09-13 Thread Kay C Lan
If you are on OS X and Safari you can 'do statementList as applescript' tell application "Safari" repeat with t in tabs of windows tell t if name starts with "google.com" then close end tell end repeat end tell Other browsers YMMV On Sat, Sep 13, 2014 at 1:54

url question

2014-09-12 Thread larry
Hello, I use the following: launch url myUrl and LC opens a browser tab in my default browser - cool. My question is this: Is there any way to close that tab when I want to? TIA Larry ___ use-livecode mailing list use-livecode@lists.runrev.com Pleas

Re: go stack URL question

2013-10-04 Thread Mark Schonewille
Hi JBV, If you have the commercial version of LC, you can protect your stack with a password. In some cases, that might be sufficient and avoid the need for additional encryption. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x

Re: go stack URL question

2013-10-03 Thread jbv
Thanks Mark. I don't know why but I thought that may be there was some built-in encrypt option in the go stack URL command... jbv > Hi JBV, > > Sure, you can encrypt the stack and decrypt it when your standalone > downloads the stack. You might want to avoid decrypting and opening very > large r

Re: go stack URL question

2013-10-02 Thread Mark Schonewille
Hi Alejandro, That's right, you shouldn't do this on iOS because you'd be downloading executable code. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color

Re: go stack URL question

2013-10-02 Thread Alejandro Tejada
Hi Mark, Could you do this in an iPad? I am sure that this will work fine in Android. But, if I remember well, Apple does not allows that an application download and execute code... Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/go-stack-URL-question

Re: go stack URL question

2013-10-02 Thread Mark Schonewille
Hi JBV, Sure, you can encrypt the stack and decrypt it when your standalone downloads the stack. You might want to avoid decrypting and opening very large remote files. This code is a bit verbose. You could write a separate function to check the result to make the code a little shorter. Yo

go stack URL question

2013-10-02 Thread jbv
Hi list, Let's say you have a standalone that you distribute to your clients, and that standalone consists only in a splashscreen with login/pwd fields. Depending on the login/pwd entered a "go stack URL "http://www.mydomain.com/data/mystack.rev"; is then executed. Is there a way to somehow encryp