Does file append/copy/write require admin privilege's? Am I doing something wrong?

This page summarizes the projects mentioned and recommended in the original post on /r/AutoHotkey

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • TF

    AutoHotkey library for Text files & Variables (strings)

  • ; Generated by Auto-GUI 3.0.1 #SingleInstance Force #NoEnv SetWorkingDir %A_ScriptDir% SetBatchLines -1 #Include, %A_ScriptDir%\skins\tf.ahk ;https://github.com/hi5/TF#TF_ReplaceInLines ;https://github.com/hi5/TF#TF_ReplaceInLines if !(A_IsUnicode=1 and A_PtrSize=4) { SplitPath, A_AhkPath, , dir Run, %dir%\AutoHotkeyU32.exe "%A_ScriptFullPath%" ExitApp } hSkinH := DllCall("LoadLibrary", "Str", "SkinHu.dll") DllCall("SkinHu\SkinH_AttachEx", "Str", A_ScriptDir "\skins\0021.she") ;If (Gameexe !="") ; SelectedGame := Gameexe ;Else ; SelectedGame := "Selected Game" Logdir := A_AppDataCommon "\GameslistGeo11" FileCreateDir, %Logdir% LogGames := A_AppDataCommon "\GameslistGeo11\Gamename.txt" GamesUpdate := A_AppDataCommon "\GameslistGeo11\GamesUpdate.txt" ColumnNr := [1] delimiter := "," Loop, read, %LogGames% { if (A_LoopReadLine="") continue else { Cell := StrSplit(A_LoopReadLine,delimiter) If (Stored="") Stored := Cell[2] "||" Stored else Stored := Cell[2] "|" Stored } } global GameError := 0 Imagine := A_ScriptDir "\ico\bg.jpg" Gui, Add, Picture, x-8 y0 w610 h385 , % Imagine Gui Font, s9, Segoe UI Gui Add, DropDownList, vVersion x288 y72 w84, x64 game||x32 game Gui Add, Text, x192 y16 w189 h61, Select Game Location and version,`n'Generate' will push the Geo11 files and a Geo11 desktop shortcut. Gui Add, Button, gGenerate x288 y112 w84 h23, Generate Gui Add, Button, gBrowse x184 y72 w85 h23, Browse Gui Add, Button, gUninstall x288 y248 w84 h23, Uninstall Gui Add, ListBox, vStoredforDisplay x176 y176 w102 h95, %Stored% Gui Add, Button, gConfiger x288 y192 w84 h23, Config Game Gui Add, Text, x179 y143 w101 h23, Current Installs Gui Add, Text, x8 y8 w154 h278, This app will take the Geo11 files such as dxd11.dll and move to a "geo" folder in the game's directory. `n`nIt creates a desktop shortcut, when clicked, it will move the game's original "dxd11.dll" files to "/originaldx" and load geo11 dxd11 files. Creating a VR specific launcher/shortcut.`n`nOn game close, the files will return to original locations. ;Gui Add, Edit, x184 y216 w85 h23, %SelectedGame% Gui Show, w390 h295, Mod Manager for Geo11 Return Browse: { FileSelectFile, Selectgame, 32, , Select a game, Application (*.exe) if (Selectgame = "") MsgBox, You didn't select anything. else { SplitPath, Selectgame, Gameexe, Gamepath, Gameextenstion, Gamenameonly if !FileExist(LogGames) { FileAppend,,%LogGames% GameError := 0 msgbox, file doesnt exist Goto, Nextup } Else { Loop, read, %LogGames% { Currentline := A_LoopReadLine If InStr(Currentline, Gameexe) { LineRead := StrSplit(Currentline,delimiter) Gamename := LineRead[2] Msgbox, Error. %Gamename% already has Geo11. GameError := 1 break } Else GameError := 0 } ;Gui Add, ComboBox, vcbx w200 vVersChoice, x32||x64 } } Nextup: ;Gui Add, ComboBox, vcbx w200 vVersChoice, x32||x64 } return Generate: { if (GameError=0) { GuiControlGet,VersionRet,, Version Msgbox, %VersionRet% Dlls for %Gameexe% if (VersionRet="x64 game") { 64or32 := "\Geo3dFilesGoHere\x64\" } Else { 64or32 := "\Geo3dFilesGoHere\x32\" } DllLocal := A_ScriptDir 64or32 ChangeNames := DllLocal ;arraygeo := ["d3d11.geo", "d3dcompiler_47.geo", "d3dx.geo", "d3dxdm.geo", "nvapi64.geo"] FileCreateDir, %Gamepath%\geo ;arraygeo := ["d3d11.geo", "d3dcompiler_47.geo", "d3dx.geo", "d3dxdm.geo", "nvapi64.geo"] arraydll := ["d3d11.dll", "d3dcompiler_47.dll", "d3dx.ini", "d3dxdm.ini", "nvapi64.dll"] For index, value in arraydll { geo := % arraydll[index] FileCopy, %DllLocal%\%geo%, %Gamepath%\geo\%geo%, 1 } FileCopy, %A_ScriptDir%\leaveingamedir.exe, %Gamepath%\leaveingamedir.exe, 1 FileCopyDir, %DllLocal%\ShaderFixes, %Gamepath%\ShaderFixes, 1 Logfile := Gamepath "\Gamename.txt" Random, rand, 1, 12 Localicon := A_ScriptDir "\ico\" rand ".ico" TextforGamelog := Selectgame "," Gameexe "`n" FileDelete, %Logfile% ; FileAppend, %Selectgame%, %Logfile% FileAppend, %TextforGamelog%, %LogGames% msgbox, %TextforGamelog% ShortcutMaker := A_Desktop "\" Gamenameonly " VR.lnk" AHKLocal := Gamepath "\leaveingamedir.exe" FileCreateShortcut, %AHKLocal%, %ShortcutMaker%, %Gamepath%,,,%Localicon% Msgbox, Geo11 Shortcut sent to desktop. Reload } Else Msgbox, Select a game without Geo11 files } return Configer: { GuiControlGet, StoredGet,,StoredforDisplay delimiter := "," Loop, read, %LogGames%, %GamesUpdate% { Currentline := A_LoopReadLine If InStr(Currentline, StoredGet) { LineRead := StrSplit(Currentline,delimiter) GameLocation := LineRead[1] SplitPath, GameLocation, OutFileName, OutDir, OutExtension, OutNameNoExt, OutDrive Run, %OutDir%\geo\d3dxdm.ini } else Continue } } return Uninstall: { GuiControlGet, StoredGet,,StoredforDisplay Msgbox, 4,, Uninstall Geo11 for %StoredGet%? IfMsgBox Yes { delimiter := "," Loop, read, %LogGames%, %GamesUpdate% { Currentline := A_LoopReadLine If InStr(Currentline, StoredGet) { LineRead := StrSplit(Currentline,delimiter) GameLocation := LineRead[1] SplitPath, GameLocation, OutFileName, OutDir, OutExtension, OutNameNoExt, OutDrive Filedelete, %OutDir%\geo\*.dll Filedelete, %OutDir%\geo\*.ini Filedelete, %OutDir%\leaveingame*.exe Filedelete, %OutDir%\VRLaun*.exe ;FileAppend %A_LoopReadLine%`n ;FileMove, %GamesUpdate%, %LogGames%, 1 LineNumber := A_Index EndLine := LineNumber + 1 } else Continue } LogTF := "!"LogGames TF_ReplaceLine(LogTF,LineNumber,EndLine,"") Msgbox, Success Reload Goto, Beginning } Else Goto, Beginning } Beginning: return ;arraygeo := ["d3d11.geo", "d3dcompiler_47.geo", "d3dx.geo", "d3dxdm.geo", "nvapi64.geo"] arraydll := ["d3d11.dll", "d3dcompiler_47.dll", "d3dx.ini", "d3dxdm.ini", "nvapi64.dll"] FileCreateDir, %Gamepath%\geo For index, value in arraydll { ;val := % value ;geo := % arraygeo[index] ;FileCopy, %DllLocal%\%val%, %DllLocal%\geo\, 1 ;sleep, 15 ;FileMove, %DllLocal%\geo\%val%, %DllLocal%\geo\%geo%, 1 ;sleep, 10 dll := % arraydll[index] FileCopy, %DllLocal%\%dll%, %Gamepath%\geo\, 1 } ;For index, value in arraygeo ;{ ; geo := % arraygeo[index] ; FileCopy, %DllLocal%\geo\%geo%, %Gamepath%, 1 ;} ;FileCopy, %A_ScriptDir%\leaveingamedir.exe, %Gamepath%\leaveingamedir.exe, 1 ;FileCopyDir, %DllLocal%\ShaderFixes, %Gamepath%\ShaderFixes, 1 ;geo3d: ; { ; FileSelectFolder, OutputVar [, *StartingFolder, 2, Select where you will store], Selectgeo, 32, , Select D3Directory, File (*.dll); *.lnk ; if (Selectgeo = "") ; MsgBox, The user didn't select anything. ; else ; { ; SplitPath, Selectgeo, Geoexe, Geopath, Geoextenstion, Geonameonly ; } ; } ;return ; ;generate: ;{ ; loglocal := "\Logfile.txt" ; Logfile := A_AppDataCommon loglocal ; } GuiEscape: GuiClose: ExitApp

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Show HN: Screencast and accesibility app: KeyPress OSD

    2 projects | news.ycombinator.com | 10 Apr 2024
  • KeyPress OSD – a unique OSD for screencasts; my first ever developed app

    3 projects | news.ycombinator.com | 5 Apr 2024
  • Show HN: Fixkey is a keyboard-focused AI copilot for writing

    2 projects | news.ycombinator.com | 1 Feb 2024
  • Automating Workday Job Application Forms

    1 project | news.ycombinator.com | 8 Jan 2024
  • Wordstar-keys: Implement wordstar cursor control keys in Linux using xkb

    2 projects | news.ycombinator.com | 11 Dec 2023