Jump to content

_Clipboard_GetData problem


Greenya
 Share

Recommended Posts

Hello!

AutoIt3 is great. You guys doing great tool! :)

I have been working with AutoIt3 for a while.

I created long enough script that works fine.

But some times (after couple of hours) AutoIt3 crashes. I was searching for a problem and found that some times _Clipboard_GetData() crashes AutoIt3.

Currently I am working on script that can reproduce this bug but it is very hard. Main script crashes on some data in clipboard, but when i try to repeat crashing -- i fail.

So I would like to ask, does any body here have ever got problems with reading text from clipboard (got crashes)?

Thank You.

Link to comment
Share on other sites

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to comment
Share on other sites

Xenobiologist,

thank you. I have read that and left a post -- http://www.autoitscript.com/forum/index.ph...mp;#entry454470

In my script I really need to read text from clipboard and search for a specific text. So I f i cannot perform searching by script -- crazy ideas is visiting my head -- use Notepad.exe process to perform search in clipboard' text.... but that is not a great solution :)

P.S.: or maybe i need a simple c++ program that can some-how alert me about some specific text in clipboard ... with EXITCODE maybe. Do anybody know such program?

Edited by Greenya
Link to comment
Share on other sites

Hi,

you can get the Clipboard text with the funcs ClipGet and ClipPut.

So long,

Mega

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to comment
Share on other sites

Oh!

Thank you.

How did i missed this function ? :)

Hope this will work better.

Going to replace logic in place on ClipGet() ... and if it will work stable for 6-8 hours ... all wil be OK.

P.S.: because _Clipboard_GetData() crashes in less than an hour (in my script).

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