Hi Mark:

This works beautifully. I never would have figured it out. Thank you very much.

Paul Gabel
---------------
On Jun 11, 2009, at 3:10 PM, Mark Schonewille wrote:

Hi Paul,

This will work:

on mouseUp
    put "~/desktop/test.png" into myFile
    if there is a file myFile then delete file myFile
    set the filetype to "????PNGf"
export snapshot from rect (the rect of this stack) to file myFile as PNG
end mouseUp

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
Snapper Screen Recorder 2.0.1 http://snapper.economy-x-talk.com

If you sent me an e-mail before 15 May and haven't got a reply yet, please send me a reminder.



On 11 jun 2009, at 22:49, Paul Gabel wrote:

Hello list:

Can anyone help me on exporting a snapshot by script. I have a little camera image that, when clicked, should export a snapshot of the card/window to the desktop of any user. I've read the export snapshot docs, but I'm having trouble with a universal filepath to the desktop.

export snapshot from this window to file "/HD/Users/Desktop.jpg" as JPEG

doesn't function.

export snapshot to file "experiment.png"

results in a garbled text in a Text Edit file buried in my Rev 3.5 folder.

Mac 10.5.8
Rev 3.5 gm 2

Thank you very much,

Paul Gabel


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to