Jump to content

musicrab

Members
  • Posts

    2
  • Joined

  • Last visited

musicrab's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Thanks for the prompt - I didn't look far enough back! I'm doing something wrong. With the fix _FFStart is now timing out I think (when it calls _FFConnect) IE _FFConnect ==> Timeout: TCPConnect Error: 10061 Do I have to change mozrepl ports (and if so, how). Many thanks guys.
  2. Thanks to the author of FF.au3 UDF - I've just spent an interesting coffee break playing with some simple FF automation (14.0.1). I've been playing with http://ifttt.com (which provides some cool web-service automation especially via Dropbox) but which is limited to a 15 minute polling period. So I just wanted an automated button presser ("check my ifttt recipes now"). The main problem was working out the best way to connect to a FF window (tab). I ended up with the following: If _FFConnect(Default, Default, 3000) Then ; do work including _FFLinkClick Else MsgBox(0, "Connect", "failed to connect; will force a start next, then try again") If _FFStart("about:blank") Then MsgBox(0, "_FFStart", "started") Else MsgBox(0, "_FFStart", "failed") EndIf EndIf _FFConnect doesn't always work and if it doesn't best to do a _FFStart The problem with _FFStart is :- (I always have FF open) 1. it opens a new tab (window) with URL 4242 (I know that's the port number!) 2. when that fails a totally new FF window opens So I then manually close the new window and set the focus to the "4242" tab and re-run and it works fine.
×
×
  • Create New...