Share My Creation Analyse Clipboard and Dragboard Content.

Here are two utility apps that perform very similar functions. One analyses the content types of the clipboard, and the other analyses the content types of the Dragboard.


Useful to find out exactly what data to expect when importing into an app.

External dependencies:

AnalyseClipboard

AnalyseDragboard
The hexview is accessible via context menu on the middle column.

I hope you find these useful, and please report any issues.

Update:
v0.1 fixed bug with form positioning​
 

Attachments

  • ad1.png
    194.9 KB · Views: 159
  • AnalyseClipboard.zip
    11.1 KB · Views: 77
  • AnalyseDragboard.zip
    11 KB · Views: 77
Last edited:

kimstudio

Active Member
Licensed User
Longtime User
This could be very useful to make a knowledge database kind of app, to capture part of interested content from web and save in an organized way in a file.

I tried to capture the first post of this topic and it seems the images can't be downloaded.

Logs:
main$ResumableSub_ListView1_SelectedIndexChanged.resume (java line: 1224)
java.lang.NullPointerException
    at anywheresoftware.b4a.keywords.Common.GetType(Common.java:401)
    at com.stevel05.analyseclipboard.main$ResumableSub_ListView1_SelectedIndexChanged.resume(main.java:1224)
    at com.stevel05.analyseclipboard.main._listview1_selectedindexchanged(main.java:449)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at anywheresoftware.b4a.BA.raiseEvent2(BA.java:111)
    at anywheresoftware.b4a.BA$1.run(BA.java:236)
    at com.sun.javafx.application.PlatformImpl.lambda$null$177(PlatformImpl.java:295)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.javafx.application.PlatformImpl.lambda$runLater$178(PlatformImpl.java:294)
    at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
    at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
    at com.sun.glass.ui.win.WinApplication.lambda$null$152(WinApplication.java:177)
    at java.lang.Thread.run(Thread.java:748)
 

Attachments

  • 屏幕截图 2025-05-13 090811.png
    22.6 KB · Views: 78

stevel05

Expert
Licensed User
Longtime User
I tried to capture the first post of this topic and it seems the images can't be downloaded.
Trying to reproduce the error, how did you capture the clipboard?

I added that error as sometimes, the images returned have no dimensions so the width and height of the image object are 0.

It appears to be that sometimes, when there is more than just the image on the clipboard, the image contained is Null.

I think to do what you want, you would have to check several of the returned mimetypes to see which contains data you are interested in. I don't think you can guarantee the data in the clipboard / dragboard, and certainly not between apps or browsers.
 
Last edited:

aeric

Expert
Licensed User
Longtime User
Reminds me of this
 

kimstudio

Active Member
Licensed User
Longtime User
I just captured part of the first topic you wrote with some text lines and two app images. Maybe due to multiple images.

Regarding the knowledge database app, usually you find some interesting content with some images on web, and you capture only part of the web and copy to the app. On the left part of UI it has a treeview you can define orgranized structure. What I use now is a freeapp called CherryTree which I would recommend for anyone.
 
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…