Jump to content

Problem with Clipget()


Ventana
 Share

Recommended Posts

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())

Link to comment
Share on other sites

  • Developers

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.

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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