DoomSack

Which browser to work with AutoIt

22 posts in this topic

Hello Everyone ,
                           I am really confused right now about which browser to choose to work with AutoIt. I have been using IE but honestly, IE crashes more often and is not really as customized as any other browsers out there. So here are my questions.
1. which browser to choose ? (e.g: firefox, chrome, etc)

2.why?

That's it .

Would like to here everyone's detailed suggestions, so as to make a really good decision.

Thank you All.

Share this post


Link to post
Share on other sites



Just now, JohnOne said:

computer and use IE.

Details: all others are simply a right royal pain in the arse

Hehe .. There is nothing wrong with my computer. its just that when ever my script goes over more than 2 hours of usage of IE it crashes.

But, Thank you for your views on the topic, will keep in mind.

Share this post


Link to post
Share on other sites

What makes you sure that the same problem will not arise with FireFox or Chrome?


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-02-03 - Version 1.4.7.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-03 - Version 1.2.4.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites
1 minute ago, water said:

What makes you sure that the same problem will not arise with FireFox or Chrome?

Good question, I don't know and that is why I am asking the question here before trying it for myself and wasting my time learning everything. Mostly, someone or the other might have worked with it and they can show their generosity by sharing their views, so that I can take a decision.

Thank you

Share this post


Link to post
Share on other sites
40 minutes ago, DoomSack said:

its just that when ever my script goes over more than 2 hours of usage of IE it crashes.

I would first try to find the cause of the crash. "Running for 2 hours" sounds like you are running the script in a loop. There might be a memory leak causing the crash.
Which error message do you get when your script crashes?

Can you post your script so we might have a look at it?


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-02-03 - Version 1.4.7.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-03 - Version 1.2.4.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

1 hour ago, water said:

I would first try to find the cause of the crash. "Running for 2 hours" sounds like you are running the script in a loop. There might be a memory leak causing the crash.
Which error message do you get when your script crashes?

Can you post your script so we might have a look at it?

Yes, I am running the script in a loop. Sorry I cant share the script. But, probably the cause is due to cache memory, i.e. what I think. the script includes constantly opening webpages, and the loop runs for almost 2k times and maybe the cache is the cause.

And I don't get any error message, the script just waits for the web page to load and exits. Meanwhile, internet explorer stops working and windows ask me to debug the IE or close IE.

Edited by DoomSack

Share this post


Link to post
Share on other sites

Check the memory consumption while running. Maybe you need to release some ressources after each loop.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-02-03 - Version 1.4.7.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-03 - Version 1.2.4.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites
Just now, water said:

Check the memory consumption while running. Maybe you need to release some ressources after each loop.

Ohh.. !! And how do I do that ??

Share this post


Link to post
Share on other sites

Windows Task Manager?


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-02-03 - Version 1.4.7.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-03 - Version 1.2.4.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites
1 hour ago, water said:

Windows Task Manager?

Lol. Could you be more specific about how automate it.

Share this post


Link to post
Share on other sites

Why automate? Just start the Task-Manager and then your script and watch how memory consumption increases.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-02-03 - Version 1.4.7.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-03 - Version 1.2.4.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
Tutorials:
ADO - Wiki

 

Share this post


Link to post
Share on other sites

All browsers are fine. See ff.au3 chrome.au3 ie.au3

Generic iuiautomation in examples section can deal with safari to.

Check if you cannot use inetget functions.

1 person likes this

Share this post


Link to post
Share on other sites
8 hours ago, junkew said:

All browsers are fine. See ff.au3 chrome.au3 ie.au3

Generic iuiautomation in examples section can deal with safari to.

Check if you cannot use inetget functions.

Thank you Junkew .. Will Look into that ..

Share this post


Link to post
Share on other sites

#15 ·  Posted (edited)

No need to Fix your computer, just use Firefox.

Details: all others are simply a right royal pain in the arse to use ... especially IE.

Spoiler

:P;)

 

Edited by TheSaint
1 person likes this

TheSaints' Robust Chat

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

Spoiler

If I put effort into communication, I expect you to read properly & fully, or just not comment.
Ignoring those who try to divert conversation with irrelevancies.
If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it.
I'm only big and bad, to those who have an over-active imagination.

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox

userbar.png

Share this post


Link to post
Share on other sites
15 hours ago, water said:

Why automate? Just start the Task-Manager and then your script and watch how memory consumption increases.

Whenever I run my script I close the applications first run ccleaner and then run my script and I leave. I return back to my system after couple of hours. That is why I want a solution to this problem in a way that I don't have to do anything manually.

Share this post


Link to post
Share on other sites
Just now, TheSaint said:

No need to Fix your computer, just use Firefox.

Details: all others are simply a right royal pain in the arse to use ... especially IE.

Thank you very much saint. I was thinking to use firefox, just wanted someone to tell me. Will do so .

Share this post


Link to post
Share on other sites

No worries, I was just correcting JohnOne's spelling mistakes. :lol:


TheSaints' Robust Chat

Make sure brain is in gear before opening mouth!
Remember, what is not said, can be just as important as what is said.

Spoiler

If I put effort into communication, I expect you to read properly & fully, or just not comment.
Ignoring those who try to divert conversation with irrelevancies.
If I'm intent on insulting you or being rude, I will be obvious, not ambiguous about it.
I'm only big and bad, to those who have an over-active imagination.

