How do I make a symbol from selection?
I've got the below script, but it's not working. I'm trying to select all the art in the document on different layers, and create a symbol. So far I have the first part down, but can't figure out how to reference what is selected. actDoc.selection comes out as undefined. I've also tried to use "actDoc.PageItem.selected = true" and a few other variants, but I'm coming up empty. Anyone have recommendations for this?
actDoc = app.activeDocument
var layerCount = actDoc.layers.length;
if(layerCount > 1) {
for(i=0;i<layerCount;i++) {
actDoc.layers[i].hasSelectedArtwork = true // selects all layers
actDoc.symbols.add(actDoc.selection); // <---------- Here's where the error is thrown
Thanks! That makes sense! Now I'd like to put a layer with sublayers into a symbol to maintain any effects that are on the sub layers. I have an action that runs, that does this with nested layers like this. I used to just let it group everything, but then found some effects were falling off. I tried the below, but it didn't work, and states that it's an illegal argument. Is there any way to acheive this?
layer = actDoc.layers.getByName('Editorial'); //get a reference to the newly created raster item
newsymbol = actDoc.symbols.add(layer); //add the raster item to the symbols
Similar Messages
-
Tolerance dialogue missing on "make work path from selection"
I am trying to convert a 1-color drawing to a path so I can put it into Illustrator. I use the magic wand to select the edges and get a nice tight fit. But when I select the "Make work path from selection" button, I get a sloppy fit. I've looked this up, and supposedly I should get a dialogue box asking me to state the tolerance. I have never seen that box - I've tried it and had colleagues come try it. My version 13.1.2 x64. Seems like a bug to me, but maybe I'm missing something. Is there another way to do this? Thank.s
R_Kelly wrote:
If you press the Alt/Option key while pressing the Make work path from selection button, then you'll get the Tolerance dialog.
Other ways are to right click inside the selection and choose Make Work Path or use the flyout menu from the Paths panel and choose Make Work Path.
Hah! I didn't know that RK
[EDIT] As an aside to the above information, having had a play with it, I have realised how poorly the 'Make work path from selection' feature works in Photoshop. It has always worried me that distibution of points that result from using that feature on a Shift drag eliptical marquee circle, appear less than optimal, but I have just lived with that because it is quick and convenient. But having just looked again, zooming right in and activating the point handles, the curve is just plain horrible!
Me thinks I shall take the time to do it properly in future, by using the Shape tool.
It also amazed me how many points were used when setting tolerance to the minimum of .5
Anyway... I am not getting my work done here, so time to earn a living -
Doug Katz mentioned that one can make a symbol from a photo. Could you give details as to how to do this... to a real novice. I have made the symbol, but when I try to place it on a perspective grid, it keeps telling me to "expand" the symbol, which I do, but still get the same message. Maybe it isn't possible to place a photo-symbol on a perspective grid? Thanks for any help
To elaborate you can also select and drag the embedded image into the Symbols Panel and that will make it a symbol as well.
In either case you will be confronted with a dialog of options if you are not exporting the symbol to Flash it does and just using it as art fro an Illustration file then it does not matter whether it is a graphic or movie symbol and for an image I cannot think of a reason to use nine slice scaling or if it even works with an image so leave it unchecked and being a novice you might also want to at this time leave align to pixel grid unchecked as well.
Depending on how you are sing the symbols, if it is other than mapping to a 3D object you might want to explore the symbol tools in the tools panel which allows you to some degree to alter a symbol instances or instances without effecting the original symbol or other instances of the symbol. -
How can I make different catalogs from the same image
How can I make different catalogs from the same image where that image has been changed in some way between the catalogs. For instance if I wanted to have a catalogs for cropped images and have 3 catalogs one for 4x6 , 5x7 and 8x10 cropping. When I tried this , if I changed a file in one catalog that same image in the other would change also.
Do not confuse the creation of the crops and the display in collections per crop ratio.
Of course one virtual copy (VC) per crop ratio is needed. If the same image should be cropped in all 3 mentioned ratios there would be 3 VCs.
The OP asked how to have/see a set of same-crop-ratios.
After having created the virtual copies for whatever crop ratio he wants, the way to display this result in the fashion asked for is via smart collections, provided they can be found. Without a plugin the naming of the VC with the crop ratio applied is a straight way to achieve that.
IF the wish is to get new crops automatically added. (See my answers 2+3)
IF the wish is to creat static collections per crop ratio for a certain set of images, I'd go as follows:
1. Select all images you want to have cropped in that way,.
2. With this selection click on the + to add another collection and fill the dialog box like this:
Then navigate into this newly created selection and perform the 4x6 crop - according to taste individually or by synchronizing the first crop.
Cornelia -
How can i make a picture from a video file with final cut pro x?
how can i make a picture from a video file with final cut pro x?
Go to the "share" menu, select "save current frame"
-
How Can I make redirect caller from agent to any branch IVR?
I have IPCC Enterprise Edition (ICM 5.0, IVR 3.1)
How can I make redirect caller from agent to chosen branch IVR, and send with call any variable to IVR (e.g. account number).
Regards
KrzysztofI would suggest that post-routing should not be used. The way to go is to use translation routing applications. Although post-routing is easy to set up, almost all deployments require translation routing. I can't think of anything good to say about post routing, other than it's trivial to configure.
You want the main route point to be on the CM_PIM.RC for a number of reasons. You can check to see which of your IVRs are on line, and/or to do load balancing. If calls don't need to go to the IVR if agents are ready, you can have an LAA Select node immediately, and then translation route. Even if you just have one IVR, translation routing will enable you to do RONA more easily.
You need to bite the bullet and learn translation routing. If you do it that way, peripheral variables attached to the call remain unaffected whether the call is under the control of the CM_PIM.RC or the IVR_PIM.RC. This is exactly what you want.
There is no need, in my opinion, to go to an external database. In your IVR, decisions made by the caller (e.g. which "skill" they want) set peripheral variables. When the call comes out of this script you check the peripheral variable, and depending on the value do a queue to the appropriate skill group and run external script (BasicQ.aef).
Separate the intelligence gathering IVR script from the Queuing script. Allow ICM to make the routing decisions. -
How can I make a call from iPad
How can I make a call from IPad
Oh, you have to get the iPhone app.
Seriously, though .... you are aware that it's not a telephone, right? Any calls you make will be using VOIP and any of the apps and/or services (Skype, Google Talk, etc., etc.) which support that. Some of those are US-only, all have various restrictions and cost structures. -
How can I make a backup from my Macbook Pro?
How can I make a backup from my Macbook Pro?
Basic Backup
For some people Time Machine will be more than adequate. Time Machine is part of OS X. There are two components:
1. A Time Machine preferences panel as part of System Preferences;
2. A Time Machine application located in the Applications folder. It is
used to manage backups and to restore backups. Time Machine
requires a backup drive that is at least twice the capacity of the
drive being backed up.
See Mac Basics- Time Machine. Please visit Pondini's Time Machine FAQ for help with all things Time Machine.
Alternatively, get an external drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
1. Carbon Copy Cloner
2. Get Backup
3. Deja Vu
4. SuperDuper!
5. Synk Pro
6. Tri-Backup
Visit The XLab FAQs and read the FAQ on backup and restore. Also read How to Back Up and Restore Your Files. For help with using Time Machine visit Pondini's Time Machine FAQ for help with all things Time Machine.
Although you can buy a complete external drive system, you can also put one together if you are so inclined. It's relatively easy and only requires a Phillips head screwdriver (typically.) You can purchase hard drives separately. This gives you an opportunity to shop for the best prices on a hard drive of your choice. Reliable brands include Seagate, Hitachi, Western Digital, Toshiba, and Fujitsu. You can find reviews and benchmarks on many drives at Storage Review.
Enclosures for FireWire and USB are readily available. You can find only FireWire enclosures, only USB enclosures, and enclosures that feature multiple ports. I would stress getting enclosures that use the Oxford chipsets especially for Firewire drives (911, 921, 922, for example.) You can find enclosures at places such as;
1. Cool Drives
2. OWC
3. WiebeTech
4. Firewire Direct
5. California Drives
6. NewEgg
All you need do is remove a case cover, mount the hard drive in the enclosure and connect the cables, then re-attach the case cover. Usually the only tool required is a small or medium Phillips screwdriver. -
HT204266 how can i make a cd from apllication in my app store
how can i make a cd from apllication in my app store
Export something from an app to cd?
I'm afraid your quesion isn't very clear.
If that's what you're wanting to do, you need to get the file off your iPad and onto your computer. You can use sync or mail it (if it's not big) or use something like dropbox to upload/download it.
But there is no way to make a cd from the iPad. You have to get the file onto a computer with a CD drive -
I have the new retina MacBook Pro. I made an iMovie but there's no idvd. How do I make a dvd from my iMovie?
Apple no longer sells iDvd. You will have to purchase an older version of iLife that has iDvd on it or use a third party application such as Toast from Roxio.
Ciao. -
How can I make an album from a playlist?
How can I make an album from a playlist in iTunes? I still running Windows XP.
In iTunes an album is any collection of songs with the same Album title and Album Artist, or the same Artist if Album Artist is blank, or marked as part of a compilation.
tt2 -
How do I stop my cursor from selecting things on the page? It shows up like I want to type something and when I press the down key it goes through all the words like its a word document.
== This happened ==
Every time Firefox opened
== June 27, 2010You have '''caret browsing''' enabled - that preference appears as set in your Troubleshooting Information.
http://kb.mozillazine.org/Accessibility.browsewithcaret
Hit the '''F7''' key to disable '''''caret browsing'''''. -
How do i make the imessage from my macbook be sent from my number and
how do i make the imessage from my macbook be sent from my number and not from my e mail address?
MacBook Series Forums
https://discussions.apple.com/community/notebooks?view=discussions
http://www.apple.com/support/macbookpro
Mac OS X Forum
https://discussions.apple.com/community/mac_os?view=discussions
This forum deals with a desktop/tower 65lb Mac Pro
http://www.apple.com/support/macpro
http://www.apple.com/support/iphone
http://www.apple.com/support/icloud/ -
HT5176 How can I make a call from my new iPad(3rd generation) with wifi+4G
How can we make a call from iPad 3rd generation with wifi+4G?
You cant "Call" anyone. Its not a phone. You can facetime other IOS users. Setup facetime with your apple id in ipad settings/facetime. You can also download apps like skype in the app store.
-
My computer is registered to purchase from the US store. How can I make a purchase from the Ireland iTunes store?
HerbertBack wrote:
How come I can buy foreign books through Amazon as e-book, but the same book can't be downloaded from iTunes? That doesn't makes sense.
Why would you think that all stores would have the same policy?
Amazon allows it, iTunes does not. That is why. Like most companies, Apple does not forward explanations to al of their decisions to the general public. It does not have to make sense to you, for it to be true. Apple has teams of experts that have determined that this is how they should conduct their business.
With iTunes, you cannot use other countries stores.
Sorry
Maybe you are looking for
-
All info on all screens of my iphone 4 are enlarged and unresponsive. I have managed to turn the phone on and off. I have also connected it to my computer and all appears to be fine. However I can not open any apps. What should I do?
-
Frequently when I reopen Firefox, I am greeted with a page that wants to reopen a previously viewed site. I '''never''' want this page to come up when I open Firefox. I only want the home page to open. If I want to revisit a site, I will personally g
-
I have setup an extended network in my home using an Airport Extreme and an Airport Express. The Extreme is connected directly to the FiOS modem and the Express is being used as the extender. The nework is setup fine, but my devices (MBA, iPhone, iPa
-
No space used by DPM shadow copy volume
Hi, Please help me to understand more DPM shadow copies. Actually when exactly the shadow copies are getting created? Whether it is during synchronization backup or express full back up or both? Please see the below snap. It is disk utilization repo
-
Can somebody provide a real time dummy object regarding BADI
hi guru. it's urgent.can somebody provide a real time dummy object regarding BADI. please forward me. deffinitely good points waiting for u. thanks®ards. subhasis.