Iterate shapes and convert them to Compound Shapes

In order to keep shapes as shape layers in Photoshop when exporting from .ai to .psd, one has to convert all shapes to Compound Shapes.
At the moment, i'm using an action that converts the shape, then selects the shape above. Starting with the bottom shape, i have to click
the action for every shape.
Is there a way to make a script cycle through all shapes and groups, converting them to Compound Shapes?
At the end of the script, it would be nice to have it make an export of the file to .psd aswell.
I'm somewhat familiar to javascript, but i would really appreciate some guidelines in creating this.

It okay is, because this will be great learning for our minds!  There is a way, to have your Extendscript execute the AHK script which tells it to "send" the F-keys as if it came from your keyboard.  The action will go, but I am not very clear on how out of synch the action will be with the script.  At first thought , putting $.sleep() may do the trick, especially if your action does not take long & there's not a big chance of it having to take long.  Well, anywho, after the time break, it will go do its script thing, which is select the next shape or group (pageItem).  And at the end, hey, you can try tacking on the PSD saving using the export with ExportOptionsPhotoshop- but that's later!  Qwertyfly... has some examples here of executing an AHK script from the jsx script, check 'em out!

Similar Messages

  • My current os x is 10.9.5, using final cut express vers. 4.0.1.  I have imported .mov clips created with a older mac os x (lion) and converted them to import into fce. after doing this as well as putting clips on the fce timeline when playing back t.h

    My current os x is 10.9.5, using final cut express vers. 4.0.1.  I have imported .mov clips created on a older mac os x (lion) and when I wanted to import them into fce, a quicktime conversion window opened up and converted them (I haven't experienced this in the past). I then imported the converted quicktime clips into my fce project.  After doing this I took selected clips and put those edited clips on the fce timeline.  When playing the video back in the fce timeline,I noticed
    1) the video wasn't playing back smoothly like the original content
    2) when looking at the timecode reading of the timeline, the timecode was sputtering as well as the video and audio.  I exported to quicktime just to see if that was consistent, it was.
    When I play the converted quicktime content independently of fce,  it plays normally (no sputtering of timecode, video and audio.  Need help to resolve the sputtering playback of converted video content in the fce timeline.  I've never experienced this before.  Any suggestions?

    When you say you converted the clips before importing them into FCE, did you convert to AIC or DV and do the converted clips match your FCE Sequence settings exactly?  If not, go back and convert the original files again, using the intended Sequence settings as a guide.
    -DH

  • I am trying to import movie files into to iMovie. They are home videos so I use handbrake and VLC to put them onto the computer and convert them to MPEG-4 files. I successfully imported two of the videos but the others are not working, they are all MPEG-4

    I am trying to import movie files into to iMovie. They are home videos so I use handbrake and VLC to put them onto the computer and convert them to MPEG-4 files. I successfully imported two of the videos but the others are not working, they are all MPEG-4 files. Now, they are not compatible. How to I get them into imovie?

    Hi
    I use
    • DV-PAL or DV-NTSC - or -
    • AIC
    Yours Bengt W

  • SonicStage/Atrac3 files--How do I import these files and convert them??

    This is my problem.
    I used to have SonicStage, I no longer do, but I found some of my old CDs that I made using that program, but the atrac3 files(I believe that's what they're called) aren't compatible with Mac, so now what do I do? I've never converted anything in my life, are there any apps I could download that will rip the unreadable files from my old CDs and convert them into usable mp3 (or whatever) files?
    This is all very foreign to me and any advice would be greatly appreciated.

    Re: SonicStage for Mac

  • I am using OS 10.6.8 on my iMac and using Appleworks V 6. I can drag a document or spread sheet to pages V4.1 or numbers v 2.1 and convert them. If i upgrade to Mavericks can i continue to do this?

    I am using OS 10.6.8 on my iMac. I am also using Apple Works V 6, Pages V 4.1 and Numbers V 2.1.  I can drag a document or spreadsheet from Apple Works to Pages or Numbers icons on my doc and convert them to Pages or Numbets documents and spreadsheets.  If I upgrade my OS to Mavericks will I be able to continue these conversions?

    Thanks for your help.  Even though you can drag all documents or spreadsheets in an Appleworks folder at once to a Pages or Numbers icon on the Doc, you end up with all items as seperate Pages or Numbers documents or spreadsheets. Then you the have to move each one into new folder.  Is there a way to transform an entire Appleworks folder into a Pages or Numbers folder?  It would make for much less work.  Again, I appreciate your assistance.

  • Trying to find epoch dates and convert them to dates

    I'm trying to find every epoch time in a string and convert them to a date. I have tried the below with no luck.
    SELECT REGEXP_REPLACE('1315617396271 Impacting: CISCO SAN SWITCH1315617396271 Impacting: CISCO SAN SWITCH'
    ,'([[:digit:]]{10,10})',unixts_to_date('\1'))
    FROM dual
    Result
    Error - ORA-01722: invalid number
    I know the dates are good and the function works fine from the below test.
    select unixts_to_date('1315617396') from dual
    result
    10 September 2011 01:16:36 AM
    Any help with this would be much appreciated!

    Hi,
    I was not able to copy-and-paste your example due to unknown characters (which are displayed as squares on my Ubuntu laptop).
    I modified them replacing those characters by spaces.
    Maybe that won't totally fit your needs, or might behave differently on your system.
    Anyway, I propose the following :Scott@my11g SQL>l
      1  with t as (
      2  select '1315617396  271 Impacting:  CISCO SAN SWITCH  1315617396  271 Impacting:  CISCO SAN SWITCH ' str from dual
      3  union all select '1315417396  123 Impacting:  CISCO SAN SWITCH  1315317396  123 Impacting:  CISCO SAN SWITCH ' from dual
      4  union all select 'I went to France from 1123456789 to 1234567890 and it was great !' from dual
      5  )
      6  ------ end of sample data ------
      7  select
      8       str
      9       ,listagg(strdt) within group (order by n) newstr
    10  from (
    11       select
    12            str
    13            ,n
    14            ,regexp_replace(sstr,'(.*?)\d*$','\1') || (to_date('1970101','yyyymmdd') + regexp_substr(sstr,'\d{10}',1)/3600/24) strdt
    15       from (
    16            select
    17                 str
    18                 ,n
    19                 ,regexp_substr(v.str,'.*?(\d{10}|$)',1,v.n) sstr
    20            from (
    21                 select t.str,
    22                 m.column_value n
    23                 from t
    24                 ,table(cast(multiset(select level
    25                                from dual
    26                                connect by level <= regexp_count(t.str,'.*?\d{10}')+1) as sys.OdciNumberList)) m
    27            ) v
    28       )
    29  )
    30* group by str
    Scott@my11g SQL>/
    STR                                                NEWSTR
    1315417396  123 Impacting:  CISCO SAN SWITCH  1315 06 June      2012 05:43:16 PM  123 Impacting:  CIS
    317396  123 Impacting:  CISCO SAN SWITCH           CO SAN SWITCH  05 June      2012 01:56:36 PM  123
                                                       Impacting:  CISCO SAN SWITCH
    1315617396  271 Impacting:  CISCO SAN SWITCH  1315 09 June      2012 01:16:36 AM  271 Impacting:  CIS
    617396  271 Impacting:  CISCO SAN SWITCH           CO SAN SWITCH  09 June      2012 01:16:36 AM  271
                                                       Impacting:  CISCO SAN SWITCH
    I went to France from 1123456789 to 1234567890 and I went to France from 07 May       2006 11:19:49 P
    it was great !                                    M to 13 November  2009 11:31:30 PM and it was grea
                                                       t !

  • Have an older Macbook Pro 10.6.8 tried to update it to XMavericks. Discovered that my microsoft apps are not compatible. Can I keep my files and convert them?

    Have an older Macbook Pro 10.6.8 tried to update it to XMavericks. Discovered that my microsoft apps are not compatible. Can I keep my files and convert them?

    Use a product such as LibreOffice, the iWork applications, or Microsoft Office 2008 or newer to open them.
    (107914)

  • HT1550 I'm having trouble with importing them into iTunes and converting them at the same time. when i hold down option over the files i can't find where its supposed to say create new version. is this if you're in iTunes?

    I'm having trouble with importing them into iTunes and converting them at the same time. when i hold down option over the files i can't find where its supposed to say create new version. is this if you're in iTunes?

    You can't do it in one step. Add to iTunes first, Once the tracks are in iTunes you may convert to a different format.
    tt2

  • Opening .NEF files in Bridge and converting them to .jpeg files for Photoshop CS3

    I currently have CS3 on one of my computers, and CS2 on my other.  I cannot open my .NEF files into Photoshop, even after I try to convert them through image processor.  It tells me that it cannot be done.  On one of my computers, I cannot even open the images in Bridge.  I know that my programs are outdated.  Do I need to download something to make it all compatible and begin to work?

    Which Nikon camera are the NEF files from?

  • Read In Email, parsing Attachments and converting them to PDF

    Dear Forum,
    When an email arrives, I want to check wether there are attachments present in this email. When there are .GIF, .PNG or .TIFF files attached, I want to convert them to a PDF.
    Does anybody knows how to do one of these steps in Java?
    1) parsing attachments out of email
    2)converting them to PDF
    Thank you,
    Stefan Tysbaert

    In your JavaMail download there is a directory containing examples of JavaMail code. One of those examples covers your first question.
    And the second question ("How do I convert a GIF file to PDF?") isn't a question about JavaMail.

  • ITunes no longer recognizes midi files how can I play and convert them?

    iTunes 10.3 recognised midi files, I could "move" them to the iTunes library and select them. then click on "Advanced" and "Convert to AAC" (or to MP3 etc).
    iTunes 10.5 will not recognise midi files.
    I think an older version of GarageBand could also read and convert midi files, but this no longer appears to be the case either in the latest version.
    How can I now convet midi files? Has Apple decided to simply ignore them?

    Thanks to Limnos, I now have some further things to try, but in the meantime I found I had been maligning GarageBand 11. Indeed its built-in Help system doesn't seem to mention Midi files at all, but I found out how to insert them from Apple's on-line support system at http://support.apple.com/kb/PH2009 and it works superbly well - one can even change the instruments on individual channels etc and then save the lot as an AAC (m4a) or mp3 etc file.
    I also loaded up an old version of iTunes, version 10.3, which still recognises Midi files and can convert them to AAC or mp3 but in so doing some volume seems to be lost.
    But the winner so far for me has been Audacity, free software. One needs to add a LAME encoder for mp3 output, I installed Soundflower and routed the playback of the midi file available in the Finder (in fact for the whole machine, while playing the midi file) and declared Soundflower as the input for Audacity. I could then use Audacity's effects menu to increase the volume throughout the track and save it. I then, using the Sound preferences of the machine, switched back to the inbuilt speakers and was able to listen to a higher volume version, playable in iTunes 10.5. More faithful to the original midi file than the GarageBand version.
    See instructions at http://ask.brothersoft.com/tags/convert-midi-to-mp3/ and in particular one of the links http://ask.brothersoft.com/how-to-convert-a-midi-to-a-mp3-using-audacity-26125.h tml
    This is for Windows but for Mac it's very similar/ - still Audacity. BUT the instructions in the last link don't seem to quite work, which is why I had to use Soundflower. I can import the midi file, I can select it, but then the export item on the file menu remains greyed out and unuseable, so I must presumably be missing some plug-in. Also Audacity keeps telling me it can't find various ffmpeg files even though I thought I had installed them correctly. I'm obviously missing something here, but at least I can now get my midi files into aac or mp3 format again at last.
    For Soundflower see http://cycling74.com/soundflower-landing-page/ and http://kineme.net/forum/General/soundflowerforlion
    and there is a useful tutorial by Nowjobless on YouTube at
    http://www.youtube.com/watch?v=r3FGOIW08gA&feature=related
    Good luck to anyone else facing the same problems, it remains to be seen how to "convert" midi files to mp3 in Audacity without recourse to Soundflower.

  • I saved my aiff files to ext. storage.  Now how can I retrieve them and convert them to mp3 or wav files?

    I was trying to free up space on my internal storage, so when I created files in Garage Band, I thought it would be a great idea to store them in my external hard drive.  However, I now wanted to retrieve my files and burn them to a cd.  When I dragged and dropped them to iTunes, they showed up in my playlist, but when I tried to burn the playlist, I got a message telling me there were no files in the playlist.  Then I looked into putting them back into Garage Band and transferring from there to iTunes.  But do not know how to do this, or even if I can do this.  Do I have to always convert my aiff files to either wav or mpe files before I store them?  Is it a lost cause for me now?  Would really appreciate help on this.

    On the external drive, in the Finder, do a get Info on one of those & report size, where, etc.
    Also, if you double click on one, does iTunes play it?
    You could save some space without losing quality by converting them to Apple Lossless.

  • Help with .h2p files and converting them

    I recently purchessed a group of loops. They downloaded in a format called .h2p. I converted one to a .wav file hoping it would open in garageband. I have read online that these files are only read by Deva. Is there a way to convert them so that they arent just for deva into .wav or .mp3 files? When I changed it from .h2p to .wav garageband said that Error -36 had occured. Please help! Thanks. FYI: I am really bad at computers and stuff like it so pretend I'm stupid. ;-)

    A quick google search gave me [url http://neptune.netcomp.monash.edu.au/JavaHelp/howto/jar.htm]this website about jars.

  • With Netscape all of the Webcam shots from live feeds were automatically saved in my cache folder and I could simply open my cache send the saved files into AcDsee and convert them into jpgs, It would save as many as I would allow space for. With firefox

    I cant retrieve my images from webcams that are cached any more with mozilla. With netscape all of the live webcam images from live cams were automatically saved in my cache folder and all i had to do was open it send the files to acdsee and turn them into jpgs. It would save them untill the Cache ran out of room no matter how many files or sites I had running. Mozilla seems to save what it wants when it wants and often dose not save any that I can retrieve because I believe it is bulking them into Cache 123 or 4 and those i cant open to retrieve the files. Sometimes it saves 100 or so and sometimes 2 or 3 sometimes 10 or more but i don't seem to have any control over what it does or does not save to retrieve no matter how much space i allow for the cache to save.
    == This happened ==
    Every time Firefox opened
    == I finally gave up trying to keep netscape due to all the ridiculess popups and continued reminders from you saying i had to switch over

    You have or had an extension installed (Ant.com Toolbar) that has changed the user agent from Firefox/3.6.3 to Firefox/3.0.12.
    You can see the Firefox version at the top and the user agent at bottom of the "Help > About" window (Mac: Firefox > About Mozilla Firefox).
    You can check the '''general.useragent''' prefs on the '''about:config''' page.
    You can open the ''about:config'' page via the location bar, just like you open a website.
    Filter: '''general.useragent'''
    If ''general.useragent'' prefs are bold (user set) then you can right-click that pref and choose ''Reset''.
    See [[Web sites or add-ons incorrectly report incompatible browser]] and [[Finding your Firefox version]]
    See also http://kb.mozillazine.org/Resetting_your_useragent_string_to_its_compiled-in_default

  • How to rip cds, and convert them to play on 3g iPhone

    Thanks to all the great advice and knowledge on here, I was able to make my own ringtones for the phone. But alas, I have been unable to rip a cd, and convert it to play on my iPhone. Any help for newbie would be great. PS, gotta make momma happy, or taint' no one happy. LOL

    To create an iTunes playlist, at the iTunes menu bar go to File and select New Playlist. Or at the bottom of the iTunes source list is a + button. Selecting the + button will add a new Playlist.
    Enter a name for the Playlist.
    Select Music under Library in the iTunes source list to view all music available in your iTunes library. Select and drag the music that you want in the Playlist to the Playlist and then release. This does not copy the music. This creates a pointer to the music in your iTunes library only. To delete a song from the Playlist, select the song followed by delete. Deleting a song from a Playlist does not delete the song from your iTunes library. You can have the same song in multiple playlists.
    With the iPhone connected to iTunes, under the Music tab for your iPhone sync preferences select Sync Music and below select selected playlists. All iTunes playlists are available in the window below. Select the Playlist or Playlists that you want transferred to your iPhone followed by a sync.
    To add additional music to your iPhone, add the music to the Playlist or Playlist in iTunes that you have selected to be transferred to your iPhone followed by a sync. To remove a song from your iPhone, delete the song from the Playlist that you have selected to be transferred to your iPhone followed by a sync.

Maybe you are looking for