topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Friday April 19, 2024, 10:26 am
  • Proudly celebrating 15+ 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

Author Topic: console output to memo  (Read 4268 times)

jdmarch

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 186
    • View Profile
    • Donate to Member
console output to memo
« on: April 23, 2010, 09:46 AM »
Using virtual launch string "appcapappendmemo" in a simple alias:
appcapappendmemo python c:\mypath\clipsum.py

1. Even though .py is an executable extension on my system (python), if I specify the command as only a .py file, it says "Error launching..." It works ok as shown above.

2. The output of the script goes nicely into the memo display, but the memo display does not scroll at all, must be scrolled manually each time to see the output.

3. How to clear the memo display?

4. This is moot because I ended up displaying all text from the python script, but I wanted to use the "showmemo" virtual launch string but could not find in the documentation how to combine two virtual launch strings in one alias command. Where is this described?

Thanks!
« Last Edit: April 23, 2010, 10:03 AM by jdmarch »

jdmarch

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 186
    • View Profile
    • Donate to Member
Re: console output to memo
« Reply #1 on: April 23, 2010, 10:02 AM »
While I didn't find answers by searching help or forum, I have found some answers by browsing the forum.

I learned that it's better to use:
appcap python c:\mypath\clipsum.py;;;showmemo %lastappcap%

Which does not answer 2 & 3 but makes them moot (because it clears the memo so scrolling and clearing are unnecessary.)

It does answer 4 (use three semicolons, which I now see is mentioned under "Alias launching tricks" in the help file.)

And (1)?

Thanks!


mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,900
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: console output to memo
« Reply #2 on: April 23, 2010, 10:24 AM »
1 is an interesting issue -- i may be able to solve that with a different call to shellexecute.

jdmarch

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 186
    • View Profile
    • Donate to Member
Re: console output to memo
« Reply #3 on: May 05, 2010, 08:06 AM »
Version 2.87.03 - May 4, 2010
· [MinorFeature] appcapappendmemo now auto scrolls to bottom of memo.
· [MinorFeature] new alias launch string to explicitly go to end of memo  (gomemobottom)

Thanks!