Author Topic: Is this little prog feasible at all?  (Read 841 times)

LordAdef

  • Member
  • ****
  • Posts: 590
Is this little prog feasible at all?
« on: January 31, 2018, 06:47:37 AM »
Hi guys,

In my work I have this tedious job of filling dozens forms (in a web page) where most of the fields have the same values.....

I wonder if it was possible to copy these values from an array, go to Firefox where the fields are and:

paste,  "enter",   "tab"....  again etc...

unless you could suggest a ready available tool to do this, I wonder if that could be quickly implemented with our masm tools.

Cheers
Alex

jj2007

  • Member
  • *****
  • Posts: 8776
  • Assembler is fun ;-)
    • MasmBasic
Re: Is this little prog feasible at all?
« Reply #1 on: January 31, 2018, 06:58:45 AM »
Problem is that Firefox (and most other browsers) do not use standard controls. No chance to use WM_SETTEXT or similar. Perhaps you could check what the add-on SDK offers. But even that one is already obsolete - they recommend WebExtensions instead. See Your first extension for a simple example.

LordAdef

  • Member
  • ****
  • Posts: 590
Re: Is this little prog feasible at all?
« Reply #2 on: January 31, 2018, 07:03:34 AM »
Well, I could use a browser that would make the thing work. That's not the problem

LordAdef

  • Member
  • ****
  • Posts: 590
Re: Is this little prog feasible at all?
« Reply #3 on: January 31, 2018, 04:33:16 PM »
I found a ready-made solution, and it´s free (Win only).

It´s called AutoHotKey!

It´s an easy language where you write scripts (into the notepad) to be ran in real-time by Windows.
I already coded my script and it´s doing exactly I wanted.


Really cool stuff. Worth checking out