I may have the Artistic Liesense ;) to disagree with you. TheSaint's Toolbox

userbar.png

Share this post


Link to post
Share on other sites
Just now, TheSaint said:

No worries, I was just correcting JohnOne's spelling mistakes. :lol:

:D No Further Comments on the topic :P

Share this post


Link to post
Share on other sites
1 hour ago, TheSaint said:

just use Firefox.

Firefox FTW :thumbsup:

1 person likes this

Spoiler

My contributions to the AutoIt Community

Some messages & Apologizes:

If I hurt you, Please accept my apologies, I never (regardless of the situation) mean to hurt anybody!!!

Also, I am very busy with my project so I will appear in the last row of the online list, if you want to contact me: Email@TheDcoder.xyz

Or you can have a nice chat with me in freenode, I use the same nick on freenode too!

3fHNZJ.gif

PLEASE JOIN ##AutoIt AND HELP THE IRC AUTOIT COMMUNITY!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Similar Content

    • Valnurat
      By Valnurat
      I have a mainform with a ListviewControl. The ListView contains data from my SQL Server. My idea is that when you find what you are looking for, in the listview, I pick it by pressing the enter button and then show the content on a child window with some control.
      So my questions are:
      How do you pick the content in the listview with either enter button or the mouse?
      How do you create a child windows with control?
      Global $idListview, $idOKay _FormCreate() _Main() Func _FormCreate() ; Create GUI GUICreate("Computer Asset", 1027, 400) $idListview = GUICtrlCreateListView("", 2, 2, 1024, 268,Default, BitOR($LVS_SHOWSELALWAYS, $LVS_EX_GRIDLINES,$LVS_EX_FULLROWSELECT)) ; Add columns _GUICtrlListView_AddColumn($idListview, "Computername", 100,2) _GUICtrlListView_AddColumn($idListview, "Tkt No.", 100,2) _GUICtrlListView_AddColumn($idListview, "Req No.", 100,2) _GUICtrlListView_AddColumn($idListview, "Order Date", 100,2) _GUICtrlListView_AddColumn($idListview, "Costcenter", 100,2) _GUICtrlListView_AddColumn($idListview, "Username", 100,2) _GUICtrlListView_AddColumn($idListview, "Model", 100,2) _GUICtrlListView_AddColumn($idListview, "Current Location", 100,2) _GUICtrlListView_AddColumn($idListview, "Option", 100,2) _GUICtrlListView_AddColumn($idListview, "Shipdate", 100,2) $idOKay = GUICtrlCreateButton("OK", 310, 290, 85, 25) GUISetState(@SW_SHOW) EndFunc Func _Main() Local $sConnectionString = 'DRIVER={' & $sDriver & '};SERVER=' & $sServer & ';DATABASE=' & $sDatabase & ';UID=' & $sUser & ';PWD=' & $sPassword & ';' Local $oConnection = _ADO_Connection_Create() _ADO_Connection_OpenConString($oConnection, $sConnectionString) If @error Then Return SetError(@error, @extended, $ADO_RET_FAILURE) Local $sTableName = 'StaffMemberUser.ComputerAsset' Local $sQUERY = "Select Computername, TktNo, ReqNo, OrderDate, CostCenter, Username, Model, CurrentLocation, Note, Shipdate from " & $sTableName Local $oRecordset = _ADO_Execute($oConnection, $sQUERY) Local $aRecordsetArray = _ADO_Recordset_ToArray($oRecordset, False) Local $aRecordset_inner = _ADO_RecordsetArray_GetContent($aRecordsetArray) _GUICtrlListView_SetItemCount($idListview, UBound($aRecordset_inner) - 1) _GUICtrlListView_AddArray($idListview, $aRecordset_inner) ; CleanUp $oRecordset = Null _ADO_Connection_Close($oConnection) $oConnection = Null ; Loop until the user exits. While 1 Switch GUIGetMsg() Case $GUI_EVENT_CLOSE ExitLoop Case $idOKay MsgBox($MB_SYSTEMMODAL, "listview item", GUICtrlRead($idListview), 2) Case $idListview MsgBox($MB_SYSTEMMODAL, "listview", "clicked=" & GUICtrlGetState($idListview), 2) EndSwitch WEnd GUIDelete() EndFunc  
    • tcox8
      By tcox8
      Hello,
      Currently I am running a script that calls a powershell script. To read the results of that I am reading StdOut. I am parsing things accordingly but unfortunately it doesn't parse correctly all the time and I end up missing parts of the string or other problems. My question then is, what is the best results for reading what is returned when running a powershell script or something similar?
    • Valnurat
      By Valnurat
      I hope my title is good enough.
      I'm using the ADO UDF and I have question regarding editing SQL records with this UDF.
      The owner of the UDF suggested an idea, but maybe there is another trix.
    • Valnurat
      By Valnurat
      I have a SQL db. I would like to view the content in a control. Like a table. The control should have the option to show every 2nd line in another color. When you pick a "cell" it should pick the whole row. When you dobbelt click on the row another windows should popup with the content from the row.
      What view control can do that?
    • Valnurat
      By Valnurat
      How do I access a sql database for inserting and reading?