Jump to content

Copying to clipboard with autoitx


tutor2000
 Share

Recommended Posts

Aloha gang;

Since I brought it up and with your help figured it out

Here you go for what it's It copies a texbox area to the clipboard I don't know how you do those code boxes yet

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

'in the head

<HTML>

<head>

<script LANGUAGE="VBScript">

<!--

Set oAutoIt = CreateObject("AutoItX.Control")

Set oAutoIt3 = CreateObject("AutoItX3.Control")

'Don't forget to install whichever you decide to use

'runwait("regsvr32 "&$LocalPath&"\modules\AutoItX.dll /s")

'runwait("regsvr32 "&$LocalPath&"\modules\AutoItX3.dll /s")

sub DeletePaths_onclick

oAutoit.ClipPut("")

oAutoit.sleep 1000

oAutoit.ClipPut(document.DeletePaths.SavePathsFile.Value)

end sub

-->

</SCRIPT>

'in the body

</head>

<body>

<FORM NAME="DeletePaths" ACTION="./ ">

<center>

<p><textarea name="SavePathsFile" cols="60" rows="50">savepathshere</textarea>

<P></SELECT><INPUT TYPE=BUTTON NAME="DeletePaths" VALUE="Delete Paths" STYLE="width: 0.52in; height: 0.25in">

</P>

The area is to delete your paths only. It's more accurate to use the custom name above which will add the new path

</FORM>

<P><A HREF="../WorkOutTimerDirections.html" TARGET="_blank"><SPAN STYLE="background: #ffff00"><B>Directions

Order and Reseller Information</B></SPAN></A></P>

<P><BR><BR>

</P>

</BODY>

</HTML>

Enjoy

Rick

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