Why is it that every time I install SciTE4AHK (from SciTE4AHK300601_Install.exe) or AHK (from AutoHotkey111901_Install.exe), a folder is created at C:\Users\michaelbeijer\OneDrive\AutoHotkey?
I don't want this. I uninstalled them both, and when I install them again, that damned folder is created again.
What am I missing here?
Michael
Installing AHK or SciTE4AHK creates folder in my OneDrive!
- michaelbeijer
- Posts: 83
- Joined: 04 Oct 2014, 08:01
- Location: Hastings, UK.
- Contact:
Installing AHK or SciTE4AHK creates folder in my OneDrive!
Michael Beijer
Dutch-English technical translator
Hastings, United Kingdom
Email: michael[at]beijer.uk
Website: Beijer.uk
Terminology: Beijerterm.com
AHK-learning project: Beijer.bot
Proz profile: proz.com/profile/652138
LinkedIn: linkedin.com/in/michael-beijer
Dutch-English technical translator
Hastings, United Kingdom
Email: michael[at]beijer.uk
Website: Beijer.uk
Terminology: Beijerterm.com
AHK-learning project: Beijer.bot
Proz profile: proz.com/profile/652138
LinkedIn: linkedin.com/in/michael-beijer
- michaelbeijer
- Posts: 83
- Joined: 04 Oct 2014, 08:01
- Location: Hastings, UK.
- Contact:
Re: Installing AHK or SciTE4AHK creates folder in my OneDriv
OK, I seem to have isolated the problem to the SciTE4AHK300601_Install.exe installer. I just ran the AHK installer and the folder was not created.
The folder is created after I run SciTE4AHK300601_Install.exe, but only once I run SciTE4AHK for the first time and it sets up some stuff. At this point, a folder is automatically created at:
C:\Users\michaelbeijer\OneDrive\AutoHotkey
containing:
C:\Users\michaelbeijer\OneDrive\AutoHotkey\SciTE
C:\Users\michaelbeijer\OneDrive\AutoHotkey\Lib
…with all kinds of stuff in them.
Why are these files/folders being created here? Can I change this? I have a special folder elsewhere where I would like to put this stuff (namely: C:\Users\michaelbeijer\OneDrive\Programs\AutoHotkey)
Michael
The folder is created after I run SciTE4AHK300601_Install.exe, but only once I run SciTE4AHK for the first time and it sets up some stuff. At this point, a folder is automatically created at:
C:\Users\michaelbeijer\OneDrive\AutoHotkey
containing:
C:\Users\michaelbeijer\OneDrive\AutoHotkey\SciTE
C:\Users\michaelbeijer\OneDrive\AutoHotkey\Lib
…with all kinds of stuff in them.
Why are these files/folders being created here? Can I change this? I have a special folder elsewhere where I would like to put this stuff (namely: C:\Users\michaelbeijer\OneDrive\Programs\AutoHotkey)
Michael
Michael Beijer
Dutch-English technical translator
Hastings, United Kingdom
Email: michael[at]beijer.uk
Website: Beijer.uk
Terminology: Beijerterm.com
AHK-learning project: Beijer.bot
Proz profile: proz.com/profile/652138
LinkedIn: linkedin.com/in/michael-beijer
Dutch-English technical translator
Hastings, United Kingdom
Email: michael[at]beijer.uk
Website: Beijer.uk
Terminology: Beijerterm.com
AHK-learning project: Beijer.bot
Proz profile: proz.com/profile/652138
LinkedIn: linkedin.com/in/michael-beijer
Re: Installing AHK or SciTE4AHK creates folder in my OneDriv
It's supposed to be in your Documents folder. Is "OneDrive" your Documents folder; or the default save location for your Documents library? Does MsgBox %A_MyDocuments% show C:\Users\michaelbeijer\OneDrive?
I don't advocate programs creating folder structures in the user's personal folders, but that's the way it was designed. (Edit: Actually, AutoHotkey optionally uses %A_MyDocuments%\AutoHotkey.ahk and %A_MyDocuments%\AutoHotkey\Lib; so that's probably why SciTE4AutoHotkey is designed that way.)
Edit: You can try the portable download of SciTE4AutoHotkey.
I don't advocate programs creating folder structures in the user's personal folders, but that's the way it was designed. (Edit: Actually, AutoHotkey optionally uses %A_MyDocuments%\AutoHotkey.ahk and %A_MyDocuments%\AutoHotkey\Lib; so that's probably why SciTE4AutoHotkey is designed that way.)
Edit: You can try the portable download of SciTE4AutoHotkey.
- michaelbeijer
- Posts: 83
- Joined: 04 Oct 2014, 08:01
- Location: Hastings, UK.
- Contact:
Re: Installing AHK or SciTE4AHK creates folder in my OneDriv
Excellent, thanks! Yes, I recently changed my My Documents folder to point to my OneDrive folder. That's what's going on.
Will the portable one update just like the regular one?
Also, how can I make it so AHK scripts are edited using this portable version when I right-click at them in the taskbar and select "Edit This Script"?
Will the portable one update just like the regular one?
Also, how can I make it so AHK scripts are edited using this portable version when I right-click at them in the taskbar and select "Edit This Script"?
Michael Beijer
Dutch-English technical translator
Hastings, United Kingdom
Email: michael[at]beijer.uk
Website: Beijer.uk
Terminology: Beijerterm.com
AHK-learning project: Beijer.bot
Proz profile: proz.com/profile/652138
LinkedIn: linkedin.com/in/michael-beijer
Dutch-English technical translator
Hastings, United Kingdom
Email: michael[at]beijer.uk
Website: Beijer.uk
Terminology: Beijerterm.com
AHK-learning project: Beijer.bot
Proz profile: proz.com/profile/652138
LinkedIn: linkedin.com/in/michael-beijer
Re: Installing AHK or SciTE4AHK creates folder in my OneDriv
Assuming that AutoHotkey is installed so .ahk files are registered the normal way, you can run the following script and select SciTE.exe:
Code: Select all
FileSelectFile exe, 1,,, Executables (*.exe)
if ErrorLevel
Exit
RegWrite REG_SZ, HKCR, AutoHotkeyScript\Shell\Edit\Command,, "%exe%" "`%l"
MsgBox % ErrorLevel ? "Error" : "Done"
Re: Installing AHK or SciTE4AHK creates folder in my OneDriv
Note that having My Documents point to OneDrive will allow you to synchronize your SciTE4AutoHotkey settings and your AutoHotkey StdLibs amongst all your computers that are also configured this way.
fincs
Windows 11 Pro (Version 22H2) | AMD Ryzen 7 3700X with 32 GB of RAM | AutoHotkey v2.0.0 + v1.1.36.02
Get SciTE4AutoHotkey v3.1.0 -[My project list]
Windows 11 Pro (Version 22H2) | AMD Ryzen 7 3700X with 32 GB of RAM | AutoHotkey v2.0.0 + v1.1.36.02
Get SciTE4AutoHotkey v3.1.0 -
- michaelbeijer
- Posts: 83
- Joined: 04 Oct 2014, 08:01
- Location: Hastings, UK.
- Contact:
Re: Installing AHK or SciTE4AHK creates folder in my OneDriv
Yes, that was the idea. I keep all kinds of stuff in my OneDrive folder so I have access to the same stuff on all my computers. However, I had wanted to install SciTE4AutoHotkey at the former rather than the latter:fincs wrote:Note that having My Documents point to OneDrive will allow you to synchronize your SciTE4AutoHotkey settings and your AutoHotkey StdLibs amongst all your computers that are also configured this way.
C:\Users\michaelbeijer\OneDrive\Programs\SciTE4AHK
C:\Users\michaelbeijer\OneDrive\
That is, I don't want programs installing themselves in the root of my OneDrive folder (= my redirected "My Documents" folder). I want to be able to choose where I put them.
Michael Beijer
Dutch-English technical translator
Hastings, United Kingdom
Email: michael[at]beijer.uk
Website: Beijer.uk
Terminology: Beijerterm.com
AHK-learning project: Beijer.bot
Proz profile: proz.com/profile/652138
LinkedIn: linkedin.com/in/michael-beijer
Dutch-English technical translator
Hastings, United Kingdom
Email: michael[at]beijer.uk
Website: Beijer.uk
Terminology: Beijerterm.com
AHK-learning project: Beijer.bot
Proz profile: proz.com/profile/652138
LinkedIn: linkedin.com/in/michael-beijer
- michaelbeijer
- Posts: 83
- Joined: 04 Oct 2014, 08:01
- Location: Hastings, UK.
- Contact:
Re: Installing AHK or SciTE4AHK creates folder in my OneDriv
How do I run this, and do I need to change that "%exe%" to the actual location where I installed SciTE4AutoHotkey . For example, C:\Users\michaelbeijer\OneDrive\Programs\SciTE4AHK\SciTE.exe (assuming I stick the portable version there).lexikos wrote:Assuming that AutoHotkey is installed so .ahk files are registered the normal way, you can run the following script and select SciTE.exe:Code: Select all
FileSelectFile exe, 1,,, Executables (*.exe) if ErrorLevel Exit RegWrite REG_SZ, HKCR, AutoHotkeyScript\Shell\Edit\Command,, "%exe%" "`%l" MsgBox % ErrorLevel ? "Error" : "Done"
Michael Beijer
Dutch-English technical translator
Hastings, United Kingdom
Email: michael[at]beijer.uk
Website: Beijer.uk
Terminology: Beijerterm.com
AHK-learning project: Beijer.bot
Proz profile: proz.com/profile/652138
LinkedIn: linkedin.com/in/michael-beijer
Dutch-English technical translator
Hastings, United Kingdom
Email: michael[at]beijer.uk
Website: Beijer.uk
Terminology: Beijerterm.com
AHK-learning project: Beijer.bot
Proz profile: proz.com/profile/652138
LinkedIn: linkedin.com/in/michael-beijer
Re: Installing AHK or SciTE4AHK creates folder in my OneDriv
My Documents\AutoHotkey\SciTE does not contain program files, it only contains SciTE settings.
fincs
Windows 11 Pro (Version 22H2) | AMD Ryzen 7 3700X with 32 GB of RAM | AutoHotkey v2.0.0 + v1.1.36.02
Get SciTE4AutoHotkey v3.1.0 -[My project list]
Windows 11 Pro (Version 22H2) | AMD Ryzen 7 3700X with 32 GB of RAM | AutoHotkey v2.0.0 + v1.1.36.02
Get SciTE4AutoHotkey v3.1.0 -
Re: Installing AHK or SciTE4AHK creates folder in my OneDriv
No, the exe variable is populated by the FileSelectFile command on the first line, which shows a file selection dialog allowing you to pick a file. Hence simply "run the following script and select SciTE.exe".do I need to change that "%exe%"
Who is online
Users browsing this forum: mebelantikjaya, NinjoOnline and 296 guests