apitos Posted October 28, 2020 Share Posted October 28, 2020 Hi all, Why can't I write the minus (-) or the plus sign (+) in the AutoIt code editor ? Thanks. Link to comment Share on other sites More sharing options...
water Posted October 28, 2020 Share Posted October 28, 2020 Your question is too unspecific. Can you please post the code you are talking about? My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki Link to comment Share on other sites More sharing options...
Musashi Posted October 28, 2020 Share Posted October 28, 2020 16 minutes ago, apitos said: Why can't I write the minus (-) or the plus sign (+) in the AutoIt code editor ? Local $iValue1 = -12, $iValue2 = +10, $iResult $iResult = $iValue1 * $iValue2 ConsoleWrite("Result = " & $iResult & @CRLF) "In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move." Link to comment Share on other sites More sharing options...
apitos Posted October 28, 2020 Author Share Posted October 28, 2020 (edited) Hi water, If I want to write this line: ; -------------------------------------------------- or $counter +=1 You must enter the ";" then the sign "-". Okay ! The AutoIt editor does not allow me to type the "-" or "+" signs : https://streamable.com/95po98 Edit : Hi Musashi Edited October 28, 2020 by apitos Link to comment Share on other sites More sharing options...
water Posted October 28, 2020 Share Posted October 28, 2020 Have you installed the full SciTE editor or just AutoIt with the stripped down editor? My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki Link to comment Share on other sites More sharing options...
apitos Posted October 28, 2020 Author Share Posted October 28, 2020 Here is the version of SciTE : Link to comment Share on other sites More sharing options...
caramen Posted October 28, 2020 Share Posted October 28, 2020 (edited) If you're using + - from the numeric keypad. It will react the way you're talking about. You could just use the + and - from the keys above [TY] and [^$] It will react as you want. It can be a bit messy on laptop. Not sure if it's AZERTY reaction, because I'm french too and it always did that. Not an issue for me. It is doing this with SciTE normal and SciTE full with all extension. Edited October 28, 2020 by caramen apitos and Musashi 1 1 My video tutorials : ( In construction ) || My Discord : https://discord.gg/S9AnwHw How to Ask Help || UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote Spoiler Water's UDFs:Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - Wiki Tutorials:ADO - Wiki Link to comment Share on other sites More sharing options...
water Posted October 28, 2020 Share Posted October 28, 2020 What is your keyboard layout setting? Mine is 00000407 for German My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki Link to comment Share on other sites More sharing options...
Musashi Posted October 28, 2020 Share Posted October 28, 2020 The hint from @caramen is correct. Now I understand the problem. The minus sign from the NUM block is used to comment a line in or out. I haven't even thought about this issue, because I've been using it for ages . apitos 1 "In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move." Link to comment Share on other sites More sharing options...
caramen Posted October 28, 2020 Share Posted October 28, 2020 Our is 40c at the end. My video tutorials : ( In construction ) || My Discord : https://discord.gg/S9AnwHw How to Ask Help || UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote Spoiler Water's UDFs:Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - Wiki Tutorials:ADO - Wiki Link to comment Share on other sites More sharing options...
caramen Posted October 28, 2020 Share Posted October 28, 2020 1 minute ago, Musashi said: NUM block is used to comment a line I use it as shortcut since I learn AutoIT... My video tutorials : ( In construction ) || My Discord : https://discord.gg/S9AnwHw How to Ask Help || UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote Spoiler Water's UDFs:Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - Wiki Tutorials:ADO - Wiki Link to comment Share on other sites More sharing options...
apitos Posted October 28, 2020 Author Share Posted October 28, 2020 2 minutes ago, water said: What is your keyboard layout setting? 0x0000040c French 16 minutes ago, caramen said: You could just use the + and - from the keys above [TY] and [^$] It will react as you want. For the minus sign above [TY], it's OK. But for [^ $], it gives "=" on my keyboard. When I did Shift + [^ $], it gives "+"So, I tried Shift + "-" and Shift + "+" from the numeric keypad and it works great. Link to comment Share on other sites More sharing options...
water Posted October 28, 2020 Share Posted October 28, 2020 This means: Problem solved? My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki Link to comment Share on other sites More sharing options...
apitos Posted October 28, 2020 Author Share Posted October 28, 2020 11 minutes ago, caramen said: I use it as shortcut since I learn AutoIT... More explanation please? Link to comment Share on other sites More sharing options...
caramen Posted October 28, 2020 Share Posted October 28, 2020 I mean it work like that since I started to use AutoIt, so I thought it was a normal behavior. So for me the keypad - is the shortcut to comment sometime. But I prefer use CTRL + Q it is doing same. The + from keypad is the "shortcut" to toggle the current fold. About the + + maj When you do a + with keys above letters you have to push maj in 040c. So nothing shock me until now. My video tutorials : ( In construction ) || My Discord : https://discord.gg/S9AnwHw How to Ask Help || UIAutomation From Junkew || WebDriver From Danp2 || And Water's UDFs in the Quote Spoiler Water's UDFs:Active Directory (NEW 2018-10-19 - Version 1.4.10.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX (2018-10-31 - Version 1.3.4.1) - Download - General Help & Support - Example Scripts - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsPowerPoint (2017-06-06 - Version 0.0.5.0) - Download - General Help & SupportExcel - Example Scripts - WikiWord - Wiki Tutorials:ADO - Wiki Link to comment Share on other sites More sharing options...
apitos Posted October 28, 2020 Author Share Posted October 28, 2020 thanks for the tip 🖕 caramen 1 Link to comment Share on other sites More sharing options...
apitos Posted October 28, 2020 Author Share Posted October 28, 2020 23 minutes ago, water said: This means: Problem solved? Yes, thanks 😀 Link to comment Share on other sites More sharing options...
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