The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
systray recovery
Author Message
ChaveS
Journeyman
*

Posts: 69
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Oct 2012
Reputation: 0



Post: #1
systray recovery
Is there a way to find Sphere.exe sysrtray icon when it desapear(example, when i close explorer.exe or when it crashes)
PS: there are systray aplication (such SphereService, this battery icon, and "H" icon)  that autorecovery when you reopen explorer.exe

[Image: systray.jpg]

(This post was last modified: 12-01-2012 02:28 AM by ChaveS.)
12-01-2012 02:23 AM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: systray recovery
Sphere has a habit of disappearing into your "hidden items" in the systray.

[Image: 2nis46r.jpg]
12-01-2012 02:36 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
ChaveS
Journeyman
*

Posts: 69
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Oct 2012
Reputation: 0



Post: #3
RE: systray recovery
Big Grin

it could had the same proprieties of SphereService!

No chances for how knows the sphere projects to make a vbs script which find the sphere exe systray?

or at least open up the sphere console again using this script or a new program
(This post was last modified: 12-01-2012 03:14 AM by ChaveS.)
12-01-2012 03:12 AM
Find all posts by this user Like Post Quote this message in a reply
Shaklaban
Master
**

Posts: 378
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 8

DOT

Post: #4
RE: systray recovery
well in the past i try to get mainwindowhandle from spheresvr.exe when it disappears but i think it is not possible.

maybe you can record window handle of the sphere in some integer in vb or another programming language when its active, and try to activate that window handle later. but im not sure handle will be same or not after disappear.
(This post was last modified: 12-01-2012 03:21 AM by Shaklaban.)
12-01-2012 03:17 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
ChaveS
Journeyman
*

Posts: 69
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Oct 2012
Reputation: 0



Post: #5
RE: systray recovery
Thanks!

but i have no idea how to do it Big Grin

ill let the concept here hehe
12-01-2012 03:40 AM
Find all posts by this user Like Post Quote this message in a reply
Shaklaban
Master
**

Posts: 378
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 8

DOT

Post: #6
RE: systray recovery
well i tried and it works if you can install visual c# 2010 express edition i can send you the codes you can edit them.

its concept is:

record window id of sphere to global integer when spheres window is visible

then use ShowWindow api function with that hwdn, its shows up.

here is the link for what i created:

http://www.dot.gen.tr/connector_files/spherewindow.rar

after download it just press record button when spheres window is visible, then minimize it the taskbar and press to get button. spheres name must be spheresvr.exe otherwise program will not recognize it.
12-01-2012 05:17 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
ChaveS
Journeyman
*

Posts: 69
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Oct 2012
Reputation: 0



Post: #7
RE: systray recovery
Lol.. its perfect!

Thank you very much!

Big Grin

EDIT:
If you want, ill give a suggest!

You could make a control painel! Ill say what im doing...

Firstly i open the program AUTOHOTKEYS ( http://www.autohotkey.com/ ), and set an hotkey:
CTRL + LSHIFT + Z: open explorer.exe

Then when i leave the PC (my shard is running on my personal desktop), i run a batch file:
Code:
taskkill -im explorer.exe /f /t
taskkill -im LiveComm.exe /f /t
taskkill -im msnmsgr.exe /f /t

Then, when i get back, i press
CTRL + SHIFT + Z

And now, thanks to you ill use the your program to see the sphere window again!

So... what if you make a program to do what im doing, and able to customize everything (programs to close, hotkeys to open explorer, to open sphere, to close programs, open script folder, open sphere.ini) etc..?

And any other feature the people think later!

I think on version 10.0 we will have a powerful tool Big Grin

bye and thanks !!
(This post was last modified: 12-01-2012 02:18 PM by ChaveS.)
12-01-2012 01:48 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 3 Guest(s)