Jump to content

AutoPepe

Active Members
  • Posts

    61
  • Joined

  • Last visited

About AutoPepe

  • Birthday 06/02/1967

Profile Information

  • Location
    Canary Islands

Recent Profile Visitors

269 profile views

AutoPepe's Achievements

Wayfarer

Wayfarer (2/7)

0

Reputation

  1. I am not a programmer, so I would like to use a good script for this. configurable and versatile. Exist something done about this with a mild learning curve ?
  2. only 1 machine. Is easy to manage powershell ? Best Regards
  3. I have a tree Y:\folder1\folder2\exp<year>\compo\file1.doc Y:\folder1\folder2\exp<year>\compo\file2.doc I need to copy two files from folder Y:\folder1\folder2\564.21\compo\file1.doc Y:\folder1\folder2\564.21\compo\file2.doc to many folders under the same tree Y:\folder1\folder2\exp<year> An utility to do this or similar tasks ? I need to establish conditions or rules like copy if the target folder is not empty or if the target folder is bigger than xx kb, etc Best regards
  4. I have a script to open equivalent folders in a local area network. That is open the same path folder in two or more pc, laptop, terminals. I receive an error message. I can update any other information you require. best regards. AbrirExploradorHotKey.au3 AbrirExplorador.ico AbrirExplorador_CON_AP y MOZ2.reg
  5. I am learning English. I am reading now an interesting novel : The Information by Martis Amis. Whn I find a word that don't understand I write down in a txt file. My target is with an autoit script launch the lines of the txt file with the word I don't undertand to search in a predeterminated dictionary to see the meaning. After the meaning is added to the txt file or similar file (apkg is the format file used by Anki) and after create a quiz to learn vocabulary by the space repetition method (Leitner method). Can you give me your first opinion about the viability to make a script for this purpose ? Best Regards
  6. Understood JLogan3o13 Best Regards
  7. I need to open a folder with this sintax : O:\folder\yyyy\mm.yyyy That is O:\folder\2017\08.2017 Where yyyy is the current year, and 08 is the current month. How can I retrieve this data from the system date and use in the path ? Best Regards
  8. How can I split a word file (doc, rtf, docx,... ) without opening according to strings to be located ? First string second string third string ..... nth string . When the first string is located the original file is splitted until the second string (not included) When the second string is located the original file is splitted from the second string to the third string... and so on... Best Regards
  9. Adapt the script to create registers from a txt file I use a database in dBASE IV format. I have a script to add registers introducing three fields in the append main window of the database program. The script is written in Autoit. But I suppose is almost the same in AutoHotkey I need help to modify the option when ask the user if he wants add a possible duplicate. The script is mainly in spanish. I may try translate all if needed. Agregar nuevo registro - Add a new register Ya hay un registro - Register already exists. If you search the above lines you will find the lines I wish to change. What the program does ? Add register from the clipboard into a dBASE database structure from the adding window. If the register already exists ask the user to add or not. What is supposed I want to program to do now ? When the program halts because find a duplicate simply continue adding to the field NOTES. Then continue the scanning of the lines of the txt file. As I told befores the program only manage three fields and fills all with the same value . By example : "Registro nuevo" (is the last clip in the clipboard) Add to the dBASE database in the field Company ( Registro Nuevo ) , in the field Contact ( Registro nuevo) and in the field Notes (Registro nuevo) If the registry "Registro Nuevo" already exists then the program halts waiting for the user decision. What I need is not wait for the user and is a duplicate registry is found add the value to the notes field . And continue the scanning. If WinExists("GoldMine", "Ya hay un registro") = 1 Then $handle_VentanaGoldMineRegistroDuplicado = WinActivate("GoldMine", "Ya hay un registro") If $handle_VentanaGoldMineRegistroDuplicado = 0 Then MsgBox(16, "LineToClip - Error", "Se ha producido un error al intentar activar la ventana de registro duplicado de GoldMine. Puede que el programa no esté ejecutándose o esté tardando demasiado en responder." & @CRLF & @CRLF & "Número de error del programa: E049", 300) FileClose($handle_ArchivoRegistrosBaseDatos) $str_Archivo = "" TraySetClick(8) TraySetState(8) Return EndIf $int_ResultadoWinWaitClose = WinWaitClose("GoldMine", "Ya hay un registro", 0) If $int_ResultadoWinWaitClose <> 1 Then MsgBox(16, "LineToClip - Error", "Se ha obtenido una respuesta inesperada al esperar al cierre de la ventana de registro duplicado de GoldMine. Puede que el programa no esté ejecutándose o esté tardando demasiado en responder." & @CRLF & @CRLF & "Número de error del programa: E050", 300) FileClose($handle_ArchivoRegistrosBaseDatos) $str_Archivo = "" TraySetClick(8) TraySetState(8) Return EndIf EndIf Sleep($int_TiempoEsperaAbrirVentanaYDetectarTeclas) If WinExists("Agregar nuevo registro") = 1 Then $handle_VentanaGoldMineNuevoRegistro = WinActivate("Agregar nuevo registro") If $handle_VentanaGoldMineNuevoRegistro = 0 Then MsgBox(16, "LineToClip - Error", "Se ha producido un error al intentar activar la ventana de nuevo registro de GoldMine. Puede que el programa no esté ejecutándose o esté tardando demasiado en responder." & @CRLF & @CRLF & "Número de error del programa: E051", 300) FileClose($handle_ArchivoRegistrosBaseDatos) $str_Archivo = "" TraySetClick(8) TraySetState(8) Return EndIf $int_IsPressedReintentos = 0 $int_IsPressedResultado = 0 _IsPressed("0D", $handle_shell32) _IsPressed("1B", $handle_shell32) While $int_IsPressedReintentos < 8 If _IsPressed("0D", $handle_shell32) = 1 Then $int_IsPressedResultado = 6 ElseIf _IsPressed("1B", $handle_shell32) = 1 Then $int_IsPressedResultado = 7 EndIf If WinExists("Agregar nuevo registro") <> 1 Then $int_IsPressedReintentos = $int_IsPressedReintentos + 1 EndIf WEnd If $int_IsPressedResultado <> 6 And $int_IsPressedResultado <> 7 Then $int_IsPressedResultado = MsgBox(36, "LineToClip - Pregunta", "La ventana Agregar nuevo registro se ha cerrado. ¿Desea continuar añadiendo el registro actual?", 0) EndIf Sleep($int_TiempoEsperaAbrirVentana) If WinExists("GoldMine", "Ya hay un registro") = 1 Then $handle_VentanaGoldMineRegistroDuplicado = WinActivate("GoldMine", "Ya hay un registro") If $handle_VentanaGoldMineRegistroDuplicado = 0 Then MsgBox(16, "LineToClip - Error", "Se ha producido un error al intentar activar la ventana de registro duplicado de GoldMine. Puede que el programa no esté ejecutándose o esté tardando demasiado en responder." & @CRLF & @CRLF & "Número de error del programa: E052", 300) FileClose($handle_ArchivoRegistrosBaseDatos) $str_Archivo = "" TraySetClick(8) TraySetState(8) Return EndIf $int_ResultadoWinWaitClose = WinWaitClose("GoldMine", "Ya hay un registro", 0) If $int_ResultadoWinWaitClose <> 1 Then MsgBox(16, "LineToClip - Error", "Se ha obtenido una respuesta inesperada al esperar al cierre de la ventana de registro duplicado de GoldMine. Puede que el programa no esté ejecutándose o esté tardando demasiado en responder." & @CRLF & @CRLF & "Número de error del programa: E053", 300) FileClose($handle_ArchivoRegistrosBaseDatos) $str_Archivo = "" TraySetClick(8) TraySetState(8) Return EndIf EndIf Select Case $int_IsPressedResultado = 6 Send("!c", 0) Send("i", 0) Send("^i", 0) Send("{TAB}", 0) Send("^v", 0) Send("{TAB}", 0) Send("{TAB}", 0) Send("{TAB}", 0) Send("{TAB}", 0) Sleep($int_TiempoEsperaAbrirVentana) If WinExists("Bloqueo de registro multiusuario") = 1 Then $handle_VentanaGoldMineBloqueoRegistroMultiusuario = WinActivate("Bloqueo de registro multiusuario") If $handle_VentanaGoldMineBloqueoRegistroMultiusuario = 0 Then MsgBox(16, "LineToClip - Error", "Se ha producido un error al intentar activar la ventana de bloqueo de registro multiusuario de GoldMine. Puede que el programa no esté ejecutándose o esté tardando demasiado en responder." & @CRLF & @CRLF & "Número de error del programa: E054", 300) FileClose($handle_ArchivoRegistrosBaseDatos) $str_Archivo = "" TraySetClick(8) TraySetState(8) Return EndIf $int_ResultadoWinClose = WinClose("Bloqueo de registro multiusuario") If $int_ResultadoWinClose = 0 Then MsgBox(16, "LineToClip - Error", "Se ha producido un error al intentar cerrar la ventana de bloqueo de registro multiusuario de GoldMine. Puede que el programa no esté ejecutándose o la ventana ya haya sido cerrada." & @CRLF & @CRLF & "Número de error del programa: E055", 300) EndIf EndIf Send("{ESC}", 0) If WinExists("GoldMine", "Guardar cambios en notas") = 1 Then $handle_VentanaGoldMineGuardarNotas = WinActivate("GoldMine", "Guardar cambios en notas") If $handle_VentanaGoldMineGuardarNotas = 0 Then MsgBox(16, "LineToClip - Error", "Se ha producido un error al intentar activar la ventana de guardar notas de GoldMine. Puede que el programa no esté ejecutándose o esté tardando demasiado en responder." & @CRLF & @CRLF & "Número de error del programa: E056", 300) FileClose($handle_ArchivoRegistrosBaseDatos) $str_Archivo = "" TraySetClick(8) TraySetState(8) Return EndIf Send("s", 0) $int_ResultadoWinWaitClose = WinWaitClose("GoldMine", "Guardar cambios en notas", 0) If $int_ResultadoWinWaitClose <> 1 Then MsgBox(16, "LineToClip - Error", "Se ha obtenido una respuesta inesperada al esperar al cierre de la ventana de guardar notas de GoldMine. Puede que el programa no esté ejecutándose o esté tardando demasiado en responder." & @CRLF & @CRLF & "Número de error del programa: E057", 300) FileClose($handle_ArchivoRegistrosBaseDatos) $str_Archivo = "" TraySetClick(8) TraySetState(8) Return EndIf EndIf LineToClip.au3 LineToClip.au3
  10. Script to automate resize of the task bar under windows 8 A shorcut key combination in a script able to modify the height of the task bar. Best Regards
  11. Example script for combining pdf files with pdftk I have a base pdf with index or bookmarks obtained from a word document of 200 pages. After the page 100 i want to insert another pdf of 10 pages After the page 120 i wish to insert a pdf of 150 pages. After the page 199 i wish to insert three single pdf pages. How can i do that scripting with pdftk . I don't see the way to insert in an existing pdf .... Best Regards
  12. How can I recognize web parts of a launched url for by example input data ? Best Regards
  13. UDF or library to manage with datas and hours I would like do an utility to transform character chains according certain rules. For example : *** JOSE *** September 10, 2013 at 7:32pm be able to automatically "translate" to 10.09.2013.19.32 or similar outputs. Do you know such UDF or library ? Best Regards
  14. I would like to see a script to list target of lnk extension files contained in a folder to a txt file. Best Regards
×
×
  • Create New...