AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

browser automation

 
Reply to topic    AutoHotkey Community Forum Index -> Wish List
View previous topic :: View next topic  
Author Message
p0kah
Guest





PostPosted: Wed Sep 09, 2009 10:03 am    Post subject: browser automation Reply with quote

Hi guys,

I love ahk, I have made a lot of useful script with it.
The only problem with it is:

You cannot automate browser operations.

it is a pain in the ass to automate scraping of website with ahk.
What I am suggesting is to create a firefox extension to automate firefox, I tried with Imacro but it really sucks, it doesn't even support conditional statements (if then else).

thank you for reading my post.

p0kah
Back to top
SoLong&Thx4AllTheFish



Joined: 27 May 2007
Posts: 4999

PostPosted: Wed Sep 09, 2009 10:26 am    Post subject: Reply with quote

You have no idea what you are talking about, IE automation is very well possible with COM, SEARCH the forum.
_________________
AHK Wiki FAQ
TF : Text files & strings lib, TF Forum
Back to top
View user's profile Send private message
Lexikos



Joined: 17 Oct 2006
Posts: 7295
Location: Australia

PostPosted: Wed Sep 09, 2009 11:21 am    Post subject: Reply with quote

Also, Remotely control Firefox.
Back to top
View user's profile Send private message Visit poster's website
Scratch



Joined: 22 Jan 2009
Posts: 72

PostPosted: Mon Sep 14, 2009 2:37 pm    Post subject: Reply with quote

Browser Automation support, whether native, by library and or wrapper imho should not be restricted to a specific browser, the wrapper should contain common function like OpenTab, read out wich browser and version number, lookup in translation table and call the appropiate function for that browser

Could become one helluve a wrapper to support all browsers though...
Back to top
View user's profile Send private message
TheIrishThug



Joined: 19 Mar 2006
Posts: 419

PostPosted: Mon Sep 14, 2009 8:56 pm    Post subject: Reply with quote

Scratch wrote:
Browser Automation support, whether native, by library and or wrapper imho should not be restricted to a specific browser, the wrapper should contain common function like OpenTab, read out wich browser and version number, lookup in translation table and call the appropiate function for that browser


Another way to construct the library would just to be to define the interface as a wrapper api. Everyone would just use OpenTab or CloseTab and then below the interface would sit a "plugin" for the specific browser. The user doesn't care what the browser specific code is, just that the appropriate event occurs when the api is called. This way, if the user knows they are only ever going to need FF and IE, they don't need to load the extra weight to do Opera or Safari.
Back to top
View user's profile Send private message Visit poster's website AIM Address
tank



Joined: 21 Dec 2007
Posts: 3700
Location: Louisville KY USA

PostPosted: Mon Sep 14, 2009 11:11 pm    Post subject: Reply with quote

Scratch wrote:
Browser Automation support, whether native, by library and or wrapper imho should not be restricted to a specific browser, the wrapper should contain common function like OpenTab, read out wich browser and version number, lookup in translation table and call the appropiate function for that browser

Could become one helluve a wrapper to support all browsers though...
the problem with these kinds of statements is the misguided beleife there are only a few browser out there
but stepping back to tabs
IE6 is still quite common place what about that

ther are literally hundreds of browsers out there there would not be any feasable way to just wrap all browsers

So yes wrappers would be and necesarily are browser specific

and yes there are alot of way to exchange http headers on this forum
both with or without a browser.
_________________

We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed;
Back to top
View user's profile Send private message
ScottMattes



Joined: 21 May 2007
Posts: 173
Location: USA

PostPosted: Tue Sep 15, 2009 6:50 pm    Post subject: Reply with quote

IE6 - just say NO

I recently saw a website that dealt with this issue, it gave code to put up a polite 'sorry, but we don't do IE6 because it is crappy' msg, with pointers to where they could download IE7, Opera, Firefox, Chrome
_________________
-------------
Scott Mattes

My small, and slowly growing, collection of scripts.
Back to top
View user's profile Send private message Visit poster's website
tank



Joined: 21 Dec 2007
Posts: 3700
Location: Louisville KY USA

PostPosted: Tue Sep 15, 2009 6:53 pm    Post subject: Reply with quote

Unfortunately in a consumer world your user is likely to just decide not to do business with you
_________________

We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed;
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Wish List All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group