Jump to content

Animated .gif running alongside IE input

Recommended Posts

Hi all,

Apologies if this is in the wrong section, but this is my first post - be gentle.. :oops:

I have a task that I need to run through daily and have managed to botch a script together (my choice of language fills you all with confidence, I'm sure!) that opens a new IE window at a specific web page, maximises it, clicks a link to open a pop-up form, fills out some details, and then clicks the save button on the page (by pressing the space bar after highlighting the button).

Now, what I would like to do is to put an animation over the top of this, while it is all in progress. I know you may ask why, but I am thinking of deploying this script to colleagues and it was suggested as a fun function, which then intrigued me and made me wonder whether it was possible..

After this, I would like to compile it all in the best possible way that would need the least amount of files. Is it possible to compile an animated .gif within the .exe instead of providing as a separate file or hosting it on the net..? This would allow me to then provide everyone with a simple .exe file that they can run to achieve the same results as me.

Once the script finishes I would like it to leave the IE window open (following the save, as is happening at present). I have looked through the GUI examples for this on this very forum and they all appear to be loops, but I can't figure out how to get them to run simultaneously.

Please help me and I shall be most grateful.. :bye:

Existing script ::

#include <IE.au3>

$oIE = _IECreate("Internet Link Removed")

$date = @MDAY & "/" & @MON & "/" & @YEAR

Local $sMyString = "Add new item"

Local $oLinks = _IELinkGetCollection($oIE)

For $oLink In $oLinks

Local $sLinkText = _IEPropertyGet($oLink, "innerText")

If StringInStr($sLinkText, $sMyString) Then

_IEAction($oLink, "click")




WinSetState("Pages - Time","",@SW_MAXIMIZE)

WinActivate("Pages - Time")


WinWait("Untitled", "", 1)



WinWait("Untitled", "", 1)



Send("IT General")

WinWait("Untitled", "", 1)



WinWait("Untitled", "", 1)




Link to comment
Share on other sites

  • Moderators


Please do not post meaningless drivel. If you can offer constructive help, then do so by all means - but that last post just wasted bandwidth and server space. :oops:


Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png 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:


ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area


Link to comment
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

  • Recently Browsing   0 members

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