Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • December 09, 2016, 07:16:00 PM
  • Proudly celebrating 10 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

Last post Author Topic: Looking for White-on-Black or Transparent Menu-Less Text Displayer  (Read 6851 times)

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,290
    • View Profile
    • Miles Ahead Software
    • Donate to Member
Re: Looking for White-on-Black or Transparent Menu-Less Text Displayer
« Reply #25 on: September 13, 2015, 06:30:09 AM »
@wraith808 - Still standing by for your solution.  After all, I did give you quite a laundry list of specs, eh?



Still going to do it.  Unfortunately, I'm not Skrommel. ;D  But if everything with my upgrade goes well, it should be done by early in the week.
Thanks.  In the meantime, MilesAhead's script is working well with Notepad, albeit with the window frame and white background.

@MilesAhead - I have the Notepad script working as expected, but I can't get the Stickies working.  Here is my code mod...
Code: Autohotkey [Select]
  1.     #NoEnv
  2.     SetWorkingDir %A_ScriptDir%
  3.     return
  4.     ; instead of Progman for desktop change to the
  5.     ; class for Flight Simulator (use WinSpy to get it)
  6.     #IfWinActive ahk_class FS98MAIN
  7.     $Down::
  8.     ; instead of class for Notepad use the class
  9.     ; for Stickies
  10.       ControlSend,,{Down},ahk_class ZhornStickyNote
  11.     return

Do you see anything wrong?  I copy/pasted the ahk_class from Window Spy.



Try changing back from the sticky class to notepad and see if it works.  If it does then the issue is with the stickies.  If not then it doesn't like the flight simulator class.

Divide and conquer.

Edit:  Also sometimes scripts that don't work will start working when compiled.  There is a new AHK release.  I would install it if you haven't already: http://ahkscript.org/

Click downloaf then Installer

Edit2:  The other thing is Stickies may not be a simple single window program.  I don't have it myself.  But it might be you need to use ahk_parent in the ControlSend call.  See ControlSend in the help.
Also you could post a question in the ahk forums.  I have not had the need to use ControlSend.  Someone on the forum probably knows all the tricks to using it.



« Last Edit: September 13, 2015, 09:11:35 AM by MilesAhead »

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 8,408
  • "In my dreams, I always do it right."
    • View Profile
    • Donate to Member
Re: Looking for White-on-Black or Transparent Menu-Less Text Displayer
« Reply #26 on: September 13, 2015, 09:37:45 AM »
If you want to adapt it for him for the Text Overlay Tool, let me know what you need.  The class for the main window is TextOverlayToolView

CodeTRUCKER

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,060
    • View Profile
    • Donate to Member
Re: Looking for White-on-Black or Transparent Menu-Less Text Displayer
« Reply #27 on: September 13, 2015, 09:47:30 PM »
Thanks to all you fine people I have enjoyed a day of flying by the checklist.  Checklists are handy for making sure one doesn't set down on a runway with the landing gear still in the belly of the airplane.  I'm not mentioning any names, but I am personally aware of a sim pilot doing an unintentional "belly" landing more than once when attempting to fly without following a checklist.   ;) 

@wraith808 - I will have to spend more time working with the OverlayTool.  One thing which will need to be looked at is it opens text files with all carriage returns removed resulting in one large block of text.

@MilesAhead - I have only been able to make the AHK script work with Notepad and Notezilla, so far.  I am not sure whether the script is compiled or not.  All I have figured out is to reload the script once I get everything.  Regardless, your script works well trapping the trigger key.  I have programmed a button on my flight stick to send "DOWNARROW" keystroke which effectually moves the checklist down one line per my request.  Thank you.

@App103 - Thanks for the nod toward Notezilla for my present need.  I will look forward to learning more as time goes on.

@mouser - Thanks for creating the "Desktop Coral."  It works quite intuitively which is a good thing.

@TaoPhoenix - Thanks for the perspective.  I suspected it would take something deeper.  Fortunately, AHK filled that requirement.

dr_andus - Thanks for the heads-up on "Desktop Coral."  Unfortunately, I haven't been able to get a handle on Samurize.  Maybe I will if I read up on it on the site when I get a chance.  In the meantime, be prepared for a salvo of questions.   :D


Here is a summary of how I have been using the various parts to provide a very usable solution so far...
  • "Desktop Coral" - mouser's creation did allow a place at the bottom of my screen real estate where I was able to place the Notezilla window.  I really liked "Desktop Coral's" ability to let me handle other things, like editing another text file, email and Firefox without getting in the way.
  • "Notezilla" - Using app103's suggestion had the capability of being border-less, reduced vertically to display only one line at a time, setting the background transparent or black and setting the font to red or green, depending if it was a day or night flight.  It performed quite gracefully.

