How do I copy and paste

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
MSDOS
Newbie
Posts: 2
Joined: Thu Jun 18, 2015 6:44 am

How do I copy and paste

Post by MSDOS » Thu Jun 18, 2015 6:47 am

Hi,

How do I identify an open window (non-browser app), copy the top line of text, then paste to notepad? Thanks.

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: How do I copy and paste

Post by Marcus Tettmar » Mon Jun 22, 2015 11:42 am

Hi,

This really depends on the application/window in question. But the answer is "by simulating what you would normally do manually". So, really, the answer is to first try it manually, note the steps you need to take.

A good start is:
http://help.mjtnet.com/article/3-how-to ... ion-script
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

MSDOS
Newbie
Posts: 2
Joined: Thu Jun 18, 2015 6:44 am

Re: How do I copy and paste

Post by MSDOS » Thu Jun 25, 2015 10:33 am

Thanks Marcus,

I now have 5 numbers in notepad (extracted from the window).

I want to create an equation using the numbers, and if the product is > x, then I want to go onto the next step.

Help pls.

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: How do I copy and paste

Post by Marcus Tettmar » Mon Jun 29, 2015 3:10 pm

Ok, any reason why you are pasting the data to notepad? If you want to store in a text file you can do that directly with the WriteLn command. No need to manipulate Notepad.

To help with your equation I kinda need to know what it is.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
cron
Sign up to our newsletter for free automation tips, tricks & discounts