Jump to content

Recommended Posts

Posted (edited)

hi,

currently i have a script that make click with IE but i want to make a new one, if is possible without IE or FF

so, it is possible or not?

for example:

Run('"C:\Program Files (x86)\Mozilla Firefox\firefox.exe", "http://mdecho.com/"')

then click on image with alt = "YouTube Go"

<img width="480" height="310" src="http://mdecho.com/wp-content/uploads/2016/09/4226057-afp-mediafax-foto-loic-venance-480x310.jpg" class="attachment-banzai-featured-slideshow-main size-banzai-featured-slideshow-main wp-post-image" alt="YouTube Go" />

once again, without IE, FF and pixel click

Edited by allcapone1912
Posted

Are you going to this website just to click this link?

then just open the link where you eventually want to be:

$sLink = "http://mdecho.com/2016/09/google-lanseaza-youtube-go-o-noua-aplicatie-care-permite-vizionare-fara-conexiune-la-internet/"
ShellExecute($sLink)

 

Posted

more details

each images/links html source will have this format:

<img src="some random link" alt="KEYWORD" />

so, what i currently trying to do is to click on that "some random link" for specific alt="KEYWORD"

with IE this can be done in this mode

; Click on IMG by Alt text

#include <IE.au3>

Local $oIE = _IE_Example("http://mdecho.com/")
_IEImgClick($oIE, "KEYWORD", "alt")

but, that's the problem, i need it without IE or FF

Posted

Winhttp udf 

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted
  On 10/1/2016 at 8:51 PM, mLipok said:

Winhttp udf 

Expand  

in order to make it via WInHTTTP i have to make an addition connection to url

but i need to get link and click on it from opened Firefox, no other addition GET/REQUEST

Run('"C:\Program Files (x86)\Mozilla Firefox\firefox.exe", "http://mdecho.com/"')

 

Posted

Not fully understanding your project, I will take another stab at a solution...

  1. What about a list of the links from your website that are executed randomly via script.
  2. A script that just randomly mouseclicks somewhere on your webpage every 'X' seconds.
Posted
  On 10/2/2016 at 12:45 PM, Danp2 said:

 

I'm confused. First you state no IE or FF. Then you state an opened FF.

Which is it?

Expand  

sorry for confusion

i mean without IE.au3 or FF.au3

only with 

Run('"C:\Program Files (x86)\Mozilla Firefox\firefox.exe", "http://mdecho.com/"')

 

Posted
  On 10/2/2016 at 12:52 PM, allcapone1912 said:

i mean without IE.au3 or FF.au3

only with 

Run('"C:\Program Files (x86)\Mozilla Firefox\firefox.exe", "http://mdecho.com/"')

 

Expand  

Your requirements don't make sense to me. You can't expect to find and click on a specific link without the aid of one of the browser libraries.

AutoBert's suggestion is your only other option.

Posted
  On 10/1/2016 at 2:34 PM, allcapone1912 said:

once again, without IE, FF and pixel click

Expand  

Without IE ? Why ?
Wihtout FF ? Do you mean FireFox.exe or FF.au3 UDF ?
 

This seams to me like a strongly restricted/secured PC station.

additional questions:

IE not .... because there are restriction for user which is loged to PC station ?
FF.au3 not .... because you can not instal  MozRepl ?

 

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted
  On 10/2/2016 at 7:25 PM, Danp2 said:

Your requirements don't make sense to me. You can't expect to find and click on a specific link without the aid of one of the browser libraries.

AutoBert's suggestion is your only other option.

Expand  

I hoped that there are other methods besides AutoBert's suggestion

but, if no other i will use it but will take me much more time that i  thought

 

Posted
  On 10/2/2016 at 7:57 PM, mLipok said:

Without IE ? Why ?
Wihtout FF ? Do you mean FireFox.exe or FF.au3 UDF ?
 

This seams to me like a strongly restricted/secured PC station.

additional questions:

IE not .... because there are restriction for user which is loged to PC station ?
FF.au3 not .... because you can not instal  MozRepl ?

 

Expand  

without IE because i am not using direct connectiion, using via proxy and very often get error

i don't have permission to install any other additional item, like MozRepl...

Posted
  On 10/2/2016 at 8:04 PM, allcapone1912 said:

without IE because i am not using direct connectiion, using via proxy and very often get error

Expand  

Interesting.
What kind of error ?
 

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...