AutoHotkey Community

It is currently May 27th, 2012, 12:13 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 189 posts ]  Go to page Previous  1 ... 9, 10, 11, 12, 13  Next
Author Message
 Post subject:
PostPosted: December 28th, 2011, 4:51 am 
Offline

Joined: September 17th, 2005, 6:43 pm
Posts: 242
duderdude wrote:
maestrith wrote:
Code:
gui,add,button,grun,run
gui,show
return
run:
Run, \Users\%A_UserName%\Documents\Read Me 1.txt
return

That is how you would use a button to run a file.


ahh, so i just go in and actually edit the script and not do it actually on the gui. i will give it a look tomorrow and let you know if i have more questions. thank you for your time!!

No problem :) yes, this program is only for creating and setting up the gui. The actual programming of what it does is up to you.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 29th, 2011, 6:41 pm 
Offline

Joined: February 26th, 2011, 7:14 pm
Posts: 22
wow i hadn't seen the latest updates and this program just keeps getting better and better. I just wanted to pop in and say thank you for your EXCELLENT WORK!!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 29th, 2011, 6:49 pm 
Offline

Joined: September 17th, 2005, 6:43 pm
Posts: 242
r7393s wrote:
wow i hadn't seen the latest updates and this program just keeps getting better and better. I just wanted to pop in and say thank you for your EXCELLENT WORK!!


:)

You are welcome. Spread the word, and keep the suggestions coming and it will continue to grow.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 29th, 2011, 11:10 pm 
maestrith wrote:
duderdude wrote:
maestrith wrote:
Code:
gui,add,button,grun,run
gui,show
return
run:
Run, \Users\%A_UserName%\Documents\Read Me 1.txt
return

That is how you would use a button to run a file.


ahh, so i just go in and actually edit the script and not do it actually on the gui. i will give it a look tomorrow and let you know if i have more questions. thank you for your time!!

No problem :) yes, this program is only for creating and setting up the gui. The actual programming of what it does is up to you.


ok...i am slowly getting this.....

i got the script to do what i need, only trying to name the gui button is now being my next issue. when i use the size and coordinates for the button, they always appear in the name of the button. so for example, i want the button name to be "Read Me", the script will function properly, but the name of the button on the gui is "x21 y183 w151 h69, Read Me" i have tried experimenting and moving stuff around but to no avail. here is the line of code i am using. something is either wrong or in the wrong place.

Code:
Gui,Add,Button,grun,x21 y183 w151 h69,Read Me
Gui,1:Font,s12,Courier New
gui,show
return
run:
Run, \Users\%A_UserName%\Documents\Try Me\Read Me.txt
return


if i add grun to after the coordinates, the script will not run.

not sure whether to apologize or thank you from this point :?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: December 29th, 2011, 11:12 pm 
Offline

Joined: September 17th, 2005, 6:43 pm
Posts: 242
duderdude wrote:
maestrith wrote:
duderdude wrote:
maestrith wrote:
Code:
gui,add,button,grun,run
gui,show
return
run:
Run, \Users\%A_UserName%\Documents\Read Me 1.txt
return

That is how you would use a button to run a file.


ahh, so i just go in and actually edit the script and not do it actually on the gui. i will give it a look tomorrow and let you know if i have more questions. thank you for your time!!

No problem :) yes, this program is only for creating and setting up the gui. The actual programming of what it does is up to you.


ok...i am slowly getting this.....

i got the script to do what i need, only trying to name the gui button is now being my next issue. when i use the size and coordinates for the button, they always appear in the name of the button. so for example, i want the button name to be "Read Me", the script will function properly, but the name of the button on the gui is "x21 y183 w151 h69, Read Me" i have tried experimenting and moving stuff around but to no avail. here is the line of code i am using. something is either wrong or in the wrong place.

Code:
Gui,Add,Button,grun,x21 y183 w151 h69,Read Me
Gui,1:Font,s12,Courier New
gui,show
return
run:
Run, \Users\%A_UserName%\Documents\Try Me\Read Me.txt
return


if i add grun to after the coordinates, the script will not run.

not sure whether to apologize or thank you from this point :?


this line
Code:
Gui,Add,Button,grun,x21 y183 w151 h69,Read Me

should be
Code:
Gui,Add,Button,grun x21 y183 w151 h69,Read Me


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: December 30th, 2011, 5:19 am 
maestrith wrote:
duderdude wrote:
maestrith wrote:
duderdude wrote:
maestrith wrote:
Code:
gui,add,button,grun,run
gui,show
return
run:
Run, \Users\%A_UserName%\Documents\Read Me 1.txt
return

That is how you would use a button to run a file.


ahh, so i just go in and actually edit the script and not do it actually on the gui. i will give it a look tomorrow and let you know if i have more questions. thank you for your time!!

No problem :) yes, this program is only for creating and setting up the gui. The actual programming of what it does is up to you.


ok...i am slowly getting this.....

i got the script to do what i need, only trying to name the gui button is now being my next issue. when i use the size and coordinates for the button, they always appear in the name of the button. so for example, i want the button name to be "Read Me", the script will function properly, but the name of the button on the gui is "x21 y183 w151 h69, Read Me" i have tried experimenting and moving stuff around but to no avail. here is the line of code i am using. something is either wrong or in the wrong place.

