[CS5-JS] Link path question

Hi,
I made a script that needs the path of every link within the document.
I tested it on a Mac (10.5.8) and when I look at links path (document.link.filePath) I see strings like these:
Username:Desktop:WorkFolder:myFile.jpg
It looks like paths starts from the user folder.
I thought it was due to the fact that this user is not an administrator.
So I tested the same script on another computer (10.6.4) but the path looks correct:
MacintoshHD:Users:Username:Desktop:WorkFolder:myFile.jpg
Obviously I have some problems while passing this value because in the first case it doesn't point to afile object...
Is it a OS issue?
I don't know how to solve it...
Thanks!

Hi
I think you should use ObjectStyle!
create an Object Style and set some transparency settings, and apply this to objects
var my_obj_style;
try { 
  my_obj_style = myDoc.objectStyles.add({name:"inner glow setting"});
catch(e){
  my_obj_style = myDoc.objectStyles.item("inner glow setting");
with (my_obj_style.transparencySettings.innerGlowSettings){
  applied = true;
  blendMode = 1852797549/*BlendMode.NORMAL*/;
  opacity = 100;
  noise = 0;
  effectColor = "Paper";
  technique = 2020618338/*GlowTechnique.PRECISE*/;
  spread = 79;
  size = '0.125in';
  source = 2020618594 /*InnerGlowSource.EDGE_SOURCED*/; 
//Create the ovals and specify their size and location...
var myLeftOval = myPage.ovals.add({geometricBounds:[2, -3, 2.75, -.75], fillColor:myDoc.colors.item("25% Black"),strokeColor:myDoc.swatches.item("None"), itemLayer:myDoc.layers.item("New Layer"),appliedObjectStyle:my_obj_style});
var myCenterOval = myPage.ovals.add({geometricBounds:[3, -3, 3.75, -.75], fillColor:myDoc.colors.item("25% Black"),strokeColor:myDoc.swatches.item("None"), itemLayer:myDoc.layers.item("New Layer")});
var myRightOval = myPage.ovals.add({geometricBounds:[4, -3, 4.75, -.75], fillColor:myDoc.colors.item("25% Black"),strokeColor:myDoc.swatches.item("None"), itemLayer:myDoc.layers.item("New Layer"),appliedObjectStyle:my_obj_style});
I didn't apply object style to center oval, on purpose.
Thankyou
mg.

Similar Messages

  • 3D repousse objects and linking / rotation question

    In Photoshop CS5 Ext, I have 4 layers, each with a 3D repousse object on them. I want to somehow link them, so that I can rotate the object as a whole (or the camera), but also want to still be able to manipulate the objects separately (like rotate and position). Is there a way to do this in PS, or does this need to be done in another program like Flash? Tried unsuccessfully using merge 3D, linking, grouping...
    Thanks,
    John

    Thanks Steve for the reply and screenshot.
    I see that 3D panel will let me rotate, etc., but it doesn't look like I will be able to rotate objects separately using animation from the timeline, will it? That is another thing I forgot to mention that I want to do, is be able to animate (rotate and move) the objects separately.
    Thanks,
    John
    From: SG... <[email protected]>
    To: PSJK2011 <[email protected]>
    Sent: Sunday, September 25, 2011 9:37 PM
    Subject: 3D repousse objects and linking / rotation question
    Re: 3D repousse objects and linking / rotation question created by SG... in Photoshop Windows - View the full discussion
    Hi John,
    Merging 3D layers should be what you want. When you tried this what failed? If it was that you could only transform all of the objects instead of each separate object, then you'll need to make sure you are using the appropriate 3D tool. The UI needs some work to make this a bit easier to discover.
    There are 3D Mesh tools in the 3D panel that allow you to manipulate individual meshes, instead of the whole scene (3D Object tools).
    http://forums.adobe.com/servlet/JiveServlet/downloadImage/2-3937802-84277/176-600/3DMeshTo ll.png
    regards,
    steve
    Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/3937802#3937802
    To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/3937802#3937802. In the Actions box on the right, click the Stop Email Notifications link.
    Start a new discussion in Photoshop Windows by email or at Adobe Forums
    For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • A CS5.5 link

    I have CS5.5 on my computer and am looking to add it to my laptop that I just purchased. I have my AdobeID and serial number, but need to find a legit link to CS5.5, while everything on Adobe immediately points to CS6. Is there a CS5.5 link somewhere that I can download from? And not the ProDesignTools, all that comes up is the 'Access Denied' page.
    Thanks!

    When I try to open the installer, an error message comes up: "'Install' can't be opened because it is from an unidentified developer.' Now what?
    That's the Gatekeeper feature in Mac OS X Mountain Lion kicking in. Nothing to do with Adobe.
    See http://www.disturbancesinthewash.net/journal/2012/8/24/temporarily-bypass-gatekeeper-to-in stall-applications-from-u.html

  • How do I download the entire MSDN Library. Can some one give me the download link path

    Hello
    How do I download the entire latest MSDN Library. Can some one give me the download link path?
    regards
    Manoj Gokhale

    Outside of an MSDN subscription it looks like this is it.
    http://www.microsoft.com/en-us/search/DownloadResults.aspx?q=msdn+library+for+visual+studio&first=1&ftapplicableproducts=Developer+Tools&sortby=-availabledate
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • Wikiserver strips out links with question marks

    Since installing a fresh copy of yosemite and server 4, I've noticed the wiki server no longer allows links with question marks.
    This makes it impossible to create links that are based on tags
    eg https://myserver/wiki/find?tags=mytag
    I also use the wiki to share links to a auto login page with also needs a question mark.
    Is this something that can be added to the the whitelist ?

    Cheers Linc
    I have sort of got round it by using a link shortening service, not ideal but works for now

  • How to link individual question boxes in a Muse website to respective sections of a PDF form

    Hello! I have got two questions in terms of using Acobat Form Central and Muse.
    Q1:I built a website using Adobe Muse. I want  to link individual question boxes in this website website to respective sections of a PDF form built in Adobe Form Central. Can you please let me know how to do this?
    Q2: I imported a PDF form into the Muse website  using HTML.  I want to know how to expand the size of the whole form in the website, or at least to increase the font size.
    Many thanks!

    Hi,
    The Adobe Muse forum would be a better target for your question:
    http://forums.adobe.com/community/muse
    Regards,
    Brian

  • OBE tutorials SH.zip link path out of date

    Hi,
    I am not able to download OBE tutorials SH.zip files as the link path present in tutorial is out of date.
    Any idea as to from where I can download it.
    Thanks

    Hi user,
    You can download SH.zip from the following URL http://st-curriculum.oracle.com/obe/fmw/bi/biee/r1013/saw/files/sh.zip
    If helpful, assign points and close thred.
    J.

  • Creative Suite CS5 download link won't work

    Creative Suite CS5 download link won't work after eight attempts, trying to transfer software to new laptop. Final Solution: new software cds mailed if possible?

    Hi Sheena,
    After dowloading the CS5 Design Premium, I get an error messagin stating "A problem occurred while extracting the archive. Please try downloading the Adobe CS5 Design Premium again." I repeated this process multiple times (8) to no avail. I am trying to download the CS5 design premium on my new laptop, but don't have the software cds to do this. Thus, I can only download the software but after i download the two files required, that error message appears. (I already have my serial number). I have tried disabling my Antivirus as sometimes it detects the files as virus and removes them while downloading. I have also tried downloading after performing Selective Startup.
    Can Adobe mail the software cds instead of sending download links?

  • CS5- Custom Links to EPS Files Don't Work?

    I am building a plugin that allows a user to place graphic assets from our own external asset management system into their InDesign document.  These assets need to maintain a "custom link" to the external assets.
    Everything was working great for simple raster image formats (like JPEG) but the custom link information seems to get lost for EPS files.
    After doing some deep debugging I decided to try building one of the sample plugins that ship with CS5 - 'customdatalink' and the accompanying 'customdatalinkui'.  This sample does a similar type of thing with CSV files that reference external assets.
    To make a long story short, the sample plugin exhibits the exact same behavior.  If you edit one of the sample csv files to point to an EPS image and place that in a document, you'll see that the Link URI is replaced with a file:// style path instead of the custom csv:// URI.  It works as expected for JPEG files.
    Surely this is not expected behavior.  Am I missing something obious here or is this a simple (but pretty major for my plugin) bug?
    Thanks in advance for any assistance.
    p.s. this behavior is identical on both Mac and Windows.

    Here's a bit more detail. Again the idea is to return an IPMStream that doesn't include a IID_IFILESTREAMDATA. So I make a proxy IPMStream that just forwards requests to a real IPMStream.
    I've abbreviated a bit here for space reasons.
    So I make my own IPMStream object adding the class to my .fr file:
    class FileProxyWriteStream : public CPMUnknown<IPMStream>
    public:
                   FileProxyWriteStream(IPMUnknown* boss);
              virtual     ~FileProxyWriteStream();
              void SetRealStream(IPMStream *, AeInDesignGeo *);
              virtual uchar XferByte(uchar& chr) { return mRealStream->XferByte(chr); }
    ... all IPMStream methods
    Create my proxy stream:
    proxyStream = ::CreateObject2<IPMStream>(kFileProxyWriteStreamBoss, IID_IPMSTREAM);
    And I create a IPMStream:
    InterfacePtr<IPMStream>          realStream(StreamUtil::CreateFileStreamReadLazy(file, kOpenIn));
    Tell my proxyStream about the realStream
    proxyStream->SetRealStream(proxyStream);
    and CreateResourceReadStream returns my proxyStream
    Hope this helps
    -doug

  • Adobe Flash CS5 - Using Relative Paths

    Hiya Guys, I'm relatively new to Adobe Flash CS5, bu have managed to create an index.swf to link together all my work for this project I've just completed. However, the index.swf, along with all my other files will be relocated, as in burnt onto a CD or moved onto a USB. When the file directories change, the links obviouly break, so I needed some help setting up some relative paths for my files so that they don't break. All my files are stored under a PROJECT file, this then consists of five other folders, consisting of subfolders and each of these subfolders have their own documents. So for example, PROJECT\PARTONE\DATABASES\Database.accdb
    I have used absolute file paths, but they keep on breaking when moving directories. Can someone PLEASE help?!

    Well I did use actionscript for creating the actual index and effects, but AS3 was used no further for the index. I created an index which had links Part 1, Part 2 ,3,4,5 and clicking on each of them lead to different frames (using the mouseclick, goto and stop at frame (x) function.) Clicking on part one for example would lead to list of documents in that part. Sorry I can't be of any help, I'm totally new to this

  • Link List question

    This is more of a development question rather than programming I hope its not wrong to post it here. I apologize if I did
    I am developing a Linked List class that handles a list however, there is a potential (in fact almost a certainty) that the nodes could call to itself and cause an endless loop if running through the it. Any suggestion on how to handle such a case ?

    It's kind of hard to say without more details, but the two general approaches that pop to mind are:
    1) Document it. If the user chooses to ignore the docs, they get bad--posisbly undefined--behavior, and that's their problem.
    2) On every relevant operation, do a search for cycles. Keep track of which nodes you've touched so far. Since the size of the list (and hence the length of a cycle) is theoretically unbounded, and searching every possible path for cycles in a large or complex list (which sounds more like a graph than a list) can take mucho time and/or memory, you'll have to set an upper bound on how deep you'll search. If there's a cycle whose path length is longer than this depth, then you're back to #1 anyway.

  • Flash CS5 - Embedded Link Character Limit

    I don't know if anyone else has encountered this, but I had a site that built in CS4, and I had to make some updates. Month and a half later I get a frantic call from my client saying a bunch of the links on the site are broken. Puzzled I opened the file in question and Flash had truncated the majority of my links. It appears that Flash CS5 won't allow links in the Links field in the text properties panel over 128 characters. Is this news to just me? or did I miss the survey that determined that 128 characters was enough.
    My only solution was to back save the file to CS4 and do that each time I save it. Otherwise, if I save it as CS5, it will truncate my lines again.
    Perhaps there is a preference setting for this somewhere?
    If anyone can shed some light on this, it would be appreciated.
    Thank you

    I am relatively new to Flash. I thought you couldn't use static text with a UIScrollbar.  Is that not the case?

  • Retrieve CS5 and CS5.5 installation path from registry

    Hello,
    I have Photoshop CS5 and CS5.5 (5.1) installed on my PC. I want to retrieve installation path for both but in registry i am able to see only CS5.5 (5.1) path. From where i can retrieve CS5 installation path?
    I think registry entry for CS5 is replaced by CS5.1. Is it possible to retrieve CS5 installation path?
    Thanks.

    Hi Carl,
    I had looked at the link you posted earlier too.. I see that you had posetd the answer then too! So, I can post my queries to you directly!
    I created a jsx file named "Result.jsx", which I saved in my D drive, with the following code,
    resultFile = new File("D:/result.log");
    resultFile.open("w");
    resultFile.write(BridgeTalk.__diagnostics__);
    resultFile.close();
    If I run this directly from ESTK, there is no problem, and I get the result.log file. I tried to execute this script via command line as shown in the screenshot,
    On executing the above, I got the following error,
    What am I doing wrong? I need to do this urgently. Please suggest a solution..
    Thanks!

  • Interleaving to Fast Path Question

    Hi,
    After recently getting my broadband line issues sorted, I am still experiencing consistant Lag issues while online Gaming on Xbox live.
    After reading up at great length on the internet about other peoples issues, it seems that Interleaving is a main factor in playing Call of Duty Games especially. My question is though would I be able to switch to fast path?
    My router/modem stats are:
    ADSL Line Status
    Connection information
    Line state:
    Connected
    Connection time:
    3 days, 05:08:45
    Downstream:
    2,816 Kbps
    Upstream:
    448 Kbps
      ADSL settings
    VPI/VCI:
    0/38
    Type:
    PPPoA
    Modulation:
    G.992.1 Annex A
    Latency type:
    Interleaved
    Noise margin (Down/Up):
    5.6 dB / 15.0 dB
    Line attenuation (Down/Up):
    56.0 dB / 31.5 dB
    Output power (Down/Up):
    18.7 dBm / 11.9 dBm
    FEC Events (Down/Up):
    1313806 / 182
    CRC Events (Down/Up):
    2872 / 100
    Loss of Framing (Local/Remote):
    0 / 0
    Loss of Signal (Local/Remote):
    0 / 0
    Loss of Power (Local/Remote):
    0 / 0
    Loss of Link (Remote):
    0
    HEC Errors (Down/Up):
    17536 / 87
    Error Seconds (Local/Remote):
    0 / 0
    Solved!
    Go to Solution.

    that is showing that interleaving is working personally unless you really must have interleaving turned off i would leave it on as it improves stability going to fast path could make your line unstable if you want to go to fast path you need to contact the forum mods this is a link to them and ask them to turn off interleaving
    http://bt.custhelp.com/app/contact_email/c/4951
    they normally reply by email or phone directly to you within 3 working days
    They are a UK based BT specialist team who have a good record at getting problems solved
    If you want to say thanks for a helpful answer,please click on the Ratings star on the left-hand side If the reply answers your question then please mark as ’Mark as Accepted Solution’

  • Link Problems/Question

    Question:
    is there a limit to the number of levels in a file path name?
    (see below)
    or is there a number of characters limitation?
    eg;
    file/////Wb-nas2/weshare/Production/QuoteMast/Meridian/AMX/FG5171-XXX/FG5171-418
    TXC4L+, RFIR 4 BUTTON TX WLASER, 418MHZ/BOM/FG5171-418 Rev
    M/FG5171-418 REV M PROD BOM.xls
    I am finding that if i have to many sub folders to go thur,
    then my links will not work.
    am I crazy or what?

    That link is broken anyhow since it points to a file on your
    hard drive.
    What is the root folder for your site? And *why* is the path
    so convoluted?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Barry.g" <[email protected]> wrote in
    message
    news:flu5mc$nej$[email protected]..
    > Alan,
    > here is that link that will not work correctly.
    >
    > <a
    >
    href="file://///Wb-nas2/weshare/Production/QuoteMast/Meridian/DigiDeal/DTS
    > Digital Table System/39-30786-000 Display
    Assy/41-21134-000 Bet
    > Sensor/41-21134-000 Rev C1 Bet Sensor/BOM/Western's
    BOM/41-21134-000.C1-LF
    > PROD
    > BOM REV C1.xls">BOM</a>
    >
    > If you look at the link, the last level would be the
    Western's BOM folder.
    > If
    > I move the file (41-21134-000.C1-LF PROD BOM REV
    C1.xls,) up one leve to
    > the
    > BOM folder, then it works just fine.
    >
    > Thank you.
    >

Maybe you are looking for