26
Post New Requests Here / Req - Clickable Tooltips for Pasting
« on: July 30, 2009, 07:28 PM »
Clickable Tooltips for Pasting
I was hoping tha someone could modify this script to make it so that the tooltips are allowed to paste when they are clicked upon.
The windows key and v key are used to cycle through the entries that were copied earlier. I use this to mainly copy text and rename files easier.
The reason that I use this script as opposed to others is that this script does not steal the focus for renaming files.
I was hoping tha someone could modify this script to make it so that the tooltips are allowed to paste when they are clicked upon.
The windows key and v key are used to cycle through the entries that were copied earlier. I use this to mainly copy text and rename files easier.
The reason that I use this script as opposed to others is that this script does not steal the focus for renaming files.
Code: AutoIt [Select]
- clip_index = 0
- clip_max = 5
- clip_1 = Text
- clip_active = 1
- goto clip_end_label
- OnClipboardChange:
- if clip_active
- addClip(clipboard)
- clip_active = 1
- addClip(text)
- {
- if text =
- local old
- old := clip_%clip_index%
- clip_%clip_index% = %text%
- }
- #V::
- clip_tmp=1
- v_was=1
- loop
- {
- Loop %clip_max%
- {
- element := clip_%index%
- element := ShortenClip(element)
- i1 := A_Index+1
- if element
- }
- res := GetKeyState("LWin","P")+GetKeyState("RWin","P")
- esc__ := GetKeyState("Escape","P")
- res := GetKeyState("V","P")
- loop
- {
- element := clip_%index%
- if element
- }
- v_was := res
- }
- Loop %clip_max%
- {
- i1 := A_Index+1
- }
- clip_active =
- clipboard := clip_%index%
- ShortenClip(text)
- {
- Loop, Parse, text, `n
- {
- out = %out%%outline%`n
- {
- out = %out%.....
- }
- }
- return out
- }
- clip_end_label: