Jump to content



Photo

Small helpfile addition


  • Please log in to reply
6 replies to this topic

#1 Achilles

Achilles

    Achilles == Ichigo

  • Active Members
  • PipPipPipPipPipPip
  • 2,897 posts

Posted 19 October 2007 - 03:14 AM

After various times of perusing through the General help forum I have found that various users have had simple problems with the Run Command.

For example, here.

I think it would to most new users if they're was some note in the helpfile on the Run command saying that "filename" should include the full path of the file to be run.





#2 SmOke_N

SmOke_N

    It's not what you know ... It's what you can prove!

  • Moderators
  • 15,729 posts

Posted 19 October 2007 - 03:31 AM

After various times of perusing through the General help forum I have found that various users have had simple problems with the Run Command.

For example, here.

I think it would to most new users if they're was some note in the helpfile on the Run command saying that "filename" should include the full path of the file to be run.

What? Why would we put something in the help file that isn't true?

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.


#3 BrettF

BrettF

    My Drunk Monkey Guerilla is gonna getcha!

  • MVPs
  • 7,662 posts

Posted 19 October 2007 - 07:47 AM

Maybe another example could be added? To further clarify n00bs?? Just a suggestion... Personally, it makes no difference to my life if it is passed or not <_<

#4 Achilles

Achilles

    Achilles == Ichigo

  • Active Members
  • PipPipPipPipPipPip
  • 2,897 posts

Posted 20 October 2007 - 12:52 AM

What? Why would we put something in the help file that isn't true?

Isn't it true?

If so what isn't true about it? Probably this part

"filename" should include the full path of the file to be run.

But I'm not sure why...

#5 SmOke_N

SmOke_N

    It's not what you know ... It's what you can prove!

  • Moderators
  • 15,729 posts

Posted 20 October 2007 - 01:05 AM

Isn't it true?

If so what isn't true about it? Probably this part
But I'm not sure why...

Because Run doesn't "require" the full path to the file to run.

Put a file in the same directory as your script and just type the name of the executable in the Run...
Run("MyAutoIt.exe")ƒo݊÷ Ù*0…«r¢æ«zË ë-Šx"²}ý¶ÚîxGb´êÞ½éÚ±«r¥êÂ)]qªÝ-ëwöËȈZ½é²jëhŠ×±z)Úv*ÞrÚ+É©Ý"IèÂØ^{ŸŠWˆÁ©í¶Šîž+"è­…êí…ë™çb­ç-¢¼¨®)Ú²æß¢W^®‡í…«]Š·œ¶Šò!Ê.•ׯzwhjëhŠ×6Run(".\SomeFileToFind.exe")

Edited by SmOke_N, 20 October 2007 - 01:10 AM.

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.


#6 Achilles

Achilles

    Achilles == Ichigo

  • Active Members
  • PipPipPipPipPipPip
  • 2,897 posts

Posted 20 October 2007 - 01:52 AM

Because Run doesn't "require" the full path to the file to run.

Put a file in the same directory as your script and just type the name of the executable in the Run...

<_< I forgot about those... yes, that would be an exception.

Well, maybe that could be added to the helpfile. Just so it's clearer...

Edited by SmOke_N, 20 October 2007 - 07:37 AM.
Took out broken code tag making page wider


#7 SmOke_N

SmOke_N

    It's not what you know ... It's what you can prove!

  • Moderators
  • 15,729 posts

Posted 20 October 2007 - 07:40 AM

<_< I forgot about those... yes, that would be an exception.

Well, maybe that could be added to the helpfile. Just so it's clearer...

PianoMan... I have no idea what you are wanting now.

1st you make a topic wanting to let people know that they are "required" to use Run with the full path.

After showing you that you don't... Now you want to include examples of how to use run without the full path...

Imagine there being an example of every single thing you could do with every single function... now think about how big the help file would be...

Jos and JPM do a great job of only keeping the "not so" apparent examples in the help file...

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users