Jump to content
charlie2charlie

I want to copy and paste specific text only

Recommended Posts

Posted (edited)

HI,

 

I want to write a script to copy certain text that requires scrolling (as per gif), would this be possible of am i wasting my time?

EDIT* or is there another way to access this text?

 

 

 We3AOZQpXI.gif.ca31c2f95c48dc8c4eb4d5166b6282cd.gif

Edited by charlie2charlie

Share this post


Link to post
Share on other sites
7 minutes ago, charlie2charlie said:

I want to write a script to copy certain text that requires scrolling (as per gif), would this be possible of am i wasting my time?

That depends .....   care to start with giving the detail on what we are looking at?  (WebSIte or Program?)
WebSite: Start looking at the different options available to automate websites
Program: Start using au3info to get the control information.

Jos


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Posted (edited)

Ok, thank you for replying.

 

I can access this same text  3 ways.

1) Chrome browser in a tab

2) Chrome browser as a pop-up window.

3) As a popup from a stand alone program.

Here are the autoit  infos from all 3.

1 & 2  via browser TAB and browser Pop up widget

 

And in the third attached picture the au3info doesnt  notice  different areas in the highlighted red 1& 2 areas, though I can select these areas individually using copy and paste.

image.png.03fb6a29a2801225936ba1a0aabb1760.png

3)mspaint_e5oLjRF0MW.png.caf093647162f10eb3f793adcfac4a7b.png

Au3Info_tFRQFC8q0K.png

Edited by charlie2charlie

Share this post


Link to post
Share on other sites

So all these 3 different options are all Chrome (embedded) applications, so one and the same.
... but it seems you are trying to automate some sort of online game ....right?
Did you read out forum rules with regard to game automation?

Jos


SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
2 hours ago, Jos said:

So all these 3 different options are all Chrome (embedded) applications, so one and the same.
... but it seems you are trying to automate some sort of online game ....right?
Did you read out forum rules with regard to game automation?

Jos

Ah, I think I know what you are referring to, not, Im not automating a game.

The lists are the results from a poker tournament on Sky poker, I am helping doing league tables of  peoples finishing positions after a poker toutnament has ended.

We have a little fun league going based on our finishing positions in different tournaments.

SKy poker are giving prizes out fot the best finishers, so they have no objection to us looking at their code.

Here is a link to the thread where we are discussing implementing automating the tables.

https://www.skypoker.com/secure/poker/sky_lobby/community/forums#/categories/poker-chat

 

At the moment, there is a lot of cutting and pasting Im looking at automating it.

Share this post


Link to post
Share on other sites
Posted (edited)

Ok ...  so have a look at either  the _IE??????  udf's in the helpfile to get the information 

or one of these:

 

 

-or-

or 

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Posted (edited)

Ok , thank you.

 

Im not being lazy or wanting spoonfed  on exactly how to achieve what I want, I just wanted to know if  it was do-able in AUTOit.

 

I appreiciate your recommendated links thank you for taking the time to point me where i need to go. 

Take care.

Charlie

Edited by Jos
No need to quote whole posts. ;)

Share this post


Link to post
Share on other sites

If you decide to go the WebDriver route I suggest you have a look at


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2020-06-17 - Version 1.5.0.1) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2020-06-27 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (NEW 2020-06-27 - Version 1.3.2.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
PowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & Support
Excel - Example Scripts - Wiki
Word - Wiki
Task Scheduler (2019-12-03 - Version 1.5.1.0) - Download - General Help & Support - Wiki

Tutorials:
ADO - Wiki, WebDriver - Wiki

 

Share this post


Link to post
Share on other sites

Hi, the best easy way is scraping with beautifulsoup and python, a minumun knowledge chrome devtool to intercept your targets.

 

Share this post


Link to post
Share on other sites

Thanks guys,

 

Ive had a look at the links / tutorials you have all provided and ever thing is way above my head and labour intensive.

I realise there needs  to be a bit of pain to gain. 

I was hoping Auto would provide a shortcut and nothing was a shortcut.

I may as well learn Java or what @rootx suggests, I will have a little look at this , until Im out of my depth.

 

Thanks for your time.@rootx@water @Jos

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...