TheDcoder Posted January 25, 2017 Posted January 25, 2017 Where did you get that example script from? EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion
Dana86 Posted January 25, 2017 Author Posted January 25, 2017 On 1/25/2017 at 7:03 AM, TheDcoder said: Where did you get that example script from? Expand https://www.autoitscript.com/autoit3/docs/functions/HotKeySet.htm
TheDcoder Posted January 25, 2017 Posted January 25, 2017 Did you copy the script from that page? EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion
Dana86 Posted January 25, 2017 Author Posted January 25, 2017 On 1/25/2017 at 7:07 AM, TheDcoder said: Did you copy the script from that page? Expand Yup a direct copy and paste
water Posted January 25, 2017 Posted January 25, 2017 Can you please give us some information about the Windows version and the Browser you use? My UDFs and Tutorials: Reveal hidden contents 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
TheDcoder Posted January 25, 2017 Posted January 25, 2017 Ah! That explains the origin of those invisible characters . Can you try this? Open the AutoIt Helpfile Go to the Index tab and search for "HotKeySet" Open the page and click the "Open script" link Can you run THAT script and see if it works? EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion
Dana86 Posted January 25, 2017 Author Posted January 25, 2017 On 1/25/2017 at 7:10 AM, water said: Can you please give us some information about the Windows version and the Browser you use? Expand latest windows 10 pro Microsoft edge explorer
Dana86 Posted January 25, 2017 Author Posted January 25, 2017 On 1/25/2017 at 7:11 AM, TheDcoder said: Ah! That explains the origin of those invisible characters . Can you try this? Open the AutoIt Helpfile Go to the Index tab and search for "HotKeySet" Open the page and click the "Open script" link Can you run THAT script and see if it works? Expand My Microsoft edge looks different and does not contain that option.
TheDcoder Posted January 25, 2017 Posted January 25, 2017 EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion
water Posted January 25, 2017 Posted January 25, 2017 I run Windows 7 and IE 11. When I copy the example script from the Web help it works without errors. Looks like a problem with Edge Does it work when you first copy the example script to Notepad and from there to SciTE? My UDFs and Tutorials: Reveal hidden contents 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
TheDcoder Posted January 25, 2017 Posted January 25, 2017 On 1/25/2017 at 7:20 AM, water said: Does it work when you first copy the example script to Notepad and from there to SciTE? Expand Or better yet, use the installed example scripts on the computer EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion
water Posted January 25, 2017 Posted January 25, 2017 Why should this be better? The help file for AutoIt is provided in two different ways. IMHO none of them is "better" than the other in this case. My goal here is to get an explanation for this weird behavior with the online help file and Edge. TheDcoder 1 My UDFs and Tutorials: Reveal hidden contents 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
TheDcoder Posted January 25, 2017 Posted January 25, 2017 @water I see your point now EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion
Dana86 Posted January 25, 2017 Author Posted January 25, 2017 On 1/25/2017 at 7:18 AM, TheDcoder said: Expand Kitty Kat you are a Genius! That actually worked! How do I prevent invisible characters from appearing in my code in the future? TheDcoder 1
TheDcoder Posted January 25, 2017 Posted January 25, 2017 On 1/25/2017 at 7:34 AM, Dana86 said: Kitty Kat you are a Genius! Expand My pleasure On 1/25/2017 at 7:34 AM, Dana86 said: How do I prevent invisible characters from appearing in my code in the future? Expand Don't copy code from Edge EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion
Dana86 Posted January 25, 2017 Author Posted January 25, 2017 On 1/25/2017 at 7:35 AM, TheDcoder said: My pleasure Don't copy code from Edge Expand Hmm will it clear itself out if I filter out with notepad? (double copy & paste?)
TheDcoder Posted January 25, 2017 Posted January 25, 2017 Don't know if Notepad filters those characters . EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion
water Posted January 25, 2017 Posted January 25, 2017 I use the Notepad approach to get rid of control characters. Simply give it a try My UDFs and Tutorials: Reveal hidden contents 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
iamtheky Posted January 25, 2017 Posted January 25, 2017 (edited) You can see the  (s) that get carried over in the source of the page. I think the other browsers are smart enough to transform that on the trip, also it seems that providing you text without markup is what the 'popout' functionality existed for. It also seems that as far as the forum is concerned they only exist at the beginning of lines, so removing all leading spaces should also solve any issues. Just make sure you make it all pretty again before you post that WOT anywhere. I'd also like to see the character replacement you tried, because that works like a champ. Binding a hotkey to a _ReplaceAndPaste function might save literally seconds. Edited January 25, 2017 by iamtheky Reveal hidden contents ,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-. |(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/ (_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_) | | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) ( | | | | |)| | \ / | | | | | |)| | `--. | |) \ | | `-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_| '-' '-' (__) (__) (_) (__)
Dana86 Posted January 25, 2017 Author Posted January 25, 2017 (edited) On 1/25/2017 at 7:37 AM, TheDcoder said: Don't know if Notepad filters those characters . Expand This is so creepy, those hidden characters could possibly be used to track Edge users right? Theres no way to reveal these hidden characters in windows 10? Also now I get missing directory problems for some reason... any ideas? Edited January 25, 2017 by Dana86
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