Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

How to copy forum thread content


  • Please log in to reply
3 replies to this topic
chopper7726
  • Members
  • 2 posts
  • Last active: May 13 2010 07:32 PM
  • Joined: 13 May 2010
I would like to create a simple script that allows me to copy forum threadwith url link. and paste it to a notepad.
can i do that with AHK?

garry
  • Members
  • 2986 posts
  • Last active: Oct 21 2014 07:47 AM
  • Joined: 19 Apr 2005
example works with firefox
alt+F11 copies marked text /date/url to desktop as date.ahk (see F1=now.ahk or now.txt)
if you're sure code is correct start date.ahk
;----------- ALT+F11 --------------------------------------
$!F11::
F1=%A_NOW%.AHK
P1=%A_Desktop%\%F1%            ;here your path
Formattime,TS,,longdate
Formattime,TT,T12,time
   clipboard=
   Send ^c
   clipwait
   C2:=clipboard
   clipboard=
   send,!s
   send,^c
   clipwait
   C1:=clipboard
FileAppend,`;-------- saved at %TS% %TT% --------------`r`n`;-------- %C1% ---`r`n%C2%`r`n,%P1%
Filegetsize,size1,%P1%
Splashimage,,b w600 h150 x100 Y400 CWsilver m9 b fs10 zh0,Size=%size1%`n%C1%`n%C2%
sleep,990
Splashimage, off
clipboard=
return


chopper7726
  • Members
  • 2 posts
  • Last active: May 13 2010 07:32 PM
  • Joined: 13 May 2010
thank garry
i'll have to study this, ahk is brand new to me

Murx
  • Guests
  • Last active:
  • Joined: --
That? :arrow: http://www.autohotke...topic35338.html