BinaryBrother Posted July 10 Posted July 10 I have seen this happen in Scite, but this time it happened in VSCode. Anybody know why it's doing this? https://app.screencast.com/MVVLSyjGn2giL SIGNATURE_0X800007D NOT FOUND
Developers Jos Posted July 10 Developers Posted July 10 This being the many generated lines in the output? Which version of Tidy is this?  SciTE4AutoIt3 Full installer Download page  - Beta files    Read before posting   How to post scriptsource   Forum etiquette Forum Rules  Live for the present, Dream of the future, Learn from the past.Â
BinaryBrother Posted July 10 Author Posted July 10 The one built into the latest VSCode with the AutoIt extension by Damien (I'm not sure how to check). I have seen this happen in the past with SciTe, I can't remember exactly what causes it, but if I close and reopen the project everything is fixed, Do you know how I can check the Tidy version in VSCode? SIGNATURE_0X800007D NOT FOUND
Solution argumentum Posted July 10 Solution Posted July 10 17 hours ago, BinaryBrother said: Anybody know why it's doing this? Get the updated one from beta_files ( Tidy.exe ) and that'll fix that. 11 minutes ago, BinaryBrother said: Do you know how I can check the Tidy version in VSCode? I use everything search and that'll tell you  Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
BinaryBrother Posted July 10 Author Posted July 10 (edited) Thanks @argumentum. The VSCode/AutoIt.Damien isn't working exactly right for me... It runs just fine and the errors don't show up in scite. There's nothing wrong, but it's detecting errors. Edit: Relaunching the project folder fixes it. 😕 Edited July 10 by BinaryBrother argumentum 1 SIGNATURE_0X800007D NOT FOUND
Developers Jos Posted July 10 Developers Posted July 10 Tidy is installed by you and the vsc extension is using what is provided by scite4autoit3. Install the latest and you should be fine. SciTE4AutoIt3 Full installer Download page  - Beta files    Read before posting   How to post scriptsource   Forum etiquette Forum Rules  Live for the present, Dream of the future, Learn from the past.Â
argumentum Posted July 10 Posted July 10 1 minute ago, BinaryBrother said: The VSCode/AutoIt.Damien isn't working exactly right for me... Oh, I don't use VSCode. I don't understand it. I'll have to learn to use it but I get freaked out by the extensions that are "not benevolent" so, I'll be away from VSCode until I get the gist of it and feel comfortable that I know what am doing. Am SciTE team only for now. But your question about tidy was simple enough for me so I got to answer, that  Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
BinaryBrother Posted July 10 Author Posted July 10 I've been unable to re-produce the issue since I restarted VSCode. I'm currently running AutoIt v3.3.16.1. SIGNATURE_0X800007D NOT FOUND
BinaryBrother Posted July 10 Author Posted July 10 (edited) 3 minutes ago, argumentum said: Oh, I don't use VSCode. I don't understand it. I'll have to learn to use it but I get freaked out by the extensions that are "not benevolent" so, I'll be away from VSCode until I get the gist of it and feel comfortable that I know what am doing. Am SciTE team only for now. But your question about tidy was simple enough for me so I got to answer, that  VSCode is usually awesome. GitHub Co-Pilot is like cheating. Anything and everything I need is... was... at my fingertips. Now that Co-Pilot went paid, it's not as useful. Once it gets oriented on what you're trying to do, it literally generates large code-blocks of stuff you were just about to write. Edited July 10 by BinaryBrother argumentum 1 SIGNATURE_0X800007D NOT FOUND
argumentum Posted July 10 Posted July 10 11 minutes ago, BinaryBrother said: Edit: Relaunching the project folder fixes it. 😕 2 minutes ago, BinaryBrother said: I've been unable to re-produce the issue since I restarted VSCode. Ok. Good to know. Am sure I'll face those WTFs and thanks to you now know how to go about it. 2 minutes ago, BinaryBrother said: Now that Co-Pilot went paid, it's not as useful. I have my eyes on @ioa747's AI stuff because I'd like to run AI locally. It'd suck if in the middle of depending on an AI service I learn that: "you owe me a zillion dollars" or "to continue insert more coins" or any of what a service may come up with. ioa747 1 Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
BinaryBrother Posted Sunday at 08:51 PM Author Posted Sunday at 08:51 PM (edited) I just interact with different AI's, including DeepSeek, when I run out of these magical coins. 😕 Here's my list, in order. Github Co-Pilot Gemini ChatGPT DeepSeek xAI and Perplexity. Got any coding AIs to share? ChatGPT has a tendency to be more "human", by acting like it knows what you're talking about, when it actually doesn't sometimes. It tries to get to know more about the context and grabs from lower quality sources. Edited Sunday at 09:01 PM by BinaryBrother SIGNATURE_0X800007D NOT FOUND
ioa747 Posted Sunday at 09:08 PM Posted Sunday at 09:08 PM https://duck.ai/ I know that I know nothing
argumentum Posted Sunday at 10:50 PM Posted Sunday at 10:50 PM (edited) 1 hour ago, ioa747 said: https://duck.ai/ Nice !  Spoiler expandcollapse popupThis conversation was generated with Duck.ai (https://duck.ai) using OpenAI's GPT-4o mini Model. AI chats may display inaccurate or offensive information (see https://duckduckgo.com/duckai/privacy-terms for more info). ==================== User prompt 1 of 11 - 7/13/2025, 6:29:55 PM: can you code ? GPT-4o mini: Yes, I can help with coding! Whether you need assistance with writing code, debugging, or understanding programming concepts, feel free to ask your questions or specify what you need help with. -------------------- User prompt 2 of 11 - 7/13/2025, 6:30:38 PM: can you code in AutoIt a CUI to interact with you ? GPT-4o mini: Certainly! Below is a simple example of an AutoIt script that creates a Command User Interface (CUI) to interact with a user. This script will prompt the user for input and then display a response based on that input. ```autoit ; AutoIt CUI Example ; Function to display a welcome message Func WelcomeMessage() ConsoleWrite("Welcome to the AutoIt CUI!" & @CRLF) ConsoleWrite("Type 'exit' to quit." & @CRLF) EndFunc ; Function to process user input Func ProcessInput($input) Switch $input Case "hello" Return "Hello! How can I assist you today?" Case "how are you?" Return "I'm just a program, but I'm here to help you!" Case "what is your name?" Return "I am an AutoIt script designed to interact with you." Case "exit" Return "Goodbye!" Default Return "I'm sorry, I don't understand that." EndSwitch EndFunc ; Main script execution WelcomeMessage() While True ; Prompt user for input ConsoleWrite("You: ") $userInput = ConsoleRead() ; Process the input $response = ProcessInput($userInput) ; Display the response ConsoleWrite("Bot: " & $response & @CRLF) ; Exit the loop if the user types 'exit' If $userInput = "exit" Then ExitLoop EndIf WEnd ``` ### How to Run the Script 1. Install AutoIt from the official website if you haven't already. 2. Open a text editor and copy the script above into it. 3. Save the file with a `.au3` extension (e.g., `CUI.au3`). 4. Right-click the saved file and select "Run Script" to execute it. ### Interaction - Type "hello", "how are you?", or "what is your name?" to see different responses. - Type "exit" to close the program. Feel free to modify the responses or add more commands as needed! If you have specific features in mind, let me know, and I can help you implement them. -------------------- User prompt 3 of 11 - 7/13/2025, 6:31:31 PM: can you code in AutoIt a CUI to interact with you, the AI am chatting with ? GPT-4o mini: Creating a Command User Interface (CUI) in AutoIt that interacts with an AI model like me requires a way to send and receive messages. Since AutoIt does not have built-in capabilities to directly connect to an AI model, you would typically need to use an API to communicate with the AI. However, I can provide you with a basic structure for an AutoIt script that simulates interaction with an AI. This script will allow you to input text and receive predefined responses, mimicking a conversation with an AI. For actual AI interaction, you would need to implement API calls, which would require additional libraries or tools. Here's a simple AutoIt script that simulates a conversation: ```autoit ; AutoIt CUI Example to Simulate Interaction with an AI ; Function to display a welcome message Func WelcomeMessage() ConsoleWrite("Welcome to the AutoIt AI CUI!" & @CRLF) ConsoleWrite("Type 'exit' to quit." & @CRLF) EndFunc ; Function to simulate AI response Func AIResponse($input) ; Simulated responses based on user input Switch $input Case "hello" Return "Hello! How can I assist you today?" Case "how are you?" Return "I'm just a program, but I'm here to help you!" Case "what can you do?" Return "I can answer questions and provide information!" Case "tell me a joke" Return "Why did the scarecrow win an award? Because he was outstanding in his field!" Case "exit" Return "Goodbye!" Default Return "I'm sorry, I don't understand that." EndSwitch EndFunc ; Main script execution WelcomeMessage() While True ; Prompt user for input ConsoleWrite("You: ") $userInput = ConsoleRead() ; Process the input and get AI response $response = AIResponse($userInput) ; Display the response ConsoleWrite("AI: " & $response & @CRLF) ; Exit the loop if the user types 'exit' If $userInput = "exit" Then ExitLoop EndIf WEnd ``` ### How to Run the Script 1. Install AutoIt from the official website if you haven't already. 2. Open a text editor and copy the script above into it. 3. Save the file with a `.au3` extension (e.g., `AI_CUI.au3`). 4. Right-click the saved file and select "Run Script" to execute it. ### Interaction - Type "hello", "how are you?", "what can you do?", or "tell me a joke" to see different responses. - Type "exit" to close the program. ### Note For actual interaction with an AI model, you would need to implement HTTP requests to an AI API (like OpenAI's API) using a library that supports HTTP requests in AutoIt, such as `Inet.au3`. This would involve sending user input to the API and receiving responses, which is more complex and requires handling API keys and responses. If you're interested in that, let me know, and I can guide you further! -------------------- User prompt 4 of 11 - 7/13/2025, 6:33:03 PM: add a fictional function for the HTTP requests, and code it with that in mind :) GPT-4o mini: Sure! Below is an updated version of the AutoIt script that includes a fictional function to simulate making HTTP requests to an AI API. This function will be used to send user input and receive a response, mimicking the interaction with an AI model. Please note that the actual implementation of HTTP requests in AutoIt would require using the `Inet.au3` library, but for this example, I'll create a fictional function called `SendToAI` that simulates this behavior. Here's the updated script: ```autoit ; AutoIt CUI Example to Simulate Interaction with an AI ; Function to display a welcome message Func WelcomeMessage() ConsoleWrite("Welcome to the AutoIt AI CUI!" & @CRLF) ConsoleWrite("Type 'exit' to quit." & @CRLF) EndFunc ; Fictional function to simulate sending a request to an AI API Func SendToAI($input) ; Simulated responses based on user input Switch $input Case "hello" Return "Hello! How can I assist you today?" Case "how are you?" Return "I'm just a program, but I'm here to help you!" Case "what can you do?" Return "I can answer questions and provide information!" Case "tell me a joke" Return "Why did the scarecrow win an award? Because he was outstanding in his field!" Case "exit" Return "Goodbye!" Default Return "I'm sorry, I don't understand that." EndSwitch EndFunc ; Main script execution WelcomeMessage() While True ; Prompt user for input ConsoleWrite("You: ") $userInput = ConsoleRead() ; Simulate sending the input to the AI and getting a response $response = SendToAI($userInput) ; Display the response ConsoleWrite("AI: " & $response & @CRLF) ; Exit the loop if the user types 'exit' If $userInput = "exit" Then ExitLoop EndIf WEnd ``` ### How to Run the Script 1. Install AutoIt from the official website if you haven't already. 2. Open a text editor and copy the script above into it. 3. Save the file with a `.au3` extension (e.g., `AI_CUI.au3`). 4. Right-click the saved file and select "Run Script" to execute it. ### Interaction - Type "hello", "how are you?", "what can you do?", or "tell me a joke" to see different responses. - Type "exit" to close the program. ### Note The `SendToAI` function is a placeholder that simulates the behavior of sending a request to an AI API and receiving a response. In a real-world scenario, you would replace this function with actual HTTP request code using the `Inet.au3` library to interact with an AI service. If you need help with that implementation, feel free to ask! -------------------- User prompt 5 of 11 - 7/13/2025, 6:34:35 PM: The "Fictional function to simulate sending a request to an AI API" returns "Simulated responses based on user input". I'd like the API part of it . GPT-4o mini: To implement actual HTTP requests in AutoIt, you can use the `Inet.au3` library, which provides functions for making HTTP requests. Below is an example of how you can modify the previous script to include a real HTTP request to an AI API. For this example, I'll create a fictional API endpoint and show you how to structure the request. You will need to replace the URL and the API key with actual values if you want to connect to a real AI service like OpenAI. Here's the updated AutoIt script: ```autoit #include <Inet.au3> ; AutoIt CUI Example to Interact with an AI API ; Function to display a welcome message Func WelcomeMessage() ConsoleWrite("Welcome to the AutoIt AI CUI!" & @CRLF) ConsoleWrite("Type 'exit' to quit." & @CRLF) EndFunc ; Function to send a request to an AI API Func SendToAI($input) Local $url = "https://api.example.com/ai" ; Replace with actual API endpoint Local $apiKey = "YOUR_API_KEY" ; Replace with your actual API key Local $headers = "Content-Type: application/json" & @CRLF & "Authorization: Bearer " & $apiKey Local $data = '{"prompt": "' & $input & '", "max_tokens": 50}' ; JSON payload ; Send the HTTP POST request Local $response = InetPost($url, $data, $headers) ; Check for errors If @error Then Return "Error communicating with the AI API." EndIf ; Return the response from the API Return $response EndFunc ; Main script execution WelcomeMessage() While True ; Prompt user for input ConsoleWrite("You: ") $userInput = ConsoleRead() ; Send the input to the AI and get a response $response = SendToAI($userInput) ; Display the response ConsoleWrite("AI: " & $response & @CRLF) ; Exit the loop if the user types 'exit' If $userInput = "exit" Then ExitLoop EndIf WEnd ``` ### How to Run the Script 1. Install AutoIt from the official website if you haven't already. 2. Open a text editor and copy the script above into it. 3. Save the file with a `.au3` extension (e.g., `AI_CUI.au3`). 4. Replace `https://api.example.com/ai` with the actual API endpoint you want to use. 5. Replace `YOUR_API_KEY` with your actual API key. 6. Right-click the saved file and select "Run Script" to execute it. ### Interaction - Type your queries, and the script will send them to the specified AI API. - Type "exit" to close the program. ### Note - The `InetPost` function sends a POST request to the specified URL with the provided data and headers. - The JSON payload structure may vary depending on the API you are using, so make sure to adjust it according to the API documentation. - Ensure that you handle the API responses properly, as the response format may also vary. If you have a specific API in mind or need further assistance with the implementation, feel free to ask! -------------------- User prompt 6 of 11 - 7/13/2025, 6:35:32 PM: yes, the "duckduckgo.com" API GPT-4o mini: To interact with the DuckDuckGo API, you can use their Instant Answer API, which provides a way to get instant answers to queries without needing an API key. Below is an updated AutoIt script that sends a request to the DuckDuckGo API and retrieves the response. Here's how you can implement it: ```autoit #include <Inet.au3> #include <JSON.au3> ; Include JSON library for parsing ; AutoIt CUI Example to Interact with DuckDuckGo API ; Function to display a welcome message Func WelcomeMessage() ConsoleWrite("Welcome to the AutoIt DuckDuckGo CUI!" & @CRLF) ConsoleWrite("Type 'exit' to quit." & @CRLF) EndFunc ; Function to send a request to the DuckDuckGo API Func SendToDuckDuckGo($input) Local $url = "https://api.duckduckgo.com/?q=" & StringReplace($input, " ", "+") & "&format=json&no_redirect=1&no_html=1&skip_disambig=1" ; Send the HTTP GET request Local $response = InetGet($url, $INTERNET_FLAG_NO_CACHE_WRITE) ; Check for errors If @error Then Return "Error communicating with the DuckDuckGo API." EndIf ; Parse the JSON response Local $json = Json_Encode($response) Local $data = Json_Decode($json) ; Check if the response contains an answer If Not IsArray($data) Or Not $data["RelatedTopics"][0]["Text"] Then Return "No relevant information found." EndIf ; Return the first relevant answer Return $data["RelatedTopics"][0]["Text"] EndFunc ; Main script execution WelcomeMessage() While True ; Prompt user for input ConsoleWrite("You: ") $userInput = ConsoleRead() ; Send the input to the DuckDuckGo API and get a response $response = SendToDuckDuckGo($userInput) ; Display the response ConsoleWrite("DuckDuckGo: " & $response & @CRLF) ; Exit the loop if the user types 'exit' If $userInput = "exit" Then ExitLoop EndIf WEnd ``` ### How to Run the Script 1. Install AutoIt from the official website if you haven't already. 2. Open a text editor and copy the script above into it. 3. Save the file with a `.au3` extension (e.g., `DuckDuckGo_CUI.au3`). 4. Make sure you have the JSON UDF (User Defined Function) for AutoIt. You can find it on the AutoIt forums or GitHub. 5. Right-click the saved file and select "Run Script" to execute it. ### Interaction - Type your queries, and the script will send them to the DuckDuckGo API. - Type "exit" to close the program. ### Note - The script constructs a URL for the DuckDuckGo API based on user input and retrieves the response in JSON format. - The response is parsed to extract relevant information, which is then displayed to the user. - Ensure you have the JSON library included in your AutoIt installation to handle JSON parsing. If you have any questions or need further modifications, feel free to ask! -------------------- User prompt 7 of 11 - 7/13/2025, 6:40:00 PM: nice. I get "DuckDuckGo: Error communicating with the DuckDuckGo API." GPT-4o mini: The error message "Error communicating with the DuckDuckGo API" suggests that there might be an issue with the way the request is being made or how the response is being handled. Let's refine the script to ensure it correctly retrieves data from the DuckDuckGo API. Here’s an updated version of the script that includes better error handling and ensures that the response is processed correctly: ```autoit #include <Inet.au3> #include <JSON.au3> ; Include JSON library for parsing ; AutoIt CUI Example to Interact with DuckDuckGo API ; Function to display a welcome message Func WelcomeMessage() ConsoleWrite("Welcome to the AutoIt DuckDuckGo CUI!" & @CRLF) ConsoleWrite("Type 'exit' to quit." & @CRLF) EndFunc ; Function to send a request to the DuckDuckGo API Func SendToDuckDuckGo($input) Local $url = "https://api.duckduckgo.com/?q=" & StringReplace($input, " ", "+") & "&format=json&no_redirect=1&no_html=1&skip_disambig=1" ; Send the HTTP GET request Local $response = InetGet($url, $INTERNET_FLAG_NO_CACHE_WRITE) ; Check for errors If @error Then Return "Error communicating with the DuckDuckGo API." EndIf ; Read the response Local $responseData = FileRead($response) ; Close the response file FileClose($response) ; Parse the JSON response Local $data = Json_Decode($responseData) ; Check if the response contains an answer If Not IsArray($data) Or Not $data["RelatedTopics"][0]["Text"] Then Return "No relevant information found." EndIf ; Return the first relevant answer Return $data["RelatedTopics"][0]["Text"] EndFunc ; Main script execution WelcomeMessage() While True ; Prompt user for input ConsoleWrite("You: ") $userInput = ConsoleRead() ; Send the input to the DuckDuckGo API and get a response $response = SendToDuckDuckGo($userInput) ; Display the response ConsoleWrite("DuckDuckGo: " & $response & @CRLF) ; Exit the loop if the user types 'exit' If $userInput = "exit" Then ExitLoop EndIf WEnd ``` ### Key Changes 1. **Reading the Response**: The script now reads the response data from the file created by `InetGet` using `FileRead()`. 2. **Closing the Response File**: After reading the response, the script closes the file to free up resources. 3. **Error Handling**: The error handling remains in place to catch any issues with the request. ### How to Run the Script 1. Ensure you have the JSON UDF (User Defined Function) for AutoIt included in your project. 2. Save the updated script as `DuckDuckGo_CUI.au3`. 3. Run the script and enter your queries. ### Testing Try entering various queries to see if you get valid responses. If you still encounter issues, please check your internet connection and ensure that the DuckDuckGo API is accessible from your network. If the problem persists, let me know, and we can troubleshoot further! -------------------- User prompt 8 of 11 - 7/13/2025, 6:44:22 PM: You were right in you prior code. I did not supply a question. Thanks :) GPT-4o mini: You're welcome! I'm glad we could clarify that. If you have any more questions or need further assistance with the AutoIt script or anything else, feel free to ask. Happy coding! -------------------- User prompt 9 of 11 - 7/13/2025, 6:46:49 PM: How many questions can I ask each day ? ..or each month !, I don't know GPT-4o mini: There are generally no strict limits on the number of questions you can ask in a day or month when interacting with me. You can ask as many questions as you like! However, if you're using a specific platform or service that has its own limitations (like API usage limits), those would apply. Feel free to ask anything you need help with, whether it's coding, general knowledge, or any other topic! -------------------- User prompt 10 of 11 - 7/13/2025, 6:47:22 PM: Thanks :) GPT-4o mini: You're welcome! If you have any more questions in the future or need assistance with anything else, feel free to reach out. Have a great day! 😊 -------------------- User prompt 11 of 11 - 7/13/2025, 6:54:23 PM: hmmm, how many questions can I ask at DuckDuckGo AI Chat ? GPT-4o mini: DuckDuckGo's AI Chat feature is free to use but does have a daily limit on usage. While the exact number of questions you can ask each day isn't specified, it is designed to prevent abuse and ensure fair access for all users. If you encounter a usage limit, it may be due to the way DuckDuckGo enforces these limits anonymously, especially if you're using a VPN or cellular network. In such cases, switching your network or VPN location might help. Currently, there is no paid plan available to increase the usage limit, but DuckDuckGo has indicated that they may consider this option in the future. If you have more specific questions or need further assistance, feel free to ask! Local input = "How are you ?" ; Send the HTTP GET request Local $url = "https://api.duckduckgo.com/?q=" & StringReplace($input, " ", "+") & "&format=json&no_redirect=1&no_html=1&skip_disambig=1" Local $response = BinaryToString(InetRead($url, 1)) ConsoleWrite(@CRLF & $response & @CRLF & @CRLF) ..very nice ! Edited Sunday at 10:56 PM by argumentum more ioa747 1 Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now