(Forgot the Subject line.)

Thanks Scott and Colin,

LiveCode and this list make it sooo easy. It is almost embarrassing.

Does anyone know what program, if there is ONE, that opens when you double 
click on a jpg or png image in Windows?

What happens when you click on an image.jpg? Does Windows present options?


Jim



> 
> Message: 17
> Date: Mon, 12 Mar 2012 14:00:43 -0800
> From: Scott Rossi <sc...@tactilemedia.com>
> To: LiveCode Mail List <use-livecode@lists.runrev.com>
> Subject: Re: Exporting a snapshot directly to Preview
> Message-ID: <cb83b20b.5b07d%sc...@tactilemedia.com>
> Content-Type: text/plain;     charset="US-ASCII"
> 
> Hi Jim:
> 
> Here's an example for OS X:
> 
> on mouseUp
>  put specialFolderPath("desktop") & "/exported.png" into theFilePath
>  export snapshot from img 1 to file theFilePath as PNG
>  launch theFilePath with "/Applications/Preview.app"
> end mouseUp
> 
> You can choose whatever image format you need, and you should probably make
> the script more robust by checking for the existence/path of the Preview
> app, confirm overwriting of the exported file, etc.
> 
> For Windows, you might be able to use MS Paint but I haven't tested this.
> 
> Hope this helps.
> 
> Regards,
> 
> Scott Rossi
> Creative Director
> Tactile Media, UX Design
> 
> 


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to