OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > VBA > CorelDRAW/Corel DESIGNER VBA

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-01-2013, 13:14
FaneDuru FaneDuru is offline
Member
 
Join Date: May 2012
Posts: 35
Exclamation Documentation for UI commands

Is there some available documentation for 'FrameWork.Automation.Invoke'?
If yes where can I find it?

Thanks in advance!
Reply With Quote
  #2  
Old 03-01-2013, 13:17
shelbym's Avatar
shelbym shelbym is offline
Senior Member
 
Join Date: Nov 2002
Location: Cheyenne, WY
Posts: 1,769
Blog Entries: 9
Send a message via ICQ to shelbym Send a message via AIM to shelbym Send a message via MSN to shelbym Send a message via Yahoo to shelbym
Default Documentation for UI commands

There is no documentation. There should be a couple of examples here on the forums.
Reply With Quote
  #3  
Old 03-01-2013, 14:04
FaneDuru FaneDuru is offline
Member
 
Join Date: May 2012
Posts: 35
Default

Thanks!
How can I look for those examples? And I am asking myself if there is no such documentation how this examples have been born? Is it a way to discover what and how 'invoke' does even digging deep...?
Reply With Quote
  #4  
Old 03-01-2013, 14:57
shelbym's Avatar
shelbym shelbym is offline
Senior Member
 
Join Date: Nov 2002
Location: Cheyenne, WY
Posts: 1,769
Blog Entries: 9
Send a message via ICQ to shelbym Send a message via AIM to shelbym Send a message via MSN to shelbym Send a message via Yahoo to shelbym
Default Documentation for UI commands

Here are a couple of examples:

Invoke TwoPointLine
Custom Commands and Invoke
How to Invoke

That should get you started.

-Shelby
Reply With Quote
  #5  
Old 03-01-2013, 15:41
FaneDuru FaneDuru is offline
Member
 
Join Date: May 2012
Posts: 35
Default

Thanks Shelby!
In the meantime I found in an old thread the way of digging for Invoke parameters (guids). In my case (X5) the xml file path is:
c:\Program Files (x86)\Corel\CorelDRAW Graphics Suite X5\Draw\UIConfig\DrawUI.xml
Reply With Quote
  #6  
Old 03-01-2013, 15:57
shelbym's Avatar
shelbym shelbym is offline
Senior Member
 
Join Date: Nov 2002
Location: Cheyenne, WY
Posts: 1,769
Blog Entries: 9
Send a message via ICQ to shelbym Send a message via AIM to shelbym Send a message via MSN to shelbym Send a message via Yahoo to shelbym
Default Documentation for UI commands

The other way to get GUIDs is to create a new toolbar, add you one item, then export the workspace for just the single new toolbar. Then you can look at the file to get the GUID.

-Shelby
Reply With Quote
  #7  
Old 04-02-2013, 11:34
AVP AVP is offline
Junior Member
 
Join Date: May 2009
Posts: 13
Default Documentation for UI commands

It is a simple macro to find the GUID
Attached Files
File Type: gms Get_guID.gms (34.5 KB, 370 views)
Reply With Quote
  #8  
Old 04-02-2013, 13:58
shelbym's Avatar
shelbym shelbym is offline
Senior Member
 
Join Date: Nov 2002
Location: Cheyenne, WY
Posts: 1,769
Blog Entries: 9
Send a message via ICQ to shelbym Send a message via AIM to shelbym Send a message via MSN to shelbym Send a message via Yahoo to shelbym
Default Guid

Well that makes things simple! Thank you so much.

-Shelby
Reply With Quote
  #9  
Old 05-02-2013, 07:02
aakkaarr aakkaarr is offline
Senior Member
 
Join Date: Jan 2009
Posts: 154
Default Can icon be extracted

Can icon be extracted and saved in some format to use in VBA
Reply With Quote
  #10  
Old 05-02-2013, 14:38
SteveDude SteveDude is offline
Senior Member
 
Join Date: Dec 2005
Location: Salina, Kansas USA
Posts: 149
Default Thank You

Quote:
Originally Posted by AVP View Post
It is a simple macro to find the GUID
It may be simple, but it is very handy. Thank You for that.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Where do I find all documentation about CQL aakkaarr CorelDRAW/Corel DESIGNER VBA 1 07-05-2011 10:22
Is there any documentation about GUID of .xml file aakkaarr CorelDRAW/Corel DESIGNER VBA 1 24-02-2010 17:25
CMX file format documentation Alex FAQ 1 02-08-2007 21:38
CorelDRAW X3 VBA Documentation keytecstaff CorelDRAW/Corel DESIGNER VBA 1 21-09-2006 11:31
Documentation Paul McGee Calendar Wizard 0 29-12-2005 17:36


All times are GMT -5. The time now is 18:33.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright © 2011, Oberonplace.com