Jump to content

simple script giving ntdll.dll crash


Bridawg
 Share

Recommended Posts

Hi,

I'm just starting out and I've got a simple script which crashes every time i activate the hotkey

#Include <Clipboard.au3>
HotKeySet("a", "addLine")

Func addLine()
    Send("{CTRLDOWN}c{CTRLUP}")
    $firstVal=_ClipBoard_GetData()
    Msgbox(0, $firstVal, "")
    Return
EndFunc

While 1
    Sleep(10)
WEnd

The Windows Error Signature is:

AppName: autoit3.exe AppVer: 3.3.0.0 ModName: ntdll.dll

ModVer: 5.1.2600.3520 Offset: 00002caf

any ideas?

Thanks,

Brian

Link to comment
Share on other sites

Guys thankyou very much for your help - I'll look into those commands as improvements - I'm still learning after defecting from a "similar product"

I didn't reply sooner because I didn't get email notifications.

Turns out I failed at the first rule of tech support - after rebooting it's behaving as I would expect.

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...