Jump to content

Ed McDonough

Members
  • Posts

    14
  • Joined

  • Last visited

Profile Information

  • Location
    Massachusetts
  • WWW
    http://videosecretsrevealed.com

Ed McDonough's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Ooops! Simple thanks to FF.au3 and FF_AutoLogin.au3 Here's the code: Enjoy! #include <FF.au3> #include <FF_AutoLogin.au3> $account = "YourName@YourEmail.com" $pw = "YourPassword" _FFStart("https://accounts.craigslist.org/") ;_FFConnect () _FF_AutoLogin($account,$pw)
  2. Thanks for your help - I have it working now - I upgraded Autoit to v3.3.0.0.
  3. Got it working - thanks everyone for your help!
  4. Sorry, didn't mean to imply I was looking for someone to write this. Does anyone have a similar code using FF I can look at?
  5. I'm using using FF.au3 (V0.6.0.0b)
  6. Here's a simple GUI to login into a website (in this case craigslist). I want to recreate this using Firefox instead of IE. Can someone help? Thanks, Ed #include <IE.au3> #include <GUIConstants.au3> #include <File.au3> GUICreate ("Acess Website GUI",600,300) GUISetBkColor (0x99FFCC) GUISetState(@SW_SHOW) GUICtrlCreateLabel("Click a button to begin...", 30, 10, 200) GUICtrlSetFont (-1,12, 800, 2, "Arial") Opt("GUICoordMode",1) $button1 = GUICtrlCreateButton ("Craigslist", 40, 60, 100) $close = GUICtrlCreateButton ("Close", 260, 260, 80) While 1 $msg = GUIGetMsg() Select Case $msg = $button1 $account="email@email.com" $pw="password" Account($account,$pw) Case $msg = $close $msg = $GUI_EVENT_CLOSE ExitLoop Case $msg = $GUI_EVENT_CLOSE ExitLoop EndSelect WEnd Exit ;FUNCTIONS Func Account($account,$pw) $oIE = _IECreate() _IENavigate($oIE, "https://accounts.craigslist.org/") $o_form = _IEFormGetObjByName($oIE, "login") $o_login = _IEFormElementGetObjByName($o_form, "inputEmailHandle") $o_password = _IEFormElementGetObjByName($o_form, "inputPassword") _IEFormElementSetValue($o_login,$account) _IEFormElementSetValue($o_password, $pw) Sleep(500) _IEFormSubmit($o_form) EndFunc
  7. 'm getting this error with FF_AutoLogin.au3 4.1 C:\Program Files\AutoIt3\Include\FF.au3 (1715) : ==> Badly formatted "Func" statement.: Func _FFLoadWait($iTimeOut = $_FF_LOADWAIT_TIMEOUT) Suggestions?
  8. Sorry posted this under the wrong topic and not sure how to delete it. I'm getting this error with FF_AutoLogin.au3 4.1 C:\Program Files\AutoIt3\Include\FF.au3 (1715) : ==> Badly formatted "Func" statement.: Func _FFLoadWait($iTimeOut = $_FF_LOADWAIT_TIMEOUT) Suggestions?
  9. Akshay07, thanks for your response buy I can't get past the error in which is part of the the FFau3 include statement: Badly formatted "Func" statement.: Func _FFLoadWait($iTimeOut = $_FF_LOADWAIT_TIMEOUT) Help!
  10. Thanks for your help! I tried running this script: #include <FF.au3> #include <FF_AutoLogin.au3> If _FFConnect () Then _FFWindowOpen("www.gmail.com") ; activates the window per default / loadwait is build in now _FF_AutoLogin("user","password") EndIf I'm getting this error: Badly formatted "Func" statement.: Func _FFLoadWait($iTimeOut = $_FF_LOADWAIT_TIMEOUT) I am using FF.au3 version 6 Can you help?
  11. Hi folks! I’ve been away from Autoit for a while and I’m looking to rewrite my scripts to use Firefox instead of IE. I would appreciate someone pointing me to some example scripts which, for example, show how to open Firefox to a predetermined website and submit a username and password. Thanks! Ed
  12. Got It! Many, many thanks!
  13. Thanks for the feedback! Valuater - I've installed the beta version - can you direct me to the script? BTW - I didn't post any code because I don't have any to post as I'm seeking the "browse and open a file within a GUI" script. Thanks, Ed
  14. Hi Folks! I'm a 3 day old user of AutoIt - Awesome tool! I need advice on how to setup a control in a GUI to do a local file search and subsequently select a file within the GUI window. I've figured out how to open a separate window/dialog using FileOpenDialog but I'd to have that info displayed right in the GUI window. Is there a way to do this? If so, can some provide a simple example? Many Thank for your help in advance! Ed
×
×
  • Create New...