Skip to content

Replies

0
Anand
Anand answered on Mar 6, 2012 12:01 PM

You have passed toolbar as "Editors"…What is that???

What needs to passed at that position???

0
Anand
Anand answered on Mar 6, 2012 6:52 AM

I want to check that one of the tool is enabled or not.

I am using following code:

SwfWindow("AVEV Instrumentation").SwfWindow("SwfWindow").SwfToolbar("SwfToolbar").GetNAProperty("Tools[Issue].Value")

It is throwing exception that Tool[Issue] not valid.

I want to check that 'Issue' tool is enabled.

How to use 'EnabledResolved' property in above code?

Please help me out.

0
Anand
Anand answered on Jan 5, 2012 7:49 AM

I am able to get the item from toolbar. How to select that item? which item property needs to be used?

0
Anand
Anand answered on Jan 5, 2012 7:05 AM

You have passed "Editors" as argument for getitemscount(). What is that?

What needs to pass? Is it the toolbar name that we got while recording???

0
Anand
Anand answered on Jan 5, 2012 4:58 AM

Hi ,

I want to select the menu.

I am able to spy upto following hierarchy:

SwfWindow("swfwin_PDMSDesign").SwfToolbar("swftb_PDMSDesign_Toolbar")

If i want to select menu View ->Look , if am recording it then i am getting following code:-

SwfWindow("swfwin_PDMSDesign").SwfToolbar("swftb_PDMSDesign_Toolbar").PerformToolAction tbmgrToolbar, tbmgrDropDown, "MainMenuBar", "!!APPDESMAIN.BAR.COREVIEWMENU"
SwfWindow("swfwin_PDMSDesign").SwfToolbar("swftb_PDMSDesign_Toolbar").PerformToolAction tbmgrMenu, tbmgrDropDown, "MainMenuBar,!!APPDESMAIN.BAR.COREVIEWMENU", "!!APPDESMAIN.COREVIEWMENU.**11"

I want to select menu by function.

Please help me to know which methoda to use and which arguments to pass.