Thanks again to everyone.  Your efforts have allowed me to add a very important utility to my flight simulation experience.  I will pass this on to all my fellow simpilots.  I could not have done it without you. 

One last note to pass on... 

When I first came to DonationCoder.com I was fairly stout and healthy man of 50-ish.  I was also actively taking flight lessons to get my real-world pilot's license.  Since that time my health has almost reduced me to an invalid which has so far prevented me from returning to my OTR truck and achieving my pilot credentials, but I live in hope.  Thanks to the wonder of consumer flight simulation technology and my family's generosity in constructing and furnishing me with a "simpit," I am able to participate in almost-flying, or as far as one can with a simulator.  So, you can see why your contributions to getting me one step closer to a "Suspension of Disbelief" (the Holy Grail of flight simulation) has added to the quality of my life. 

Thank you.



wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 8,408
  • "In my dreams, I always do it right."
    • View Profile
    • Donate to Member
Re: Looking for White-on-Black or Transparent Menu-Less Text Displayer
« Reply #28 on: September 13, 2015, 09:55:48 PM »
Can you send me the text file?  It does not do that for me - I did test that.

CodeTRUCKER

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,060
    • View Profile
    • Donate to Member
Re: Looking for White-on-Black or Transparent Menu-Less Text Displayer
« Reply #29 on: September 14, 2015, 01:18:05 PM »
Can you send me the text file?  It does not do that for me - I did test that.
Here is the file I used...
« Last Edit: September 14, 2015, 02:26:46 PM by CodeTRUCKER »

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 8,408
  • "In my dreams, I always do it right."
    • View Profile
    • Donate to Member
Re: Looking for White-on-Black or Transparent Menu-Less Text Displayer
« Reply #30 on: September 14, 2015, 01:47:21 PM »
Can you send me the text file?  It does not do that for me - I did test that.
Here is the file I used. 

[ Invalid Attachment ]


Remove attachthumb from your post.  It's trying to attach it as an image, and failing.

CodeTRUCKER

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,060
    • View Profile
    • Donate to Member
Re: Looking for White-on-Black or Transparent Menu-Less Text Displayer
« Reply #31 on: September 14, 2015, 02:27:47 PM »
...
Remove attachthumb from your post.  It's trying to attach it as an image, and failing.
Done.  See above.

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 8,408
  • "In my dreams, I always do it right."
    • View Profile
    • Donate to Member
Re: Looking for White-on-Black or Transparent Menu-Less Text Displayer
« Reply #32 on: September 14, 2015, 03:52:00 PM »
Figured out what it probably is- your file could actually be interpreted as markdown, so it was parsed as such.  I'm going to make it a bit smarter and stupider at the same time, and parse it strictly based on the extension of the file.  I'll have something up this evening.

CodeTRUCKER

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,060
    • View Profile
    • Donate to Member
Re: Looking for White-on-Black or Transparent Menu-Less Text Displayer
« Reply #33 on: September 14, 2015, 09:01:20 PM »
FYI - It looks like I may have spoke too soon... Notezilla has taken to deleting my checklist in random fashion.  Everything was working until this evening when I went to open the checklist it was gone!  This happened before.  Perhaps it has something to do with the other programs, but I can't keep recreating the checklist.  Seems like it would keep the file intact, but it didn't.  It just deleted it.  Not sure where to go at this point?  Sad, really.  It was working so perfect.  I will probably try again and see what may be the culprit.
« Last Edit: September 15, 2015, 01:37:44 AM by CodeTRUCKER »

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 8,408
  • "In my dreams, I always do it right."
    • View Profile
    • Donate to Member
Re: Looking for White-on-Black or Transparent Menu-Less Text Displayer
« Reply #34 on: September 14, 2015, 10:09:24 PM »
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!

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 8,408
  • "In my dreams, I always do it right."
    • View Profile
    • Donate to Member
Re: Looking for White-on-Black or Transparent Menu-Less Text Displayer
« Reply #35 on: September 14, 2015, 10:42:30 PM »
And the thread for the release with more information: http://www.donationc....msg389111#msg389111

CodeTRUCKER

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,060
    • View Profile
    • Donate to Member
Re: Looking for White-on-Black or Transparent Menu-Less Text Displayer
« Reply #36 on: September 14, 2015, 11:54:53 PM »
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.

