Modify ↓
Opened 17 years ago
Closed 17 years ago
#1081 closed Feature Request (Rejected)
Consider this code for include: waiting for the clipboard to fill.
| Reported by: | Owned by: | Gary | |
|---|---|---|---|
| Milestone: | Component: | Standard UDFs | |
| Version: | Severity: | None | |
| Keywords: | clipboard, udfs, wait | Cc: |
Description
This code block clears the clipboard and waits until it is filled again. It may need to be modified to come inline with your standards, this is just one way of doing it.
Seems to be good for core functionality.
Func _Clipboard_Wait()
_ClipBoard_Empty()
$thisClip = 0
While StringLen($thisClip) == 0
Sleep(10)
$hMemory = _ClipBoard_GetDataEx($CF_TEXT)
$tData = DllStructCreate("char Text[32]", $hMemory)
$thisClip = DllStructGetData($tData, "Text")
$hMemory = 0
$tData = 0
WEnd
EndFunc
Attachments (0)
Change History (2)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
| Resolution: | → Rejected |
|---|---|
| Status: | new → closed |
I agree that this doesn't really fit.
Note:
See TracTickets
for help on using tickets.

I don't think this is elegant/usefull code which should be included as standard
because there is more elegant way to do it with clipboard hook.
Look at this post
http://www.autoitscript.com/forum/index.php?showtopic=56158&view=findpost&p=426033