| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
At 6:30 PM +0000 11/17/06, Mark Thomas wrote:(gdb) print scriptText $1 = 0x5bcd10 "tell application \"Safari\"\n do JavaScript \"var where; if (typeof(IBISmain)!='undefined') where=IBISmain; else where=window; where.onStatusDone(0, 'my result is \\\"Yes\\\" \\\n.');\" in document 1\n end tell"
Maybe this is no good because the javascript ends with two newlines in the middle, look at your actual javascript:
var where; if (typeof(IBISmain)!='undefined') where=IBISmain; else where=window; where.onStatusDone(0, 'my result is "Yes" .');
where.onStatusDone(0, 'my result is "Yes"
(new line)
.');
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 Archives: http://lists.apple.com/mailman//archives/applescript-users
| References: | |
| >Running JavaScript via AppleScript Problems (From: Mark Thomas <email@hidden>) | |
| >Re: Running JavaScript via AppleScript Problems (From: Emmanuel <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.