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

Check if Web Access library is loaded.

Engaged ,
Apr 19, 2013 Apr 19, 2013

Copy link to clipboard

Copied

I am trying to connect and write to a web app. I am wondering how to check if I loaded this correctly. I am using osx.

TOPICS
Scripting

Views

3.3K

Translate

Translate

Report

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
Guru ,
Apr 20, 2013 Apr 20, 2013

Copy link to clipboard

Copied

What are you actually trying to check…? That the external library loaded OK or that the mac is infact connected to the web…? I suppose you could put the loading inside a try/catch… You could perform a get or put to test it… Or you could use the app.system(); method and test connection status…

#target bridge

loadExternalObject();

function loadExternalObject() {

     if ( !ExternalObject.webaccesslib ) {

 

          try {

 

               ExternalObject.webaccesslib = new ExternalObject( 'lib:webaccesslib' );

 

               return true;

               } catch(e) { return false; };

 

     };

};

Votes

Translate

Translate

Report

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
Engaged ,
Apr 24, 2013 Apr 24, 2013

Copy link to clipboard

Copied

I am getting a result of undefined when I run this in sdk. I am just wondering if I have this lib.

Votes

Translate

Translate

Report

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
Engaged ,
Apr 24, 2013 Apr 24, 2013

Copy link to clipboard

Copied

Should I be able to find an actual file called webaccesslib.bundle. Because I can not find it anywhere. So if I don't have it how do I get it?

Votes

Translate

Translate

Report

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
Guru ,
Apr 26, 2013 Apr 26, 2013

Copy link to clipboard

Copied

This may help… I thought lib:blahblah was a short cut to the system library but it turns out its not…

#target bridge

ExternalObject.log = true; // Write to console searches

   

alert( decodeURI( ExternalObject.search( 'lib:webaccesslib' ) ) ); // This should be the path if found…?

ExternalObject.log = false; // Turn it off

Votes

Translate

Translate

Report

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
Guest
Apr 29, 2013 Apr 29, 2013

Copy link to clipboard

Copied

This may help.

// Load the webaccess library

    if( webaccesslib == undefined )

    {

        if( Folder.fs == "Windows" ) {

            var pathToLib = Folder.startup.fsName + "/webaccesslib.dll";

        } else {

            var pathToLib = Folder.startup.fsName + "/webaccesslib.bundle";

            // verify that the path is valid

        }

        var libfile = new File( pathToLib );

        var webaccesslib = new ExternalObject("lib:" + pathToLib );

    }

    $.writeln("Loaded webaccess library...");

Votes

Translate

Translate

Report

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
Engaged ,
Apr 29, 2013 Apr 29, 2013

Copy link to clipboard

Copied

I used that and it says

    var webaccesslib = new ExternalObject("lib:" + pathToLib );

does not exist.

i don't think i have this file. Any idea where i might be able to download it?

Votes

Translate

Translate

Report

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
Engaged ,
Apr 29, 2013 Apr 29, 2013

Copy link to clipboard

Copied

/Applications/Utilities/Adobe Utilities-CS5.localized/ExtendScript Toolkit CS5/ExtendScript Toolkit.app/Contents/MacOS/webaccesslib.bundle this is where it takes me. But there is no webaccesslib.bundle there.

Votes

Translate

Translate

Report

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
Valorous Hero ,
Apr 29, 2013 Apr 29, 2013

Copy link to clipboard

Copied

Run this code to open the folder where the file should exist....

#target bridge

Folder.appPackage.execute();

Votes

Translate

Translate

Report

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
Engaged ,
Apr 29, 2013 Apr 29, 2013

Copy link to clipboard

Copied

What do I do if i do not have this file?

Votes

Translate

Translate

Report

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
Valorous Hero ,
Apr 29, 2013 Apr 29, 2013

Copy link to clipboard

Copied

It means you have a bad install, there could be other errrors as well. The fix would be uninstall Photoshop and re-install.

Votes

Translate

Translate

Report

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
Guru ,
Apr 29, 2013 Apr 29, 2013

Copy link to clipboard

