Thopaga Posted December 18, 2010 Share Posted December 18, 2010 Hello. I was wondering if someone can help me. Running Windows XP SP3 and get @error=9. What I am doing wrong here? Thanks. #include <Misc.au3> Local $fTest $fTest = _ClipPutFile(@TempDir & "\listsoftware.txt") If Not $fTest Then MsgBox(0,"_ClipPutFile() call Failed","@error = " & @error) Else MsgBox(0,"_ClipPutFile()","Content of Clipboard:" & @CRLF & ClipGet()) EndIf Spoiler Sort a multi-dimensional array with multiple sort columns. Max 9 dimensions. Link to comment Share on other sites More sharing options...
shanet Posted December 18, 2010 Share Posted December 18, 2010 Hello.I was wondering if someone can help me.Running Windows XP SP3 and get @error=9.What I am doing wrong here?Thanks.#include <Misc.au3>Local $fTest$fTest = _ClipPutFile(@TempDir & "\listsoftware.txt")If Not $fTest Then MsgBox(0,"_ClipPutFile() call Failed","@error = " & @error)Else MsgBox(0,"_ClipPutFile()","Content of Clipboard:" & @CRLF & ClipGet())EndIfAccording to another thread, error 9 is GlobalFree Failed. I dont know the answer, but hopefully it can help someone else fix your problem. [font="Comic Sans MS"]My code does not have bugs! It just develops random features.[/font]My Projects[list][*]Live Streaming (Not my project, but my edited version)[right]AutoIt Wrappers![/right][/list]Pure randomness[list][*]Small Minds.......................................................................................................[size="1"]Simple progress bar that changes direction at either sides.[/size][*]ChristmasIt AutoIt Christmas Theme..........................................................[size="1"]I WAS BOOOORED![/size][*]DriveToy..............................................................................................................[size="1"]Simple joke script. Trick your friends into thinking their computer drive is haywire![/size][/list]In Development[list][*]Your Background Task Organiser[*]AInstall Second Generation[/list]BEFORE POSTING ON THE FORUMS, TRY THIS: %programfiles%/AutoIt3/autoit3.chm Link to comment Share on other sites More sharing options...
UEZ Posted December 18, 2010 Share Posted December 18, 2010 Here a workaround / another variant: #Include <Clipboard.au3> _ClipBoard_Open(0) _ClipBoard_Empty() $txt = FileRead(@TempDir & "\listsoftware.txt") _ClipBoard_SetData($txt, $CF_TEXT) _ClipBoard_Close() MsgBox(0,"_ClipPutFile()","Content of Clipboard:" & @CRLF & _ClipBoard_GetData()) Br, UEZ Please don't send me any personal message and ask for support! I will not reply! Selection of finest graphical examples at Codepen.io The own fart smells best! ✌Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!¯\_(ツ)_/¯ ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ Link to comment Share on other sites More sharing options...
Thopaga Posted December 18, 2010 Author Share Posted December 18, 2010 Thanks UEZ, this was great, works like a charm. Thanks also to Shanet and Deathbringer. Deathbringer, that did not work for me though. I really appreciate your kind help. Thanks. Spoiler Sort a multi-dimensional array with multiple sort columns. Max 9 dimensions. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now