copy BIOS Version and date from system summary dialogue box to notepad
Hi,
Need Help!!!
I wrote following code that will copy Bios information from system summary dialogue to notepad.
BUT it writes some different characters to notepad.
Example:
Data written to notepad: T?TI
Actual Data is : Total
file =open("
click("Start.png")
click("Run.png")
find("Drop Down Arrow.png")
type(" winmsd")
click("OK.png")
wait(1)
click("Maximize Button.png")
wait(1)
click("System Summary.png")
sik = ("BIOS VERSION/DATE.png")
m = find(sik)
m.highlight(1)
m = str(m.text())
print m
file.write(m)
wait(2)
sik1 = ("TOTAL PHYSICAL MEMORY.png")
m1 = find(sik1)
m1.highlight(1)
m1 = str(m1.text())
print m1
file.write(m1)
file.close()
Thanks in advance for any help.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask New To Sikuli for more information if necessary.