Search found 2432 matches

by garry
04 Sep 2020, 15:40
Forum: Ask For Help
Topic: Auto reload ListView when add or remove drive Topic is solved
Replies: 12
Views: 278

Re: Auto reload ListView when add or remove drive Topic is solved

Bill , thank you for notify_change here an idea without reload ;- Auto reload ListView when add or remove drive - AutoHotkey Community - Mozilla Firefox ;- https://www.autohotkey.com/boards/viewtopic.php?f=76&t=80592 #Warn #SingleInstance Force #Persistent #NoTrayIcon #NoEnv SendMode Input SetBatch...
by garry
04 Sep 2020, 11:00
Forum: Ask For Help
Topic: How to copy a file to, rename and then open...
Replies: 2
Views: 44

Re: How to copy a file to, rename and then open...

a basic example

Code: Select all

F1   = c:\test\testsub.txt
dest = %a_desktop%\TEST
ifnotexist,%dest%
  filecreatedir,%dest%
SplitPath,F1, name, dir, ext, name_no_ext, drive
new=%dest%\%name_no_ext%_%a_now%.%ext%
filecopy,%f1%,%new%
try
 run,%new%
exitapp
by garry
01 Sep 2020, 04:44
Forum: Ask For Help
Topic: Adding titles, images, and files
Replies: 48
Views: 1136

Re: Adding titles, images, and files

a Listview example , see example black.ico , you can add small pictures to the row #warn #noenv Setworkingdir,%a_scriptdir% Gui,2:default Gui,2: -DPIScale Gui,2: Font,s14 CBlack,Lucida Console e4x= (Ltrim Join`r`n VOLUME;Sndvol.exe CHARMAP;Charmap.exe Black;myblack.ahk Notepad;Notepad.exe mozilla;%a...
by garry
01 Sep 2020, 04:26
Forum: Ask For Help
Topic: Trying to convert seconds to minutes Topic is solved
Replies: 32
Views: 778

Re: Trying to convert seconds to minutes Topic is solved

@ALL
thank you for the many examples / functions , have much to learn ...
by garry
01 Sep 2020, 01:37
Forum: Ask For Help
Topic: loop, parse, cant display values from file Topic is solved
Replies: 5
Views: 229

Re: loop, parse, cant display values from file Topic is solved

that means you started the script at desktop and there creates > folder\subfolder but you can define the path like > C:\Test1\ahk_stuff\Temp File Folder For Gui Mini Tut 21\Delimited.txt example above worked but creates always the folders > %A_ScriptDir%\ahk_stuff\Temp File Folder For Gui Mini Tut 2...
by garry
30 Aug 2020, 16:14
Forum: Ask For Help
Topic: Trying to convert seconds to minutes Topic is solved
Replies: 32
Views: 778

Re: Trying to convert seconds to minutes Topic is solved

