AMPaste is a little app I made that can sit on your desktop and provide quick access to the API functions without repeated returns to the Wiki to copy and paste. The video below shows it in operation and explains its use. Links to download the app (Windows and Mac) is also below.
I highly suggest using Notepad++ as your Lua editor...it's free at the link below:
Notepad++ Download Link
Explanation of the add-on to highlight Air Manager API functions in Notepad++ is in this thread:
viewtopic.php?f=15&t=199
Here is a dropbox link to the Windows version of AMPaste(.zip archive):
AMPaste 2.2 Windows Download
And I also compiled a Mac version which is here:
AMPaste 2.2 MacOS Download
Post any questions, corrections, or feedback in this thread.
AM Paste 2.2 API helper app
AM Paste 2.2 API helper app
Russ Barlow
Air Manager Evangelist
Air Manager Evangelist
Re: AM Paste 2.2 API helper app
Very neat tool Russ!
May I suggest your post to be sticky, so it is not eventually burried in the forum and will always be available for newcomers?
IMHO some posts are valuable and should be made "sticky", such as parts of code, libraries and tips and tricks.
Maybe a special category for this should be made?
Jacques
May I suggest your post to be sticky, so it is not eventually burried in the forum and will always be available for newcomers?
IMHO some posts are valuable and should be made "sticky", such as parts of code, libraries and tips and tricks.
Maybe a special category for this should be made?
Jacques
My YouTube Chanel on the A320 (Real SOPs by an Airline Pilot IRL):
https://www.youtube.com/playlist?list=P ... 0Q6SBASRqJ
https://www.youtube.com/playlist?list=P ... 0Q6SBASRqJ
Re: AM Paste 2.2 API helper app
Well done Russ ! It's a very convenient tool.
Just a suggestion to improve it : why not make a little button with a "?" in front of each line (like that ); one clic can open the related index on siminnovation/wiki. To refresh our memory when it's an item who's not frequently use.
For exemple "ext_variable_subscribe" button opens "http://siminnovations.com/wiki/index.ph ... _subscribe" in the browser.
Or, why not, a little resume bubble when the mouse pass over the items ?
Question : Why does it display "prefs file is empty" when I lunch it or when I cancel edit (even if loaded default data before) ?
Just a suggestion to improve it : why not make a little button with a "?" in front of each line (like that ); one clic can open the related index on siminnovation/wiki. To refresh our memory when it's an item who's not frequently use.
For exemple "ext_variable_subscribe" button opens "http://siminnovations.com/wiki/index.ph ... _subscribe" in the browser.
Or, why not, a little resume bubble when the mouse pass over the items ?
Question : Why does it display "prefs file is empty" when I lunch it or when I cancel edit (even if loaded default data before) ?
Jean-Luc
Re: AM Paste 2.2 API helper app
I wrote the app over a year ago so I had to look. The AM_Prefs .txt file (in your documents folder) isn't created until you save some changes the first time. Try making a small change and then saving it.
The dialog might better say "The prefs file is missing" . My goal was to advise any user if their AP_Prefs file was not there. Unfortunately until you save the file is not written to your computer. You don't have to make any changes either, you can just click save after opening any function's editing window and the default data will be save to the disk and the message should not occur going forward. I may just do that on the initial launch of the app. This was a quick and dirty tool I made to help me when I was first doing Air Manager scripting. I still like to use it though.
The dialog might better say "The prefs file is missing" . My goal was to advise any user if their AP_Prefs file was not there. Unfortunately until you save the file is not written to your computer. You don't have to make any changes either, you can just click save after opening any function's editing window and the default data will be save to the disk and the message should not occur going forward. I may just do that on the initial launch of the app. This was a quick and dirty tool I made to help me when I was first doing Air Manager scripting. I still like to use it though.
Russ Barlow
Air Manager Evangelist
Air Manager Evangelist
Re: AM Paste 2.2 API helper app
I think Ralph has to change a phpBB preference to allow stickies... Ralph?? Help!
Russ Barlow
Air Manager Evangelist
Air Manager Evangelist
- Crashtender
- Posts: 127
- Joined: Fri Dec 18, 2015 10:24 am
Re: AM Paste 2.2 API helper app
Very handy little application.
Love it!
Thank you very much Russ
Love it!
Thank you very much Russ
A day not flown is a day not crashed...
Re: AM Paste 2.2 API helper app
Will do today.
Re: AM Paste 2.2 API helper app
OK, I understand.russ wrote:I wrote the app over a year ago so I had to look. The AM_Prefs .txt file (in your documents folder) isn't created until you save some changes the first time. Try making a small change and then saving it.
No ! Not quick and dirty ! It's a real help for us. Thanks very much for sharing it.This was a quick and dirty tool I made to help me when I was first doing Air Manager scripting.
Jean-Luc
Re: AM Paste 2.2 API helper app
Great tool!
Thanks Russ
a13
Thanks Russ
a13
- Keith Baxter
- Posts: 4685
- Joined: Wed Dec 20, 2017 11:00 am
- Location: Botswana
Re: AM Paste 2.2 API helper app
I only noticed this amazing tool now.
Can we please have an update for ver3.4
Keith
Can we please have an update for ver3.4
Keith
AMD RYZEN 9 5950X CPU, Corsair H80I cooler, ASUS TUF GAMING B550-PLUS AMD Ryzen Mother Board, 32Gb ram Corsair Vengeance 3000Mh, MSI GTX960 4G graphics card