Sign in to follow this  
Followers 0
Ventana

Problem with Clipget()

5 posts in this topic

I', new to Autoit programing and I was playing around with the clipGet() command. No matter what I put on the clip\board I get the following message.

***************************************************************

Line 1 (File "E:\Program Files\AutoIt3\test\test.au3"):

{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\froman\fcharset0 Times New oman;}{\f1\fswiss\fcharset0 Arial;}}

^ ERROR

Error: Unable to parse line.

*****************************************************************

I was using the following exampe code.

$bak = ClipGet()

MsgBox(0, "Clipboard contains:", $bak)

ClipPut($bak & "additional text")

MsgBox(0, "Clipboard contains:", ClipGet())

Share this post


Link to post
Share on other sites



I', new to Autoit programing and I was playing around with the clipGet() command.  No matter what I put on the clip\board I get the following message.

***************************************************************

Line 1  (File "E:\Program Files\AutoIt3\test\test.au3"):

{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\froman\fcharset0 Times New oman;}{\f1\fswiss\fcharset0 Arial;}}

^ ERROR

Error: Unable to parse line.

*****************************************************************

I was using the following exampe code.

$bak = ClipGet()

MsgBox(0, "Clipboard contains:", $bak)

ClipPut($bak & "additional text")

MsgBox(0, "Clipboard contains:", ClipGet())

<{POST_SNAPBACK}>

What editor are you using ?

Looks like a fontsetting to me for WordPad.


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

If you don't want to install any editor, I suggest you use Notepad to edit scripts.

Share this post


Link to post
Share on other sites

Bingo guys. that was it, thanks. gonna load that editor today.

thanks gain.

Share this post


Link to post
Share on other sites

But if you want to download and use Scite from http://www.autoitscript.com/fileman/users/jdeb

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