Source language: Translate to:

PLEASE HELP , I NEED FULL DESCRIPTION ABOUT SYSTRAY

Questions about using NeoBook's scripting language

Moderator: Neosoft Support

PLEASE HELP , I NEED FULL DESCRIPTION ABOUT SYSTRAY

Postby Neo.0.0.0 » Fri Jun 02, 2006 6:15 am

HI ALL

I NEED FULL DESCRIPTION TO ADD SYSTRAY TO MY PROGRAM, WITH 2 ICONS, FOR OFFLINE ONE & FOR ONLINE ONE,

BUT PLEASE WITH FULL DESCRIPTION HOW TO ADD SYSTRAY BEFORE ANSWER MY FIRST QUESTION, I DON'T NEED TO DO ANY MISTAKES SO I NEED THE FULL DESCRIPTION

&&&
IN NEED THE CODE FOR ROPEN THE PROGRAM FROM SYSTRAY ( OPEN SYSMENU) AND ANOTHER FOR EXIT

AND NO ONE CAN EXIT THE PROGRAM ONLY FROM EXIT IN TRAY
& THE TRAY STILL RUN WHEN PROGRAM OPENED , LIKE (SMART EXPLORER & MSN )

OK , I READ MORE THAN 5 TOPICS ABOUT SYSTRAY, ALL OF THE TOPICERS KNOW HOW TO ADD SYSTRAY , AND ALL THE QUESTION ABOUT ANOTHER ACTIONS INSIDE SYSTRAY
SO I NEED TO MAKE SYSTRAY & SOME ACTIONS



PLEASE HELP
Neo.0.0.0
 
Posts: 9
Joined: Wed May 31, 2006 9:33 pm

Postby dglojnar » Fri Jun 02, 2006 9:15 am

Hi, Neo.0.0.0 and welcome to the forum.

Please, do not use capital letters when You write a message - capital letters means anger, shouting or figthing:-), and, generally is not allowed on any forum on the net, so, be carefull next time:-))

No hard feelings:-))

Regards,
dglojnar
dglojnar
 
Posts: 112
Joined: Sun Apr 03, 2005 10:52 pm

Postby Neosoft Support » Fri Jun 02, 2006 10:15 am

You can use the LoadIcon action to change the icon that appears in the tray. For example:

LoadIcon "C:\Program Files\NeoBook 5\Icons\Puppy.ico" "TrayIcon"

You can customize the tray icon menu from the "Tray Menu" page of the Book Properties screen.

To reopen the program use the following action:

SetVar "[WindowState]" "Normal"

To shutdown the program use:

Exit "" ""
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5603
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Postby Neo.0.0.0 » Fri Jun 02, 2006 12:46 pm

hi

i am sorry about capwords , don't know that..

thanks neosoft support , but i want somthing more and maybe simple but i don't know it :

1-( how to add an action to send my window to systray)

2- the 1st run is in tray+normal , and when run it , the tray icon still shown,

thnx
Neo.0.0.0
 
Posts: 9
Joined: Wed May 31, 2006 9:33 pm

Postby remlap » Fri Jun 02, 2006 2:08 pm

Salam Neo

1-( how to add an action to send my window to systray)


Just use
Code: Select all
SetVar "[WindowState]" "Minimized"


This will send your pub back into the System Tray.

2- the 1st run is in tray+normal , and when run it , the tray icon still shown,


From what I understand, this is standard practise. You could change the icon when the pub is visible, but I don't think it's possible to remove the icon altogether.

Hope this helps
User avatar
remlap
 
Posts: 141
Joined: Thu Jun 09, 2005 5:23 pm
Location: Lincolnshire, England

Postby Neo.0.0.0 » Fri Jun 02, 2006 3:28 pm

hi

thanks remlap

i put this action in startup action and didn't see the icon near the o'clock

just minimized

thanks anyway
Neo.0.0.0
 
Posts: 9
Joined: Wed May 31, 2006 9:33 pm

Postby remlap » Fri Jun 02, 2006 3:40 pm

You do need to first set your publication to behave as a Sys Tray application: Book Properties>Size/Colors>System Tray Application

I think you would really benefit from checking out the help file/manual on this subject.
User avatar
remlap
 
Posts: 141
Joined: Thu Jun 09, 2005 5:23 pm
Location: Lincolnshire, England


Return to NeoBook Action Commands

Who is online

Users browsing this forum: No registered users and 2 guests

cron