conceptworld

  • Member
  • Joined in 2005
  • **
  • default avatar
  • Posts: 178
    • View Profile
    • Donate to Member
Re: Looking for White-on-Black or Transparent Menu-Less Text Displayer
« Reply #37 on: September 15, 2015, 04:19:25 AM »
Hello @CodeTrucker, please do email us at support@conceptworld.com if you encountered any issues with Notezilla. We will be happy to help you.

Regards,
Gautam Jain

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 8,408
  • "In my dreams, I always do it right."
    • View Profile
    • Donate to Member
Re: Looking for White-on-Black or Transparent Menu-Less Text Displayer
« Reply #38 on: September 15, 2015, 10:01:21 AM »
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.


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.

CodeTRUCKER

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,060
    • View Profile
    • Donate to Member
Re: Looking for White-on-Black or Transparent Menu-Less Text Displayer
« Reply #39 on: September 15, 2015, 01:12:02 PM »
Hello @CodeTrucker, please do email us at support@conceptworld.com 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.

CodeTRUCKER

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,060
    • View Profile
    • Donate to Member
Re: Looking for White-on-Black or Transparent Menu-Less Text Displayer
« Reply #40 on: September 15, 2015, 01:26:09 PM »
...
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?

CodeTRUCKER

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,060
    • View Profile
    • Donate to Member
Re: Looking for White-on-Black or Transparent Menu-Less Text Displayer
« Reply #41 on: September 15, 2015, 01:36:04 PM »
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.
« Last Edit: September 15, 2015, 01:42:18 PM by CodeTRUCKER »

wyrwolf

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 38
  • It is what it is.
    • View Profile
    • banner page
    • Donate to Member
Re: Looking for White-on-Black or Transparent Menu-Less Text Displayer
« Reply #42 on: September 15, 2015, 06:26:36 PM »
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!
It is what it is.

app103

  • That scary taskbar girl
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 5,666
    • View Profile
    • App's Apps
    • Read more about this member.
    • Donate to Member
Re: Looking for White-on-Black or Transparent Menu-Less Text Displayer
« Reply #43 on: September 15, 2015, 07:19:12 PM »
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.

When you close a note, are you clicking the X in the upper right of the bar? If so, that would be your problem. It's not a close button, like you are used to seeing in that location. It's a delete button. It was probably more clear that's what the button did in older versions, back when it used to look like a trash can and not an X.

To close a note, you'd need to click the white square (3rd from the right). That hides the note, which can then be opened again from within the Notes Browser.

Screenshot - 9_15_2015 , 8_10_06 PM.png

CodeTRUCKER

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,060
    • View Profile
    • Donate to Member
Re: Looking for White-on-Black or Transparent Menu-Less Text Displayer
« Reply #44 on: September 15, 2015, 07:22:59 PM »
Good call, April!
Thanks.

app103

  • That scary taskbar girl
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 5,666
    • View Profile
    • App's Apps
    • Read more about this member.
    • Donate to Member
Re: Looking for White-on-Black or Transparent Menu-Less Text Displayer
« Reply #45 on: September 15, 2015, 07:31:22 PM »
Good call, April!
Thanks.


So, was that the issue?

CodeTRUCKER

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,060
    • View Profile
    • Donate to Member
Re: Looking for White-on-Black or Transparent Menu-Less Text Displayer
« Reply #46 on: September 15, 2015, 07:58:19 PM »
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."


CodeTRUCKER

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,060
    • View Profile
    • Donate to Member
Re: Looking for White-on-Black or Transparent Menu-Less Text Displayer
« Reply #47 on: September 15, 2015, 08:10:34 PM »
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?.

wraith808

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 8,408
  • "In my dreams, I always do it right."
    • View Profile
    • Donate to Member
Re: Looking for White-on-Black or Transparent Menu-Less Text Displayer
« Reply #48 on: September 15, 2015, 08:58:18 PM »
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.

app103

  • That scary taskbar girl
  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 5,666
    • View Profile
    • App's Apps
    • Read more about this member.
    • Donate to Member
Re: Looking for White-on-Black or Transparent Menu-Less Text Displayer
« Reply #49 on: September 15, 2015, 09:16:35 PM »
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.

I was using v7 when I recommended it to you, upgrading to v8 right after. Had I not done that, I wouldn't have known about the X even being there. As you can see in my original screenshots, it had the trash can there, instead of the X.

That change in the UI threw me off a bit at first, too. I was looking for the trash can when I wanted to delete a note, not immediately associating X with deleting (like you, my mind has been trained to think X in that position means close). I was hunting all over the place for the trash can.