Jump to content

Create a folder automatically - (Moved)


Recommended Posts

Hi guys! Welcome back to my channel! Today I have a script to create a folder automatically.

Script:

#include <Constants.au3>

; Creates a folder

_Example()
Exit

Func _Example()
; Prompt the user to run this script
Local $iAnswer = MsgBox(BitOR($MB_YESNO, $MB_SYSTEMMODAL), "Example", "This script creates a folder with New Folder! as name. Do you want to run?")
If $iAnswer = $IDNO Then
  MsgBox($MB_SYSTEMMODAL, "AutoIt 3", "Oops!")
  Return
EndIf

; Right clicks on a postition of 800,800
MouseClick($MOUSE_CLICK_RIGHT, 800, 800, 1, 50)

; Press the down arrow key 11 times
Send("{DOWN 11}")

; Press the right arrow key 1 time
Send("{RIGHT}")

; Press Enter
Send("{ENTER}")

; Send "New Folder!" and the "Enter" key, using a slow-motion of 50 miliseconds on each keypress
AutoItSetOption("SendKeyDelay", 50)
Send("New Folder{!}{ENTER}")

EndFunc ;==>_Example

I attached mere a script but not a EXE due to viruses!

Create a folder.au3

Link to post
Share on other sites
  • Developers
Posted (edited)

Moved to the appropriate forum.

Moderation Team

@Mihai1234,

Ok... please stop posting all these scripts all over the place. You clearly still need to learn coding a bit more and it is fine to post your current code, but please follow the following steps:

  • Simply post the source code in a codebox, not as attachment.
  • Do not post the compiled script
  • Use the support forum for now and ask for improvements on your scripts for now.

Jos

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to post
Share on other sites
Just now, Somerset said:

What are you doing making videos, tutorials?

Why post a script to download when it is so small and already posted?

Because downloads are quick!

And when download a file, has code in it, no copy and paste!

Link to post
Share on other sites
  • Developers
1 minute ago, Mihai1234 said:

And when download a file, has code in it, no copy and paste!

Nope...  post the code in a codebox in stead of attachment for now unless it is a very big script! 

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to post
Share on other sites
  • Developers
Posted (edited)

mmm..   not sure what you mean with that last post but honestly don't care ....  you simply do as we ask or else I remove all your stuff as I am slowly getting tired of all the shit I have cleaned up for you in the last hour. Hope this time I am crystal clear for you.

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to post
Share on other sites
  • Jos locked this topic
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...