Re: filling blanks on www-sites
Re: filling blanks on www-sites
- Subject: Re: filling blanks on www-sites
- From: "Arthur J. Knapp" <email@hidden>
- Date: Thu, 29 Aug 2002 12:53:50 -0400
>
Date: Thu, 29 Aug 2002 11:19:29 +1000
>
Subject: Re: filling blanks on www-sites
>
From: Timothy Bates <email@hidden>
>
If you want to actually fill out form elements in the graphic page, maybe
>
retaining the option of modifying these manually, then do so using IE5 and
>
JavaScript
>
>
tell app "IE"
>
do script "document.forms[0].SID.value=\"thisvalue\";"
With JavaScript, you can simply switch to single quotes, removing the
need to escape quotes in the AppleScript string:
do script "document.forms[0].SID.value='thisvalue';"
It would be nice if the Photoshop 7.0 JavaScript "recorder" created it's
generated code with single quotes, making the resulting source code more
cut-and-paste ready for AppleScript:
set src to "var id16 = charIDToTypeID( \"Usng\" );"
or
set src to "var id16 = charIDToTypeID( 'Usng' );"
{ Arthur J. Knapp, of <
http://www.STELLARViSIONs.com>
a r t h u r @ s t e l l a r v i s i o n s . c o m
}
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.