Sign in to follow this  
Followers 0
Potarski

Little questions

11 posts in this topic

#1 ·  Posted (edited)

Hello all users and developers, i have a lot of question about autoit and script.

1. I will download new AutoIT programs and i have problem becouse i use platform 32 bit, in Compile script i don't have use for 32 bit platform.

2. I not found good include for my example script without any browser (Firefox, IE, Opera etc.) becouse browsers are very slow and downloading picture etc., It must be surf for examplewebsite.com , use login and password and write massage in this website and for finish get answer from website(example: your post has beed added etc). I make it in _IE Include but like I said before it very slow for my internet (max download 5kb/s). Someone help me with this? (My last script download massage and i answer in this program, this program is very helpful for my answer for any ticket for me. but i need without browsers)

3. How to use file from "Extra Files" in compile for my script? (example, picture)

Anyone need to help me? :)

Best regardas, Potarski

Edited by Potarski

Share this post


Link to post
Share on other sites



I have new question.

4. I made a manu in my gui but i have small question, how to make if i click on settings(GUICtrlCreateMenuItem) then it show me a lot of my inputs and buttons, and if i click for settings2(GUICtrlCreateMenuItem) them show me other settings. I tested GuiCtrlDelete but not working good...

I waiting for answers! Example - If you dont know for 3/4 but know 1/2 help me here.

Share this post


Link to post
Share on other sites

1. Please provide more information. If you have a 32 bit platform then you download the normal AutoIt and there should be no issues.

2. Please post code. Also the internet download speed has nothing to do with AutoIt, if you computer has slow internet that is an issue with your computer or internet connection.

3. Can't answer that one, sorry. Can only suggest searching the forum or the help file for answers.


Post your code because code says more then your words can. SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y. Use Opt("MustDeclareVars", 1)[topic="84960"]Brett F's Learning To Script with AutoIt V3[/topic][topic="21048"]Valuater's AutoIt 1-2-3, Class... is now in Session[/topic]Contribution: [topic="87994"]Get SVN Rev Number[/topic], [topic="93527"]Control Handle under mouse[/topic], [topic="91966"]A Presentation using AutoIt[/topic], [topic="112756"]Log ConsoleWrite output in Scite[/topic]

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

about:

1. Okay thanks.

2. Normal funcion use include IE.AU3 i need another way to surfing in hide (i need without any browser becouse it download all pictures, java etc and give click sound like internet explorers... and add to process in process manger iexplorer.exe)

Is it possible without browser? I need script with use like inclode IE.AU3 but without use browser.

3. I find help with this :) In Autoit Help <rofl>

Edited by Potarski

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

Okay, 1 and 3 question done but i need answer about 2.

This script must be working like _IE... but without any browsers like a WinHttp.

Edited by Potarski

Share this post


Link to post
Share on other sites

As in the helpfile is written

$oHTTP = ObjCreate("winhttp.winhttprequest.5.1")
$oHTTP.Open("GET","http://www.AutoItScript.com")
$oHTTP.Send()
$HTMLSource = $oHTTP.Responsetext

Many times you need to think like hobby-bob:')

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

I need surfing like IE:

example:

Func login()
    Global $IE = _IECreate("http://xxx/", 0, 0, 1)
    $html = _IEDocReadHTML($IE)
        $b = _IETagNameGetCollection($IE, "form", 0)
        $d = _IEFormElementGetObjByName($b, "login")
        $e = _IEFormElementGetObjByName($b, "password")
        _IEFormElementSetValue($d, $loginG)
        _IEFormElementSetValue($e, $hasloG)
        $b.submit
        _IELoadWait($IE)
_IENavigate($IE, "http://xxx/")
        $x = _IETagNameGetCollection($IE, "form", $c)
        _IEFormSubmit($x)
    EndIf
EndFunc

But not use IE.AU3 only convert this for WinHttp or other script.

Edited by Potarski

Share this post


Link to post
Share on other sites

anyone have any idea? its possible?

Share this post


Link to post
Share on other sites

At the moment I don't know a way without browser. If you don't like people to see the screen, you can try to set the win transparency. winsettrans()


Many times you need to think like hobby-bob:')

Share this post


Link to post
Share on other sites

Do not know what I mean, i need surfing like IE include without browser. I gave example and i need convert this for $WinHttp or other funcion ;p

Share this post


Link to post
Share on other sites

Refresh

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
Sign in to follow this  
Followers 0