focksie 0 Posted July 28, 2010 I can generate random numbers... I can create tool tips... I can't get the tooltip to generate random numbers for the coordinates ToolTip( "Riveting story", Random(0, 1680), Random(0, 1050), "Cool Story Bro") what should I be doing? Share this post Link to post Share on other sites
focksie 0 Posted July 28, 2010 I came up with this, but this doesn't work either Random( 0, 1680) = $var1 Random( 0, 1050) = $var2 ToolTip( "Cool Story Bro", $var1, $var2, "sTories by lul") Share this post Link to post Share on other sites
Yoriz 6 Posted July 28, 2010 Hey, You should use the 3rd parameter of random to ensure you get a whole number. ToolTip( "Riveting story", Random(0, 1680, 1), Random(0, 1050, 1), "Cool Story Bro") GDIPlusDispose - A modified version of GDIPlus that auto disposes of its own objects before shutdown of the Dll using the same function Syntax as the original.EzMySql UDF - Use MySql Databases with autoit with syntax similar to SQLite UDF. Share this post Link to post Share on other sites
focksie 0 Posted July 28, 2010 Hey, You should use the 3rd parameter of random to ensure you get a whole number. ToolTip( "Riveting story", Random(0, 1680, 1), Random(0, 1050, 1), "Cool Story Bro") okay thanks for the tip Share this post Link to post Share on other sites
jaberwacky 327 Posted July 29, 2010 I came up with this, but this doesn't work either Random( 0, 1680) = $var1 Random( 0, 1050) = $var2 ToolTip( "Cool Story Bro", $var1, $var2, "sTories by lul") $var1 = Random( 0, 1680) $var2 = Random( 0, 1050) ToolTip( "Cool Story Bro", $var1, $var2, "sTories by lul") Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum? Share this post Link to post Share on other sites