Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cross app then back again ? 1

Status
Not open for further replies.

encorepd

Programmer
Jan 14, 2008
5
US
hi all
im just getting started w vba so other than the recorder
im lost. what i would like to do is create a script that
would allow me to draw somthing in corel, convert a part of
it into a raster image select that part and send to photo paint and have a few functions applied then return it to corel w a few more things applied before the script ends.
is it possible, im sure it is but ???. and were would i go
for the verry verry basics of learning vb.
thanks

Brian
 
This question has been bugging me all day :)

Method 1: The hit and run :)
Record your actions as normal and use the
inbuilt Coreldraw raster effects (Bitmap> xxx).
Stop recording when done.

Method 2: The triple cheese burger :)
Record your actions in coreldraw, then record the relevant
actions in photopaint. Save back into coreldraw and continue. This method needs you to manually start and save work in the
corresponding application. Perhaps a shortcut key will help.

Method 3: Search on the net (I have tried to look for this too) which shows you a 'launch application' command in visual basic. That would be placed at the end of the Coreldraw script and then activates Photopaint. Do the relevant recorded commands in Photopaint, copy and paste them into the original Coreldraw script. Then find a VB command that lets you 'Save' -> so that it saves it back into Coreldraw. Save all these parts together as a final 'master script' (drum roll)

I'm continuing to look around for these two commands:
'Open application' and 'Save'
Unless someone else knows them already ;)

 
was thinking maybe that i could write it out to export the raster part to a hot folder that paint would watch ( as long as it was open ) and have paint open then save as a
file name that draw script would be looking for to bring in
and finish the routine.
any thoughts?
thanks for the help

Brian
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top