Jump to content

ITaskBarList.au3 - Delays script execution


Kyan
 Share

Recommended Posts

Hi,

there's someone with the same problem?

when I use the ITaskBarList.au3 in my script it increases the time for application start, maybe something is wrong with the ITaskBarList code :/

can someone gives me a hand because I'm not a expert in autoIT :oops:

thanks for your time.

Heroes, there is no such thing

One day I'll discover what IE.au3 has of special for so many users using it.
C'mon there's InetRead and WinHTTP, way better
happy.png

Link to comment
Share on other sites

  • Moderators

Hi, DiOgO. Please post your code so we can see where it might be giving you fits. As ITaskBarList contains a number of functions, it is a little difficult to solve the issue without seeing how you're implementing it.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

I'm only using this from the ITaskBarList.au3:

$oTaskbar = _ITaskBar_CreateTaskBarObj()
_ITaskBar_SetProgressState($Form1, 2)
_ITaskBar_SetProgressValue($Form1, $perc[0])

@JFX, I'll try it, thanks

Heroes, there is no such thing

One day I'll discover what IE.au3 has of special for so many users using it.
C'mon there's InetRead and WinHTTP, way better
happy.png

Link to comment
Share on other sites

search this line:

If TimerDiff($time) > 5000 Then Return SetError(2, 0, 0)

and replace with

If TimerDiff($time) > 1000 Or @OSBuild < 7600 Then Return SetError(2, 0, 0)

yap, that was the problem, I set it to 250, there's some problem with that?

props

Heroes, there is no such thing

One day I'll discover what IE.au3 has of special for so many users using it.
C'mon there's InetRead and WinHTTP, way better
happy.png

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
 Share

  • Recently Browsing   0 members

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