Embedding linked PSD's in AI using AS/JS

Hi,
I am looking at a way of embedding linked PSD files into an AI doc using either Applescript or Javascript. The AI docs I work with already have the PSD's placed as linked images. I am using Illustrator CS2 (12.0.1) on a Mac, running OS 10.4.10.
I need to ensure that the PSD files are embedded with the "Convert Photoshop layers to options" option set, so that the blending options set on the PSD layers are honoured when brought into Illustrator. This works fine when done manually, as the "Photoshop Import Options" window appears for each PSD I embed.
I encounter a problem when trying to embed a PSD using AS/JS though. In both cases, there are no options available to be used in conjunction with the 'embed' command. 'Embed' seems to assume and use the "Flatten Photoshop layers to a single image" option, which does not honour the PSD layer blending settings.
i Things tried:
*tried setting the Photoshop options to preserve layers in AS prior to running 'embed' i.e.
>set photoshopOptions to {class:Photoshop options, preserve layers:true, pixel aspect ratio correction:false}
>set IllustratorPreferences to {class:Illustrator preferences, Photoshop file options:photoshopOptions}
I have tried the equivalent in JS too.
I can see that the preference is being set, but this still has no effect on the 'embed' command as these prefs relate to opening PSD files in AI only (same "Photoshop Import Options" window though?!)
*have looked at UI Scripting in AS - I am able to select and press the "Embed" button in the Control Palette in AI, but AI does not respond at all, i.e. I can see the "Embed" button change colour when clicked but nothing else. Other UI elements in AI respond correctly to being clicked, just not the buttons in the Control Palette.
So any help/guidance/suggestions etc would be greatly appreciated.

You need to expand and ungroup after the trace. Then delete the white you do not want. I missed a little piece in the last screen shot. But you get the idea. I put a black background behind the trace.
Traced:
Expanded and ungrouped:
White selected:
White deleted:

