Re: iOS Safari View Controller

2016-01-19 Thread Peter TB Brett
On 12/01/2016 02:18, hlowe wrote: OK, on further investigation the "launch url pAppURL" call is actually launching Safari and suspending my App. Returning to my app from the Safari Web view causes my app's splash screen to appear (as it is relaunched by iOS). It would be MUCH nicer to be able to

Re: iOS Safari View Controller

2016-01-19 Thread Monte Goulding
I wasn't considering adding it to the engine. I don't think I actually said trivial either. I just said it would be a fairly simple external to write. I've written lots of externals that present view controllers though so "simple" is probably just a function of relevant experience with the

Re: iOS Safari View Controller

2016-01-19 Thread Peter TB Brett
On 19/01/2016 09:54, Monte Goulding wrote: I wasn't considering adding it to the engine. I don't think I actually said trivial either. I just said it would be a fairly simple external to write. I've written lots of externals that present view controllers though so "simple" is probably just a

Re: Image Scaling Problem

2016-01-19 Thread Tore Nilsen
In the Property Inspector, set the "Lock size and position" to true in the Size & Position panel Tore > 19. jan. 2016 kl. 13.16 skrev Hillen Richard : > > Hello List, > > I just imported a 500x500px image as control into a stack, resized it using > its handles to

Http Header question

2016-01-19 Thread William Prothero
Folks: I’m setting up a php sendmail script using phpSendmail and I’m trying to get the file upload for attachments part working. The examples I find are in html and the “type" is listed as “file”. Basically, I’m trying to reproduce this, in a “post” command:

Re: Image Scaling Problem

2016-01-19 Thread Richmond
On 19/01/16 14:16, Hillen Richard wrote: Hello List, I just imported a 500x500px image as control into a stack, resized it using its handles to about 100 x 100 px, saved the stack and closed livecode. After restarting livecode and reopening the stack the size of the image was again 500 x

Re: Image Scaling Problem

2016-01-19 Thread Richmond
On 19/01/16 20:24, Mark Wieder wrote: On 01/19/2016 10:07 AM, Richmond wrote: On 19/01/16 17:27, Matt Maier wrote: I was just researching around this idea. http://lessons.livecode.com/m/4071/l/7084-how-to-create-a-thumbnail-image This says that if you want to lock the change in by script

Re: Image Scaling Problem

2016-01-19 Thread Mark Wieder
Resending because the list didn't take this the first time... On 01/19/2016 10:33 AM, Richmond wrote: > Please, in simple words, explain what the "entirely different scenario" is. Well, considering that I wrote that lesson in the first place... There's nothing in that lesson that deals with

Re: Image Scaling Problem

2016-01-19 Thread Richmond
On 19/01/16 17:27, Matt Maier wrote: I was just researching around this idea. http://lessons.livecode.com/m/4071/l/7084-how-to-create-a-thumbnail-image This says that if you want to lock the change in by script you have to set its imageData to its imageData set the imagedata of image tImageName

Re: iOS Safari View Controller

2016-01-19 Thread hlowe
I was referring to Monte's expertise in writing externals as (hopefully) making it easy for him to implement a Safari View Controller as an external. I have no idea what is involved in adding such a feature to the LC engine - though it would be nice. Henry -- View this message in context:

Re: Image Scaling Problem

2016-01-19 Thread Mark Wieder
On 01/19/2016 10:33 AM, Richmond wrote: Please, in simple words, explain what the "entirely different scenario" is. Well, considering that I wrote that lesson in the first place... There's nothing in that lesson that deals with locking an image. The lesson is about exporting a snapshot,

Re: Image Scaling Problem

2016-01-19 Thread Matt Maier
Oh, okay. So if you resize it and then use lockLoc to keep it there what you're seeing is a modification of the original image and if you reverse lockLoc you throw out the modification and go back to the original image. But if you set the imageData to the imageData you overwrite the original image

Re: Image Scaling Problem

2016-01-19 Thread Colin Holgate
Just my guess about this… If you have a large image and you have resized it to be smaller, and use code or the inspector to lock it, that’s one variation. It could be that you at some point you want to show the image at its original size. If you made it smaller and want to always have it at

