CorelDRAW X4 :: Write A Macro To Open To Specified Directory
Nov 13, 2013
trying to write a macro to open to a specified directory.
SendKeys "^(o)"
SendKeys "\G-SERVERCorel Draw files
SendKeys"{ENTER}"
Problem is that it doesn't type the text exactly as given. Randomly drops off the first few characters.Because hitting open defaults to the libraries instead of my server where the files are located.
When you hit open the cursor is already in the "File name:" field so if I just type the directory there and hit enter it takes me to that directory. Sure would be nice to just have it type that for me and enter. Had it working great for a few times but aftaerr navigating around for a bit it drops off those characters.
View 9 Replies
ADVERTISEMENT
Feb 12, 2013
I want to take the current document, convert to PDF using a profile I have saved, then create a new email message in Microsoft Outlook, attach the PDF that saw just created, and use the file name as the subject of the email (minus the file extension).
Bonus points for also selecting a signature that I have in Outlook. I know the PDF creation can happen, and I know I can save the file name to be passed on, but can I access Outlook from CorelDraw?
Current System: i3 3.07ghz, 3gb ram, Windows 7 32 bit with all updates and X6
View 14 Replies
View Related
May 22, 2013
Is this something easy I can do? Have my Macro Auto Open Upon Start Up?
Okay, so the simple macro i have been working on isnt just for personal use. We will use this macro all day long - but the issue is - my coworkers im sharing the macro with would prefer the macro open when program opens.
Now that i had set the macro's position down - how do i got about having the macro auto open upone start up.
View 6 Replies
View Related
Dec 29, 2012
now that i am weeding myself off of my Intuous and using my Cintique as my mouse-source for both of my monitors, it is more important to have my macro (and other CorelDraw windows) open on my second monitor (where CorelDraw is).
presently, i have Ultramon to force-open Coreldraw onto my second monitor; but when i open a macro window (such as Select Same), it opens on my primary monitor.
is there a setting to change this? or (shiver) a line of code to add to the macro itself?
View 3 Replies
View Related
Jun 29, 2012
I am trying to write a macro for a button that when I press, it goes to a certain folder on a server. Normally when you click on the "open" button, it takes you to the last file location. I want that to be ignored an goes to a certain folder.
View 3 Replies
View Related
Aug 17, 2011
how to write macros.I'd like to draw a line. This line must be in the same place wherever I put on the macro code and not on a user friendly dialog box. I have too much to learn still psudo code
draw blue line 7 pixels wide on layer "guideline" starting at x 500 pixels and y 300 pixels and finish at x 600 pixels y 400 pixels.If Guideline layer does not already exist, create it.
How do I write this macro.How do I install it? How do I execute it?
View 2 Replies
View Related
Jul 26, 2013
I recently found this lisp routine which changes dimension text from the actual measurement to EQ.
(Defun c:equaldim ()
(setq newdim (entsel "
Select Dimension to Replace
with EQ.:"))
(setq newdimvalue "EQ.")
(command "dimedit" "n" newdimvalue
newdim "")
(princ)
)
I would like to be able to do the same in 2013 LT using a macro. All efforts to write a macro have failed because I don't know what controls the Text Override.
View 7 Replies
View Related
Sep 18, 2012
Is it possible to write a Macro in the CUI that opens a drawing in Read-Only mode? Limitation : AutoCAD LT.
View 7 Replies
View Related
Nov 7, 2013
I'm trying to create a script to save a file that is already open in the same directory with a different name.
Example: nome_0000_art to nome_0000_closed
I tried to create from another script that saves EPS but as I am new to the subject could not make it work
how do I perform the command saveas automatically without showing the dialog window by changing the file name?
View 7 Replies
View Related
Aug 26, 2013
We are attempting to run Lightroom in our photo journalism classes and we are unable to setup the application because it will not create the Catalog file.
All of the users in Open Directory have their OSX 10.8 home folder stored on our Apple Server. This enabled them to log into any of the computers in the lab and have access to their data/documents.
Lightroom refuses to create the Catalog file because it treats the home folder as a network folder.
My predecessor found some way around this in the past but he didn't document it and I can't find any evidence of it either.
Surely there are other people out there trying to use Adobe Products who also utilize Apple's "Open Directory" (its like apple's version of Active Directory).
View 1 Replies
View Related
Apr 8, 2012
I'm writing my first VBA apps in Corel Draw X5. I want to modify the standard FileCOnverter .GMS file that came with X5. Every time I try and save changes I'm advised that the file is Read Only. I've also copied the original .GMS file, but I get the same error messages on the new file.
Next I tried to create a new .GMS file by creating a .TXT file and renaming the extension to a .GMS folder (as all of the user guides explain to do). Once again the VBA editer will not allow me to make changes within the file, although it did allow me to create a Macro.
I'm also interested if I can have the .GMS files in a directory other than the Corel Draw GMS directory. It is bad programming practice to save data files in a Program File directory.
View 3 Replies
View Related
Nov 3, 2012
I'm using Photoshop Elements 11 Organizer and Adobe Bridge CS6 concurrently. If I have Bridge open to the same folder as PSE Organizer and I do an "Add captions ..." operation to a group of files selected in the Organizer, then there is a very good chance that PSE Organizer will rename one or more files to OriginalFileName_edTMP-1.extension and leave the renamed file in the directory rather than completing the update and returning the file(s) to their original name. In most cases my original files are Nikon .nef files with .xmp sidecar files, but I've also seen this happen with .psd files. The .nef files are generally large, averaging 35 Mb per .nef image and the .psd files are usually over 100 Mb. If PSE Organizer and Bridge are open to different folders then Organizer does not leave the renamed file. logical threading error in PSE Organizer where it does not consider that another application may be monitoring the folder and also opening the files, which is what Bridge does when it discovers that a file has changed (the addition of a caption changes the file contents.) This was also a defect in PSE Organizer 10.
View 3 Replies
View Related
Nov 2, 2011
to get Illustrator to open the files I needed (I open various files based on input from the user).Then I want to save them back off again using a variance of the file path of the file that was opened.I am having difficulty getting the file path of the open doc ... trying to use
ai::FilePath aiFile();
sAIDocument->GetDocumentFileSpecification(aiFile);
XCode is very unhappy with me at the moment. It is telling me that I am illegally referencing the FilePath object from inside of my button proc.
I don't know if I have the right includes in the file or have obtained the correct suites for what I want to do.The api reference says not to use the AIFilePathSuite but to use the ai::FilePath as a wrapper instead. Any examples of the SaveAs?
Basically what I want to do is take the file I have opened using the OpenAction and modify the path (take off the file name, and the last folder and then append the new folder name and file name). Then perform the save as (using native file format).
//save the doc as id.ai in a folder named as id to hold supporting files
ai::FilePath aiFile;
sAIDocument->GetDocumentFileSpecification(aiFile);
aiFile.RemoveComponent();
aiFile.RemoveComponent();
std::stringstream out;
out << "\" << displayedLogo->getLogoID().c_str() <<"\"<<displayedLogo->getLogoID().c_str()<<".ai";
aiFile.AddComponent(ai::FilePath(ai::UnicodeString(out.str())));
View 16 Replies
View Related
Aug 9, 2012
Any way of disabling the little pictures on the directory icons? We used to be able to do that with previous versions.
View 2 Replies
View Related
Oct 3, 2011
I have mi server in a OS X Lion machine, and I can´t open and write .max files from network drive (read/write error like a corrupt file).
At first time I thought in a permissions problem, but after try different options with owners and users, I can´t found a solution.
Working with a Network drive hosted in OS X server?
I have 10.7.1 with server add, users created and server drive mapped to Z: in windows. I can read/write textures and other files except .max
View 2 Replies
View Related
Mar 31, 2011
CorelDraw X4 sp4 w/ hotfix
Why is it that when in Draw save the tone curve settings it saves in a totally different directory? Then if I want to open that settings file it takes me somewhere else showing default styles/settings (*.crv)?
View 3 Replies
View Related
Feb 14, 2014
How do I write a javascript code to open InDesign template, import XML, save and export to pdf?
writing the javascript code to open the InDesign file, import some xml that will be randomly coming in and then saving the document.
View 1 Replies
View Related
Jul 19, 2013
I am a c# programmer. i am now doing id card application project ....so i need to write text and save image inside .cdr file using c#.
View 1 Replies
View Related
Sep 4, 2013
I have this macro,but it opens the folder not the drawing,
^C^C-filedia;0;open;"C:/ADT_2008_drawings/John Becker Construction/Chart7.dwg"
View 3 Replies
View Related
Sep 17, 2013
I created a macro for generate a PDF drawing, but when one file has been already created, AND he's already open, the macro don't work.
How to stop the macro automatically and notify that the macro has been stopped because the file is open.
Below, the current macro :
Sub PublishPDF()'Get the PDF translator Add-In.Dim PDFAddin As TranslatorAddInSet PDFAddin = ThisApplication.ApplicationAddIns.ItemById("{0AC6FD96-2F4D-42CE-8BE0-8AEA580399E4}")'Set a reference to the active document (the document to be published).Dim oDocument As DocumentSet oDocument = ThisApplication.ActiveDocumentDim oContext As TranslationContextSet oContext = ThisApplication.TransientObjects.CreateTranslationContextoContext.Type = kFileBrowseIOMechanism
[Code] ....
View 3 Replies
View Related
May 15, 2008
I'm trying to create a macro that can open a specific folder in iam. same like 'place component from' function but from a specific folder.
View 2 Replies
View Related
Jun 5, 2012
I'm trying to open a file to write to on my external drive, I get this message "bad argument type: stringp nil".
View 8 Replies
View Related
Jun 3, 2012
I know, if I select Vertical Text (ctrl+.) then I can write wertical text. But the text is writting Up to Down.
I want write vertical text Down to Up. How?
View 12 Replies
View Related
Nov 19, 2013
how to write vertical text in a table?
View 5 Replies
View Related
Jul 4, 2013
How to run a macro through all the pages at a single instance in a malty page document.
View 3 Replies
View Related
Jun 30, 2007
TransformEach.gms
This is a macro I've been working on for a few days, what it does is it applies the selected transformation to each one of the selected objects individually. It rotates, scales and flips in both axes. I think this is a simple but useful workaround to the fact that Corel doesn't have a native command that does this.
[URL]....
View 9 Replies
View Related
Jun 1, 2011
I have a VB script that I created in excel that does a number of things. At some point I want it to open a series of variable Draw documents based on names and paths from columns in an excel document. This part works fine. However, I also want to perform a macro, created in CorelDraw, on said files once opened. This macro also works fine. The issue I am having is getting Excel to tell Draw to run the macro. I wrote the line with the same syntax I would use for telling excel to run a Word macro. IDK.
Set CorelDrawApp = CreateObject("CorelDraw.Application.15")
CorelDrawApp.Visible = True
Dim i As Long
[Code]....
View 8 Replies
View Related
Mar 4, 2011
I work in a trophy shop running laser engravers. I'm looking for a macro that would select everything on a page, flip it vertically, and do so throughout a multi-page document - I just had to do that manually for an order of 236 acrylics (all in one multi-page file!) and it - well - was a bit tedious I can make a macro to select all and flip - but I'm lost when it comes to getting it done throughout a file, I can only get it to do that a page at a time.
View 14 Replies
View Related
Mar 18, 2011
SanM_ExportToJPG.zip
A few days ago I remembered about my old macro Export To JPG, and I updated this one for CorelDRAW X5. This is not perfect macro.
Macros and tools for CorelDRAW @cdrpro_ru
View 4 Replies
View Related
Sep 19, 2013
I have downloaded a Free vector (.cdr) file which was designed using RGB color. This files has 100's of objects that are in color with RGB..
Is there a way to convert the RGB color's to cmyk without having to do each one by hand?
Maybe some kind of "Macro?
I need to do this because I am going to have this design printed on a T-Shirt and the printer uses "CMYK 4-Color Process" for their printing.
View 5 Replies
View Related
Jul 31, 2013
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
View 7 Replies
View Related