CorelDRAW X4 :: Macro - Selecting All Objects In Template
May 17, 2012
I am working on creating a macro we can save with a template to ready the designed art for print. So the designer can create the design, run this macro and export a PDF. The macro needs to:
1. Turn off template layer.2. Select all objects layer 1.3. Group all objects layer 1.4. Rotate -90 degrees.5. Set layout to landscape.I have everything working except the Select all "Objects Part". the macro will only select objects that are there during the creation of the macro, and not select the designed work.
Is there anyway to just add a keystroke of "Ctrl+A" to the macro?
Here is the macro i got:
____________________________________________________________________
Sub Adstand_Rotate() ' Recorded 5/17/2012 ActivePage.Layers("Template").Visible = False Dim s1 As Shape Set s1 = ActiveLayer.CreateRectangle(0#, 70#, 39.75, 0#) s1.Fill.ApplyNoFill s1.Outline.SetProperties 0.006945, OutlineStyles(0), CreateCMYKColor(0, 0, 0, 100), ArrowHeads(0), ArrowHeads(0), cdrFalse, cdrFalse, cdrOutlineButtLineCaps, cdrOutlineMiterLineJoin, 0#, 100, MiterLimit:=45# s1.Outline.SetNoOutline s1.Rotate -90# Windows.FindWindow("C:Documents and SettingsdreesdmDesktopAd Stand Template.cdr").ActiveView.SetViewPoint 35#, 19.875, 100 With ActiveDocument.MasterPage .SetSize 39.75, 70# .Orientation = cdrLandscape .PrintExportBackground = True .Bleed = 0# .Background = cdrPageBackgroundNone End WithEnd Sub
____________________________________________________________________
when i am trying to use a function like mirror or offset..etc i will select the lines or objects then i will make a mistake such as selecting the wrong base point or such. i then press esc to end that function and try again but find it annoying that i have to select all the lines again. is there a quicker way to reselect the last lines or objects selected. "like the (L+enter) to use line function type macro".
so I've recorded a macro to find all drop shadows and seperate them from whatever they're attached to. Now my problems is how to deselect the objects leaving just the drop shadows selected
Sub Macro173() ActiveDocument.CreateShapeRangeFromArray(ActiveLayer.Shapes(3), ' ActiveLayer.Shapes(1)).Cut ActiveLayer.Paste Dim Paste1 As ShapeRange Set Paste1 = ActiveSelectionRange ActiveDocument.Undo ActiveDocument.Undo ActivePage.Shapes.All.CreateSelection ActiveSelection.Separate End Sub
use the interactive contour to create an inline. Cntrl+k (break apart). It works but leaves both selected. Now what I need it to do is deselect the outer rectangle leaving me with just the inner one still selected.
need a macro code that will select all objects that I've named "X" then delete them. Tried recording but it only works for the one object and not all of the same name
I have a need for a macro that I am thinking would be pretty easy to create... I need a macro to cycle through all objects on a page and IF it finds an object that is LARGER than 13" wide, it will unproportionaly size each object to exactly 13" wide (leaving the height of the object alone.) and then after all of the scaling/sizing is complete then to select all objects and right align them (Like when you select all objects and hit the letter R key.
this is probably an easy one but is there a way to cycle through overlapping objects?
to give an example I have three images overlaid that perfectly match up I want edit the objects underneath without having to move the top layer, what is the best way to do this?
I found Oberon Fit Objects To Path as a very interesting macro and i tried to download it.I have downloaded the zip file from Oberon website , but an Error showed up on my screen saying: "Unable to find CorelDraw x5 installation"...
I know the reason for this is because of the x5 version, which i don't have in my system.But i have also downloaded some other macros that are x4 or x5 versions and they are working excellent on my CorelDraw x6.
Any other macros similar to the "oberon Fit Objects To Path" macro?
I find it extremely annoying to have to Ungroup named groups and then regroup and rename them in order to do a multiple selection of group members. I find I'm constantly ungrouping and regrouping in order to select/edit.
Note that the multiple items are often not the same type of object (e.g., text, line, shape, etc.).
When you draw a marquee around several objects and you want to eliminate one thing from the selection, is there a way to unselect just one object from being selected without having to unselect and reselect everything else?
We need a macro that will allow you to select a certain color fill inside document and change all to no fill hairlines. It needs to be capable of doing it several times within the same document. Does anything like this exist out there?
We have color replacer. We want it to do this automactically with a static group of colors everytime without any manual maniplulation required.
Something changed in my settings & I don't know how to chance it back. I can't click on to select objects inside or behind objects. What do I have to change to be able to select any item I click on regardless of where it is?
I am making a catalog for over hundred different school but all the same products and I want to logos to change. Is there anyway to automate this process by making a template and selecting the desired logo to fill in where i need it. I am using CS5 Illustrator.
I am attempting to do a macro that will allow me to select multiple objects and then move them in only ONE axis. For example, If I want to move a wall, the door and the window in the Y axis to align with another wall across the hall. I have attempted to do this in a button macro, but so far its limited. Here is the macro
^c^c_move;\.xz;@;
This will allow me to click the customized button, then select ONE object by a displacement, and it will only move it in the Y axis and allows me to choose the point with a mouse click of the final location.
When I try to select more than one object, it kicks me ahead in the commands and prompts for (needs Y). how I can figure out the correct macro?
after resetting photoshop prefrences i noticed one problem, after resetting i cant select smart objects such as UI Kits or even text objects when i select the move tool and try to select it it doesnt select and show box around it why ?
I want to select all the objects in the drawing and then based on the linetype it should be moved to a specific layer.
I can do this per type (circle, line, etc) but that will be a hell of a job and a lot of code. In Vba I check inside the selection on linetype and then change it to the correct layer. But in .NET i don't figured out a way how to do it.
I'm using Max 2012, and I wonder if there's a simple way to create an object that, when selected, would select a different specified object in the scene.
I'll explain the situation. I'd like to make a series of spline drawings in the shape of my rig, basically creating a simplified drawing of a skeleton, and then be able to click on, for example, the upper leg of this simplified drawing, and have the actual upper leg bone within the rig itself become selected.
Ideally, I'd like for the spline drawing I clicked to be unselected after I click it, leaving only the bone it represents selected. In essence, I want to make a group of "buttons" that can be used to select bones and helpers within a rig.
I am running Illustrator CS5 on a brand new quad-core MacBook Pro. When I'm working in an Illustrator file, every time I click on a different object the program freezes for a good 5 seconds (which adds up really quickly and is really annoying.) I first noticed this in a large illustrator file with a lot of different elements, but I was testing it out and it still happens when I have a new document with only two circles in it. One of the circles is selected and I click on the other circle and the program freezes.
I just installed Acad v. 2014. I opened up an existing file, went to select a line, but noticed that the line does not highlight when I hover over it like my last version. How do I change the settings so that when I hover over an object, whether it be a line or a cross hatched area, it will highlight that object so I know the length or area of the object?
I have a problem with selecting multiple objects!!! Everywhere it says that you have to hold shift and select the objects you wish but when I do this it selects all the objects in between! How can I change this?
The issue I am having a problem with is a mouse cursor freeze when I select an object with no command active.When I select an object, the cursor will freeze for about a second before I can move it again. When I hit escape to de-select the object the same thing happens.
This is with Acad LT 2011. WinXP. Normal operation this computer runs ACAD quite fast, no particular lags or anything except maybe when selecting to copy or move very large groups of objects, or when switching between layouts or to model space when there is a fair amount of stuff in the layout, or when regen on a large file size.
This mouse cursor lag was not always the case, but at some point this problem appeared.I have tried save, regen, regenall, closing the drawing, exiting ACAD LT, rebooting the computer.
It's very irritating, since so much of using ACAD is clicking and doing things with the mouse, that it really slows down my production, to have to get a cup of coffee every time I do a select action with the mouse.About a week ago I installed the trial version of LT 2012 to see if it was different. When I opened the same dwg in 2012 there was no lag.
I then closed this and opened the dwg in 2011, and there was no lag. So it seems that the installation of the 2012 trial version changed something in the way 2011 operated.It has been operating fine now with no lag until this morning. Now I have the lag again.When I now open the same dwg in 2012, I now have this lag in 2012 as well.
I did not change any settings in 2012 or 2011 like hardware acceleration or whatever. I just suddenly had this lag, and now I can't seem to get rid of it. Attached is a file that was made by opening ACAD LT 2011 and drawing a few lines, then saving it. No template used.On my computer with this file, I get the mouse cursor lag when I select a line.
I'm using QSELECT to select all objects on a layer, sometimes I need to select objects from 5-7 layers.
Right now I use QSELECT, select 1 layer, click OK, open QSELECT again, select another layer and repeat. Is there a faster way to do this without scripts?
I'm sure some of you do site drawings, how do you measure a curve? Some restaurants or cafes have a rounded serving counter, how you measure the radius to plot into autocad?
my problem is that I can only select objects that are shown on screen on the second click.
For instance, I'm using the green select box (dragging right to left) to select a large amount of items in a really tight spot, (between 2 parallel and horizontal lines only 3mm apart. My problem is that I can zoom in on the right hand side, select the lower right hand corner, zoom out, zoom into the top left corner and select. It'll only select what's shown on screen, which is literally 3 out of 1000 items.
Is there a variable to allow the selecting every object in the select box, with no relation to zoom levels or panned areas?
is there a way to rotate my whole drawing without actually selecting the objects in it. ? i.e to say, the drawing rotates itself according to my viewpoint [my eyes] and i dont have to rotate my neck to view the tilted objects in drawing.
Suddenly, when I select objects, the existing selected objects deselect. If this is a setting I inadvertently misused I don't know why the setting exists. How I can get back to selecting successive objects?
On Ai CS3, while working with clipping masks I've been used to select masked objects with the direct selection tool, even the ones that fall outside the mask boundary.I can't do so with the CC version of Ai. Instead I have first to select it with the lasso tool. One can do so as well with the layers or else by selecting edit contents in the control box.So it's actually possible, but since I edit masked objects quite often those extra-steps are just annoying.
Would be in the preferences or else some option to fix it? Or do I have to make do with some bias..
On my company's default drawing template, I have a text block on there with some drawing notes. We often edit some of the notes on the end at each drawing so I didn't create it on the "title block" layer, rather it's on the "top" layer. I also added (in the template) a revision table with Rev. A being "Released for Production" (because we are weird). How can I constrain those on the sheet so when I change sheet size, they stay in the same position relative to the corners of the sheet?
What might be the cause of a several moment delay when selecting objects and/ or their grip points. It doesn't occur when a command is entered first. The longer a drawing is open the worse it seems to get. Is there any fix or adjustment that can be made?