OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Corel User Forums > CorelDRAW > Macros/Add-ons

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-10-2012, 01:35
grzjanik grzjanik is offline
Member
 
Join Date: Mar 2010
Location: Lodz, Poland
Posts: 86
Send a message via Skype™ to grzjanik
Post Watermarks

Hi,

Do you know how to display a watermark in the script.

For example, if the action is great script that appears for 3 seconds, the message "Script author: John Wayne. Call 31 000 00 00"
or maybe some form with this info?


How do I show and then automatically hide the string after 3 seconds?

Thanks for your help.
Regards.

PS I need a code for the Corel 12 version.
Reply With Quote
  #2  
Old 02-10-2012, 01:40
shelbym's Avatar
shelbym shelbym is offline
Senior Member
 
Join Date: Nov 2002
Location: Cheyenne, WY
Posts: 1,782
Blog Entries: 11
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 Message

How do you want the message to display? Is it a dialog, or just a text label on the dialog of your macro?

-Shelby
Reply With Quote
  #3  
Old 02-10-2012, 01:43
grzjanik grzjanik is offline
Member
 
Join Date: Mar 2010
Location: Lodz, Poland
Posts: 86
Send a message via Skype™ to grzjanik
Default whatermark

Only text label. Info about author and phone number.

Thx for reply.

Something like this:



Last edited by grzjanik; 02-10-2012 at 01:51.
Reply With Quote
  #4  
Old 02-10-2012, 05:14
grzjanik grzjanik is offline
Member
 
Join Date: Mar 2010
Location: Lodz, Poland
Posts: 86
Send a message via Skype™ to grzjanik
Post watermark

or small form like this:


Can you help me?

Regards.
Reply With Quote
  #5  
Old 04-10-2012, 15:31
grzjanik grzjanik is offline
Member
 
Join Date: Mar 2010
Location: Lodz, Poland
Posts: 86
Send a message via Skype™ to grzjanik
Post

Hi.
This can be a useful tool tip or other temporary information.
I just do not know what will be the code when an object appears and disappears after 3 seconds.
Do you have any ideas?
Reply With Quote
  #6  
Old 05-10-2012, 08:43
runflacruiser's Avatar
runflacruiser runflacruiser is offline
Senior Member
 
Join Date: Jun 2009
Location: Pigeon Forge, TN USA
Posts: 811
Default

Hi.
You can save a hidden artistic text shape in the document. It can be a string with a certain number of lines.
A special character for the starting line like "**RR**"
For each info line a different character like "_&@2_" proceeded with the info needed.

Use the DocumentOpen event. Place code to look for an artistic shape that has it's first characters "**RR**". So every time a document is opened, pending you has delay load vba unchecked and the events enabled this shape will be found and used.

If it finds this string in a document it will take the .Text.Story.Characters.All string and parse it for the needed info. Then simply place in a MsgBox.

You can also create a tiny macro that makes and places the hidden shape on a non visible layer. A simple form with text field and a command button.

Or, Maybe you can use document properties for the info storage instead.
~John
Reply With Quote
Reply

Tags
time, watermark


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


All times are GMT -5. The time now is 12:31.


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