This is almost equivalent to Quit() when waiting for the completion of async functions, and the macro ends immediately.īelow is a sample macro using the fetch function to utilize the OpenAI API. To end the macro after obtaining the return value of the async function, you can specify it as follows: code editor, CSV editor, and large file viewer for Windows. HTTP download also available at fast speeds. This keeps the macro running, allowing you to obtain the return value of the async function. Download Emurasoft EmEditor Professional 23.0.3 Multilingual or any other file from Software category. Before calling the async function, specify the KeepRunning property as follows. In this new version (v23.1), by using the KeepRunning property, it is now possible to wait for the completion of the async function without ending the macro (EmEditor Professional only). Actually, even in v23.0, it was possible to use this method if the built-in Web Browser in EmEditor was displayed, but there was a problem that async functions could not be used if the Web Browser was not displayed. Please see EmEditor v23.0 New Features for details and screenshots. To do this, the fetch function in JavaScript is used, but since this function operates asynchronously, the return value of the function may not be obtained before the macro ends. Thank you for using EmEditor Yutaka Emura. However, customers who have a paid API key for the generated AI site can obtain faster, higher-quality services with more stable operation by directly calling the API. In the previous version (v23.0), we introduced how to access the web page of the generated AI using macros and the built-in Web Browser in EmEditor and obtain various information and services. Today, we are releasing EmEditor v23.1.0.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |