AutoHotkey Community

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

All times are UTC [ DST ]


Search found 23 matches
Search these results:

Author Message

 Forum: Support   Topic: How to simplify rational numbers ?

Posted: January 13th, 2010, 10:07 pm 

Replies: 57
Views: 2458


Thanks a million! :D numerator := 3000000 denominator := 10000 x := numerator, y := denominator loop { y ? (dx:=x) (x:=y) (y:=mod(dx,y)) : (numerator//=v:=abs(x)) (denominator//=v) (br:=1) ifequal,br,1,break } Msgbox, % numer...

 Forum: Support   Topic: Randomly rename pictures

Posted: October 11th, 2009, 9:17 am 

Replies: 6
Views: 555


Ok so I added Sort, FileList, Random and so far so good! Thanks guys EDIT: Due to the FileMove not overwriting, if you run it once, you may be left with files which haven't been renamed, so combat this the final script is this: Loop, 3 {Filelist= Loop, %A_ScriptDir%\*.jpg,,1 FileList = %FileLis...

 Forum: Support   Topic: Randomly rename pictures

 Post subject: Kinda worked
Posted: October 11th, 2009, 9:13 am 

Replies: 6
Views: 555


My problem is that the pictures are named in order taken (obv) but the photoframe doesn't have the ability to show pictures randomly, so I just get them in the order they were taken. I tried: Filelist= Loop, %A_ScriptDir%\*.jpg,,1 FileList = %FileList%%A_LoopFileName%`n Loop, parse, FileList, `n ...

 Forum: Support   Topic: Randomly rename pictures

 Post subject: Randomly rename pictures
Posted: October 10th, 2009, 11:43 pm 

Replies: 6
Views: 555


Hey guys, pretty simple one, but I can't seem to work out how!

I have a digital phot frame which plays the photos in order. I just need a script which can give each jpeg a random 4 digit number, e.g.

mypic1.jpg > 0156.jpg
mypic2.jpg > 6486.jpg

Cheers!

 Forum: Support   Topic: PixelGetColor not working the way I want

Posted: December 23rd, 2008, 4:39 pm 

Replies: 7
Views: 615


bump!

I also need a way to use pixelgetcolor for a non-active window (the non-active window is also completely covered my a maximised window above it)

Is there no way to use this command similarly to how a ControlSend is used?

 Forum: Scripts   Topic: Ifor's Workout Logger

 Post subject: Re: Ifor's Workout Logger
Posted: October 21st, 2008, 12:31 pm 

Replies: 3
Views: 811


It's too big to upload here, but can be downloaded from http://www.ifor.co.nr If you were not already aware, we have our own hosting space: http://www.autohotkey.net/xfm/?a=rules Do you mean I have to use the autohotkey.net repos if I'm posting on this site or were you just letting me know they exi...

 Forum: Scripts   Topic: Ifor's Workout Logger

 Post subject: Ifor's Workout Logger
Posted: October 21st, 2008, 12:12 pm 

Replies: 3
Views: 811


Here's a script I have been working on for a while now. It's too big to upload here, but can be downloaded from http://www.ifor.co.nr or mirrored here http://www.autohotkey.net/~iforwms Create your workout routine > Log it > Export to CSV/Gym Handout/Blog I'm hoping to add a graph plot function some...

 Forum: Support   Topic: Data Sort problem

Posted: October 15th, 2008, 8:46 pm 

Replies: 4
Views: 433


Realised it's not actually an issue.

 Forum: Support   Topic: Data Sort problem

Posted: October 15th, 2008, 12:54 am 

Replies: 4
Views: 433


One other thing, how would you edit this so a blank field would be sorted after 'Last' ?

Code:
2008-10-13:20081013215924:::Cardio:Treadmill:4.19:km:in:25:mins::secs::::::::::N/A::

 Forum: Support   Topic: Data Sort problem

Posted: October 15th, 2008, 12:50 am 

Replies: 4
Views: 433


Swapped the minuses for column A to sort by newest first. worked great.

thank you very much!!!

 Forum: Support   Topic: Data Sort problem

 Post subject: Data Sort problem
Posted: October 14th, 2008, 10:48 pm 

Replies: 4
Views: 433


Hey guys, I have a listview that stores the data in a file, with the data in the following format (columns are seperated by a ":" ) Here's an example of the data 2008-10-14:20081014222312:First:WO_2:Legs and Abs:Squat:85:8:80:8:70:8:80:6:::::::::2360:70:Notes 2008-10-14:20081014222312:2:WO...

 Forum: Support   Topic: ListBox - edit one item

 Post subject: ListBox - edit one item
Posted: September 16th, 2008, 12:54 pm 

Replies: 0
Views: 395


Hi guys, This doesn't seem to be possible in AHK, but maybe you can help me come up with a solution? I am trying to create a listbox that simulates the one found here: http://ati.amd.com/support/driver.HTML Note that the different OS's are in bold, and non-selectable. At the moment the closest optio...

 Forum: Support   Topic: Add 1 to variable name upon each successful loop

Posted: September 14th, 2008, 12:02 pm 

Replies: 2
Views: 391


copperbeard, it worked a treat.

Many thanks!

 Forum: Support   Topic: Add 1 to variable name upon each successful loop

Posted: September 13th, 2008, 4:27 pm 

Replies: 2
Views: 391


The problem I am having is that I want each next checked item to be WO_1_1, WO_1_2, WO_1_3 etc, but as I am using A_Index and parsing, these values end up as WO_1_14, WO_1_18 etc, is there a way to name a variables as I want them, just adding 1 to the name after every successful loop? Loop, Parse, C...

 Forum: Scripts   Topic: Keyboard Media Keys (for USB HID devices!)

Posted: September 12th, 2008, 9:05 pm 

Replies: 40
Views: 51395


Hey, script looks good, unfortunately, when I try and run it I get a missing mfc71.dll error. I have downloaded a copy and placed it in my system and system32 folders, but when I try and register the dll I get a LoadLibrary failed message :( Any ideas? Or just the key codes for a Logitech LX710 :p T...
Sort by:  
Page 1 of 2 [ Search found 23 matches ]


All times are UTC [ DST ]


Powered by phpBB® Forum Software © phpBB Group