Color variables are tipically a Long integer value which, to be parsed as
hexadecimal, must be written with and ampersand prior to the hexadecimal
number, without quotes.
ex.:
Dim ForeColor As Long = &DDAA00
Helios Martínez Domínguez
Consorcio Cooperativo Cinematográfico Artístico Musical
Direc
...and more, now oddly I get always this error: " File or directory does not
exist ", whatever command written.
Sab 26/3/16, herberth guzman ha scritto:
Oggetto: [Gambas-user] Desktop.RunAsRoot
A: "gambas-user"
Data: Sabato 26 marzo 2016, 19:5
I need help
I can look silly but not quite understand Desktop.RunAsRoot.
I need to run a command
Example
does not work
Desktop.RunAsRoot ("sysctl -w vm.drop_caches = 3")
If you work
Shell "gksu sysctl -w vm.drop_caches = 3"
Desktop.RunAsRoot
You can run SUDO command without entering password
http://gambaswiki.org/bugtracker/edit?object=BUG.903&from=L21haW4-
Comment #7 by C THAL:
Maybe a wiki-page about Gambas scripting with subpages? Perhaps I could help ...
--
Transform Data into Opportunity.
Accelerate d