@bebetter said in How to Manage API Key Usage in Multi-Threaded Tasks with BAS:
Can we return the API key back to the resource after finishing a thread?
You don't need it. Just set the usage count of the resource when you create it.
One of my scripts requires clicking a button that ends up copying text into clipboard, I only run it in single thread mode so it's kind of annoying to have it constantly change my clipboards contents. Is there any way to prevent it from copying into my clipboard?
@Rae said in Prevent single thread script from copying to global clipboard?:
One of my scripts requires clicking a button that ends up copying text into clipboard, I only run it in single thread mode so it's kind of annoying to have it constantly change my clipboards contents. Is there any way to prevent it from copying into my clipboard?
No, BAS uses the global (system) clipboard.
@Fox said in Prevent single thread script from copying to global clipboard?:
No, BAS uses the global (system) clipboard.
How to lock clipboard in multi threaded operations?
@rbbxwqtkxb said in Prevent single thread script from copying to global clipboard?:
@Fox said in Prevent single thread script from copying to global clipboard?:
No, BAS uses the global (system) clipboard.
How to lock clipboard in multi threaded operations?
Have a look https://github.com/DirtyHairy/async-mutex
Have you solved clipboard issue on milti threading
Thanks!