topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • February 16, 2019, 06:11 AM
  • Proudly celebrating 13 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - CodeTRUCKER [ switch to compact view ]

Pages: [1] 2 3 4 5 6 ... 43next
1
Hello,

I read the above post(s) several hours ago and was reminded of a half-decade history of like responses to previous inquiries I have made here in "Cody's House," but was so overwhelmed with such incredible generosity of collegiate level material I was unable to pen any congruent thoughts and am struggling with getting this missive into text. I suspect it will be some days before I can get my wits aligned with the needed understanding. I just wanted to acknowledge your offerings and say thank you.

Take care,
Calvin

PS - I am aware I have a number of other projects I started with the studious assistance here. I have had to overcome some health interruptions. Life goes on and takes us in ways we cannot anticipate. I can't promise I will be able to bring the varied initiatives to fruition in any near term, but I do intend to keep trying.
 

2
4wd,

Thank you for such a comprehensive response. I don't pretend to understand it all at first blush, but I will study, try it and report back if I have any specific questions or (hopefully) to report success. I sometimes have seasons where simple coding is almost incomprehensible and my gimpy noodle has been acting up lately. LOL

Thanks again,
Calvin

3
General Software Discussion / Best Advice for New Python Programmers
« on: January 23, 2019, 01:41 AM »
Hi,

Like the subject says, I am beginning to learn Python. I tried some years ago but got pretty sick and now that I seem to be doing much better I want to try again. I used to be a pretty good COBOL/DB2?CICS and VB4 programmer (read: dinosaur), so I can kind of grasp most of what's going on, but I've forgotten a bunch (probably more than I could relearn). Anyway, if anyone has any specific advice about Python or programming, in general, please share it with me. I know I have to get my own "bloody nose," but I don't want to reinvent the wheel if I can help it.

FYI - I am searching the Internet and other forums for tips, tricks and cautions too, but I like DC. I always have. :)

Thanks for reading,
Calvin

4
No that is not the latest lousy cryptogram. It is kind of a description of what I am looking for.

Here's the deal... I have amassed a huge number (1+TBs) of archive files (zip, rar, 7z, etc.) which I expanded into folders, but failed to properly delete the temporary folders of the same names. Each time I upgraded my offline storage and computers I always said to myself I'd clean up the mess later. Well, I didn't and it's some years since 1996. Yeah, I know a bunch of them won't even work these days, but that is beside the point.

Can anyone direct me to a special duplicate file/folder finder which will ignore the extension? One which will find the folder name which matches the archive name? Once I can make sure I have the archive file then I can delete the expanded folder. I'm anticipating it will reduce my volume by 60-80 percent (best guess) which will also greatly reduce my disk maintenance and defrag time.

Any ideas?

Thanks for reading. :)
Calvin

 

5
The good news is your flight simulator mathematics will be fast, and c++ would be the language of choice for doing hardcore simulations where mathematical calculations need to be done as quickly as possible.
The bad news is you've made your job a lot harder, and you've already bitten off more than almost anyone can chew.
I agree this is a tough road and I am over my head, but C++ is the tool my mentor wants to use to program the DLLs/apps to use with the Microsoft Flight Simulator X.  With his help and a template he has helped me code a function which holds a floatplane/seaplane/amphibian locked in one position next to a dock (docking) and pivoting like when a floatplane/seaplane/amphibian is anchored offshore.  He did most of the coding for locking to a location, but left me to take a crack at coding locking the heading as well and it worked!  There is A LOT I don't know, but at least I have had a successful start.  FWIW - I won't be coding any 3D graphics, so at least it will be a little less complicated.  We'll see?  In the meantime, I have not done any coding on my text-based flightsim.  I have only been planning, per your encouragement.  Based on that rough sketch I will probably not have any kind of real prototype until next summer, but I should have a simple, linear, basic alpha before the end of the year.  Here's hoping!  :)

6
Thanks for the links Wraith!  They look pretty good.  :Thmbsup:

7
UPDATE:  Turns out another project I need to do requires C++, so a pointing I will go. 
The good news is a 24-year-old C++ guru wants to re-mentor this old COBOL/CICS dinosaur. :)
Now all I have to do is find some ancillary coding tutorial.  Did I mention he wants to mentor, not babysit?   ;D  FYI - my IDE is VS2015 Pro.

8
...
Just be prepared for a struggle whenever you start to learn a new language.
Roger that.  Thanks.

