When I'm fighting a regex, I go to http://pythex.org/
On Sun, Jun 4, 2017 at 2:11 PM, Mike Bonner via use-livecode <
use-livecode@lists.runrev.com> wrote:
> Not sure regex can do what you want, or if it can its far far over my
> head. Would it work instead to use lc script to parse?
> If you rep
Forget it. I'm wrong, it's too late. Sorry.
> hh wrote:
> [a] all lines starting on page 2 OR ending on page 2 OR containing page 2
> ie
> (pPage >= starting page) OR (pPage <= ending page)
>
> [b] all lines starting on page 2 AND ending on page 2
> ie
> (pPage >= starting page) AND (pPage <= end
Your "ie" is not true. So what do you want?
[a] all lines starting on page 2 OR ending on page 2 OR containing page 2
ie
(pPage >= starting page) OR (pPage <= ending page)
[b] all lines starting on page 2 AND ending on page 2
ie
(pPage >= starting page) AND (pPage <= ending page)
> Paul D. wrot
I dunno. Here's what I just did and it loaded the image with no
problems. All 97,183 bytes worth. Do you have write permission to the
folder you're downloading to?
on mouseUp
local tImgUrl
local tImgName
local tNewFile
constant tNewFolder="/home/mwieder/Desktop"
put
"//s3.amazo
I've only tried it in the IDE so far.
On Sun, Jun 4, 2017 at 12:36 PM, tbodine via use-livecode <
use-livecode@lists.runrev.com> wrote:
> Is this happening in a standalone or the IDE? A standalone would need
> revsecurity.dll for https.
>
> Tom B.
>
>
>
> --
> View this message in context: http:/
Is this happening in a standalone or the IDE? A standalone would need
revsecurity.dll for https.
Tom B.
--
View this message in context:
http://runtime-revolution.278305.n4.nabble.com/how-to-download-an-image-tp4715487p4715503.html
Sent from the Revolution - User mailing list archive at Nabble
Yeah, I've got a list of URLs like the one in the first message
//s3.amazonaws.com/appforest_uf/f1496548544475x140387106221169
240/grilled_cheese_on_plate.jpg
I'm trying to download the images from AWS to a folder.
Previously I couldn't get "put URL into binfile" to work (0kb files) so I
tried do
Not sure regex can do what you want, or if it can its far far over my
head. Would it work instead to use lc script to parse?
If you repeat through your data (each line form, with tLine as the current
line and pPage as the page to be looked for...) you can use a one liner
like this to build a list
On 06/04/2017 10:06 AM, Matt Maier via use-livecode wrote:
Hokay, so, apparently post is a blocking command, which is a bad idea for
multiple potentially large files. So I'm trying to use this, but it's still
downloading 1kb files.
*put* "https:" & tImgUrl into tImgUrl
*set* itemdelimiter to "/
I’ve got a couple of things I’d like to try with the Script Editor. I’m having
a tough time figuring out how to edit revNewScriptEditor stack and specifically
being able to make changes to revSETemplate. Can anyone give me a pointer on
what I need to do so that I might be able to try some “enhan
Hokay, so, apparently post is a blocking command, which is a bad idea for
multiple potentially large files. So I'm trying to use this, but it's still
downloading 1kb files.
*put* "https:" & tImgUrl into tImgUrl
*set* itemdelimiter to "/"
*put* item -1 of tImgUrl into tImgName
*set* itemdelimite
Every time my script downloads an image the entire interface and IDE locks
up and says "not responding" until the download finishes. I tried adding
"lock screen" but that didn't help.
*lock* screen
*put* tImg into tDis["img_thing"]
*set* the httpHeaders to "Content-Type: application/json" & cr &
I got bubble.is to send the base64 encoded image data instead of a link. So
just putting the base64decoded data into URL is working.
On Sun, Jun 4, 2017 at 12:41 AM, Colin Holgate via use-livecode <
use-livecode@lists.runrev.com> wrote:
> Scott’s routine worked for me too. It’s worth checking whe
On 06/04/2017 02:53 AM, Jonathan Lynch via use-livecode wrote:
No need to loop.
Set three flags to false. After each callback comes in and the flag gets
switched, check all three flags. After the last ones comes in, all three flag
variables will be switched and can trigger the next action.
N
I have a tab and cr delimited table of data, a sample line of which is
below:
1Test4052,125941,4052,3,2388
The last tab delimited item "1,4052,3,2388" is actually ,,,
So the starting page number is 1 and ending page is 3
I have a variable pPage which contain a page number, say "2"
My regex fil
No need to loop.
Set three flags to false. After each callback comes in and the flag gets
switched, check all three flags. After the last ones comes in, all three flag
variables will be switched and can trigger the next action.
Sent from my iPhone
> On Jun 3, 2017, at 9:04 PM, Mark Wieder via
In this case the loss of wifi was intentional and part of a test of offline
capability of our app. We do experience occasional loss of wifi on our iPads
but I suspect that is down to our university’s wireless network rather than a
technical issue with the devices.
Terry...
On 4/06/2017 11:50 a
Scott’s routine worked for me too. It’s worth checking where the spaces and
returns there are in his test, I had to edit it from the email version. I also
just tested in the multiline message box. For testing in a button, in LiveCode
8, you have to declare the variable as well. This was the whol
18 matches
Mail list logo