| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
tell application "Safari" activate
set the_SMILES to do JavaScript " var drawing = document.JME.smiles(); document.form.smi.value = drawing; return drawing;"
display dialog the_SMILES
end tell
[...] do JavaScript [...] in document 1, or in window 1.
Emmanuel _______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/applescript-users/email@hidden
| References: | |
| >Passing variable from javascript to applescript (From: Chris Swain <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.