| Samurize.com |
Chat
Forum Help
Search
Member List
Calendar
|
| Welcome Guest ( Log In | Register ) | Resend Validation Email |
| Pages: (2) [1] 2 ( Go to first unread post ) | ![]() ![]() ![]() |
| Silvayn |
Posted: Sep 30 2004, 03:23 PM
|
||
Shadow![]() Group: Member
Joined: Jul 21 2004
Posts: 24
Offline |
I have a button on my config which closes all samurize instances that I use. I naturally tried using client.exe's close parameter to this, but found out that it's slower than a .vbs solution. Also, in case it's trying to close a non-running config, it will open it first and then close. The following .vbs code isn't my doing, I just edited a bit to make closing multiple instances easy. I unfortunatelly don't remember who the original author is. Here goes...
Just edit the "iOther" constant in the beginning to fit your needs (names). Use | to separate. Hope you'll find it useful. |
||
| KMDonlon |
|
The Weather Freak![]() ![]() ![]() ![]() ![]() Group: Member
Joined: Feb 19 2004
Posts: 3,535
Offline |
How do you mean this is faster than using the command line option. I would think any use of a .vbs with a refresh rate low enough to make the button work quick enough would use mega CPU cycles, dunno but hope you can explain further.
-------------------- |
| NeM |
Posted: Sep 30 2004, 09:01 PM
|
Ex-Dev![]() ![]() ![]() ![]() ![]() Group: Admin
Joined: Sep 25 2003
Posts: 832
Offline |
The close shouldn't be slow? It's pretty snappy here.
Though the close thing when the client is not running can be fixed. |
| KMDonlon |
|
The Weather Freak![]() ![]() ![]() ![]() ![]() Group: Member
Joined: Feb 19 2004
Posts: 3,535
Offline |
Same here, I have a close button on a couple of my configs I don't use very much and it closes really quick even with a config refresh rate of 1500ms...
-------------------- |
| Silvayn |
Posted: Oct 1 2004, 09:51 AM
|
Shadow![]() Group: Member
Joined: Jul 21 2004
Posts: 24
Offline |
No idea why it's faster for me. Maybe because norton av running in the background is slowing things down? Oh well, ignore it then
|
| XoD |
Posted: Oct 1 2004, 04:26 PM
|
Shadow![]() Group: Member
Joined: Sep 10 2004
Posts: 2
Offline |
Starting my 7 Instances just takes 2 secs and closing all per commandline a bit over 1 sec.
|
| KMDonlon |
|
The Weather Freak![]() ![]() ![]() ![]() ![]() Group: Member
Joined: Feb 19 2004
Posts: 3,535
Offline |
I run AV in the background too, so not sure...
-------------------- |
| Silvayn |
Posted: Oct 2 2004, 06:23 PM
|
Shadow![]() Group: Member
Joined: Jul 21 2004
Posts: 24
Offline |
Ok, I figured out why it was slow for me when I tried it. It was because the first instance that I was trying to close wasn't always running. Thus loading it first and then closing (it's a net-info fetching instance) slowed closing of others.
|
| cyberbeer |
Posted: Oct 24 2004, 06:29 AM
|
Shadow![]() Group: Member
Joined: Aug 22 2004
Posts: 2
Offline |
How do you close multiple instances with the commandline for client? im running 2 instances named tvprogram and channel and want by one click to close them both! Cant seem to find it anywhere!
CyberBeer |
| AdamC |
Posted: Oct 24 2004, 06:46 AM
|
The Programming Frog![]() ![]() ![]() ![]() ![]() ![]() Group: Admin
Joined: Sep 26 2003
Posts: 2,496
Offline |
You use:
c:\program files\samurize\client i=tvprogram Close c:\program files\samurize\client i=channel Close |
| cyberbeer |
Posted: Oct 24 2004, 07:02 AM
|
Shadow![]() Group: Member
Joined: Aug 22 2004
Posts: 2
Offline |
Not quit the reply i needed! I need to know how to close 2 instances by only one click! I was thinking of something like this Client.exe i=tvprogram i=channel close! I know the commands for the close option. But how to close multiple instances is what im looking for! The one thing u wrote doesn't work! It works if i have 2 buttons but not one!
|
| Nappi |
Posted: Oct 24 2004, 07:52 AM
|
Ronin![]() ![]() ![]() ![]() ![]() Group: Moderating Crew
Joined: Sep 26 2003
Posts: 748
Offline |
Just make two separate meters with the links AdamC gave and place them on top of each other...
-------------------- |
| jon.derby |
Posted: Oct 24 2004, 10:40 AM
|
||||
Ninja![]() ![]() ![]() Group: Samurize VIP
Joined: Mar 20 2004
Posts: 77
Offline |
cyberbeer, have a look at my post in Expanding and Collapsing, Expanding&Collapsing two at a time! and just change
to (but with your instance names)
|
||||
| LimDul |
Posted: Oct 24 2004, 12:39 PM
|
||
The Lazy Admin![]() ![]() ![]() ![]() Group: Admin
Joined: Sep 30 2003
Posts: 149
Offline |
please try using less ! and more . in your posts |
||
| VAN |
Posted: Nov 8 2004, 12:01 AM
|
Shadow![]() ![]() Group: Member
Joined: Nov 5 2004
Posts: 4
Offline |
this looks confusing. i'll just create a bat file instead.
|
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
Pages: (2) [1] 2 |
![]() ![]() ![]() |
Integrated by Koudanshi v1.4E © 2004 Bulletin Board Module.
Powered by Invision Power Board(U) v1.31 Final © 2003 IPS, Inc.
Powered by Invision Power Board(U) v1.31 Final © 2003 IPS, Inc.





















