Creating a Popup message on opening a CATPart
Creating a Popup message on opening a CATPart
(OP)
Good Morning,
Does anyone know how to create a popup message that apears once on opening a CATPart.
I have a CATPart that has external links and I wish all users to open the "Feeder" document before working on the file. I can use a rule to popup a message every time the file requires an update, but this is annoying. If I new the KWA or KWE syntax for checking if an external link is populated then that would be ideal.
Any help from anyone would be appreciated.
Many thanks
Mooseman
Does anyone know how to create a popup message that apears once on opening a CATPart.
I have a CATPart that has external links and I wish all users to open the "Feeder" document before working on the file. I can use a rule to popup a message every time the file requires an update, but this is annoying. If I new the KWA or KWE syntax for checking if an external link is populated then that would be ideal.
Any help from anyone would be appreciated.
Many thanks
Mooseman





RE: Creating a Popup message on opening a CATPart
yea it's a great idea to have a message at file opening. i also want to know how to do that..
RE: Creating a Popup message on opening a CATPart
RE: Creating a Popup message on opening a CATPart
create a string parameter = Update
Set the string with two text options from the dropdown = None and Stop
In KWE create a reaction
Source type = selection
Sources = Pick your top of part node in spec tree
available event = update
Action = knowledgeware action
text to be typed in action box
if Update== "None"{
Message("please update your links")
}
----------------------------
2briancox can you provide any of your VBA code?
RE: Creating a Popup message on opening a CATPart
RE: Creating a Popup message on opening a CATPart
RE: Creating a Popup message on opening a CATPart
RE: Creating a Popup message on opening a CATPart
TiKito
create a string parameter = Update
Set the string with two text options from the dropdown = None and Stop
In KWE create a reaction
Source type = selection
Sources = Pick your top of part node in spec tree
available event = update
Action = knowledgeware action
text to be typed in action box
if Update== "None"{
Message("please update your links")
}
RE: Creating a Popup message on opening a CATPart
to get a message on file open.
btw you wrote pick your top of part node.what exactly should i pick in source?
RE: Creating a Popup message on opening a CATPart
Please read the full thread, I asked "Does anyone know how to create a popup message that appears once on opening a CATPart"
I had a way of getting a message to appear on update, which you have done (using the method I described.
RE: Creating a Popup message on opening a CATPart
CODE --> CATVBA
Sub msgOnNewPart() Dim a As Integer a = CATIA.Documents.Count While True CATIA.Caption = CATIA.Documents.Count & "/" & a & " :" If CATIA.Documents.Count > a And _ TypeName(CATIA.Documents.Item(CATIA.Documents.Count)) = "PartDocument" Then MsgBox ("new CATPart") a = CATIA.Documents.Count End If Wend End Subyou can run this macro at catia startup with modification in your command line
indocti discant et ament meminisse periti