Re: Image Scaling Problem

2016-01-19 Thread Klaus major-k
Hi Richmond, > Am 19.01.2016 um 19:33 schrieb Richmond : > On 19/01/16 20:24, Mark Wieder wrote: >> On 01/19/2016 10:07 AM, Richmond wrote: >>> On 19/01/16 17:27, Matt Maier wrote: I was just researching around this idea.

Re: Image Scaling Problem

2016-01-19 Thread Mark Wieder
On 01/19/2016 10:07 AM, Richmond wrote: On 19/01/16 17:27, Matt Maier wrote: I was just researching around this idea. http://lessons.livecode.com/m/4071/l/7084-how-to-create-a-thumbnail-image This says that if you want to lock the change in by script you have to set its imageData to its

Re: Image Scaling Problem

2016-01-19 Thread Scott Rossi
You use the imageData technique when you want to reduce the dimensions AND the filesize of an image (could also be called a "lossy" process because you lose data by using this method). For example, say an 800x600 image runs 2MB. If you reduce the dimensions of the image and lock it, the image

Re: Http Header question

2016-01-19 Thread William Prothero
Dave: That’s it! I knew there was something like that, but couldn’t remember it. Thanks! Bill > On Jan 19, 2016, at 3:51 PM, Dave Cragg wrote: > > Bill, > > Take a look at libUrlMultipartForm and libUrlMultipartFormAddPart in the > dictionary. There are examples

Re: Image Scaling Problem

2016-01-19 Thread [-hh]
Let me add my 1.414214 cents to this. Connected to "scaled and original size of images" (whether imported as control or by setting the filename): The *old* property inspector shows in the size & location tab the "fit content" buttons which allow to restore the original width and/or height even

Re: Http Header question

2016-01-19 Thread Dave Cragg
Bill, Take a look at libUrlMultipartForm and libUrlMultipartFormAddPart in the dictionary. There are examples there that might help you. Cheers Dave Cragg > On 19 Jan 2016, at 22:44, William Prothero wrote: > > Folks: > I’m setting up a php sendmail script using

Re: Image Scaling Problem

2016-01-19 Thread Richmond
On 20/01/16 03:09, [-hh] wrote: Let me add my 1.414214 cents to this. Connected to "scaled and original size of images" (whether imported as control or by setting the filename): The *old* property inspector shows in the size & location tab the "fit content" buttons which allow to restore the

Mac standalones generated on Linux and Windows

2016-01-19 Thread Richmond
This is an old chestnut: http://use-livecode.runrev.narkive.com/XpqiPfKN/creating-mac-standalone-on-windows-studio http://forums.livecode.com/viewtopic.php?f=8=26320=136924#p136924 I wonder if there is a way to solve this, as having to have access to a Macintosh computer to set the

Image Scaling Problem

2016-01-19 Thread Hillen Richard
Hello List, I just imported a 500x500px image as control into a stack, resized it using its handles to about 100 x 100 px, saved the stack and closed livecode. After restarting livecode and reopening the stack the size of the image was again 500 x 500px. What may I do to make the scaling

Re: Image Scaling Problem

2016-01-19 Thread Klaus major-k
Hi Richard, > Am 19.01.2016 um 13:16 schrieb Hillen Richard : > > Hello List, > > I just imported a 500x500px image as control into a stack, resized it using > its handles to about 100 x 100 px, saved the stack and closed livecode. > After restarting livecode and

Re: Image Scaling Problem

2016-01-19 Thread Matt Maier
I was just researching around this idea. http://lessons.livecode.com/m/4071/l/7084-how-to-create-a-thumbnail-image This says that if you want to lock the change in by script you have to set its imageData to its imageData set the imagedata of image tImageName to the imagedata of image tImageName

Re: Http Header question

2016-01-19 Thread William Prothero
Folks: Dave got me started, but I’m still confused, unfortunately. I am having trouble seeing how the variables and data are passed from the POST command to the php script. What I’m trying to reproduce is: 2097152){ $errors[]='File size must be excately 2 MB'; }