Read numbers from file and post in safari app

Joined
May 4, 2020
Messages
2
Reaction score
0
Hi

Newbie to AppleScript here but basic programming knowledge.

How do I use AppleScript to:

Open a file (containing a list of numbers (1-9999)...up to a thousand numbers)
Read a number from the file
Enter that number into a input box in an web app through Safari
Read the next number from the file etc
Repeat until end of file.

This is a pretty basic 'read ... keystroke'. don't need anything too fancy.

Thanks !!
 

Cory Cooper

Moderator
Joined
May 19, 2004
Messages
11,098
Reaction score
500
Hello and welcome.

I don't have much experience with Automator/AppleScript. It sounds like a fairly simple workflow, but may be more involved that it seems on the surface.

Maybe the folks over at MacScripter can lend a hand?

C
 

Cory Cooper

Moderator
Joined
May 19, 2004
Messages
11,098
Reaction score
500
No worries...sorry I don't have a better answer for you.

Feel free to let us know if you find a solution.

Stay healthy and safe,

C
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top