ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Post New Requests Here

Adapt emptytxtfile.ahk to windows 8.1

<< < (2/9) > >>

KynloStephen66515:
Don't go
Is the same version ?
-Contro (August 08, 2015, 09:19 PM)
--- End quote ---

Yes - he just wanted to make it easier to read
-tomos (August 09, 2015, 04:31 AM)
--- End quote ---

Ah yeah, sorry, I was just making it easier for people to read it :)

En EspañolEsa es la misma versión. Simplemente me hizo más fácil para la gente a leer

Contro:
 ;D

Yeap. Now is easier to read.
Can i have now a really executable script under windows 8 ?

What i really don't understand is why goes well under 7 and not under 8 ?

What's the difference ?

 :-\

MilesAhead:
;D

Yeap. Now is easier to read.
Can i have now a really executable script under windows 8 ?

What i really don't understand is why goes well under 7 and not under 8 ?

What's the difference ?

 :-\
-Contro (August 10, 2015, 06:29 AM)
--- End quote ---

In AHK generally I find #IfWinActive ahk_class classname
more reliabe than
#If   (some condition)

Also on W8.x try running it As Administrator.

Contro:
I am the administrator in windows 8.1

Could you please propose the new code to try ?

Best Regards Miles

Contro:
I am going mad  >:(
I can modify the code because the symbol # don't appear.
I have to respond :


--- ---#SingleInstance Force

#if winactive("ahk_class CabinetWClass")
{
  #y::
  Gui, Destroy
  WinGet, WinID, ID, A
  Gui, +LastFound
  HWND := WinExist()
if (class="CabinetWClass" or class="ExploreWClass" or class="Progman")
for window in ComObjCreate("Shell.Application").Windows
DesPath:=window.LocationURL
StringReplace, DesPath, DesPath, file:///
StringReplace, DesPath, DesPath, /, \, all
 Gui, Add, ListView, r10 NoSort vChosenName h300 w400, File Name
     For A,B in {1:"Instrucciones.txt",2:"Instalar en mv.txt", 3:"Es mal portable. Instalar como no portable.txt", 4:"Instalado como portable.txt", 5:"Instalar cuando se pueda.txt", 6:"ReciboLLamadaAlas.proponer fecha hora.txt", 7:"Ver pantallazos.proponer fecha hora.txt", 8:"Ver grabaciones de la fecha.proponer fecha sistema.txt", 9:"password   pegado del portapapeles.txt", 10:"Avira detecta virus. en parte a especificar.txt", 11:"File11.txt", 12:"Es un juego.txt", 13:"Es para entorno MAC Apple.txt", 14:"Tambien tienen versiones de pago.txt", 15:"No es buen portable.Instalado como portable.txt",16:"No funcione en xp. es para w7 o sup.txt", 17:"Nuevo Notepad++ Document.txt",18:"Script AutoIt.au3",19:"Script Autohotkey.ahk", 20:"es un trial de prueba.txt", 21:"ae.fecha.txt",22:"File22.txt", 23:"File23.txt", 24:"File24.txt",25:"File25.txt",26:"File26.txt"}
    LV_Add("",B)
    Gui, Add, Button, gChoose, Submit
  Gui, Show, h340 w420, Choose File Name
  Return
}

Choose:
ControlGet, List, List, Selected, SysListView321, ahk_id %HWND%
Gui, Destroy
Loop, Parse, List, `n
{
   If !FileExist(DesPath "\" A_LoopField)
      FileAppend,, %DesPath%\%A_LoopField%
}
Return

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version