HenSa Posted January 15, 2013 Posted January 15, 2013 I have created a script with Autoit,its just a simple script to retrieve some manga information from website and for viewing the pages.Then i'm starting to create a script for downloading pages to support the above script,but its just not working like i wanted it to.Worked fine at the start but when downloading process is running, i can't no longer have control to the gui.Is there any better way to do this?Can anyone show me how to?Sorry for my bad Englishhere is the script, created with v3.3.8.1:- MangAutoIt.au3 run this once to create files and folders needed- MADownloader.au3 downloader support for script above- English.lang (not permitted to post this?) a language file. Just put in Lang folder to add a languagecurrently supported:search for manga title & chapter from interneteasy plugin creation with just using .ini formatmulti language from .lang file that also use .ini formatsynchronize latest chapter with download siteZoom & brightnessno download limit
Mat Posted January 15, 2013 Posted January 15, 2013 (edited) Have you seen the background flag for InetGet? That should allow your GUI to continue to function while the download is in progress. Edit: It seems like you already use that in the MADownloader script but not in the MangAutoIt one. Your problem is more likely the Sleep(500) in the download loop. 500ms is a long time. You shouldn't have any sleep in a GUI message loop, as GUIGetMsg does this for you. Edited January 15, 2013 by Mat AutoIt Project Listing
HenSa Posted January 15, 2013 Author Posted January 15, 2013 You are right, i didnt realize that Sleep thing is interfering with the loop process. works fine now, thank you.
Moderators Melba23 Posted January 15, 2013 Moderators Posted January 15, 2013 HenSa,Please pay attention to where you post in future. You started this thread in the "Examples" section - which is clearly marked "This is not a general support forum!". I have moved it for you this time. but please try to post in the correct place from now on. M23 Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind Open spoiler to see my UDFs: Spoiler ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now