Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
simple code not working, please help
#1
Hi i dont know why the IF blocks are not working correctly

I have a win software that has a sort of a table with rows and colums. The content canot be edited but can be copied to clipboard. I need a macro that reads the content of a cell in that table , if its "1 - Paragony - sprzedaż detaliczna - wpłata" then do some action, else press down arrow going to next cell and check content again.

For example i tried to test it in excel, but it doesnt work:
 
Code:
Copy      Help
str s
int w1=act(win("工作簿3 - WPS Office" "OpusApp"))

'Cc            
s.getclip
out s


if s = "1 - Paragony - sprzedaż detaliczna - wpłata"
    'X
    'D              
else
    'D

Thanks for any imput


Messages In This Thread
simple code not working, please help - by De_chopin - 03-01-2023, 03:00 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)