Search found 49 matches

by MonuKashyap
15 Sep 2018, 05:09
Forum: Ask For Help
Topic: setting srceen size for specific gui
Replies: 1
Views: 230

setting srceen size for specific gui

how to set screen size 1366x768 for gui window named mywindow only, and when mywindow is not active (minimized or closed), then screen will set default setting/resolution.
any idea?
by MonuKashyap
15 Sep 2018, 05:02
Forum: Ask For Help
Topic: GUI on different monitors
Replies: 1
Views: 234

GUI on different monitors

How to get uniform size of text, pic, and window for different monitors??
by MonuKashyap
01 Aug 2018, 05:49
Forum: Ask For Help
Topic: Fileappend failed to write html on folder %temp% Topic is solved
Replies: 6
Views: 580

Fileappend failed to write html on folder %temp% Topic is solved

What to do when fileappend fails to write i.e. errorlevel=1
the folder is %temp% on my local computer
any help pls??
by MonuKashyap
21 Jul 2018, 07:33
Forum: Ask For Help
Topic: Easy calculator Topic is solved
Replies: 9
Views: 2889

Re: Easy calculator Topic is solved

yeah this is working,
thank you Flipeador!!
by MonuKashyap
21 Jul 2018, 07:26
Forum: Ask For Help
Topic: How to close inputbox Topic is solved
Replies: 4
Views: 644

Re: How to close inputbox Topic is solved

garry wrote:

Code: Select all

#singleinstance,force
InputBox, z ,input
if ErrorLevel
   msgBox, CANCEL was pressed.
else if (z="")
   msgbox,Input is empty
else   
   msgbox,%z%
return

Thanks You too friend.
this also work for me.
by MonuKashyap
21 Jul 2018, 07:25
Forum: Ask For Help
Topic: How to close inputbox Topic is solved
Replies: 4
Views: 644

Re: How to close inputbox Topic is solved

trust_me wrote:

Code: Select all

InputBox, z ,input
msgbox canceled by user


esc::
ControlClick,Cancel ,input
return

working!!
Thanks Men..
by MonuKashyap
21 Jul 2018, 07:20
Forum: Wish List
Topic: two command in single line
Replies: 1
Views: 547

two command in single line

I wish to add two ahk command in single line.
like

loop
{
if a_index=100
Break && Return ;<<<<<<<this
else
tooltip % a_index
}
by MonuKashyap
23 Jun 2018, 04:16
Forum: Ask For Help
Topic: Write content of the clipboard to a log file (eg .txt) Topic is solved
Replies: 12
Views: 1003

Re: Write content of the clipboard to a log file (eg .txt) Topic is solved

date=%a_yyyy%-%a_mm%-%a_dd%
Fileappend % clipboard "`n" date "`n", C:\aa\clip.txt
by MonuKashyap
23 Jun 2018, 03:28
Forum: Ask For Help
Topic: How to close inputbox Topic is solved
Replies: 4
Views: 644

How to close inputbox Topic is solved

How to close inpoutbox by Esc button?
like :

inputbox, var
msgbox % var
Return

Esc::
inputbox close ;;---here (only inputbox, not the whole script.)
Return


THanks in advance.
by MonuKashyap
16 Jun 2018, 04:16
Forum: Ask For Help
Topic: Easy calculator Topic is solved
Replies: 9
Views: 2889

Re: Easy calculator Topic is solved

"calculation = %UserType%"

That also not working.. Relayer,
is there any other option??
by MonuKashyap
16 Jun 2018, 03:03
Forum: Ask For Help
Topic: how to identify conditions
Replies: 9
Views: 983

Re: how to identify conditions

swagfag wrote:thats what the function does already, just extract its body and change the variable names accordingly
Can you please explain How??
by MonuKashyap
16 Jun 2018, 03:00
Forum: Ask For Help
Topic: solve simple math function inside a variable Topic is solved
Replies: 3
Views: 443

solve simple math function inside a variable Topic is solved

How to solve simple math function inside a variable
for example
(I tried, but fail :cry: :cry: :cry: )

a=1+1
ans:=a
msgbox % ans

and it shows "1+1"
how can i get the addition (i mean the ans)??
by MonuKashyap
29 May 2018, 07:09
Forum: Ask For Help
Topic: how to identify conditions
Replies: 9
Views: 983

Re: how to identify conditions

Well i am something looking like that :- a=pwd1 b=pwd2 inputbox, InputByUser if (InputByUser=pwd1 || InputByUser=pwd2) ; if the condition goes true, by condition1 i.e. entering pwd1 then, msgbox The user get loged in by by condition1 ; and if the condition goes true, by condition2 i.e. entering pwd2...
by MonuKashyap
29 May 2018, 03:16
Forum: Ask For Help
Topic: how to identify conditions
Replies: 9
Views: 983

Re: how to identify conditions

How to identify the condition gone true? suppose, a=apple b=2 If (a="apple" || b="boll") Msgbox True in this How to identify by script that which condition gone true to reach the msgbox, by user? 1. by apple (first condition) 2. by boll (second condition) Play with this, I think it can help you a =...
by MonuKashyap
29 May 2018, 01:39
Forum: Ask For Help
Topic: how to identify conditions
Replies: 9
Views: 983

Re: how to identify conditions

imustbeamoron wrote:i would say, if you need to know which argument caused the ''true' condition, you need to restructure your code and use individual "if" statements.
How do i do that?
where both conditions are variable
by MonuKashyap
28 May 2018, 04:58
Forum: Ask For Help
Topic: how to identify conditions
Replies: 9
Views: 983

how to identify conditions

How to identify that which condition gone true?

suppose,

a=apple
b=2

If (a="apple" || b="boll")
Msgbox True


in this How to identify by script that which condition gone true to reach the msgbox, by user?
1. by apple (first condition)
2. by boll (second condition)
by MonuKashyap
14 May 2018, 07:54
Forum: Ask For Help
Topic: How to get button name of a gui?? Topic is solved
Replies: 8
Views: 1052

Re: How to get button name of a gui?? Topic is solved

jmeneses wrote:

Code: Select all

Loop 10
Gui, add, button, gtest, %a_index%
Gui, add, button, vMyBUT gtest, % "MyBUTTON" 
gui, show
Return

test:
ToolTip, % A_GuiControl
return




its really, really great..
in very short code..
really great..
And
Thanks a lot.
by MonuKashyap
09 May 2018, 08:17
Forum: Ask For Help
Topic: How to get button name of a gui?? Topic is solved
Replies: 8
Views: 1052

How to get button name of a gui?? Topic is solved

How do i get the button name??

assume this script:

Loop 10
Gui, add, button, gtest, %a_index%
gui, show
Return

test:
msgbox %buttonname%
return



in this how do i get the name of the pressed button??
pls help.
by MonuKashyap
11 Feb 2018, 02:46
Forum: Ask For Help
Topic: Help with Search Topic is solved
Replies: 8
Views: 565

Re: Help with Search Topic is solved

Well,, Thank you all for replies.. I really appreciate your help and suggestion. and I found my solution in this code,- gui, font, s20 gui, add, edit gui, add, button, x10 y110 w100 gfind vSrchButton Default, Find gui, add, button, x10 y110 w100 gstop vStopButton Default, Stop Guicontrol, hide, Stop...

Go to advanced search