9
...
I think the only strong recommendation I would make is to use an OOP language.
Python fills this bill, does it not?  Ha!  Funny thing is I have always wanted a project that would be a good one for Python. :)

10
Hey Mouser!

Long time no talk to! I thought I got lost or something because I tried to login two or three times and was "blocked."  I almost didn't try tonight.  I'm glad I did. :) 

I think no matter what it will be an interesting and challenging project. 
Thanks for the input.  One of the best things about this project is I can focus on my strengths of over 2000 hours of simulated flying in all kinds of aircraft and several hours in a number of real aircraft large and small.

As for the best programming language -- one of the other nice things about doing text-based coding is that you can use almost any programming language.. speed won't be an issue and neither will library support, etc.
I was hoping someone would say this.

So I would fall back on my default language suggestion these days to use Python
Thanks.  Python never crossed my mind, although I played with it some years ago.

But mainly I would suggest you do most of your coding virtually in the form of planning before you ever start coding.
When I was coding COBOL, DB2, and (my favorite) CICS back in the '90s it was normal to spend weeks/months in planning and prototype before committing hours to coding.  Today, a programmer can get instant results and debug.  Back then we condsidered getting our printouts (there were no screen views) in under four hours as something short of a miracle.  But, that was a good thing as we really thought through the whole process and not just take a guess and see how it worked out.  LOL

11
Hi,

Been awhile since I have been in the coding environment.  Due to my vision getting worse I am interested in taking my hobby of flight simulation from the GUI to the Command Line.

The program will involve physics, time and an internal 3D "space."  Essentially, the screen would present a list of information, the "pilot" would make a selection then process the choices and present the new information back on the screen.  While this would probably not serve inexperienced sim flyers, it would be usable for experienced pilots both real and simulated.  With the addition of text-to-speech and speech-to-text, I can see someone who knows aviation might enjoy "flying" while driving over a long distance.  I know I would.  Obviously, this might allow sight-challenged people to enjoy some aspects of flight simulation.

Frankly, this is going to be lots of work to start with and will only become more involved as more realism, features and (hopefully) interactive Air Traffic Control.  This is why I would be very appreciative of any comments for the coding language.  Questions are most welcome.

Thanks,
Calvin

12
@MilesAhead - Thanks for that heads-up.  It looks like a good resource, but I probably need to learn AHK better so I can ask intelligent questions.

They have no problem helping newbs to the language.  About the only things that annoy the regulars there are things like saying "it doesn't work" without telling what happens when it doesn't work or "I get errors" without specifying the errors, or refusal to post a test case that shows the problem.

Everyone has a bit of trouble with AHK syntax when starting out since it mixes old and new syntax styles.

But in any case it's up to you.  :)


Thanks for that.  I'll keep your words in mind. 
 

13
@MilesAhead - Thanks for that heads-up.  It looks like a good resource, but I probably need to learn AHK better so I can ask intelligent questions.

@wraith808 - I appreciate your work on our efforts.  Fortunately, I have a usable workaround with the Desktop Coral/Notezilla/AHK combo, so we can take some time.  Frankly, I have a bit of a gimpy noodle and am somewhat overwhelmed trying to keep the AHK code straight in my mind.  Overload!  I will report back after awhile, hopefully with a solution. 

14
http://ahkscript.org...ands/WinGetClass.htm

It looks like it's the active window for that one declaration.  You can use the window title or text to get it also.

Thanks.  I'll work with it and see what I can make happen.  I will report back once I have something figured out.

15
Unfortunately, that code will only give the class of the active window which can only be a folder or the Desktop.  I will be researching how to read the class of desired "active" window instead.

@MilesAhead - I might be able to use the existing script if I can make it Always-On-Top.  How can I do that?


16
Just uploaded a new version of TextOverlayTool that might solve your problem.  Again, it depends on whether your application is Full Screen, or Full Screen Windowed.  If it's full screen, it would require a lot of low level coding and display via the mechanism it is using to draw, i.e. OpenGL or DirectX.  If it's fullscreen windowed, this should work.

Not working yet, but is the ahk_class, "TextOverlayToolView" or something else?  The "TextOverlayToolView" as ahk_class does not work.


17
Just uploaded a new version of TextOverlayTool that might solve your problem.  Again, it depends on whether your application is Full Screen, or Full Screen Windowed.  If it's full screen, it would require a lot of low level coding and display via the mechanism it is using to draw, i.e. OpenGL or DirectX.  If it's fullscreen windowed, this should work.

