[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53854] An error massage about failing to load
From: |
Petr Lobaz |
Subject: |
[Octave-bug-tracker] [bug #53854] An error massage about failing to load notepad++ on startup |
Date: |
Mon, 14 May 2018 07:20:47 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36 |
Follow-up Comment #2, bug #53854 (project octave):
"when I make a double click in a .m-file, it opens in Notepad++ instead
"Editor Window" of Octave, as the previous version of Octave"
Quick and dirty workaround:
Edit the file octave.vbs located in the Octave root folder.
Change line 52 from
wshShell.Run chr(34) & OctavePath & "\bin\octave-gui.exe" & Chr(34) &
AllArgs, 0
to
wshShell.Run chr(34) & OctavePath & "\bin\octave-gui.exe" & Chr(34) &
"--eval pause(1);" & AllArgs, 0
Description:
Octave is launched with a parameter
--eval "edit 'FILENAME'"
It seems that when the 'edit' command starts, GUI is not yet initialized
(function isguirunning () returns 0).
The command 'pause' in the workaround waits a bit. For me, one second is OK.
Hope it helps
Petr
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53854>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #53854] An error massage about failing to load notepad++ on startup, anonymous, 2018/05/06
- [Octave-bug-tracker] [bug #53854] An error massage about failing to load notepad++ on startup, Renato, 2018/05/09
- [Octave-bug-tracker] [bug #53854] An error massage about failing to load notepad++ on startup,
Petr Lobaz <=
- [Octave-bug-tracker] [bug #53854] An error massage about failing to load notepad++ on startup, Petr Lobaz, 2018/05/14
- [Octave-bug-tracker] [bug #53854] error message about failing to load Notepad++ on startup, Mike Miller, 2018/05/14
- [Octave-bug-tracker] [bug #53854] error message about failing to load Notepad++ on startup, Renato, 2018/05/15
- [Octave-bug-tracker] [bug #53854] error message about failing to load Notepad++ on startup, Petr Lobaz, 2018/05/15
- [Octave-bug-tracker] [bug #53854] error message about failing to load Notepad++ on startup, John Donoghue, 2018/05/15
- [Octave-bug-tracker] [bug #53854] error message about failing to load Notepad++ on startup, Mike Miller, 2018/05/15
- [Octave-bug-tracker] [bug #53854] error message about failing to load Notepad++ on startup, John Donoghue, 2018/05/16
- [Octave-bug-tracker] [bug #53854] error message about failing to load Notepad++ on startup, John Donoghue, 2018/05/20