Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dynamic windows title
#1
Hello,

I am trying to create a macro where one of the windows have a dynamic title that changes depending on the source.
 
Code:
Copy      Help
int w1=act(win("Artikkelregister | 880014829" "*.Window.*"))
    lef 1097 24 w1 1 ;;egenskapsside 'The Ribbon', verktøylinje 'Quick Access Toolbar'
    lef 507 143 w1 1 ;;sidekategoriliste, sidekategori 'Innkjøp'
    lef 514 603 w1 1 ;;kontur, celle 'Ny row 3'
    lef 515 603 w1 1 ;;kontur, celle 'Ny row 3'

It is the 8800*** number that can be something completely different. Either shorter or longer number or only text. But no longer than 20 characters. 

How can i solve this?
#2
int w1=act(win("Artikkelregister | *14829" "*.Window.*" "" 1))


Forum Jump:


Users browsing this thread: 2 Guest(s)