applescript - Running a block of code in the background of AppleScriptObjC app? -


is possible have block of code running or 'repeating' in applescriptobjc, whilst rest of script still active? i've got block of code want repeat in background checks see if folder exists , creates if doesn't, if set repeat indefinitely lose ability access other buttons , code blocks in app?

apologies if there isn't enough info here or it's bit confusing!

i'd create repeating nstimer check @ specified interval. avoid blocking main thread.

depending on app, perhaps check existence of folder , create in time, when have need it.


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -