Referencing Bridge folder from an Illustrator script... How?

I need to access a file in the Bridge directory, from a script in Illustrator. I can do this for PC with a concrete reference like this:
var loc = "C:/Program Files/Adobe/Adobe Bridge CS3/webaccesslib.dll"
How do you construct a string to get at it on a Mac?
thanks,
-J

Go to the scripting Forums and select the Illustrator Script forum and ask there.

Similar Messages

  • I accidentally deleted my Application folder from my Finder. How can I get it back?

    I accidently deleted my Application folder from my Finder. How can I get it back?

    Hope you didn't empty the Trash.
    Double click the Trash icon in the Dock.
    In the window that opens up, highlight and right click the application folder entry.
    Select  "Put Back" from the contextual menu.
    If not, restore from your backup.
    Best.

  • I seem to have deleted my stacks download folder from the dock. How do I get it back?

    I seem to have deleted the stacks download folder from the dock. How do i get it back?

    Glad to have been of help. Placing and replacing items in the Dock is just that simple! Enjoy your Mac.

  • I accidentally removed my Downloads Folder from my Dock.  How do I get it back?  Thank you.

    I accidentally removed my Downloads Folder from my Dock.  How do I get it back?  Thank you.

    Charlie,
    Thank you.  Much appreciated.  I do have an additional question... when I tried to follow your folloiwng guidance..
    "One way to go to your home folder is to select "Got to Folder..." in the Finder Go menu and enter a tilde (~), then press return."
    I couldn't make it work no matter how I entered it.  Maybe I don't understand what you mean by the (~).  I'm a novice as you can probably already tell.   - Terry

  • Open file in 'Bridge' folder from Illustrator Script. How? (Mac)

    I need to access a file in the Bridge directory, from a script in Illustrator. I can do this already for PC with a concrete reference like this:
    var loc = "C:/Program Files/Adobe/Adobe Bridge CS3/webaccesslib.dll"
    How do you construct a string to get at it on a Mac?
    thanks,
    -J

    Sorry, I misunderstood your question, I didn't realize you were looking for a specific file.
    I was going to suggest getting the path to the application and adding '/Contents/MacOS/webaccesslib.bundle/Contents/MacOS/webaccesslib' to get to the file, but I don't see a path property for the application in Bridge. Seems like a ridiculous oversight on Adobe's part, seeing how the other applications can return the path to themselves.

  • Finder resets itself to default local folder when I delete a folder from a server. How can I stop this?

    Hello there,
    At work I use a Mac Pro (like this one: http://www.everymac.com/systems/apple/mac_pro/specs/mac-pro-quad-core-2.8-2008-s pecs.html)... and I have a very weird problem that is really annoying.
    I don't have the information (but I can get it tomorrow) on the operating system or any information of the server I am having the issues with. But I was hoping maybe some one else with the same issue might have the answer without all of that information.
    We use the server to access, open, edit, save, delete, move, etc... all of the files we are currently working on.  No files are ever transfered to our local computer's hardrive and then copied back to the server (don't ask me why, and don't tell me to do that, this is how it's done in the office, and this is what I have to do)...
    The issue is this.  When I have to delete a folder from the server, which is usually a folder within a folder, and maybe within another folder, and another, and another (meaning it takes me time to look for this), the Finder deltes the folder (and asks if I am sure I  want to delete it, because it will be deleted forever since I am deleting it from the server)... and when I say yes, the Finder window that I am currently on (the folder which contains the folder that I am deleting) reverts back to the initial "device-folder" for my local mac pro... meaning the folder which is the main folder of that mac pro, where I can see the mac pro's hard drive, any external hardrives, any usb pen drives, any cds, etc...
    So EVERY TIME I delete a folder on the server, which is more than 30 times a day, I get "kicked out" of the foler which contains the folder to be deleted, and gows back to tha "main" folder of my computer, so I have to go back to the server, back to the folder, and sometimes it is a folder, within a folder, within a folder, etc, etc, etc, ... and don't tell me the solution is to create a shortcut on my sidebar for that folder, because the folders are the jobs that I may be working on that day, so I could work on as many as 30 different folders per day, and I do have those in my sidebar, but it is still pretty annoying to have to go back to that folder.
    One thing I noticed... SOMETIMES, not all the times... IF I delete two folders instead of one, it won't do it... or IF I drag the folder to the trash, instead of clicking on my "delete" icon on my finder's toolbar, it won't do it... but this is only SOMETIMES. So these are not the solutions either.
    I can try to get a screen cap tomorrow of the issue, but if anyone has this same issue and knows how to fix it, plese let me know.
    I will also try to get more info on my computers OS and the server.
    Thank you,
    MW

    Hi PCM1, if i understand well the problem you have is when you click on a URL in a pdf file, the link opens in IE ? Have you checked in the default programs panel to see if all was well set ?

  • HELP! Transferring 80gb of itunes folder from MAC to PC - how do I do it?

    Have just bought a new PC (acer quad core running vista) having never owned one (due to necessity) and I can't figure out how to transfer my itunes folder over to it from my G4 runing 10.5.6. If anyone can help I would be ever so grateful. Thanks.

    Easiest methods are external hard drive or over home network. Make sure external drive is formatted as FAT32.

  • Illustrator Script: How can I duplicate a layer ( with sublayers ) with javascript code ?

    Dear All
    I want to duplicate a layer structure, as the "Duplicate Layer" submenu do with Javascript code, but I can't.
    I can duplicate only PageItems or selected object, but no Layers.
    Anybody knows how can I do it ?

    Thanks for your answer.
    #target illustrator 
    var docRef = app.activeDocument; 
    var ln = 'Layer 1'; 
    var ol = docRef.layers.getByName(ln); 
    var nl = docRef.layers.add(); 
    nl.name = ln+' Copy'; 
    for (var a = ol.pageItems.length-1; a >= 0; a--) { 
        ol.pageItems[a].duplicate(nl, ElementPlacement.PLACEATBEGINNING); 
    The problem with this code is, that it can't duplicate also the sublayers, and the sublayer elements.
    Sure I can write a recursive function, but I think there should exist a duplicate function somewhere ( for Photoshop script exist ! ) or a small trick, but I can't find it.
    Thanks

  • HT1364 I recently got a new laptop but I can't retrieve my iTunes folder from my old pc, how do I get my library on my new laptop as I don't want to set up a new one.

    I recently had to buy a new laptop as my pc no longer worked.  I can't get my iTunes media folder off my old pc so how do I get my library onto my new laptop as I don't want to create a new library and erase everything off my iPhone.

    There is no such thing as a "sub-account."  Also, you probably mean iTunes library, when you say "account."  Your "account" in iTunes is your Apple ID, which is what you use to sign in to the iTunes Store to make purchases.  iPods are associated with an iTunes library, not with an Apple ID (iTunes Store account).  You'll need to clarify...
    So, this is what I think you are saying.  You previously shared an iTunes library on a computer with your friend.  Your old iPod was synced to that iTunes library. 
    You got an iPhone, and at that time, you set up your own iTunes library.  Is that on a different computer?  How does the iPhone affect your question about the iPod?
    You got a new iPod.  What is your "old iTunes"?  Is that the iTunes library you shared with your friend?

  • I deleted the podcast folder from my ipod. How do I get it back?

    How do I recreate the podcast folder on my ipod nit in itunes. I stil have the podcast folder in itunes.

    Do you mean you no longer see the option for Podcasts in the menu of the iPod?
    If so, go to Settings > Main Menu, scroll to Podcasts and press the center button to turn it back on.
    CG

  • Indesign from Illustrator Script

    I'd like to automatically open InDesign/InDesign script from an Illustrator script.
    There would be some arrays with data that will be passed on to the InDesign script for processing.
    I thought that involved #target indesign but that does not seem like what I need to do.
    I may just export the values to a txt from Illustrator if there are a lot of bugs in this process and then run the other script manually from InDesign.
    Javascript
    CS6

    Then it seems like I'd like to go the export txt route.
    That doesn't seem to be an option through scripting though you can manually do it??
    myCSVFileName = "illustratorValues.csv";
    myCSVFilePath = "~/desktop/"+ myCSVFileName;
    myCSVFile = new File(myCSVFilePath);
    myCSVFormat = ExportFormat.textType;
    myDoc= app.activeDoc;
    myDoc.exportFile(myCSVFile, myCSVFormat);
    ExportType.JPEG
    ExportType.PHOTOSHOP
    ExportType.SVG
    ExportType.PNG8
    ExportType.PNG24
    ExportType.GIF
    ExportType.FLASH
    ExportType.AUTOCAD
    ExportType.TIFF
    txt isn't an option like in indesign?

  • Cannot see Bridge folder on BlackBerry's SD Card in PlayBook Bridge Files

    I have learned that when downloading a file through the messages app on the PB, the file is stored in /Media Card/BlackBerry/documents/Bridge.  These files are accessible on the BB through the email the attachment came in.  However, I cannot access these files directly through the Bridge Files app as I cannot see the Bridge folder on my SD card.  However, if I download an attachment from my BB and select Store on Media Card, it is stored in /Media Card/BlackBerry/documents/ and is fully accessible from the PB.
    Any ideas why I cannot see the Bridge folder from the PB? Is that by design? I know it is hidden by default, but I make it visible so it shows in the BB's Files app.  If I rename the folder to Bridge2, it is fully accessible on the PB and subsequently loaded documents are in a newly-created Bridge folder, which is again hidden by default.
    BB9900 OS 7.0.0.503
    BES
    16 GB PB 1.08.6067
    PS - FWIW, I had this same problem on my 9700 also on a BES, so I don't think it is an OS 7 issue.
    Thanks!

    Sorry it took so long for me to get back to this. The linked support article addresses the issue directly (thank you both), but the method recommended there (importing the entire AVCHD folder structure) didn't solve the problem. The small number of videos that iPhoto could not see originally also did not get imported, though the ones that it could originally see, did. Luckily since the percentage seems to be small (~10%), it is not prohibitive to open them one by one in Quicktime, re-export them, and then import them into iPhoto. Hopefully this will be fixed in the future. Thank you all for your suggestions.

  • How to copy a folder from TFS source control to Shared location with Powershell script

    Hi,
    I'm looking for a Powershell script where i could copy a folder from TFS Source control to a shared location.
    Details:
    $TeamProject/FolderA - here i want to move FolderA to a shared location called \\Share
    Tried with xcopy: xcopy "$TeamProject/FolderA" "\\Share" ( but no luck, later i found it's only possible to copy files from local to share or share to share location, not from server path to shared location.
    Can someone help me with the power-shell script to achieve above scenario.
    Thanks, BHSR

    Hope the below script works for your scenario. Got the code from http://stackoverflow.com/questions/23739499/copy-files-from-tfs-versioncontrol-to-directory-with-powershell
    $AutoDeployDir = "$\TeamProject/FolderA"
    $deployDirectory = "\\SERVER\SHAREFOLDER\"
    # Add TFS 2013 dlls so we can download some files
    [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.TeamFoundation.Client")
    [void][System.Reflection.Assembly]::LoadWithPartialName("Microsoft.TeamFoundation.VersionControl.Client")
    $tfsCollectionUrl = "http://CDTFSSERVER:8080/tfs/ProjectCollection"
    $tfsCollection = New-Object -TypeName Microsoft.TeamFoundation.Client.TfsTeamProjectCollection -ArgumentList $tfsCollectionUrl
    $tfsVersionControl = $tfsCollection.GetService([Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer])
    # Register PowerShell commands
    Add-PSSnapin Microsoft.TeamFoundation.PowerShell
    # Get all directories and files in the AutoDeploy directory
    $items = Get-TfsChildItem $AutoDeployDir -Recurse -Server $tfsCollection
    # Download each item to a specific destination
    foreach ($item in $items) {
    # Serverpath of the item
    Write-Host "TFS item to download:" $($item.ServerItem) -ForegroundColor Blue
    $destinationPath = $item.ServerItem.Replace($AutoDeployDir, $deployDirectory)
    Write-Host "Download to" $([IO.Path]::GetFullPath($destinationPath)) -ForegroundColor Blue
    if ($item.ItemType -eq "Folder") {
    New-Item $([IO.Path]::GetFullPath($destinationPath)) -ItemType Directory -Force
    else {
    # Download the file (not folder) to destination directory
    $tfsVersionControl.DownloadFile($item.ServerItem, $([IO.Path]::GetFullPath($destinationPath)))
    Regards, Bharath
    LinkedIn:

  • Convert Illustrator script from cs3 to CS5

    Hi Everyone,
    I'm new to illustrator scripting I did some simple InDesign script before but this the first time I am ask to create script for Illustrator.
    We have an old script that will create a report for the properties (e.i.: fonts, linkedImages, strokeWeights, dashes, strokeColors, etc.) of illustrator file. The script is working in CS2 and CS3 but since most of production people are now using CS5 and CS6 they ask if we could migrate this script to CS5. The script is using hashtable.jsx to get those properties. Does the CS5 script still need hashstable file or I have to create the script from scratch with out using the hashtable script?
    Any suggestion or information on how I could convert the script to higher version is mostly appreciated.
    Thanks and regards,
    --elmer

    I can't see #include in the script the only thing hashtable is called by this function. According to what I've read about the hashtable.jsx since it is in the startup script folder illustrator will autoload this script upon launching of the application.
    function TechArtProperties(parent) {
      this.width = 0;
      this.height = 0;
      this.colorMode = DocumentColorSpace;
      this.fonts = new Hashtable();
      this.embeddedImages = new Hashtable();
      this.linkedImages = new Hashtable();
      this.lockedObjects = 0;
      this.hiddenObjects = 0;
      this.strokeWeights = new Hashtable();
      this.dashes = new Hashtable();
      this.strokeColors = new Hashtable();
      this.fillColors = new Hashtable();
      this.effects = new Hashtable();
      this.brushes = new Hashtable();
      this.transparencies = new Hashtable();
      this.gradients = new Hashtable();
      this.layers = new Hashtable();
      this.parent = parent;
      this.total =0;
      this.artName = "";

  • How to INCLUDE a folder from Cache in a back-up

    Hi there,
    I have an annoying program that stores essential information in a small folder (150 MB) within the cache, here:
    /Users/myusername/Library/Caches/Unityx
    Time Machine normally excludes all caches from backup.
    However, I actually want to use Time Machine to back up the files within this individual folder, which are updated very frequently.
    I don't want to back up any other Cache folders though.
    Has anyone got any ideas how I can do this?
    (I'd prefer not to simply remove the Library/Caches folder from the exclusion list because I don't want my whole backup drives filled with Cache backups).
    Thanks for your help.

    I would have a serious discussion with the developer of that app about that...  it's a mighty poor design choice to put important data there with no option to move it!  Still, you yourself can't change it, so...
    I don't think you'll be able to do what you want with Time Machine, but there are a couple options.  One would be to create a script that runs periodically and copies the contents of that folder to another location, where it will be backed up.  Another would be to use a different backup program that will back up caches, like Carbon Copy Cloner.  (Note that I always recommend maintaining two different backup schemes anyway.  My personal system is to use Time Machine for one backup and Carbon Copy Cloner for two others.

Maybe you are looking for

  • Problem in invoking LiveCycle using EJB

    Hi All, I am trying to invoke LC using EJB protocol. I referred the code example from the link http://help.adobe.com/en_US/livecycle/9.0/programLC/help/index.htm?content=001001.html#154 8359 But I am facing the problem in the same code. Here is the s

  • Trouble sharing over wireless or IP over FireWire

    I've been trying to share a new MacBook running Leopard my new iMac running Tiger and its driving me nuts. I only have one network port in my office but we do have corporate wireless. After turning on file sharing on the MacBook and connecting to the

  • QoS for IPTV WS-C4948E / WS-C6506-E / WS-C2960S-48LPS-L

    I need your help to understand how best to apply QoS settings to an IPTV service.  Service is delivered by ISP Router -> 4948E -> WS-C6506-E -> WS-C2960S-48LPS-L I prepared this template, but I think this does not run. I have questions about enabling

  • How to make an vi of the following formula

    D=  a+NL1  + Lmax 1            R              cj

  • Page Hierarchy

    Hi All, I have a role called LCRole. To this role i have a workset assigned called PRWkset. I have a landing page assigned to this workset called PRLandingPage1.0.   There is a breadcrumb app which displays the exact navigation. So now the breadcrumb