AutoHotkey Community

It is currently May 23rd, 2012, 10:41 pm

All times are UTC [ DST ]


Search found 861 matches
Search these results:

Author Message

 Forum: Support   Topic: Help with optimizing this script

Posted: March 19th, 2012, 6:40 pm 

Replies: 2
Views: 79


Script looks fairly organized, good job. The only thing I am confused about is this part: Screen_X = %A_ScreenWidth% Screen_Y = %A_ScreenHeight% They aren't used anywhere else, but I assume you just showed a snippet of code. Even so though, you should probably just use the built in variables to save...

 Forum: Support   Topic: Change Default Sound Device -How to close the window?

 Post subject: Re: Multiple Devices
Posted: February 9th, 2012, 9:00 am 

Replies: 3
Views: 568


In the example provided, you can do that by simply typing the device number you want in the input box? What exactly are you using your logic statements to do?

 Forum: Support   Topic: Change the number of visible rows in listview?

Posted: January 10th, 2012, 4:58 am 

Replies: 5
Views: 158


I am kind of out of practice with AutoHotkey and this is probably a simple answer, but I cannot find it. I am working on something which uses a listview. A variable containing a number is used in a listview like so: VRC := 10 Gui, Add, Listview, r%VRC% w300 Grid, 1|2|3 Now my simple question is how ...

 Forum: Support   Topic: chesstitans

Posted: December 31st, 2011, 7:32 am 

Replies: 40
Views: 1177


You script a bit overwhelming to even bother looking at and I am not going to test it because of the file writing. Here is an adaption I made of the script to screenshot with GDI+. I think using this will make your life a lot easier and it would only be harder to transfer to it later anyway. It capt...

 Forum: Support   Topic: chesstitans

Posted: December 30th, 2011, 9:15 pm 

Replies: 40
Views: 1177


I tried Sean's function a while back and had issues because of incompatibities with GDI+ and his function working together. If you are going to use GDI+ within your script, you are going to want to use that to get screenshots rather than Sean's function. Here is a post I made a while ago about how t...

 Forum: Support   Topic: chesstitans

Posted: December 28th, 2011, 2:59 am 

Replies: 40
Views: 1177


Use the DriveGetcommand to obtain various information (such as what type of drive) and make a decision based on that information.

AHK_L Documentation.

Specific ArrayAHK_L documentation.

 Forum: Support   Topic: chesstitans

Posted: December 27th, 2011, 8:57 pm 

Replies: 40
Views: 1177


I haven't read your code, but keep in my mind, variables within a function are already an expression (imagine they have percent signs around them already) and when you put the percent around them, you are passing them dynamically. For example if you used this, you will see what I mean: Var := "...

 Forum: Scripts   Topic: Gaiaonline Christmas Caroling [2011]

Posted: December 25th, 2011, 11:14 am 

Replies: 0
Views: 258


For those of you who are gaiaonline fans, I assume you get annoyed with the process of caroling and whatnot. This script is something I wrote for my girlfriend fairly quickly so she could sleep and still get her objectives for caroling done. I know it is in no way a great script, but it gets the job...

 Forum: Support   Topic: LWin::!MButto is not working

Posted: December 20th, 2011, 7:55 am 

Replies: 3
Views: 117


Code:
#IfWinActive ahk_class 3DSMAX
LWin::!{MButton}

 Forum: Support   Topic: chesstitans

Posted: December 19th, 2011, 5:36 am 

Replies: 40
Views: 1177


What is wrong with using StringRight to get the variable? If the variable isn't going to always be 2 characters, you can use a RegEx to do it. If you need to, you can pass variables dynamically. Example: FullVar1 := "XctrA8" ; <-- Full variable name FullVar2 := "YctrA8" ; <-- Ful...

 Forum: Support   Topic: [SOLVED] GDI+ parabolic line?

Posted: December 18th, 2011, 11:26 pm 

Replies: 11
Views: 451


I believe it's called a template. :) I am going to read more on ballastics when I get home though, except in English lol.

 Forum: Support   Topic: [SOLVED] GDI+ parabolic line?

Posted: December 18th, 2011, 7:52 pm 

Replies: 11
Views: 451


Zaelia, thank you for your suggestion but I think I will stick to just drawing formula points using straight lines as it offers more control over the algebraic equation manipulations. Thank you for your advice though.

 Forum: Support   Topic: [SOLVED] GDI+ parabolic line?

Posted: December 18th, 2011, 8:57 am 

Replies: 11
Views: 451


@Leef_Me For my purposes, aim visuals which will assist in games that I play. It will take into account gravity with some simple formula manipulation. With a bit more manipulation I bet I could do a couple more things in AHK with it: ⋅  Give new users a visual of how a screen works with c...

 Forum: Support   Topic: [SOLVED] GDI+ parabolic line?

Posted: December 18th, 2011, 7:51 am 

Replies: 11
Views: 451


nimda, thank you for your response. Using a series of straight lines I can generate a parabola (based on screen dimensions and the mouse position). For the future in case anyone wants to generate a parabolic line on the screen (which is adjustable based on mouse position): #SingleInstance, Force #No...

 Forum: Support   Topic: [SOLVED] GDI+ parabolic line?

Posted: December 18th, 2011, 4:39 am 

Replies: 11
Views: 451


I was considering making something which would involve a parabolic function (specifically I believe it would just be quadratic, nothing bigger polynomial wise, if it matters) and I was just wondering is it possible to draw a line like this with GDI+ over the screen based on a given function/formula?...
Sort by:  
Page 1 of 58 [ Search found 861 matches ]


All times are UTC [ DST ]


Powered by phpBB® Forum Software © phpBB Group