The search returned 5 results
- September 7, 2021 - 11:34
- Forum: WAPT Packages
- Subject: [SOLVED] Retrieve the current user
- Answers: 1
- Views : 2091
[SOLVED] Re: Recovering the current user
You should use session_setup() instead of putting your user modifications in install() 
- September 3, 2021 - 4:39 PM
- Forum: WAPT Packages
- Subject: [SOLVED] Retrieve the current user
- Answers: 1
- Views : 2091
[SOLVED] Recover the current user
Hello,
how do I retrieve the current user?
I tested with: `login = get_current_user()`, which works fine when testing its package with PyScripter, but when using it, it returns the system value.
When I do: `login = get_last_logged_on_user().split('\\')[1]`, it...
how do I retrieve the current user?
I tested with: `login = get_current_user()`, which works fine when testing its package with PyScripter, but when using it, it returns the system value.
When I do: `login = get_last_logged_on_user().split('\\')[1]`, it...
- September 3, 2021 - 4:34 PM
- Forum: WAPT Packages
- Subject: [SOLVED] Editing a configuration file
- Answers: 2
- Views : 2101
Re: [SOLVED] Editing a config file
Thank you very much.
Very practical:
Very practical:
Code: Select all
inifile_writestring()- August 30, 2021 - 4:02 PM
- Forum: WAPT Packages
- Subject: [SOLVED] Editing a configuration file
- Answers: 2
- Views : 2101
[SOLVED] Editing a configuration file
Good morning,
I'm trying to modify the Nextcloud configuration file C:\Users\%login%\AppData\Local\Nextcloud\nextcloud.cfg in order to add the following lines to the [Global] section:
Thank you in advance, best regards.
I'm trying to modify the Nextcloud configuration file C:\Users\%login%\AppData\Local\Nextcloud\nextcloud.cfg in order to add the following lines to the [Global] section:
Code: Select all
logDebug=false
logExpire=1
logDir=C:/tmp- February 22, 2021 - 3:37 PM
- Forum: WAPT Packages
- Subject: Nextcloud package
- Answers: 3
- Views : 3811
Re: Nextcloud package
Hello,
Following the update to 3.1.3, I just realized that the skipUpdateCheck function has changed.
Here is the key that works for me:
#registry_setstring(HKEY_LOCAL_MACHINE, "SOFTWARE\\Policies\\Nextcloud\\Nextcloud", 'skipUpdateCheck', 1, type=REG_DWORD)
registry_setstring(HKEY_LOCAL ...
Following the update to 3.1.3, I just realized that the skipUpdateCheck function has changed.
Here is the key that works for me:
#registry_setstring(HKEY_LOCAL_MACHINE, "SOFTWARE\\Policies\\Nextcloud\\Nextcloud", 'skipUpdateCheck', 1, type=REG_DWORD)
registry_setstring(HKEY_LOCAL ...
