kjactive Posted April 23, 2005 Share Posted April 23, 2005 (edited) I'm working on a small application and can't get Scite to send the current script to clipboard, I know how to send it back - but is this the right way to use clipboard or is there another way to import/export scripts between application and Scite, and how do I get the selected part of the script if posible... I know this is a bit of the line but if any of you autoit'ers can help... Kåre Edited April 23, 2005 by kjactive Au3PP 4.1 - Autoit3 preprocessor, optimize speed, performance to scripts and do executes....[/url]Au3Calibur - Create libraries of commonly used code excerptsWords manipulate UDF, functions that is lent from the rexx language, topics and index file includedCustomDialog UDF to include custom made dialogs like a extended colorpick requester to scripts...[url="ftp://fritidshjemmet.com/Autoit3/SysColor.zip"]SysColor UDF a low level color library to manipulate RGB and Hex values...Shell32 UDF to Automate Windows® operating tasks from native dialog and Wizards browsers... Optimized the CodeWicard with options to generate browser code etc... Link to comment Share on other sites More sharing options...
Developers Jos Posted April 23, 2005 Developers Share Posted April 23, 2005 I'm working on a small application and can't get Scite to send the current script to clipboard, I know how to send it back - but is this the right way to use clipboard or is there another way to import/export scripts between application and Scite, and how do I get the selected part of the script if posible...I know this is a bit of the line but if any of you autoit'ers can help...Kåre <{POST_SNAPBACK}>$(CurrentSelection) will contain the selected text and you can maybe add a LUA script or start a program to puts $(CurrentSelection) onto the clipboard.... 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 More sharing options...
MHz Posted April 23, 2005 Share Posted April 23, 2005 Scite uses "$(FilePath)" for the address to the current file. You could create an Autoit compiled exe, and pass "$(FilePath)" as a switch to it. Maybe add it to Tools, in the menu. Then Autoit could read this file, and ClipPut it into the clipboard. Then, in your application, you could use ClipGet to receive the Clipboard data. 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