|
![]() |
Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming | |
AutoIt Scripting: Reading text
|
||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) | ||||||||||||
|
110100001101001111000
|
I'm trying to write a script to read a value on a website and then process/compare that value to others. So far I've been able to copy the value to clipboard, but I don't know how to get that into a variable that my program can use.
Is there a way for AutoIt to read data from the clipboard, or can I paste the value into some other location and have it read from there? Edit: I found a function called ClipGet(). I'm going to give that a try.
__________________
|
||||||||||||
|
|
|
|
#2 (permalink) | |||||||||||||
|
Apple Doesn't Love You
|
Post if that works out for you - that's something I'd like to know how to do
|
|||||||||||||
|
|
|
|
#3 (permalink) | |||||||||||||
|
Security Sleuth
|
Probably the easyest way to do this would be to parse the data over via php script, and input this into a database. CSV or SQL. Once you get the information into the db, then at the end of the parse, write a script that will take the data that is in the database and compare it to another table or your variable that you are trying to use. Though I dont know exactly how everything you have is setup, I would say this is probably going to be your best bet.
__________________
IRC nick - tgalyean / normally found in #fedora-admin
|
|||||||||||||
|
|
|
|
#4 (permalink) | |||||||||||||
|
110100001101001111000
|
Quote:
$var = ClipGet() It stores as a string and can be cast later as you need it. I also found: PixelGetColor(x,y) PixelSearch(left,top,right,bottom,shade,step) Very useful for screen recognition and grabbing data from a window. It's a very handy little language.
__________________
|
|||||||||||||
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|