EDIT : I see it works , if wanted can remove the variable 'hours1' I get here the correct result ( without the dot , dot must be removed maybe with stringreplace ) acc:=00000165 SetFormat, float, 02 hours1 := (acc//3600) minutes1 := (acc - hours1 * 3600)// 60 seconds1 := (acc - hours1 * 3600 - minut...
by garry
30 Aug 2020, 15:52
Forum: Ask For Help
Topic: Trying to convert seconds to minutes Topic is solved
Replies: 32
Views: 778

Re: Trying to convert seconds to minutes Topic is solved

must remove at least this or try example from JoeWinograd
AV2duration:=165 ;<- this was for test
by garry
30 Aug 2020, 15:10
Forum: Ask For Help
Topic: Trying to convert seconds to minutes Topic is solved
Replies: 32
Views: 778

Re: Trying to convert seconds to minutes Topic is solved

aargh, yes , sorry , maybe he don't know how to use the function otherwise use my complicated script and then use Guicontrol to display hh:mm:ss but the easiest way is , how to use the function ... ;- Trying to convert seconds to minutes ;- https://www.autohotkey.com/boards/viewtopic.php?f=76&t=8048...
by garry
30 Aug 2020, 14:39
Forum: Ask For Help
Topic: Trying to convert seconds to minutes Topic is solved
Replies: 32
Views: 778

Re: Trying to convert seconds to minutes Topic is solved

example , seconds to > hh:mm:ss

Code: Select all

acc:=165
SetFormat, float, 02
hours1   := (acc//3600)
minutes1 := (acc - hours1 * 3600)// 60
seconds1 := (acc - hours1 * 3600 - minutes1 * 60)
hours1  +=0.00
minutes1+=0.00
seconds1+=0.00
acc=%hours1%:%minutes1%:%seconds1%
msgbox,%acc%
return
by garry
30 Aug 2020, 14:25
Forum: Ask For Help
Topic: loop, parse, cant display values from file Topic is solved
Replies: 5
Views: 229

Re: loop, parse, cant display values from file Topic is solved

try this #SingleInstance,Force fd1=%A_ScriptDir%\ahk_stuff fd2=%A_ScriptDir%\ahk_stuff\Temp File Folder For Gui Mini Tut 21 SetWorkingDir,%fd1% FileCreateDir,%fd2% SetWorkingDir,%fd2% f1=%fd2%\Delimited.txt ;-- for test : ifnotexist,%f1% { e= ( 1111a*2222b*3333333333c*4444d*55e ) fileappend,%e%,%f1%...
by garry
30 Aug 2020, 14:03
Forum: Ask For Help
Topic: IE navigate fails from Variable Topic is solved
Replies: 5
Views: 189

Re: IE navigate fails from Variable Topic is solved

also short example xxa:="Shell.Explorer" Gui, Add, Text, x- w400 Center, Show content from a text-file Gui Add, ActiveX, x- w400 h600 vWB,%xxa% gosub,test1 Gui, Show, w400 Return ;-------------- Guiclose: Exitapp ;------------- test1: results= (Ltrim Join`r`n LINE1 LINE2 ) FormatTime,CurrentDateTime...
by garry
30 Aug 2020, 10:53
Forum: Allgemeines
Topic: Mal Wasser lassen.
Replies: 1
Views: 171

Re: Mal Wasser lassen.

( evtl anderes / ähnliches Thema betr. Wasser Mangel ) Der grosse Wasserklau 20200827 https://www.spiegel.de/wissenschaft/mensch/wasser-in-europa-wird-es-schon-in-grossen-mengen-geklaut-a-1a9286ff-03ce-47b4-a953-4210e2e1f43a Wasser wird knapp - in manchen Regionen Europas kommt es schon zu Diebstahl...
by garry
28 Aug 2020, 12:20
Forum: Ask For Help
Topic: A query about parsing Topic is solved
Replies: 9
Views: 121

Re: A query about parsing Topic is solved

@BoBo thank you for solution
( a typo in random example = Random, mmm, 10, 59 )
by garry
28 Aug 2020, 10:30
Forum: Allgemeines
Topic: Wer 'Rust'ed der ...
Replies: 1
Views: 151

Re: Wer 'Rust'ed der ...

.. Bericht in Heise von Felix von Leitner ( FeFe )
und sein Kommentar in seinem blog :
http://blog.fefe.de/?ts=a1b84988
by garry
28 Aug 2020, 06:34
Forum: Ask For Help
Topic: A query about parsing Topic is solved
Replies: 9
Views: 121

Re: A query about parsing Topic is solved

EDIT : this not the current answer
example , if you leave the second parameter empty , so it means a_now ( your time )

Code: Select all

formattime,xx,%a_nowutc%,yyyy-MM-dd HH:mm
msgbox,%xx%
return
by garry
28 Aug 2020, 06:25
Forum: Offtopic
Topic: Flat Earth vs. Globe Earth
Replies: 97
Views: 34121

Re: Flat Earth vs. Globe Earth

https://onezero.medium.com/how-to-destroy-surveillance-capitalism-8135e6744d59 The net of a thousand lies : What if the trauma of living through real conspiracies all around us — conspiracies among wealthy people, their lobbyists, and lawmakers to bury inconvenient facts and evidence of wrongdoing (...
by garry
27 Aug 2020, 11:22
Forum: Ask For Help
Topic: how to run ipconfig and copy to clipboard
Replies: 5
Views: 146

Re: how to run ipconfig and copy to clipboard

RubbeH , thank you for the interesting DOS command example can also use ahk commands to check clipboard content : if instr or if x contains y etc ... see also a_variables msgbox,%a_ipaddress1% A_VARIABLE's example ;CREATED = 20160703 #NoEnv #Warn SendMode Input SetWorkingDir, %A_ScriptDir% SetTitle...
by garry
27 Aug 2020, 06:35
Forum: Ask For Help
Topic: how to run ipconfig and copy to clipboard
Replies: 5
Views: 146

Re: how to run ipconfig and copy to clipboard

@elModo7 obrigado.. aargh gracias , it works

Code: Select all

Runwait, %comspec% /c ipconfig | clip,, Hide
msgbox,%clipboard%
return
by garry
26 Aug 2020, 15:38
Forum: Ask For Help
Topic: Can't interact with controls of a Child GUI Topic is solved
Replies: 7
Views: 253

Re: Can't interact with controls of a Child GUI Topic is solved

teadrinker thank you , I tried this example ;- modified = 20200826 ;- created = 20200426 ;-- example PARENT_CHILD , use ESC to close GUI-2/3 or remove caption or add Close-button ;- VideoPlay with vlc.exe #warn #noenv Gui,1:default Gui,1: -DPIScale SS_REALSIZECONTROL := 0x40 wa:=A_screenwidth,ha:=A...

Go to advanced search