Can a transform effect be applied with applescript

I want to write a script for Illustrator that will apply a step and repeat as a transform effect based on the dimensions of the artboard. I've figured out how to get the dimensions of the artboard, but I'm at a loss as to how to apply a transform effect with a script. It looks like it might be in the Matrix suite, but none of the descriptions there make much sense to me.

The reason I thought of a script is because it would allow me to create logic that would work on multiple repeat sizes. The files I'm working with use all different repeats. I've been using actions and styles to streamline, so this script is kind of a next step from that.

Similar Messages

  • Can Adobe After effects cs5 work with Premiere Pro CC

    I have a project I created in Adobe Premiere Pro CS5 and updated to Maverick which cause Premiere Pro to crash constantly. I downloaded Adobe Premiere Pro CC and was able to reopen the file however all media edited in After Effects cs5 shows media offline even though I am able to open up After effects and access the media fine. Is there a way I can bridge them together. It seems the after effects media is still connected to Premiere pro cs5.

    Dynamic Link usually only works with the same version (the same suite) of the software. You can render your AE assets into a production codec and replace the dynamically linked compositions with the rendered files.
    Alternatively, install AE CC (and manually install the required 12.0.1 update to run on Mavericks) and resave the files in your CC version. (This will only work if you have a CC subscription, the update won't work on a trial version. When the 12.1.0 update is released, you will be able to run that trial on Mavericks.)

  • "Can't get folder 'a'" Error with Applescript

    Here is my complete applescript application. I am supposed to select a series folder, and it goes into the folder and for each season folder does something inside, including grabbing the name of the season folder. But it keep throwing an error on the line set folderName to name of folder aFolder saying it can't get name of folder "a", but the only folders inside the folder I select are Season 1, Season 2, and Season 3. Additionally, looking at the replies part of the script editor it looks like it does "M" first with no errors, and they goes to "a". I have no idea where this is coming from so help me if you can. Disregard the weird formatting, copying everything from the script editor into here messed everything up. Thanks.
    set seriesFolder to (choose folder with prompt "Select TV Series Folder") as text
    tell application "Finder" to set tvName to "list of " & (name of folder seriesFolder as text) & " episodes"
    openWebpage(tvName)
    repeat with aFolder in seriesFolder
      tell application "Finder"
      set folderName to name of folder aFolder
      set whichFile to every file of folder aFolder
      sort whichFile by name
      end tell
      set sNumber to "0" & ((characters -1 thru -1 of folderName) as string)
      set epNum to 1
      repeat with aFile in whichFile
      if epNum is less than 10 then
      set ifZero to "0"
      else
      set ifZero to ""
      end if
      set textBox to "What is episode title for S" & (sNumber as string) & "E" & ifZero & epNum & "?"
      tell application "Finder"
      set filename to name of aFile
      set nameEnding to ((characters -4 thru -1 of filename) as string)
      display dialog textBox default answer ""
      set text_returned to text returned of result
      set name of aFile to "S" & (sNumber as string) & "E" & ifZero & (epNum as string) & " - " & text_returned & nameEnding
      end tell
      set epNum to epNum + 1
      end repeat
    end repeat
    on openWebpage(input)
      set seriesName to input
      set needle to " "
      set replacement to "+"
      set searchName to search_replace(seriesName, needle, replacement)
      set address to "http://www.en.wikipedia.org/w/index.php?search=" & searchName & "&title=Special%3ASearch&go=Go"
      tell application "Safari" to open location address
    end openWebpage
    on search_replace(seriesName, needle, replacement)
      set old_delimiters to AppleScript's text item delimiters
      set AppleScript's text item delimiters to needle
      set temp_list to every text item of seriesName
      set AppleScript's text item delimiters to replacement
      set return_value to temp_list as text
      set AppleScript's text item delimiters to old_delimiters
      return return_value
    end search_replace

    Try replacing the beginning of the script with:
    set seriesFolder to (choose folder with prompt "Select TV Series Folder")
    tell application "Finder"
    set tvName to "list of " & (name of folder seriesFolder as text) & " episodes"
    tell me to openWebpage(tvName)
    repeat with aFolder in (get folders of seriesFolder)
    set folderName to name of aFolder
    (109908)

  • How can I transform xml to idoc with idoc_xml?

    Hi,
    I have to send shipping orders and receive shipping confirmations via the idoc_xml webservice. At this time I am able to send the shipping orders to a destination. Now I am trying to send xml data back to the idoc_xml service who should transform this xml (SHPCON) to an idoc and "books" this shipping confirmation automatically. But how should the xml look like to get this work?

    hi
    good
    its idoc_xml or idoc_xml_transform
    go through the below link hope it ll help you to solve your problem
    Check with below link :
    Re: IDOCS_OUTPUT_IN_XML_FORMAT -- IDOCS_OUTPUT_TO_FILE
    Re: any function module to write-xml schema of a idoctype to an internal table
    /people/michal.krawczyk2/blog/2005/11/13/xi-how-to-check-your-idocs-on-a-web-page-from-sapgui -> this will help you
    thanks
    mrutyun^

  • Transform Effect jumps around when Collapse Transformation is enabled

    I created a reflection on one of my vector based animated layers. Then decided to apply reflection with Transform effect.
    It all held true before I assigned "Collapse Transformation" and my Transform effect is going awry. Basically because there is zoom out with the camera and scale as well.
    Transformation's Anchor points and Distance are note keeping up with the movements and reflection is jumpint all over the place.
    Where should this Transformation effect be applied. On the first level when I created my PreComp1 with all the layers (and then PreComp1 is getting nested within other PreComps) or at the very end at the Final PreComp for render I should apply this effect.
    It seems to jump around in any case...

    I read the help, it states that Collapse Transormation buttons treats the PreComp as seprated layers, which preserved 3D treatiment for casting shadows and does not cut off shapes by PreComp size.
    It seems to work for me that I check continuosly rasterize on each individual illustrator imported layer (inside the PreComp1), so when I enlarge the shapes they stay crisp. Then I keep on checking Collapse transformations on all consequtive PreComps and everything stays sharp.
    My question is at what stage I would better apply Transform effect, which doesn't seem to work. Should it be on the PreComp1 layer with all the Continuoiusly rasterize enabled or on final Render Out PreComp where "Collapse Transformations" is checked off?
    In eather way because of movement of these illustrator layers, Transform position seems to be fixe on screen, but is not relevant to shape movement whithin the PreComp1.
    What previously worked for me was that I applied Transformation on each individual illustrator layer, however I did not enable "Collapse Transformations" in and consequtive PreComps. As soon as this feature is enabled everything goes awry....

  • Transform Effect problems when used with 3D layer's depth

    Here is my set up.
    I have PreComp with graphics illustrator imported layer with continuosly rasterise enabled.
    This graphics has a reflection underneath it. I made the reflection by applying Transform effect, setting offset to -100 and adjusting the Anchor point.
    As far as graphics move left to right (X,Y) there is no problem and Anchor point is in its place.
    As soon as I make the layer 3D and start changing depth values the reflection starts to jump around.
    My guess is - it happens because anchor point is a constant value and since reflection is based off its value it does not follow the base of the graphics. Purhasps there is a code snippet which need to be used to link the Anchor Point value to the Zoom Value? Adjusting Anchor point values with key frames proved too difficult.
    In another words I would like to keep the reflection at a constant distance from the base of the graphics and once the graphics move out or in the reflection does not follow.
    I PreComposed this graphics and imported it into the new Compostion and applied XY and Z movement using camera and Null layers. It was the same effect and reflection did not stick to the base of the graphics.
    I need to keep Collapse Transformation enabled on all the consecutive Comps/PreComps to make sure the vector art renders at high quality.
    What would be a proper way to make a reflection of a 3D layer/preComp  in the Comp where movement controlled with Camera and Null layers, with Continuosly Rasterise/Collapse Transformations enabled?

    Great! At least I know not to spent my time in a wrong direction.
    Two questions:
    Do I need to enable "Collapse Transformations" in the final rendering Comp in order to keep "Continuously Rasterize" settings within the nested PreComps enabled (for illustrator files rendering sharp). I have a few nested preComps and originally activated "Continuously Rasterize" throughout the project in all of them.
    "How" to create reflections seem clear from your comment. Do not use any effects but rather create a copy of a layer I would like to have a reflection of and scale it to -100. "When" seems to be a mystery. Should I apply reflection in the very first preComp or very last or the one where I create all the major animation for my graphics?

  • Transformer effects applied to faders data - help!

    Hello,
    Playing around with the environment, i have been trying to apply midi effects, such as the random functions on the transformer effect, to fader controls such as the FM1's lfo rate. Something must be eluding me however, as so far my efforts have yet to yield any results.
    Does anyone know how to achieve what i am after, that is, if it is even possible?
    Many thanks

    If you have photoshop cs3 or newer, then perhaps one the following scripts will work
    Layer Saver
    or
    Layer Saver Adj.
    http://www.ps-bridge-scripts.talktalk.net/

  • Problem applying stroke miter limit with applescript

    Hi, I have a bit of a problem with applescript, Im creating a Text item and setting the stroke to 0.4pt then i want the stroke miter limit to be set to 2 but it wont work i get :-
    Adobe Illustrator got an error: Can’t set properties of text frame 1 of layer 1 of document 1 to {stroke miter limit:2}. (error -10006)
    but im am able to apply a stroke miter limit of 2 on a path item, is there a way of converting the text frame to a path item then applying the stroke miter limit to it.
    heres my script :-
    on TicketFront_(posX, posY)
         tell application "Adobe Illustrator"
              activate
              set ticketItem to make new text frame in theDoc with properties {contents:{"Some Text"}, position:{(35.7 + posX) * 2.834645, (173.5 - posY) * 2.834645}}
              set properties of the text of ticketItem to {text font:text font "Raleway-Thin", size:5.54, justification:center, fill color:{class:spot color info, tint:100.0, spot:spot "PANTONE 4535 U" of document 1}, stroke color:{class:spot color info, tint:100.0, spot:spot "PANTONE 4535 U" of document 1}, horizontal scale:126.46, stroke weight:0.4}
              --This next line gives me the error
              set properties of ticketItem to {stroke miter limit:2}
         end tell
    end TicketFront_
    ive also tryed putting convert to paths ticketItem in the script which converts the text to paths but the stroke miter limit still dont work.
    Thanks in Advance.
    uk_rules_ok

    you're not targeting the paths yet, you have to drill down to the letters (paths)
    textFrame to Outlines returns a Group
    inside this group you have compound paths
    inside each compound path you have the actual paths, one or more, depending on the letter
    try something like this, (not actual code, I'm just guessing)
    set ticketGroup to convert to paths ticketItem
    set ticketCompoundPath to first compoundPath in ticketGroup
    set ticketPath to first pathItem in ticketCompoundPath
    now you can set the miter limit property of ticketPath

  • Can not add function to pages-document created with Applescript

    If I create new document using the GUI (New document) I can place the cursor within any table-cell, type "=" (equal sign) and f.e. "2+2" which will result in a cell showing a "4".
    If I create a document with Applescript, I can not add new functions (neither by typing = nor by using Insert >> Function (may be different, I have German version here). Already existing functions (which already were in the template) can still be used and work as expected but can not be altered.
    Any idea?
    I use Pages '08, Version 3.03
    Code I used to create the document:
    tell application "Pages"
    launch
    make new document at front with properties {template name:templateName}
    # Angebotsnummer ins Dokument schreiben
    tell body text of front document
    make new paragraph at after paragraph 1 with data angebotsNr
    set paragraph style of paragraph 2 to "Überschrift"
    end tell
    # Datei abspeichern
    set dateiName to missing value
    repeat until dateiName is not equal to missing value
    set dateiName to text returned of (display dialog "Datei Name:" default answer angebotsNr & "_" & kundenName) as text
    end repeat
    save front document in angebotsOrdner & dateiName
    end tell

    I apologize but the given script can't run.
    The variable templateName is undefined.
    The variable angebotsNr is undefined too.
    About the described behavior, it's a bug which I never discover before.
    It's always striking in Pages '09.
    Here is the report which I filed :
    Bug ID# 8704270
    Summary:
    +Odd behavior of tables in Pages documents created by a script+
    +Steps to Reproduce:+
    +Run this huge script+
    +tell application "Pages"+
    +make new document at front with properties {template name:"Blank"} (* "Vierge" on French systems *)+
    +end tell+
    +Insert a table+
    +try to insert a formula+
    +Expected Results:+
    +I assumed that I will get the formula editor which I get when the document is created by hand+
    +Actual Results:+
    +There is no way to get the editor, no way to insert the equal character.+
    +This odd behavior strike in all versions of Pages '09 and Pages '08+
    Regression:
    +None to my knowledge+
    Yvan KOENIG (VALLAURIS, France) dimanche 28 novembre 2010 11:30:29

  • How can we transform a video from progressive to interlaced with final cut?

    How can we transform a video from progressive (720x1080 50p) to interlaced (PAL) with final cut pro???????
    The video is taken with Sony EX3

    Hi Nick
    Sorry but your first link says +"The file you are trying to access is temporarily unavailable."+ ... but tell me, are you viewing these interlaced encodes yourself on an interlaced monitor (eg are you burning them to disc and viewing on a TV) as they are meant to be seen, or are you just playing them back from file on your (progressive) computer display?
    By the way, I did manage to download your source file and encoded it here. Looks ok to me ... in a addition to the instruction above, I also changed the Field Dominance in the Encoder > Video Format tab to Top First (it defaulted to progressive due to the progressive source file).
    Let me know if that helps
    Andy

  • I can't find how to apply sound enhancements (EQ) for the podcasts now with iOS 6.0 update

    Dears at Apple:
    I can't find how to apply sound enhancements (EQ) for the podcasts now with iOS 6.0 update on any of my devices(iPhone 4s, iPhone Touch (4th Gen), iPad (3rd Gen). Most of the "Podcasts" I listen to are music content based and wanted to apply sound enhancements(EQ) like before when integrated with ipod function. Can you consider to "fix" this issue?
    Many Thanks!

    OK Emanuel I found a solution! I dowloaded and installed "Denon Audio" app from the iTunes store & it works great! It has an EQ you can set curves on manually or use the (few) built in pre-sets. It is a player like the Music app that comes with the iPhone, etc. but restores the EQ functionality so we can adjust the audio of PODCASTS:-) Until Apple fixes this what I consider a bug I will be using the Denon app as my default music player!

  • I can't seem to "close" my documents on MSoft Word with AppleScript!

    Hi
    I have tons of documents open on MSoft Word and wish to close some of them. Luckily, those that I wish to close all start with the word "book", so I was thinking I could actually automate that with AppleScript hence avoid closing them one by one.
    I wrote the following code:
    tell application "Microsoft Word"
    count (document)
              set countresult to result
              repeat with incrementValue from 1 to countresult
                        if name of document incrementValue starts with "book" then
      activate document
      close document
                        end if
              end repeat
    end tell
    To my surprise, it didn't work!
    I got the following under "Replies", which showed that AppleScript did indeed try to close the document that starts with "book":
    tell application "Microsoft Word"
    count every document of current application
      --> 6
    get name of document 1
      --> "book_mac_OS_X_and_iOS_internals.htm"
    activate
    close document
    get name of document 2
      --> "applicable books.htm"
    get name of document 3
      --> "What Do You Want Homespace to Do.htm"
    get name of document 4
      --> "URL_repository_for_outcomes.htm"
    get name of document 5
      --> "SYNTHESIS - History a Step Back.docx"
    get name of document 6
      --> "SYNTHESIS - History a Step Back.docx"
    end tell
    But when I went back to Word, I still saw the document there!
    I actually added an additional line (I didn't include the code in that which I pasted here) asking to count the number of documents in Word AFTER the so-called "close", and the number remains 6.
    Can anyone enlighten me on this?
    Regards,
    junxiang99

    Hi,
    The quickest way to do this (tested with OS 10.8.2, MS Word 2011) is in one line:
    tell application "Microsoft Word" to close every document whose name begins with "book"
    The reason why your script doesn't work is that you aren't specifying to Word which document you want it to close.
    So, changing one line ought to do it:
    close document incrementvalue -- instead of "close document"
    But... when you close a document, you change the document count. Document 2 becomes document 1, document 3 becomes document 2 etc. So eventually you'd get a message saying "The object you are trying to access doesn't exist".
    Because of this, if you want to do it in a repeat loop, you have to work backwards:
    tell application "Microsoft Word"
      set doc_count to count documents
      repeat with x from doc_count to 1 by -1
      if name of document x begins with "book" then close document x
      end repeat
    end tell
    Hope this helps.

  • How can I open a document with applescript without the doc. window opening.

    How can I open a document with applescript without opening the document window and speak the text of the document?  I can get it to open the file but the doc window always opens up. 

    try
              set pathToMyFolderOnDesktop to ("Macintosh HD:Users:jodyconnor:Desktop:") & "Dsource:" as alias
              set rnd to (random number from 1 to 6)
              set rndFileName to (rnd as text) & ".scpt"
              set FullPath to pathToMyFolderOnDesktop & rndFileName as text
              set myScript to load script (FullPath as alias)
      run script myScript
    on error the error_message number the error_number
              display dialog "Error: " & the error_number & ". " & the error_message buttons {"OK"} default button 1
              return
    end try
    This code answered my question:  Hats off to Digimonk from stackoverflow and Darrick Herewe from stackoverflow.

  • Can I use my I mac with a 220 volt outlet with out using a transformer?, can I use my I mac with a 220 volt outlet with out using a transformer?

    can I use my I mac with a 220 volt outlet with out using a transformer?, can I use my I mac with a 220 volt outlet with out using a transformer?

    No transformer necessary, you only need a plug adapter. Look at the power specifications on your computer and you will see it's good from 100V to 240V.

  • Can the Adobe Photoshop Layer Support with Captivate 4 be use to show a Zoom & Pan Effect?

    I'm working with a client that is interested in creating the "Zoom & Pan" effect you get with Camtasia using Captivate 4.  I'm not finding enough information to support that this is possible with Captivate 4.  The Photoshop Layer Support feature with Captivate 4 comes across as something that may work to some degree however, it is again unclear if it would definitely work to give the zoom & pan effect I am looking for.  Would anyone mind explaining this feature in greater detail and/or offering any ideas for how I can show the zoom & pan effect in Captivate 4?

    Hi there
    LOL, good luck with that!
    NOTHING in Captivate will achieve what you are seeing in Camtasia. Sorry, there simply is no comparison. Sure, Captivate has panning while recording, but what you end up with are several herky jerky snapshots of suddenly being in a different screen area. Sort of reminds me of walking through a room while slowly closing and opening your eyes. In other words, you are seeing version 1 of the panning feature. We hope it improves, but it's not there yet.
    If you have Camtasia, you could combine it with Captivate for some nice and interesting effects and have the best of both worlds! I do that.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

Maybe you are looking for