• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Applescript for Adobe Illustrator (18.0.0) in OS 10.11.4
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Applescript for Adobe Illustrator (18.0.0) in OS 10.11.4


  • Subject: Re: Applescript for Adobe Illustrator (18.0.0) in OS 10.11.4
  • From: "Stockly, Ed" <email@hidden>
  • Date: Fri, 08 Apr 2016 17:38:27 +0000
  • Thread-topic: Applescript for Adobe Illustrator (18.0.0) in OS 10.11.4

Based on the file hierarchy you provided, it seems that the problem is with this part of the script.

On the LowRes server it looks like all the folders/files are stored in a folder named "Assets", but that folder is only inserted into the hierarch for lowRes correctly.

On the thumbDrive volume it looks like a folder named "Box Sync" holds the "Assets" folder and that holds the rest of the hierarchy.

If that's the case then the fix would be below.

In your script, try to remove the lines commented out and and marked below and replace with the lines below, marked "—replace this line"

Let us know if that works. I think it's likely that when going from USBLink to either of the other drives you may need to add a line to remove the ":Box Sync" folder from the hierarchy.  I'd have to really study the other handlers in the script to know, but if that's the case it would be an easy fix.


if the button returned of the result is "HiRes" then

set ErrorList to ErrorList & my LinkSwitch(document 1, LoResLink, HiResLink, 3, NewExt1)

set ErrorList to ErrorList & my LinkSwitch(document 1, USBLink, HiResLink, 3, NewExt1)

else if button returned of the result is "LoRes" then

set ErrorList to ErrorList & my LinkSwitch(document 1, HiResLink, LoResLink & ":Assets", 2, NewExt1Small)

--set ErrorList to ErrorList & my LinkSwitch(document 1, USBLink, LoResLink, 2, NewExt1Small)--remove this line

set ErrorList to ErrorList & my LinkSwitch(document 1, USBLink, LoResLink & ":Assets", 2, NewExt1Small) -- add this line

else

--set ErrorList to ErrorList & my LinkSwitch(document 1, LoResLink, USBLink, 2, NewExt1Small)--remove this line

-- set ErrorList to ErrorList & my LinkSwitch(document 1, HiResLink, USBLink & ":Assets", 2, NewExt1Small)--remove this line

set ErrorList to ErrorList & my LinkSwitch(document 1, LoResLink, USBLink & ":Box Sync:", 2, NewExt1Small) --add this line

set ErrorList to ErrorList & my LinkSwitch(document 1, HiResLink, USBLink & ":Box Sync:Assets", 2, NewExt1Small) --add this line

end if





From:  <applescript-users-bounces+ed.stockly=email@hidden> on behalf of Jake Rowlands <email@hidden>
Date:  Friday, April 8, 2016 at 6:23 AM
Cc:  AppleScript Digest <email@hidden>
Subject:  Re: Applescript for Adobe Illustrator (18.0.0) in OS 10.11.4


CG Master_HR
  Group Shots
  Misc
  Payouts
  People
  Products
     Face
     Eye
     Lips
     Nails
        Product property 1
            ALT
               File

CG Master_LR
Assets
   Group Shots
   Misc
   Payouts
   People
   Products
      Face
      Eye
      Lips
      Nails
         Product property 1
            ALT
               File

HD TD000
Box Sync
  Assets
   Group Shots
   Misc
   Payouts
   People
   Products
      Face
      Eye
      Lips
      Nails
         Product property 1
            ALT
               File
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Applescript for Adobe Illustrator (18.0.0) in OS 10.11.4
      • From: Jake Rowlands <email@hidden>
References: 
 >Applescript for Adobe Illustrator (18.0.0) in OS 10.11.4 (From: Jake Rowlands <email@hidden>)
 >Re: Applescript for Adobe Illustrator (18.0.0) in OS 10.11.4 (From: "Stockly, Ed" <email@hidden>)
 >Re: Applescript for Adobe Illustrator (18.0.0) in OS 10.11.4 (From: Jake Rowlands <email@hidden>)

  • Prev by Date: Re: Applescript for Adobe Illustrator (18.0.0) in OS 10.11.4
  • Next by Date: Re: Applescript for Adobe Illustrator (18.0.0) in OS 10.11.4
  • Previous by thread: Re: Applescript for Adobe Illustrator (18.0.0) in OS 10.11.4
  • Next by thread: Re: Applescript for Adobe Illustrator (18.0.0) in OS 10.11.4
  • Index(es):
    • Date
    • Thread