Leaderboard
Popular Content
Showing content with the highest reputation on 06/11/2021 in all areas
-
@TheXman That is a perfect analogy and that is exactly what happens in education on a regular basis. New curriculum, new textbooks, new research on brain development, new bosses, new parents, new exams, etc. It is a constant source of frustration, for sure. So, I get your point. It's a great point you make about cleaning up the data versus learning. It is always a balance of making a pragmatic choice of just getting the task done (short-term) versus putting in a little bit more time to understand and learn something that may be more powerful (long-term). It's tough to know how to balance that. It's also tough to know as the person learning it, how long will it take to learn this? Obviously, I don't know that answer until after I've learned it. At first, it seems simple. A few lines of code, a few parameters and so I say, let's give this a try. Then it ends up going down a rabbit hole and you're more confused in the end than you were in the beginning, but you've learned a few cool tricks along the way. I recognize your point to be true and valid. It's just tough to know ahead of time. I would like to comment on my experience learning so far. Sometimes when I ask for help, the person that does the helping is quick to give a final solution. And, I can learn for that because you see a model of how to do it correctly and can make some inferences about it. Other times though, the person helping doesn't want to give you the final solution. They expect you as the person asking the question, learn on your own how to do it, but they will give you a nudge in the right direction. Both styles of helpers are useful. Both are necessary. Both provide something different to the end-user (the learner). What is tough as the person asking the initial question (the learner), is you don't know in a forum, what kind of person is going to answer you. In a formal classroom, you get to know the teacher and know their expectations and how they may/may not help you. In a forum, that's different. You don't know who is going to help. I love the AutoIt forums, because the community is so willing to help, even if the questions extend past strictly AutoIt types of questions. But still, the uncertainty for the learner still remains. That makes it tough for the learner, because how then do they know how to ask the question? Should they ask a short and tidy question that someone might be more willing to answer? Or, do they lay out the entire scope of the project (the best they know how) and risk not getting any/little help at all, because someone will interpret is as them wanting to have someone else do all the work for them? All of that to say, even if our intentions are the best, it may still be interpreted as lazy, incompetent, or trying to take advantage of someone else. I can't speak for everybody, only myself. But, I both want to learn, get the task(s) done, and be a viable member of this lovely community. Thanks again for everything.2 points
-
Creating a dynamic soft phone with a hardware interface
Xandy reacted to ViciousXUSMC for a topic
The software itself already has a nice GUI, that's why this entire thing is redicioulous lol.1 point -
Creating a dynamic soft phone with a hardware interface
FrancescoDiMuro reacted to TheXman for a topic
Is having an external hardware solution a necessity? If not, depending on the VoIP client software being used, you could create a simple small GUI, that runs in the background, pops up on the screen when a call is received, and allows the user to hit a Answer/Decline/End call button. Based on the GUI button that is pressed, you could trigger the appropriate VoIP client action through an API or using UI automation functions. If I read correctly, your client uses Cisco's Jabber. Jabber has an SDK which means that you probably can do all of the things that you need to do using an AutoIt script and interfaces developed with the SDK.1 point -
@TheXman I totally appreciate your position. While I am trying to learn, I am also solving a real world problem. Or maybe better stated, trying to solve a real world problem is forcing me to learn something new (RegEx) and I am trying to take on that challenge. Since my profession is teaching, I probably forget how it can be frustrating for others when there is a moving target; whereas for me, that is my entire existence as a teacher. Even though the subject matter is the same every year, when you're faced with a classroom of 30 eight-year olds, I have to find multiple ways to explain the subject matter because every kid has a different starting point and their minds works differently. Some understand it quicker than others. And sometimes the subject matter takes us to unexpected places. When we were talking about dying stars, one student asked me, "If all stars die, then why do people tell us to wish up on a star?" All of that to say, sorry if I did not anticipate how frustrating it could be to try and solve a moving target. Futhermore, I understand your position in "not doing it for the likes." As a teacher you don't get into this job for the likes, because they are few. And you certainly don't get into teaching for the money, because there is none. You get into teaching, because you hope you can make a better future for the children in front of you. Thank you again for your time and patience.1 point
-
Shorten Web File Name - path too long
TheSaint reacted to JockoDundee for a topic
That might be true, but before we really push the issue, let’s appreciate the degree of cognitive dissonance that any one of us might feel had we been the one to just have whipped out some piece of slick code; and were joyfully expecting to do battle over exactly how slick it was; when to our surprise we are presented with various trivial but possibly viable solutions, which, even if ultimately found wanting, will substantially delay the start of our debate on code slickness. After all this is not General Help, but Example Scripts; and surely if the illustrative code that has been presented is scrutinized for any period of time, we shall find ample fodder for an opening salvo - the likes of which the OP has been ready and waiting to return fire for some time now1 point -
Shorten Web File Name - path too long
TheSaint reacted to JockoDundee for a topic
_Singleton("shorten-web-filename-thsaint") Even thsaint himself cannot escape the dreaded shortener1 point -
Shorten Web File Name - path too long
JockoDundee reacted to TheSaint for a topic
@TheDcoder - Surely you remember that was quite a while ago, and when I was still using Firefox, which wasn't saving web pages properly. I am using Brave now, have been for ages, and it saves web pages properly ... this path issue aside. That Firefox addon worked as a solution, but it was quite painful to use, so no, I never even considered using it, especially as I am not looking for another way to save web pages, and the path issue doesn't come up very often. My preference is to always go vanilla unless I have a good enough reason not to. The less addons the better ... that's if that one is even available for a Chrome clone.1 point -
Shorten Web File Name - path too long
JockoDundee reacted to TheDcoder for a topic
@TheSaint I know that you have used an addon called "SingleFile" in the past, and you probably considered it for this issue, but can you share the reason why you didn't choose to use that to solve the issue? And with my limited experience, it also does a better job of preservation than the native "save page" option by embedding all media into the same HTML file.1 point -
Using RegEx to remove the first two characters
Professor_Bernd reacted to TheXman for a topic
@JockoDundee I don't help people for "Likes". I couldn't care less about receiving "Likes" or even being liked. However, it is nice to know that ones efforts are appreciated. Therefore, a simple written thanks (not the icon) will suffice. Please don't misunderstand, I gladly accept "Likes" or "Thanks" as a token of appreciation. It's just that to me, there's no difference between a "Like" and someone simply writing thanks. For some, how many "Likes" they can rack up is a competition or some sort of badge of honor. My point is that I'm not one of those people.1 point -
1 point
-
I have no patience for chasing moving targets. If you have an ultimate goal in mind, then explain the whole thing in detail, not a piece at a time. Explaining it a piece at a time makes me think that you don't have a well thought out plan and that you are doing whatever it is you are trying to do on-the-fly. It's also a tactic sometimes used by lazy people that are trying to not-so-slyly get others to do their work for them. In either case, as far as I'm concerned, that would be a waste of my time and theirs. If you would rather do it a piece-at-a-time, that's fine. It just won't be with my continued help because I won't willingly allow anyone to waste my time. Also, as I suggested previously, you should provide comprehensive test data and you should also show what the expected results should be for the data that you supply. Doing so removes some of the guess-work that exists when you don't fully and accurately explain the help that you need It also forces you to better understand and describe what the problem is, the help that you require, and maybe even catch errors before asking for help. First your test data was 9 bytes long, Now your test data is 7 & 8 bytes long, with no 9 byte strings. Some of the patterns that you say you are looking for don't even exist within the supplied test data. i.e. "Replace leading 12 with 2". There are no strings with a leading "12". You also say that you want to "replace 12 with 2" but your regex is looking for "22" and not "12". The last StringRegExpReplace() doesn't even include the pattern! It doesn't even look like you are trying.1 point
-
Shorten Web File Name - path too long
coffeeturtle reacted to Exit for a topic
or just enable long pathnames Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem] "LongPathsEnabled"=dword:000000011 point -
EasyCodeIt - cross-platform AutoIt implementation
Skysnake reacted to JockoDundee for a topic
Now that’s impressive! Developers can be like electric guitar shredders, producing a dazzling but often ego-driven performance. And everyone wants to be one. Good QA people are like bassists, committed to the groove, listening to the other players. And so hard to find a good one!1 point -
#AutoIt3Wrapper_Change2CUI=y #include <string.au3> For $i = 1 to 79 $part1 = _StringRepeat(Chr(219), $i) $part2 = _StringRepeat(Chr(177), 79 - $i) ConsoleWrite(@CR & $part1 & $part2) Sleep(50) Next ; uncomment this if you want to preserve finished progressbar ;~ ConsoleWrite(@CRLF & "DONE!") ; comment this if you want to preserve finished progressbar ConsoleWrite(@CR & _StringRepeat(' ', 79)) ConsoleWrite(@CR & "DONE!")1 point
-
Thank you M23. I was out for some years, but i have missed AutoIT. Getting slowly back in the game. Keep up the good work.1 point