Similar Messages

  • Embedded Links that can't be deleted.

    I have several embedded links of an old image added onto my work, however several of the links could not be deleted and are invisible on the artwork. I can select them by using Go to Link but I cannot move them or delete them only resize it.
    How can I get rid of this as I don't want to risk it appearing when coming up for print?
    Thanks

    Turn off the preview to see where the images are. (You should see rectangles. You should also find them somewhere in the Layers stack)
    Check if anything is locked. (Object > Unlock All.)
    Check whether layers are locked, if so unlock them.
    Select the images (Links panel, click on link and then Go to Link button) and delete them.

  • How can I change an embedded link to a website in a pdf

    How can I change an embedded link to a website in a pdf in Pro XI for Mac?

    You can use the Select Object tool to select the link object and then right-click it and edit it via Properties.

  • Embedded links in text no longer available in Yosemite's Messages?!

    Hello! I've been using iChat and Messages for years with my co-workers and I've discovered that in Mac OS 10.10 embedded URL's no longer seem to be possible. I am used to selecting text, hitting [command]-K and pasting in a URL before I send a message, but now my only option is to past in an ugly, raw URL in my message. This is a huge problem when I send a link to a funny video or cat meme picture whose name or descriptor is in the URL, completely ruining the punch line. I have to tell the message's recipient not to read the URL but to simply click on it and trust me, which ruins the joke. How am I supposed to rickroll my friends? I can still embed a link in Mail or even TextEdit. Even in this online forum format I can link in that stupid Rick Astley video.
    Dear Mr. Apple,
    Please let me add embedded link to my messages in the Messages app in Mac OS 10.10.
    Love,
    Bruce
    <Link Edited By Host>

    Hi,
    From time to time the thinking on this seems to change.
    AIM stopped their App and other Clients (at that time this included iChat) from sending hyperlinked text  due to several incidents of malicious code in links.
    Only plain text links could be sent.
    Some time later, when people seemed to have forgotten about this the ability was added back.
    It would seem that the issue is back again.
    9:04 pm      Saturday; February 28, 2015
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • Embedded links in emails won't open new window or tab in FF.

    Running Mac OS X 10.6.6 and FF Version 3.6.12. I'm using Mail Version 4.4 as my email client and when I try and open an embedded link from an email, the link doesn't open a new tab or window. FF recognizes the link, but doesn't respond with a new tab or window. If I copy and paste the link into the browser the links work fine, so I feel like it's a setting or bug that has been changed somewhere somehow. This problem only happens when I try to click directly from the email. I've tried searching the preferences in both Mail and FF, but can't seem to find anything that fixes the problem. This issue started happening two weeks ago when I did the latest Mac OS X security update. Any thoughts or suggestions?

    Hi everyone, I have Snow Leopard 10.6.8. I have been very very frustrated by this problem. [I could not create new windows, and anything that opens new windows, such as trying to see what Add-ons you have etc would not work]. I read about changing screen alignment to the top... I have one screen so the option does not exist. The above messages would not fix this problem. I searched hard and did find a solution in the end. I read stuff about removing Add-ons until the problem is fixed, but its simply not the case.
    First of all open Firefox. next go to options: Help --- 'Restart with Add-ons disabled'. Tick the box for add-ons, restart firefox. Next go to Tools --- Add-ons. Next (In the Add-ons Manager' click on 'Plugins' on the left hand side pane. Look for the small blue writing that says 'Check to see if your plugins are up to date'.
    Now notice it should say 'Missing Flash'. "For your safety, Firefox has disabled your outdated version of Flash. Please upgrade to the latest version". I followed this, reinstalled Flash and it now works as it always did, no problems. For people where the above fix didn't work, try this one out. Hope it helps people!
    :o)

  • How to create an embedded link with VBScript that references user website from Active Directory?

    I have scoured the web for days and have not been able to quite come up with exactly what I need for this. I have created an Outlook signature deployment using VBScript which sets information in an already formatted Word doc using placeholders. (Ex. [Displayname],
    [Initial], [City])
    All of that works as expected, but now marketing would like to have an embedded link reference some of our users personal web pages. So the link would display some kind of standard text like "Click Here". Once clicked on the user would be redirected
    to the personal web page of the person who sent the email. My problem is, I have no idea how to get the hyperlink to pull in the information from Active Directory...another problem is I know only enough coding to be dangerous so I am stuck. 
    Here is a sample of what I am working with, I am hoping someone can point me in the right direction. Thanks!
    '----- Connect to AD and get user info -----'
    Set objSysInfo = CreateObject("ADSystemInfo")
    Set WshShell = CreateObject("WScript.Shell")
    strUser = objSysInfo.UserName
    Set objUser = GetObject("LDAP://" & strUser)
    strDisplayName = objUser.displayName
    strFirstname = objUser.FirstName
    strLastName = objUser.givenName
    strInitials = objUser.initials
    strName = objUser.FullName
    strTitle = objUser.Title
    strDescription = objUser.Description
    strOffice = objUser.physicalDeliveryOfficeName
    strCred = objUser.info
    strPOBox = objUser.postOfficeBox
    strStreet = objUser.StreetAddress
    strCity = objUser.l
    strPostCode = objUser.PostalCode
    strPhone = objUser.TelephoneNumber
    strMobile = objUser.Mobile
    strFax = objUser.FacsimileTelephoneNumber
    strEmail = objUser.mail
    strWeb = objuser.wWWHomePage
    '----- Apply any modifications to Active Directory fields -----
    'Use company info page if user does not have a Linked-In account specified
     if strweb = "" Then strweb = "http://www.linkedin.com/company/58654"
    '----- Open Word template in read-only mode {..Open(filename,conversion,readonly)} -----
    Set objWord = CreateObject("Word.Application")
    Set objDoc = objWord.Documents.Open(strTemplatePath & strTemplateName,,True)
    Set objEmailOptions = objWord.EmailOptions
    Set objSignatureObject = objEmailOptions.EmailSignature
    Set objSignatureEntries = objSignatureObject.EmailSignatureEntries
    '----- Replace template text placeholders with user specific info -----
    SearchAndRep "[DisplayName]", strDisplayName, objWord
    SearchAndRep "[Name]", strName, objWord
    SearchAndRep "[Description]", strDescription, objWord
    SearchAndRep "[Title]", strTitle, objWord
    SearchAndRep "[Street]", strStreet, objWord
    SearchAndRep "[POBox]", strPOBox, objword
    SearchAndRep "[City]", strCity, objWord
    SearchAndRep "[State]", strState, objWord
    SearchAndRep "[PostCode]", strPostCode, objWord
    SearchAndRep "[Phone]", strPhone, objWord
    SearchAndRep "[Mobile]", strMobile, objWord
    SearchAndRep "[Fax]", strFax, objWord
    SearchAndRep "[Email]", strEmail, objWord
    'SearchAndRep "[Web]", strWeb, objWord
    '----- Replace template hyperlink placeholders with user specific info -----
    'SearchAndRepHyperlink "[email]", strWeb, objDoc
    SearchAndRepHyperlink "[Web]", strWeb, objDoc
    '----- Set signature in Outlook -----
    Set objSelection = objDoc.Range()
    objSignatureEntries.Add "NewCBSig", objSelection
    objSignatureObject.NewMessageSignature = "NewCBSig"
    'see note below if a different reply signature is desired
    'objSignatureObject.ReplyMessageSignature = "Full Signature"
    '----- Close signature template document -----
    objDoc.Saved = TRUE
    objDoc.Close
    objWord.Quit

    Can you ask a specific question? You have posted a script and noted you need a link but there is no question.
    ¯\_(ツ)_/¯

  • Linked psd not rendering correctly. Text and colour shows up wrong. What's happening?

    I'm trying to use linked psd's but when I go to link one, the text shows up all wrong.
    I'm not resizing the linked psd at all, and i'm saving it exactly as I would save my main psd.
    Does anyone know how I can fix this?
    Here's a comparison.
    The text from the linked psd is on the left, and the text from the psd that's containing the linked psd is on the right.

    I'm not sure what you mean by "linking"?  Have you tried Layer > Matting > Defringe?  What happens when you flatten the file?

  • Why does InDesign CS5 modify linked PSDs with each Save?

    I'm using Creative Suite CS5, Mac OS 10.6.6. Wondering if anyone else has experienced this, and how is it fixed?
    Every time I save an InDesign document with a linked PSD file, the PSD file's modification date changes as well, which in turn shows up in InDesign as a link that needs updating. After I update the link in InDesign and Save, that psd file's modification date changes again, and it shows up again as a link that needs updating. There seems to be no limit to the cycle, and it isn't specific to any particular file...happens in every similar scenario.
    This is makin' me dizzy!

    This is caused by a bug in a Suitcase update. Extensis issued another patch almost immediately.

  • When I click an embedded link or picture (ie, to enlarge a pic on Ebay), a separate window opens but is blank.

    When I click an embedded link or picture (ie, to enlarge a pic on Ebay), a separate window opens which is blank but has a "search bookmarks and history" address line. Help!!!
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; SearchToolbar 1.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

    Hi Judy;
    I understand that you're having problems with certain elements opening up in new windows that contain no content. This most often happens to me when I use control to open links (Forces to open in a new window which for some reason has the javascript: link in the navbar). If you are using CTRL when clicking on links like that: Don't, because that's why you're getting the problem.
    Please let me know if you require more assistance.
    Best regards
    Aimee

  • Linked PSD vs JPEG

    I make a monthly publication that is uploaded to a third party site as a PDF. Basically, our clients are not tech savvy so I need the best looking but fastest loading PDF I can get.
    For print I usually use a linked PSD file instead of a JPEG for quality and because it just makes editing easier. For this project, I am still using linked PSD files for the majority of images. Would using JPEGs decrease the overall size of my PDF?
    May sound like newbie question, but I keep finding conflicting opinions on the best way to handle PDFs. So I'm throwing this out there.
    What's your opinion?

    amn0025 wrote:
    Would using JPEGs decrease the overall size of my PDF?
    What's your opinion?
    It might, but only slightly. TIF would be a better option than JPEG.
    Why not compare? Run the process twice, once with PSD and once with TIFF.
    My prediction is either no space saved or so little space saved that the effort is not worth it.

  • Linked PSD files not found when opening .ai files via shared folder

    My main user folder on the iMac is set to be shared (read/write, including all enclosed files) with my MacBook Pro so that I can get someone to help me on a big job. The job is a series of one-page InDesign files (they are newspaper advertisements). The IDD files contain a series of Illustrator files with linked PSD files.
    The idea is that we can both work on the .idd and .ai files in the same folder at the same time.
    It's all working fine EXCEPT that whenever an .ai file is opened on the MacBook, Illustrator doesn't know where the linked PSD files are. We can update the link, but when the .ai file is then opened on the iMac and saved, the same thing happens the next time it is opened on the Macbook.
    I don't want to embed the PSD files into the .ai files as sometimes I have to modify them and they can be linked to up to 20 .ai files. Any ideas?
    G5 iMac OSX 10.7.5 / Macbook Pro OSX 10.8.2 / networked via FireWire cable / file sharing on, laptop user has Administrator status, all files are read/write, permissions include all enclosed files / CS6

    If you are rebooting the computer holding down T to share via firewire, that is your problem. that mounts the other computer as a hardrive and probably messes up the filepath.
    Turn on sharing via Ethernet or wireless
    Connecting two computers using Ethernet
    You can use an Ethernet cable to connect two Mac computers and share files or play network games.
    To connect two computers using Ethernet:
    Connect a standard Ethernet cable from the Ethernet port on one computer to the Ethernet port on the other. You don’t need to use an Ethernet crossover cable.
    If your computer doesn’t have an Ethernet port, try using a USB-to-Ethernet adapter.
    On each computer, choose Apple menu > System Preferences and click Sharing. Note the computer name for each computer.
    In the Finder on one of the computers, choose Go > “Connect to Server,” and then click Browse.
    Double-click the other computer in the window and enter your password, if necessary.
    If you manually configured the TCP/IP settings for the Ethernet service on the computer you are connecting to, you may need to enter that computer’s TCP/IP address in the “Connect to Server” dialog.
    To see or set the TCP/IP address, choose Apple menu > System Preferences, click Network, and select Ethernet in the list.

  • CANNOT SEE EMAILS WITH EMBEDDED LINKS ON MY HTC INCREDIBLE

    I recently linked my Outlook account through a POP3 on my HTC Incredible.  For some reason I'm not able to view messages with embedded links in the body of the email or the senders signature.  For example - If someone sends me an email and they have a FB icon embeded in their signature, I'm unable to view the email.  I can see who it's coming from but cannot see the text in the body of the email.  Does anyone have any work throughs for this issue?  Thanks!

    Hello,
    Please try the troubleshooting step provided below:
    Touch the Email icon from the Home Screen.
    Touch Mail size limit option.
    Touch No limit.
    Another tool that you may find useful, is the HTC Simulator that can be found at the link below:
    HTC Incredible Simulator
    Thank you.
    KellyW@VZWSupport

  • Mail not recognizing embedded links

    Just installed a Samsung 840 EVO SSD and then cloned my OS using CCC.
    Now when I boot from the new drive, Mail no longer recognizes embedded links in any messages...
    Help!
    Thanks too...

    Ok....I used Cocktail to repair permissions on the SSD drive and now all links in Mail are working again as normal!

  • After upgrading I get comerical tabs opening when I click on embedded links.

    I installed firefox 28 over my existing installation. Now when I click on embedded links half the time an additional tap will open for some commercial site. Any suggestions on stopping this.

    Can you check your download history to see whether you got an unofficial installer bundle with some unwanted extras from a strange site?
    To tame the ads, try this: Disable ALL nonessential or unrecognized extensions on the Add-ons page. Either:
    * Ctrl+Shift+a
    * orange Firefox button (or Tools menu) > Add-ons
    In the left column, click Extensions. Then, if in doubt, disable.
    Usually a link will appear above at least one disabled extension to restart Firefox. You can complete your work on the tab and click one of the links as the last step.
    Does that flush the extra tabs?
    If unwanted extensions lack a Remove button, this usually indicates it was installed by other software on your computer. Time to visit the Windows Control Panel, Uninstall a Program, and click "Installed on" to group by date and reveal secret bundled items you may have accepted. Probably best to remove everything recently added that you do not actually know to be useful.
    Finally, you may want to run some extra scans to mop up any lurking crap. This article lists tools other Firefox users have found helpful: [[Troubleshoot Firefox issues caused by malware]].
    Any luck?

  • Mail 2.1 corrupting embedded links

    Mail is corrupting my embedded links (e.g. the ones I create using the Edit Link selection).
    Here is an example:
    Actual URL:https://pds.ptc.com/Windchill/netmarkets/jsp/document/view.jsp?oid=document%7Ewt .doc.WTDocument%253A200701568&u8=1
    Embedded URL: https://pds.ptc.com/Windchill/netmarkets/jsp/document/view.jsp?oid=document%257E wt.doc.WTDocument%253A200701568&u8=1
    The part around =document%7Ewt.doc is changed in the embedded link to =document%257Ewt.doc

    This is driving me crazy too! Trying to embed Wikipedia links which include "%" signs prompts Mail to add the number 5 for some unknown reason, creating bad links. WHY?

