How do I export an image with 'enforced' .jpg extension?

Mark Schonewille m.schonewille at economy-x-talk.com
Wed Sep 17 08:37:15 EDT 2008


Welcome to the forum, William.

Be careful with your script. The save file dialog checks whether the  
file already exists. If the user removes the extension while you add  
it again, you might overwrite an existing file.

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Dutch forum: http://runrev.info/rrforum/

Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html 
  for more info.

On 17 sep 2008, at 14:29, William de Smet wrote:

> Hi Mark,
> I just logged into the Dutch Forum and saw the other members :-)
>
> By the way, I added the following to my script and now it works as  
> wanted:
>
> if char -4 to -1 of it <> ".jpg" then put ".jpg" after it
>
>
> Greetings!




More information about the use-livecode mailing list