First time here? Check out the FAQ!

steve1964's profile - activity

2023-09-19 20:26:07 -0500 received badge Notable Question (source)
2023-09-19 20:26:07 -0500 received badge Famous Question (source)
2023-01-28 08:24:57 -0500 received badge Famous Question (source)
2023-01-28 08:24:57 -0500 received badge Notable Question (source)
2023-01-28 08:24:57 -0500 received badge Popular Question (source)
2023-01-28 08:24:48 -0500 received badge Notable Question (source)
2023-01-19 01:40:43 -0500 received badge Popular Question (source)
2023-01-19 01:40:43 -0500 received badge Famous Question (source)
2023-01-19 01:40:43 -0500 received badge Notable Question (source)
2022-11-14 08:05:43 -0500 marked best answer Running a function from command line

I would like to open the IDE, load a project and start execution from a specified function of the project, everything from the command line. I'm able to invoke wing-personal passing the .wpr and this works fine, my project is loaded and ready to start. How can I automatically start execution (calling a selected function) from the same command line launching the IDE? I would need to execute in debug mode but also in non-debug mode.

2022-11-08 04:12:11 -0500 asked a question Running a function from command line

Running a function from command line I would like to open the IDE, load a project and start execution from a specified f

2022-09-26 08:23:31 -0500 received badge Popular Question (source)
2022-09-15 13:13:31 -0500 marked best answer Avoiding Wing Help opening

Is there a way to avoid the automatic opening of the Wing Help tab when I create a new project? In particular, can I avoid this from a plugin using the Wing API?

2022-09-15 13:13:20 -0500 marked best answer save project from API

I need to create automatically a Wing project from the extension API. I started to use NewProject() in class CAPIApplication but I can not find an API way to save it as a .wpr file with a specified path and name.

2022-09-13 16:15:30 -0500 commented answer save project from API

I want to have my custom plugin able to create a Wing project from scratch with project folder and project name (that ca

2022-09-13 16:04:08 -0500 commented answer save project from API

Could you please show how to do this? The API seems powerful but this apparently simple task looks hard... Also, is the

2022-09-13 16:02:18 -0500 commented answer save project from API

Could you please show how to do this? The API seems powerful but this apparently simple task looks hard...

2022-09-13 16:02:18 -0500 received badge Commentator
2022-09-13 15:03:29 -0500 commented answer save project from API

I tried the following: def opened_cb(filename: str): print('CALLBACK:', filename) def create_new_project():

2022-09-13 15:02:34 -0500 commented answer save project from API

I tried the following: def opened_cb(filename: str): print('CALLBACK:', filename) def create_new_project():

2022-09-13 15:01:48 -0500 answered a question save project from API

I tried the following: def opened_cb(filename: str): print('CALLBACK:', filename) def create_new_project():

2022-09-13 05:46:08 -0500 received badge Famous Question (source)
2022-09-13 05:46:08 -0500 received badge Notable Question (source)
2022-09-13 05:45:35 -0500 edited answer save project from API

I'm trying this code in my plugin: app = wingapi.gApplication app.ExecuteCommand('new-project') prj = app.GetProject(

2022-09-13 05:44:07 -0500 answered a question save project from API

I'm trying this code in my plugin: app = wingapi.gApplication app.ExecuteCommand('new-project') prj = app.GetProject()

2022-09-13 04:58:31 -0500 asked a question Avoiding Wing Help opening

Avoiding Wing Help opening Is there a way to avoid the automatic opening of the Wing Help tab when I create a new projec

2022-09-09 02:10:54 -0500 asked a question save project from API

save project from API I need to create automatically a Wing project from the extension API. I started to use NewProject(

2022-08-04 10:51:43 -0500 marked best answer run external command in its own console from a plugin ?

How can I run an external command in its own Windows console from a Wing plugin ? Let assume, as example, the command:

make -C output -f build.mak

I tried something like:

app = wingapi.gApplication app.CreateChildProcess(['make', '-C', 'output', '-f', 'build.mak'], dirname=prj_dir)

but I do not see any effect.

2022-08-04 09:50:25 -0500 commented answer run external command in its own console from a plugin ?

Thanks, now with this code I'm able to run a custom batch script in the directory I want: app.CreateChildProcess(['cmd.

2022-08-04 05:26:22 -0500 asked a question run external command in its own console from a plugin ?

run external command in its own console from a plugin ? How can I run an external command in its own Windows console fro

2022-07-21 08:37:28 -0500 marked best answer syntax highlight for a new language

how can I add to Wing the syntax highlight for a new language not yet in your supported list?

2022-07-16 02:38:33 -0500 received badge Rapid Responder
2022-07-16 02:38:33 -0500 answered a question syntax highlight for a new language

Some custom syntaxes, for research purpose, currently I would need Occam 2 (or a subset of it)

2022-07-15 14:44:33 -0500 asked a question syntax highlight for a new language

syntax highlight for a new language how can I add to Wing the syntax highlight for a new language not yet in your suppor

2022-07-15 08:41:49 -0500 received badge Popular Question (source)
2022-06-21 16:31:32 -0500 marked best answer modeless message window

How can I create a temporary modeless message window from an extension plugin? I just need something to show a window with a custom text, that stays visible until I manually destroy it after some task has been completed.

2022-06-17 08:37:54 -0500 asked a question modeless message window

modeless message window How can I create a temporary modeless message window from an extension plugin? I just need somet

2022-06-17 08:34:08 -0500 received badge Enthusiast
2022-06-16 14:14:54 -0500 marked best answer capturing stdout from external command to Wing panel

I'm calling an external Python script (or any other Windows EXE) from my plugin extension using the ExecuteCommandLine API. It works but it only captures the stdout string to a variable. Is it possible to redirect stdout to a panel like for example Debug I/O instead of a variable ?

2022-06-16 10:08:56 -0500 commented answer capturing stdout from external command to Wing panel

thanks, using your suggested direct access to the internal panel works fine in my scenario

2022-06-16 04:05:47 -0500 received badge Rapid Responder ( source )
2022-06-16 04:05:47 -0500 answered a question capturing stdout from external command to Wing panel

I'm not able to use print to write stuff to the Messages > Plugins panel Still some questions: 1) how can I clear the

2022-06-15 10:35:33 -0500 received badge Rapid Responder
2022-06-15 10:35:33 -0500 answered a question capturing stdout from external command to Wing panel

I'm already using ShowMessageDialog() for simple messages, but it's not enough. How can I write text to the Scripts chan

2022-06-15 05:01:05 -0500 edited question capturing stdout from external command to Wing panel

capturing stdout from external command to Wing panel I'm calling an external Python script (or any other Windows EXE) fr

2022-06-15 05:01:05 -0500 received badge Editor (source)
2022-06-15 05:00:41 -0500 asked a question capturing stdout from external command to Wing panel

capturing stdout from external command to Wing panel I'm calling an external Python script (or any other EXER) from my p

2022-06-08 09:20:21 -0500 received badge Notable Question (source)
2022-05-05 09:26:48 -0500 received badge Popular Question (source)