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

News:
Precision Simulator update 10.100 (27 February 2020) is now available.
Aerowinx NG FMC and More is now released.

Author Topic: Pushover App- integration with PSX PRINT function?  (Read 861 times)

andrej

  • Join date: Apr 2012
  • Location: Bratislava, Slovakia
  • Posts: 286
Re: Pushover App- integration with PSX PRINT function?
« Reply #20 on: Sat, 15 Feb 2020 11:11 »
Dear Jeroen,
Thank you for this brief intro. Very useful!
It is greatly appreciated. Similar to the old proverb, “Give a man a fish and you feed him for a day, teach him how to fish and you feed him for a lifetime”, I rather learn to code. :)

Cheers,

Andrej

Jeroen Hoppenbrouwers

  • Moderator
  • Join date: May 2009
  • Location: KTMB
  • Posts: 3749
  • Hoppie designs avionics equipment for airliners.
    • http://www.hoppie.nl/
Re: Pushover App- integration with PSX PRINT function?
« Reply #21 on: Sat, 15 Feb 2020 11:16 »
My pleasure.

Remember that this program, though short, uses a lot of complex techniques such as asynchronous event handling that are guaranteed to make you wonder what's going on here. This is the unfortunate truth of programming, just as of flying an airplane: there is no such thing as an easy start. Once you lift off, it's all-out full everything at once. So I gladly be your instructor on these first flights  :-P


Hoppie
(Simon: I made sure I have barf bags in reach)


PS. And if people push me enough, I will also show how you could FAA-certify this kind of stuff for real-world commercial aviation use under DO-178C, but that may take a few more postings  :-P

simonijs

  • Join date: Oct 2014
  • Location: Amsterdam
  • Posts: 114
Re: Pushover App- integration with PSX PRINT function?
« Reply #22 on: Sat, 15 Feb 2020 17:46 »
 :) Well: I have loads of them at home now, but quitted flying. Shall I send them over?

Groet,
Simon

cavaricooper

  • Join date: Dec 2009
  • Location: KTPA
  • Posts: 1167
Re: Pushover App- integration with PSX PRINT function?
« Reply #23 on: Sun, 16 Feb 2020 17:45 »
Hoppie-

After a few sessions of head scratching and reading your post over about 50 times, I arrived at



but more importantly this on my iPhone



I can't thank you enough- this is just splendid!

C
Carl Avari-Cooper, KTPA

cavaricooper

  • Join date: Dec 2009
  • Location: KTPA
  • Posts: 1167
Re: Pushover App- integration with PSX PRINT function?
« Reply #24 on: Sun, 16 Feb 2020 18:09 »
Hoppie-

Whilst you are in the teaching mode- is there a way I can make that command prompt py file a clickable executable and assign an icon to it? That way it can be run with a mouse click instead of the keyboard?

Ta- C
Carl Avari-Cooper, KTPA

Jeroen Hoppenbrouwers

  • Moderator
  • Join date: May 2009
  • Location: KTMB
  • Posts: 3749
  • Hoppie designs avionics equipment for airliners.
    • http://www.hoppie.nl/
Re: Pushover App- integration with PSX PRINT function?
« Reply #25 on: Sun, 16 Feb 2020 19:17 »
Sure. Create a Shortcut where you want it (Background click >> new >> shortcut) and point it at the python.exe interpreter. Name it Pushover. Then right-click on it and select Properties. After the python.exe in Target, BEHIND the quotes, add the path to your psx-pushover.py file. You may change the window type to minimized and give it a new icon.

That's it!


Hoppie

cavaricooper

  • Join date: Dec 2009
  • Location: KTPA
  • Posts: 1167
Re: Pushover App- integration with PSX PRINT function?
« Reply #26 on: Mon, 17 Feb 2020 01:39 »


DONE!  Many thanks Hoppie!  Off to work on the Mac now...

C
Carl Avari-Cooper, KTPA

cavaricooper

  • Join date: Dec 2009
  • Location: KTPA
  • Posts: 1167
Re: Pushover App- integration with PSX PRINT function?
« Reply #27 on: Mon, 17 Feb 2020 17:37 »
... and with STILL MORE OF HOPPIE'S HELP- success on the Mac!



FINALLY!  Thank-you Hoppie!

Now, I get PSX Pushovers to my iPhone and iPad which I can reference indefinitely, and delete when done- fantastic!

C
Carl Avari-Cooper, KTPA

GodAtum

  • Join date: Jun 2014
  • Posts: 670
Re: Pushover App- integration with PSX PRINT function?
« Reply #28 on: Sat, 22 Feb 2020 21:15 »
Thank you for all the advice. Uploaded the code to Github for ease of use: https://github.com/GodAtum360/PSX-Stuff/blob/master/psx-pushover%20-%20master.py

cavaricooper

  • Join date: Dec 2009
  • Location: KTPA
  • Posts: 1167
Re: Pushover App- integration with PSX PRINT function?
« Reply #29 on: Sun, 23 Feb 2020 01:11 »
This is NOT my code- it is HOPPIES.  Please check with him BEFORE uploading it anywhere.

TY- C
Carl Avari-Cooper, KTPA