Code:
Gui,Add,Button,grun,x21 y183 w151 h69,Read Me
Gui,1:Font,s12,Courier New
gui,show
return
run:
Run, \Users\%A_UserName%\Documents\Try Me\Read Me.txt
return


if i add grun to after the coordinates, the script will not run.

not sure whether to apologize or thank you from this point :?


this line
Code:
Gui,Add,Button,grun,x21 y183 w151 h69,Read Me

should be
Code:
Gui,Add,Button,grun x21 y183 w151 h69,Read Me


damn, just a comma!!! it worked, thank you......again!!!!!!


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: January 9th, 2012, 11:44 pm 
Offline

Joined: April 27th, 2008, 5:28 pm
Posts: 489
Looking very good.

I have not read thru all 12 pages for this thread, so I don't know if this has been discussed.

I noticed if I right click and choose File, then Display Program. I am able to edit the gui and add code to the bottom and it shows up in my saved GUI.

Pretty cool.

DataLife

_________________
Check out my scripts.
(MyIpChanger) (XPSnap) (SavePictureAs)

All my scripts are tested on Windows 7, AutoHotkey_L 32 bit Ansi unless otherwise stated.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 10th, 2012, 12:08 am 
Offline

Joined: September 17th, 2005, 6:43 pm
Posts: 242
DataLife wrote:
Looking very good.

I have not read thru all 12 pages for this thread, so I don't know if this has been discussed.

I noticed if I right click and choose File, then Display Program. I am able to edit the gui and add code to the bottom and it shows up in my saved GUI.

Pretty cool.

Also, control Z undoes the last change made to the gui.

DataLife


Thanks for the kind words :) I added Undo a while back....what a pain in the bottom that was...

Anyway, I hope that everything is working properly and if you think of anything to add or change, let me know. I welcome help in any form and it is thanks to suggestions that it has become what it is.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 14th, 2012, 6:07 pm 
Offline

Joined: September 1st, 2011, 9:24 am
Posts: 31
I really like it, this could be a great alternative to Smartgui. I would add a few things, though, like a menu bar so that you don't have to right-click all the time and also a double-click function to readjust the fields.
Other than that, this is very promisiing, keep up the good work.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 29th, 2012, 7:14 am 
Offline

Joined: September 17th, 2005, 6:43 pm
Posts: 242
gonzax wrote:
I really like it, this could be a great alternative to Smartgui. I would add a few things, though, like a menu bar so that you don't have to right-click all the time and also a double-click function to readjust the fields.
Other than that, this is very promisiing, keep up the good work.


Thanks for the post :) I want to say I am sorry for this taking so long, but I have been working on my Script Writer and it is taking up all of my time. I am also working on a toolbar for this script too. I am not too good at multi-tasking and the other script is getting a complete re-write.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 29th, 2012, 2:39 pm 
Offline

Joined: September 1st, 2011, 9:24 am
Posts: 31
no worries, it's good to know you're still working on it so take your time, we appreciate it.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 29th, 2012, 2:51 pm 
Offline

Joined: July 31st, 2008, 10:27 pm
Posts: 336
gonzax wrote:
no worries, it's good to know you're still working on it so take your time, we appreciate it.


+1


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: March 30th, 2012, 9:59 am 
It's very good :)
Btw, not sure if you know but if you create an item (at least a checkbox) named "1" it doesn't update the control graphically; for example: If was called "checkbox", new name is 1 and program shows "checkbox"


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: April 4th, 2012, 1:32 pm 
Offline

Joined: September 17th, 2005, 6:43 pm
Posts: 242
Anonymous wrote:
It's very good :)
Btw, not sure if you know but if you create an item (at least a checkbox) named "1" it doesn't update the control graphically; for example: If was called "checkbox", new name is 1 and program shows "checkbox"


I will look into that. I am sorry I have been away for so long but I had to create a proxy server just so I can see Autohotkey.com or .net I do not know why but no matter what browser I use it will not work. Anyway I will see what I can do. I also need suggestions on what can be added to the program. I have had a programming block lately and I can not think of anything new to add either here or in my other Program. Any ideas would be greatly appreciated.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 10th, 2012, 2:57 pm 
Offline

Joined: September 17th, 2005, 6:43 pm
Posts: 242
I have run out of ideas. Other than the inability to create a checkbox with the title of 1, still not sure what is up with that, I have no idea what to do with it. If anyone has an idea on how to make the project better in any way, either with code or just a suggestion on an addition, please feel free to send me a message or post it here. Thank you to everyone who uses this program. I just want to make Autohotkey a little easier for everyone and if anything that I have done here or with any of my other programs has made it easier for you to create then I have accomplished what I set out to do. I have never required, nor do I intend to start, that you give me a mention if you use my code (it would be nice though :) but if I gave you a different way to think about a project that you are working on, just send me a message. I like knowing that I have made a difference in someones life for the better.


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 189 posts ]  Go to page Previous  1 ... 9, 10, 11, 12, 13  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], fincs and 8 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group