Search found 4 matches

by conracer
08 Nov 2020, 17:50
Forum: Tips and Tricks
Topic: Why you shouldn't use FileAppend to continuously write to the disk
Replies: 33
Views: 17893

Re: Why you shouldn't use FileAppend to continuously write to the disk

If you delete the file and do FileAppend afterwards, you are also deleting the files permissions, for example. Here is a better solution: FILEPATH=%A_AppData%\vlc\vlcrc if(!FileExist(FILEPATH)) { MsgBox Couldn't find file. return } file:=FileOpen(FILEPATH,"rw") if(!IsObject(file)) { MsgBox Can't ope...
by conracer
17 Aug 2020, 18:37
Forum: Scripts and Functions
Topic: Get the URL of the current (active) browser tab
Replies: 148
Views: 85710

Re: Get the URL of the current (active) browser tab

I have read all the code in this thread and here is my solution (caution - thank you tdalon : from system to system the Acc-path can vary!): #Include AccV2.ahk ; https://github.com/sancarn/ACC.AHK F7::MsgBox % GetURL() GetUwpAppName() { ; https://www.autohotkey.com/boards/viewtopic.php?p=73137#p7313...
by conracer
17 Aug 2020, 18:31
Forum: Ask For Help
Topic: Get url of browser
Replies: 2
Views: 2406

Re: Get url of browser

Here is my solution (caution - thank you tdalon : from system to system the Acc-path can vary!): #Include AccV2.ahk ; https://github.com/sancarn/ACC.AHK F7::MsgBox % GetURL() GetUwpAppName() { ; https://www.autohotkey.com/boards/viewtopic.php?p=73137#p73137 WinGet name,ProcessName,A if(name="Applica...
by conracer
26 Jul 2020, 13:53
Forum: Ask For Help
Topic: How to update value from XML? Topic is solved
Replies: 1
Views: 831

Re: How to update value from XML? Topic is solved

configfile= ( <?xml version="1.0" encoding="Windows-1252" ?> <NotepadPlus> <GUIConfigs> <GUIConfig name="noUpdate" intervalDays="15" nextUpdateDate="20200808">no</GUIConfig> <GUIConfig name="Backup" action="0" useCustumDir="no" dir="" isSnapshotMode="yes" snapshotBackupTiming="7000" /> </GUIConfigs...

Go to advanced search