Jump to content

Fabio_iGames

Members
  • Posts

    8
  • Joined

  • Last visited

About Fabio_iGames

  • Birthday 12/10/1979

Profile Information

  • Location
    São Paulo / SP - Brazil
  • WWW
    http://forum.autoitbrasil.com/index.php?/user/3113-fabio-igames/
  • Interests
    Learn more about this wonderful language.
    Aprender mais sobre essa maravilhosa linguagem.

Recent Profile Visitors

97 profile views

Fabio_iGames's Achievements

Seeker

Seeker (1/7)

1

Reputation

  1. Belini You not it having luck? Want a tip! The answer is here in the topic. Just read whit atention. */ https://www.autoitscript.com/forum/topic/83481-bass-function-library-sound-and-music-functions/ BassFX (By eukalyptus/BrettF) An extension providing several effects, including tempo & pitch control. /* Always has a lot of reference here, just use it. That’s one job for you. See you later ... Bye.
  2. You're here ... teacher Very good. You are amazing.
  3. Hi Bob1988 Based on your example ... See if that helps. #cs ---------------------------------------------------------------------------- AutoIt Version: 3.3.14.2 Author: Bob1988 Modified: Fábio iGames Script Function: Copy files from a folder by changing extension. #ce ---------------------------------------------------------------------------- #include <GUIConstants.au3> #include <ComboConstants.au3> ; For GUICtrlCreateCombo #include <File.au3> ; For _FileListToArray Global $ComboExt, $Files ; For Find Files. $Form1 = GUICreate("file's copy & rename the Extension ", 618, 134, 193, 125) $Input_old = GUICtrlCreateInput("", 16, 16, 321, 21) $Datei = GUICtrlCreateButton("choose folder or file's ", 352, 16, 257, 25, 0) $Go = GUICtrlCreateButton("copy and rename ", 136, 88, 361, 41, 0) $Input_new = GUICtrlCreateInput("", 16, 48, 321, 21) $Button1 = GUICtrlCreateButton("new path or folder", 352, 48, 257, 25, 0) GUICtrlSetCursor($Datei, 0) ; ==> Added. GUICtrlSetCursor($Go, 0) ; ==> Added. GUICtrlSetCursor($Button1, 0) ; ==> Added. GUICtrlCreateLabel("New Extensions", 520, 80, 80, 20, 1) ; ==> Added. $ComboExt = GUICtrlCreateCombo("", 510, 100, 100, 50, BitOR($CBS_DROPDOWNLIST, $CBS_AUTOHSCROLL)) ; ==> Added. GUICtrlSetData($ComboExt, ".jpg|.bmp|.png|.gif|", ".jpg") ; Choose The New Extensions Post File Move. ==> Added. GUICtrlSetCursor($ComboExt, 0) ; ==> Added. GUISetState(@SW_SHOW, $Form1) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit(0) Case $Datei ;~ ;$path = FileOpenDialog("choose folder or file's", @ScriptDir, "Alle Dateien (*.*)") $path = FileSelectFolder("choose folder or file's", @ScriptDir) ; Correction / Added. GUICtrlSetData($Input_old, $path) Case $Button1 ;~ ;$path_new = FileSelectFolder ( "choose folder or file's", @ScriptDir, "Alle Dateien (*.*)") $path_new = FileSelectFolder("choose folder or file's", @ScriptDir, 1) ; Correction / Added. GUICtrlSetData($Input_new, $path_new) Case $Go GUICtrlSetState($Go, $GUI_DISABLE) GUICtrlSetState($Datei, $GUI_DISABLE) GUICtrlSetState($Button1, $GUI_DISABLE) GUICtrlSetData($Go, "wait!.") $Files = _FileListToArray($path , "*.*" , 1) ; 1 = Return Files Only. ==> Added. If Not @error Then _Copy($Files) ; ==> Added. EndSwitch WEnd Func _Copy($Files) ; Copies All Files to The New Location With The Extension You Have Chosen. Local $ReadExt = GUICtrlRead($ComboExt) For $i = 0 To UBound($Files)-1 FileCopy($path & "\" & $Files[$i], $path_new & "\" & StringRegExpReplace($Files[$i], ".*\\|\.[^.]*", "") & $ReadExt) Next GUICtrlSetState($Go, $GUI_ENABLE) GUICtrlSetState($Datei, $GUI_ENABLE) GUICtrlSetState($Button1, $GUI_ENABLE) GUICtrlSetData($Go, "End of copy") EndFunc Add more extensions, however you want.
  4. This tip drops like a glove. Very cool Luigi
  5. Thank you UEZ, I was looking for the download of this UDF too. Cool man.
  6. @Danyfire So is it better to use _WinAPI_ShowWindow ? Or GuiSetState () Or Whatever ? Thank you
  7. I would also love to know the difference. I have always used GuiSetState () but I started using _WinAPI_ShowWindow () and I would also like to know if there are any differences between the functions. ??????
  8. Hi guys does anyone know how this works? I found it fantastic amazing. Is there any tutorial on how to use it? Has anyone used it? Something that AutoIt should have a lot ==> A good compiler that makes Script.au3 in Executable of the Machine Language. A language compiled... that is a dream.
×
×
  • Create New...