I mentioned above I cannot use Full Screen.  I can only use windowed mode, so you're safe there.  I'll give it a test and report back.  Thanks.

18
FloatingWords has been my goto StickyNote thing. but it's definitely more intrusive than you want.
This is a great idea and may solve my problem of needing a constant reminder of Keys and Commands while playing a game. Thanks!

wyrwolf, you may want to take a look at this... Run two instances of desktop coral?.

19
DesktopCoral / Re: Usefullness
« on: September 15, 2015, 08:05 PM »
...
i knew there was a reason i couldn't find it in the dictionary...
yes it should be Corral.
_________
I thought you'd named it Coral because it formed a barrier like a coral reef. Who knew?

Coral is also a beautiful and stable entity which lives under the surface.   :D

20
Good call, April!
Thanks.


So, was that the issue?

I haven't been able to test extensively, but the testing I have done has not deleted my checklist/note yet.  Besides, it makes sense.  I have been hitting the "X" thinking it was a "Close" button like you surmised.  I am glad you pointed me to it.  Also, with your explanation I have been able to identify the "random" behavior.  What was happening has been my random choice to open Notezilla (and therefore the checklist note) versus letting the automation handle it.  I have been unwittingly deleting the checklist.  The good news is Notezilla does not have this "bug."  I thought my report was strange given the stability and popularity of the app.

Obviously, I haven't read the manual yet, but will do so as I need to discover the yet unknown capabilities.  My apologies to Conceptworld and y'all for the inconvenience of a "false positive."


21
Good call, April!
Thanks.

22
FYI - Notezilla just opened and no longer had my checklist.  It deleted it again.  :(
Maybe I am doing something wrong to trigger this behavior, but I don't know what it would be. 
I will work with the Conceptworld support from this point forward.

@Gautam - Email sent.

23
...
Is your flight simulator running in windowed full screen?  If it's not, I'm not sure that I'll be able to get on top of that... you might look at borderless gaming to see if you can get it windowed with the same effect that you want.

https://github.com/C...sa/Borderless-Gaming

https://steamcommuni.../535151589899658778/

I have a couple of games that can go fullscreen rather than windowed full screen.  I'll check with that.

Enter a new wrinkle...
I cannot get my flightsim to go fullscreen.  It just continues to flash on and off.  I thought it might have been in a tug-of-war with Desktop Coral since it would take up all screen real estate, but it flashes even when Desktop Coral is not running.  This is squarely in my court as I wouldn't expect y'all to troubleshoot my flightsim installation nor my PC.  Unfortunately, this means I cannot run my flightsim in fullscreen.  I have to run it in either a max or normal window.  The good news is Desktop Coral and my flightsim (in windowed mode) do play nicely together which allows TextOverlayTool to reside at bottom of my screen under the flightsim window just like Notezilla did when it was working. 

However, I have not been able to get the AHK script to trap the DOWNARROW with...
...ahk_class TextOverlayToolView
that was stated previously or what WindowSpy defined...
...ahk_class HwndWrapper[TextOverlayTool.exe;;18b747ee-4167-4956-a02a-3c39195647fb]

Could there be a different class definition?

24
Hello @CodeTrucker, please do email us at [email protected] if you encountered any issues with Notezilla. We will be happy to help you.

Regards,
Gautam Jain

Hello Gautam,

Thank you for the offer.  I will be in contact soon once I can establish a more controlled environment on my PC.  I have had a number of programs running alongside Notezilla.

25
TextFileOverlay has been updated.  The same link from above should work to get it, or http://bit.ly/TextOverlayTool

I tested it with your text file, and it worked fine.

Let me know if there are any other problems!

Hi wraith808,

It works well with Desktop Corral, but without it the "Always on Top" is not working AFAICT.  At least it will not remain on top of the flight simulator window.

If you want to add some things to your app you could add these features...
  • The ability to change font color (or tell me where I can find the setting).
  • The ability to change the font size.  I use 12, 14 and 16 in my other programs I use.
  • The ability to hide the titlebar
  • Perhaps move the settings/options menu to a right-click.
  • Add more transparency levels.

That's my wishlist so far, but feel free to include/exclude whatever you like.

Thanks.

Pages: [1] 2 3 4 5 6 ... 43next