Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Bridge and XmlHttpRequest

New Here ,
Feb 06, 2007 Feb 06, 2007
Hi,

Bridge can show webpages in the content pane. But if the webpages makes some kind of ajax calls with the help of XMLHTTPREQUEST this does not work in bridge. My conclusion is, that bridge does not know XMLHTTP. Is that correct?
Any idea of how to get it work? Does anyone know another way of making calls in the background?

regards,
Markus

Cologne, Germany
TOPICS
Scripting
833
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Feb 07, 2007 Feb 07, 2007
Bridge does not know XML or XMLHTTPRequest.

If you are trying to use the web browsing capabilities, you can use callbacks to Bridge's ExtendScript engine.

If you wrote an HTTP object using Bridge's Socket object, you could do it. You would also have to write an XML parser of sorts.

And it can all be set up to run as background processes, although the process isn't trivial, especially with the Socket object. But it can be done.

I do have an XML parser and an HTTP object, although the HTTP object is not written to run in the background. I also have some sample code of how to make the socket work as a background process.

If you want to take it on, email me. rstucky@starband.net

Regards,

Bob
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
May 21, 2007 May 21, 2007
Marcus and Bob,

Bridge CS3 provides HTTP and XML functionality that Bridge CS2 did not have. Check out the JavaScript Tools Guide in the Bridge CS3 SDK:

http://www.adobe.com/devnet/bridge/

You'll want to look at Chapter 6 "External Communication Tools" to learn how to use the new HTTPConnectionObject and Chapter 9 "Integrating XML into JavaScript".

-David Franzen
Adobe Bridge Quality Engineer
Adobe Systems, Inc.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
May 21, 2007 May 21, 2007
LATEST
David_Franzen@adobeforums.com wrote:
> Marcus and Bob,
>
> Bridge CS3 provides HTTP and XML functionality that Bridge CS2 did not have. Check out the JavaScript Tools Guide in the Bridge CS3 SDK:

You'll still have some XmlHttpRequest protocol stuff to deal with, but the heavy
lifting is already done, as Dave points out.

And don't be afraid to post the code here if you get it worked out :).

-X
--
for photoshop scripting solutions of all sorts
contact: xbytor@gmail.com
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines