1/17/2024 6:51 AM | |
Joined: 1/21/2013 Last visit: 1/24/2025 Posts: 3462 Rating: (543)
|
Hi, To be honest, I find it difficult to follow your description in detail. A picture showing the structure of your screen windows would be helpful. The error you have reported is caused by the FindItem method not finding the specified item. Your script within the screen window "swContent_1" is looking for a screen window "Screen window_1" within the parent screen window of "swContent_1". However, your description is more like "Screen window_1" is within the screen displayed in "swContent_1" (screen: "00_ScreenLayout_Single"). In this case you need to address the self "." instead of the parent "..". Kind regards |
This contribution was helpful to1 thankful Users |
1/18/2024 11:37 AM | |
Joined: 8/3/2009 Last visit: 1/24/2025 Posts: 14651 Rating: (1825)
|
Hello AutoGen_6316889 Check also this FAQ: https://support.industry.siemens.com/cs/ww/en/view/109758536 There is an example on how to use the Find Item with different screen architectures and levels in Chapter: 5.4.1 Bye Murof |
If this Information really helps, you could use the Rate function |
|
Follow us on