#1
|
|||
|
|||
Clipboard-Inhalt im Script lesen
Gibt es Script-Befehle, mit denen man den Inhalt des Clipboards in einen String speichern kann?
|
#2
|
||||
|
||||
sorry I don't see a trigger for clipboard, nor access within script help either. Not sure that we would add such a function, this is really up to Appwork. Please wait for response from coalado or jiaz
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#3
|
|||
|
|||
Quote:
Method: job.text |
#4
|
||||
|
||||
@mgpai
does that work 100% time or just for crawlers (decrypter/linkcrawlerrule)? I assumed it wouldn't cover hoster link.
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#5
|
|||
|
|||
Quote:
Other object methods can be used to fitler by origin, source url etc., depending on what the user wants to acheive. For e.g. if the user wants to store/use only the text which has been copied to the clipboard, the following condition can be used: Code:
job.origin == "CLIPBOARD" |
#6
|
||||
|
||||
@Tedolly
Bitte mgpai's Posts beachten. Schönes Wochenende! @mgpai Thx! Have a nice weekend! Grüße, psp
__________________
JD Supporter, Plugin Dev. & Community Manager
Erste Schritte & Tutorials || JDownloader 2 Setup Download |
#7
|
||||
|
||||
thx
Yah I gathered about the object methods, though assumed he wanted access to the entire clipboard body regardless of how it was triggered (decrypter(crawler)/hoster)
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
#8
|
|||
|
|||
Quote:
I want monitor the clipboard for filenames (I copy this name to CB). Then I want save this filename in a string. If then follows an URL (I copy this name to CB), then it was listed in the link-collector. This item I want rename in a special way. To do this, I need the earlier founded filename in the clipboard. Can anyone understand my wonderfull english? |
#9
|
||||
|
||||
@tedolly
better off just changing the plugin source code, adapt it to your needs. way less messy.
__________________
raztoki @ jDownloader reporter/developer http://svn.jdownloader.org/users/170 Don't fight the system, use it to your advantage. :] |
|
|