Copied

If you is on the mac then look inside the App Package… I can see it in mine…

Screen shot 2013-04-29 at 20.25.43.png

Votes

Translate

Translate

Report

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
Guru ,
Apr 29, 2013 Apr 29, 2013

Copy link to clipboard

Copied

Paul… if hes using a mac I don't think that will work the app is a package bundle…

Votes

Translate

Translate

Report

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
Valorous Hero ,
Apr 29, 2013 Apr 29, 2013

Copy link to clipboard

Copied

Ah, strange things those burgers Mark, I'm used to a computer

Votes

Translate

Translate

Report

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
Guru ,
Apr 29, 2013 Apr 29, 2013

Copy link to clipboard

Copied

Paul on a PC is an app a regular folder…?

Votes

Translate

Translate

Report

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
Valorous Hero ,
Apr 29, 2013 Apr 29, 2013

Copy link to clipboard

Copied

No an app doesn't exists, it's just another name for a program.

Folder.appPackage.execute(); will open the folder where Bridge is installed.

Votes

Translate

Translate

Report

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
Engaged ,
May 01, 2013 May 01, 2013

Copy link to clipboard

Copied

OK found it thanks. /Applications/Adobe Bridge CS5/Adobe Bridge CS5.app/Contents/MacOS/webaccesslib.bundle

Votes

Translate

Translate

Report

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
Engaged ,
May 01, 2013 May 01, 2013

Copy link to clipboard

Copied

If I target Bridge and use the above path it loads the library correctly. Thank you for all of your help. The link to the webaccesslib.bundle is very unclear in adobe's documentation.

Votes

Translate

Translate

Report

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
Valorous Hero ,
Dec 02, 2016 Dec 02, 2016

Copy link to clipboard

Copied

Curses! It doesn't work in Bridge 2017!

Votes

Translate

Translate

Report

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 Expert ,
Aug 23, 2017 Aug 23, 2017

Copy link to clipboard

Copied

Bumping this thread to see if someone has an idea about Silly-V's remark?

Votes

Translate

Translate

Report

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
Guide ,
Aug 23, 2017 Aug 23, 2017

Copy link to clipboard

Copied

Yes its a bug in 2017, you get IO error when trying to access the dll. (windows)

Votes

Translate

Translate

Report

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 Expert ,
Aug 23, 2017 Aug 23, 2017

Copy link to clipboard

Copied

Ok, did you report the bug on feddback.photoshop.com, or from another way?

Votes

Translate

Translate

Report

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
Guide ,
Aug 23, 2017 Aug 23, 2017

Copy link to clipboard

Copied

No I haven't reported it, but I think I saw it on https://feedback.photoshop.com/photoshop_family as well.

Votes

Translate

Translate

Report

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
Valorous Hero ,
Aug 30, 2017 Aug 30, 2017

Copy link to clipboard

Copied

I was contacted by people on the Bridge team who said this is fixed in next version and is now available on the Bridge Pre-release edition. So help is on the way!

This was a fairly ambiguous message, so I'm just going to paste his email here to bolster our victorious sentiment:

I am Deepak Gupta, from Adobe Bridge team. This is regarding Adobe Bridge forum issue https://forums.adobe.com/thread/2238049

Bridge team has been working on to bring in new features and fixing issues for future releases of Bridge.

We have recently fixed the webaccess lib related issues and Bridge builds will be available on Adobe pre-release program in couple of days. Would you like to join the Adobe Bridge pre-release program and try out the new builds with fixes and other new features?

Votes

Translate

Translate

Report

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 ,
Oct 18, 2017 Oct 18, 2017

Copy link to clipboard

Copied

LATEST

Hi All,

We have released a new version of Adobe Bridge (CC 2018) on 18 Oct 2017. The new version build number is 8.0.0.262. This version is available to install via Adobe Creative Cloud application.

This Bridge update contains the fix for WebAccessLib issue, and other new features.

You may need to update the Creative Cloud application and restart your computer to see the updated installer.

Thanks,

Deepak Gupta

Votes

Translate

Translate

Report

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