Sign in to follow this  
Followers 0
klaus.s

file list from clipboard

9 posts in this topic

Hello,

how to retrieve a file list from the common Win XP clipboard?

How to call the explorer function "insert shortcut(s)" by script?

Thanks for any advice and code fragements.

-- Klaus

Share this post


Link to post
Share on other sites



see help.. clipget()

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

see help.. clipget()

8)

This applies only for text entries. If files were Ctrl-C'ed, it returns "1".

-- Klaus

Share this post


Link to post
Share on other sites

not on mine

Run("explorer.exe", "", @sw_maximize)
WinWaitActive("")
sleep(100)
MouseClick("left", 600, 600)
sleep(100)
send("^a")
sleep(100)
Send("^c")
sleep(500)
MsgBox(0,0, ClipGet())
Exit

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites

not on mine

Same story on my 2 comps. I use:

v3.1.1

XP home 2002 SP1

What could be wrong here?

-- Klaus

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

Nice one val.. I just always assumed it only worked for text entries.

Posted Image

Help file entry:

ClipGet

--------------------------------------------------------------------------------

Retrieves text from the clipboard.

ClipGet ( )

Parameters

None.

Return Value

Success: Returns a string containing the text on the clipboard.

Failure: Sets @error to 1 if clipboard is empty or contains a non-text entry.

Remarks

None.

Related

ClipPut

Looks like this entry in the help file should be updated.

Edited by Simucal

AutoIt Scripts:Aimbot: Proof of Concept - PixelSearching Aimbot with several search/autoshoot/lock-on techniques.Sliding Toolbar - Add a nice Sliding Toolbar to your next script. Click the link to see an animation of it in action!FontInfo UDF - Get list of system fonts, or search to see if a particular font is installed.Get Extended Property UDF - Retrieve a files extended properties (e.g., video/image dimensions, file version, bitrate of song/video, etc)

Share this post


Link to post
Share on other sites

It works fine with beta, thanks a lot!

-- Klaus

Share this post


Link to post
Share on other sites

I've made a post to see if the dev team thinks we should update the help file also.


AutoIt Scripts:Aimbot: Proof of Concept - PixelSearching Aimbot with several search/autoshoot/lock-on techniques.Sliding Toolbar - Add a nice Sliding Toolbar to your next script. Click the link to see an animation of it in action!FontInfo UDF - Get list of system fonts, or search to see if a particular font is installed.Get Extended Property UDF - Retrieve a files extended properties (e.g., video/image dimensions, file version, bitrate of song/video, etc)

Share this post


Link to post
Share on other sites

I've made a post to see if the dev team thinks we should update the help file also.

Do we get also the information about the type of entry, text or file list?

Special thanks to the developer team

-- Klaus

Share this post


Link to post
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
Sign in to follow this  
Followers 0