
It makes things much easier since you have a top-bar widget with customizable hyperlinks, Spotify visualizer and lastly the date and time widget. Windows can't fint the directory C:\Program Files (x86)\Rainmeter\Rainmeter.Get a list of our favorite Windows 10 live wallpapers.įLHUD is another awesome Rainmeter skin that I often use on my laptop. Working directory: C:\Program Files\RainmeterĪrguments: !ToggleConfig "Black Screen" "BlackScreen.ini" Path: C:\Program Files (x86)\Rainmeter\Rainmeter.exe

>"C:\Program Files (x86)\AutoIt3\SciTE\.\autoit3.exe" /ErrorStdOut "C:\Users\blets\Desktop\bbb.au3" $aDetails = FileGetShortcut ( & "\config.lnk" ) ConsoleWrite ( "Path: " & $aDetails & & _ "Working directory: " & $aDetails & & _ "Arguments: " & $aDetails & & _ "Description: " & $aDetails & & _ "Icon filename: " & $aDetails & & _ "Icon index: " & $aDetails & & _ "Shortcut state: " & $aDetails & ) ShellExecute ( $aDetails, $aDetails, $aDetails )Īnd run that form SciTE and tell us what the result is in the Outputpane. If I compile as x86, when i run, it gives me error : I compiled them both to x86 and 64 to try as exe, If i run them without the first line, no error but do nothing. If = "X64" And Not Then _WinAPI_Wow64EnableWow64FsRedirection(False)

"C:\Users\blets\Desktop\? AutoIt v3 3" (56) : => Unknown function name.: And I think i run the script as 32 bit as you said.īoth of them when i run them, gives me error: If = "X64" And Not Then _WinAPI _Wow64EnableWow64FsRedirection ( False ) Run ( '"C:\Program Files\Rainmeter\Rainmeter.exe" !ToggleConfig "Black Screen" "BlackScreen.ini"', "C:\Program Files\Rainmeter" )

Turn off redirection for a 32-bit script on 64-bit system. If = "X64" And Not Then _WinAPI _Wow64EnableWow64FsRedirection ( False ) ShellExecute ( "C:\Program Files\Rainmeter\Rainmeter.exe", '!ToggleConfig "Black Screen" "BlackScreen.ini"', "C:\Program Files\Rainmeter" ) Also, do you have 64-bit OS, and running you script as 32-bit?

This is based on what you give for the shortcut.
