Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Cant see any functionality in Game.SetClipboardText

Featured Replies

Game.SetClipboardText does nothing afai can see.

I have been able to set a string in all other chrome-components, but Game.SetClipboardText is empty
GetClipboardText will also no do anything so It is definitively not windows-clipboard that is addressed.
This
                            String st = purpCar.LicensePlate;
                            Game.LogTrivial("@@@@@@@@@ Scannet: "+st);//yes
                            Game.DisplaySubtitle("~b~scan attempted "+st, 8000); //Yes
                            Game.DisplayNotification(st);//yes
                            Game.SetClipboardText(st);//no


is meant to be a licence-plate scan. I hope i can avoid having to type inside computer-component:
unknown.png

The scan should then be posting-able .. i hoped
(What btw is the component in the image named) -But i cant get SetClipboardText to hold any string 
Is it defect, or am i using wrong?

See my plugin here:
https://www.youtube.com/watch?v=peqSXuTfIyY

Let me know if you find it interesting.
Best Regards.

  • Author
43 minutes ago, LMS said:

Those functions refer to the Windows clipboard.

Ratch.. it does, but 😕
Well then its a dev thingie, a way to get in-game text out to a windows-text-editor.
Really difficult to see when that is needed.
I You or anyone else knows the name of the "police computer-gadget"  or the "Police-radio-gadget" (even though that is programmed to make fails..) i would appreciate it posted here. Even The class name of this component would be helpful, because then i can start going through them one by one.

See my plugin here:
https://www.youtube.com/watch?v=peqSXuTfIyY

Let me know if you find it interesting.
Best Regards.

  • Management Team

The upper part of the component is done using the DISPLAY_ONSCREEN_KEYBOARD native. The bottom part is custom rendering by LSPDFR, no pre-defined component.

Please do not PM me unless really necessary (knowing you helps). If you think you need my attention in a topic, tag me.

  • Author
9 hours ago, LMS said:

The upper part of the component is done using the DISPLAY_ONSCREEN_KEYBOARD native. The bottom part is custom rendering by LSPDFR, no pre-defined component.

Many thanks for explaining. Guess i have to shelf licence-plate-scanner.
I have made a DisplaySubtitle() with the info, and let it stay up for enough time to type it into "police computer". That 'works', it just clunky and not streamlined 🙂

See my plugin here:
https://www.youtube.com/watch?v=peqSXuTfIyY

Let me know if you find it interesting.
Best Regards.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.