If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
A one instance
21 posts
• Page 2 of 3 • 1, 2, 3
Re: A one instance
Morph wrote:The TaskList command can make a list of instances of a given program. Then compare if the lines of text exceeds more than that of one program then kill the process. I can build example if needed.
Yes! An example is a best help!
This is a very interesting idea! But I am weak in the networks, and therefore need an example. Please!DSP wrote:Another idea would be to setup inter application communication using UDP and the network modules.
- Shoo
- Posts: 33
- Joined: Fri Sep 02, 2011 8:37 am
- Location: Russia
Re: A one instance
Here is a finished module:
For Windows XP or older be sure you have tasklist.exe in your system32 folder. It can be downloaded here: http://www.computerhope.com/download/winxp.htm
It uses tasklist that comes with Windows Vista or later.For Windows XP or older be sure you have tasklist.exe in your system32 folder. It can be downloaded here: http://www.computerhope.com/download/winxp.htm
Last edited by Morph on Wed Jul 18, 2012 5:58 pm, edited 1 time in total.
- Morph
- Posts: 53
- Joined: Tue Jul 13, 2010 1:59 pm
Re: A one instance
A nice tool!
I did not have it, and I do not know about it. I download it. Thank you!
But the example does not work. Do not start even the first instance.
After compiling in a FlowStone (Launch on completion) - OK, and standalone Example.exe - is not run (your message).
I deleted the tasklist.txt temp file - do not start anyway.
But the idea is understandable, I debug it myself.
Thank you!
(Sorry this is a Google translate text.)
I did not have it, and I do not know about it. I download it. Thank you!
But the example does not work. Do not start even the first instance.
After compiling in a FlowStone (Launch on completion) - OK, and standalone Example.exe - is not run (your message).
I deleted the tasklist.txt temp file - do not start anyway.
But the idea is understandable, I debug it myself.
Thank you!
(Sorry this is a Google translate text.)
- Shoo
- Posts: 33
- Joined: Fri Sep 02, 2011 8:37 am
- Location: Russia
Re: A one instance
Yes, i forgot the list of module .dll files depends on the OS, so it can not be compared like that. But using a combination of find and find reversed seems to work. I have updated the file above, try download it again.
- Morph
- Posts: 53
- Joined: Tue Jul 13, 2010 1:59 pm
Re: A one instance
Yes, this time I was engaged in the same
I was able to automatically detect the application name.
You can rename an application, but it still identifies itself.
I renamed tasklist.exe, because the parser is tuned up strictly to it's format of output; with the other versions may be not work.
I was able to automatically detect the application name.
You can rename an application, but it still identifies itself.
I renamed tasklist.exe, because the parser is tuned up strictly to it's format of output; with the other versions may be not work.
- Attachments
-
- OneInstanceWithParser.zip
- (36.66 KiB) Downloaded 1028 times
- Shoo
- Posts: 33
- Joined: Fri Sep 02, 2011 8:37 am
- Location: Russia
Re: A one instance
Good idea! Here is another solution for the parser that seems more stable. I think there's no need to rename tasklist.
Now the module can just be dropped into a schematic and should work also when renaming the EXE.
Now the module can just be dropped into a schematic and should work also when renaming the EXE.
- Morph
- Posts: 53
- Joined: Tue Jul 13, 2010 1:59 pm
Re: A one instance
What you can't make a simple API call in Flowstone? The windows API has efficient means of controlling windows..
- MyDogRamsey
- Posts: 12
- Joined: Fri Jan 06, 2012 7:29 am
Re: A one instance
How make API call in Flowstone?
Example, please...
PS:
No Ruby.
Example, please...
PS:
No Ruby.
- Shoo
- Posts: 33
- Joined: Fri Sep 02, 2011 8:37 am
- Location: Russia
Re: A one instance
Shoo wrote:How make API call in Flowstone?
Example, please...
PS:
No Ruby.
Yes, how do you make api calls? With Ruby I suppose?
- MyDogRamsey
- Posts: 12
- Joined: Fri Jan 06, 2012 7:29 am
21 posts
• Page 2 of 3 • 1, 2, 3
Who is online
Users browsing this forum: No registered users and 52 guests