Jump to content

Recommended Posts

Posted
  Quote

i could use a little appreciation for making the script and for updating it  if nobody is there to use it what is its use of putting here

I have plenty of example scripts I have posted that have hundreds of views and no replies.  You will not find cheerleaders here, only questions and critique; and that's on the offhand that what you are doing is both what somebody needs to do, and how they want to do it.  Given the small fraction of users that frequent the forum, and the small fraction of them that actively post, and the small fraction of them that give two fx about your subject matter, consider any replies anomalous.

I find value in the effort of returning half of what i have taken, not in the result.

  Reveal hidden contents

Posted

¿Why did you declare global variables inside of  functions?

 

Saludos

Posted

Understanding this stuff at 12 isnt reward enough?  my hobbies at 12 were lighting things on fire and watching things that were on fire.

  Reveal hidden contents

Posted

There's no need to re-declare the variable inside the function, just re-initialize it :)

Declaration

Global $someVariable = "SomeData"
(re)Initialization
$someVariable = "SomeOtherData"

 

If you are only twelve for real, keep it up not many kids your age take interest in jack shit these days. Here is a little stroke for your ego, search for my last post here :P
(Hint: I've been lurking a LONG time lol)

Posted

I think you use wrong section in download

https://www.autoitscript.com/forum/files/category/24-scripting-and-development/

 

it should be:

https://www.autoitscript.com/forum/files/category/20-windows/

as this is UDF for one of Windows API

 

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

Well this are my suggestions.

Do no use Global into funtions. Autoit is able to make them work correclty. but is no correct in programming do that. (as far I understand I'm not a professional or anything).

Do not use Global every time when you set data in your variables.

If you going to use a Global Array don't need to return that array.

Keep going. at 12 I was working f**k. :/

I did no try the UDF because I don't have SAPI.

Saludos

 

Posted

I do expect some examples with all UDFs. Is there any ?

  Reveal hidden contents

 

Posted
  On 8/23/2015 at 5:08 PM, kcvinu said:

I do expect some examples with all UDFs. Is there any ?

search for "Examples" string.

 

Saludos

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...