AutoHotkey Community

It is currently May 23rd, 2012, 11:55 pm

All times are UTC [ DST ]


Search found 52 matches
Search these results:

Author Message

 Forum: Support   Topic: Flickr Upload

 Post subject: Re: Flickr Upload
Posted: August 18th, 2009, 7:18 am 

Replies: 3
Views: 303


Actually the Flickr desktop uploadr already does this; http://www.flickr.com/tools/ But I would still like to learn how to do it with autohotkey. if possible

 Forum: Support   Topic: Flickr Upload

 Post subject: Flickr Upload
Posted: August 18th, 2009, 6:39 am 

Replies: 3
Views: 303


I was wondering if was possible to upload a image to flickr (including title, and tags) to flickr using AHK. I was thinking of creating a gui with title and tags field and a place to drog and drop a image. Please let me know if this is at all possible. Thank you and let me know if you need more info...

 Forum: Support   Topic: Pie Chart Probability

Posted: August 15th, 2009, 2:46 am 

Replies: 25
Views: 1375


I would like to say sorry to BoBo³ and thank you to everyone for all of your help

 Forum: Support   Topic: Pie Chart Probability

Posted: August 14th, 2009, 7:06 am 

Replies: 25
Views: 1375


"I'd like an Anchovie-pizza, but p-l-e-a-s-e without Anchovies !" sounds to me similar to this: I'm not actually looking for a pie chart, have you read any of my posts? (sorry if i sound harsh). O-k-a-y. Fair enough. Imagine I have a pie chart with a spinner in the center. The pie chart h...

 Forum: Support   Topic: Pie Chart Probability

Posted: August 13th, 2009, 4:51 am 

Replies: 25
Views: 1375


Sure, lemme try to explain those. Loop, Parse, p_FieldString, `, [color=red]If ( 0 >= l_Sum -= A_LoopField )[/color] The first thing executed is l_Sum -= A_LoopField , which removes A_LoopField from the Sum randomized previously. (A_LoopField contains the value correspondent to that iterati...

 Forum: Support   Topic: Pie Chart Probability

Posted: August 13th, 2009, 1:15 am 

Replies: 25
Views: 1375


Have you checked out Google - Chart already?? Use URLDownloadToFile to create/download the (pie) chart URLDownloadToFile, % "http://chart.apis.google.com/chart?[color=red]chxt=x,y&cht=lc&chxl=&chs=300x200&chf=bg,s"[/color], %A_ScriptDir%\Chart.png Gui, Add, Picture, w300 h...

 Forum: Support   Topic: Pie Chart Probability

Posted: August 13th, 2009, 1:14 am 

Replies: 25
Views: 1375


EDIT : Solution provided here . Thanks to [VxE] for the original code (next post). Ok the things I need explained are: Loop, Parse, p_FieldString, `, [color=red]If ( 0 >= l_Sum -= A_LoopField )[/color] Please explain the red part in english Return A_Index ( p_Chance ? "," (...

 Forum: Support   Topic: Pie Chart Probability

Posted: August 12th, 2009, 8:14 am 

Replies: 25
Views: 1375


MasterFocus wrote:
Good. Let me test a few things and see what I can do.

Thanks

 Forum: Support   Topic: Pie Chart Probability

Posted: August 12th, 2009, 8:01 am 

Replies: 25
Views: 1375


Something like this? Spinner(num) { Random, var, 0, % num * 10 Loop % num { slice := A_Index * num if var between 0 and %slice% { MsgBox, Slice %A_Index% was randomly selected break } } } #v::Spinner(7) ;Spinner(11) ;Spinner(24) Please E...

 Forum: Support   Topic: Pie Chart Probability

Posted: August 12th, 2009, 7:58 am 

Replies: 25
Views: 1375


In my first attempt a the GA for the spinner function I used a txt file. Say I have the colors: green, blue, red, yellow Blue = 36 green = 2 red = 13 yellow = 49 So I had the function write 36 blue line by line, then 2 greens, the 13 reds, then 49 yellows. Then I randomly chose one line from the fil...

 Forum: Support   Topic: Pie Chart Probability

Posted: August 12th, 2009, 7:51 am 

Replies: 25
Views: 1375


I might try to give some more insight for what I am looking for. A while ago I tried making a genetic algorithm with AHK, Sinkfaze actually helped me with it. However, I never got it working, so I gave up. I decided to try and make another one, with less work-arounds and hopefully functional. My cur...

 Forum: Support   Topic: Pie Chart Probability

Posted: August 12th, 2009, 7:43 am 

Replies: 25
Views: 1375


MasterFocus wrote:
sinkfaze, your code considers that all slices have the same probability, right?
(If so, I suppose a one-line random command would be enough)

In my situation they all have different probabilities

 Forum: Support   Topic: Pie Chart Probability

Posted: August 12th, 2009, 7:39 am 

Replies: 25
Views: 1375


Something like this? Spinner(num) { Random, var, 0, % num * 10 Loop % num { slice := A_Index * num if var between 0 and %slice% { MsgBox, Slice %A_Index% was randomly selected break } } } #v::Spinner(7) ;Spinner(11) ;Spinner(24) Please E...

 Forum: Scripts   Topic: Procrastination Monitor

Posted: August 12th, 2009, 7:30 am 

Replies: 17
Views: 6530


haichen wrote:
Yes, the archiv seems to be corrupt.

I was able to change the extension to ".7z" then extract it. It worked fine, I am not sure if you need 7zip to open a 7z archive though

 Forum: Support   Topic: Pie Chart Probability

Posted: August 12th, 2009, 7:09 am 

Replies: 25
Views: 1375


Thanks that helps. However, in my situation I have upwards of 20 different "slices" and the number of slices may change. So is there a way to make a function of a sorts that allows for a changing number of slices?

Again thank you
Sort by:  
Page 1 of 4 [ Search found 52 matches ]


All times are UTC [ DST ]


Powered by phpBB® Forum Software © phpBB Group