| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Hi, Thanks Emmanuel, Chris Do check the dictionary: you have to tell what window you're sending "do _javascript_" to: [...] do _javascript_ [...] in document 1, or in window 1. Emmanuel tell application "Safari" activate set the_SMILES to do _javascript_ "var drawing = document.JME.smiles(); document.form.smi.value = drawing; return document.form.smi.value" in document 1 display dialog the_SMILES end tell |
_______________________________________________ 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 This email sent to 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.