Maybe you are looking for

  • Cost elements for account Profit or loss on exchange rate valuation

    I am running transaction F110 and among the invoices to be paid there are foreign denominated invoices. I have 4 business areas set up and have one GL account where all the gains and losses arising from the exchange rate fluctuation are posted (this

  • Error While uploading OInvoices Object

    Hi All I'm getting error as There are no Excisable Items in the Excise Invoice Application But I'm trying to post service type invoice what is the problem, please guide Thanks Edited by: Consulatant SAP B1 on Mar 26, 2009 10:33 AM

  • 64 bit version of AxInterop.AcroPDFLib library

    We have a VB.NET application which runs on DOT NET Framework 2.0. It is a windows based application which has enormous reports. Few reports are loaded using crystal report viewer and few reports are loaded using PDF Viewer. In places where we use PDF

  • Artefacts present in full screen mode

    Hi guys, I'm noticing that when I am in full screen mode (not the bi-directional arrow, present in some applications) that I sometimes see the bottom of my desktop background as an artefact in the application. Has anyone else had this issue and do yo

  • Passing value to another form with on demand process

    Hi, This is my first post and I am an absolute beginner to apex (using 4.1) I would like to pass a value to another form, but to no avail. I have an on demand process that is being called when a button is clicked (ISSUE) This process is being called