
Rick
Active Members-
Posts
324 -
Joined
-
Last visited
Content Type
Forums
Downloads
Forum Articles
Events
Everything posted by Rick
-
hi guys, love this script but have a question, on one pc it works great, on another the progress bars show nothing when sound is playing, I get no error, I was just wondering if anyone knew the cause of this. I have XP on both machines, and using latest autoit.
-
"unable to open the script file" error when #RequireAdmin
Rick replied to Rick's topic in AutoIt General Help and Support
Yes thats fine, providing i dont use #RequireAdmin in the script which is what i'd prefer to do, the Autoit error occurs because it cant open the script, so all i was suggesting was the error be less an error of the program than the conditions its being run in if that makes sense!? -
Hi , have a small query, if the script is set to #RequireAdmin and the user account then runs as the user account and not admin then an Autoit error pops up with "unable to open the script file". Is there a way to stop this error message should #RequireAdmin fail, maybe say something like requires admin credentials or something? I'm using v.3.2.13.11 Thanks
-
oh get a room you two, if it solves a problem for someone then the project has been useful, irrespective of what its called.
-
but it wont be a variable when written
-
FileWrite(@ScriptDir&"\blah.au3", "FileInstall('Chrome\locales\" & $FileArray[0] & "', @TempDir & "\" & $FileArray[$i] & "')")
-
Love this, I already use another autoIt script found here a few months back, altho it didnt offer the ability to send Ctrl-Alt-Del, this looks like it can so I've registered with you to keep on eye future updates. I must admit I havent got your scripts working yet, but then thats the good thing with autoit scripts, you fathom out what they do and and make em work for you. Good luck with this project Rick
-
ok, so when #AutoIt3Wrapper_Res_Fileversion= stop working? i'm using 3.2.13.3 and scite 1.76 aha , think i've sussed it, it fails when using the ansi version of aut2exe. is this a bug?
-
ok, many thanks. Looks like I've a few busy weekends ahead. The reason I had'nt previously updated was cos there seem to be updates almost daily at one point and it got to the stage where I couldnt trust em so didnt update. I see the last few months things have settled down a bit so time to see whats new. Thanks guys
-
Hi , I'm considering updating to AutoIt v3.2.11.10, altho it concerns me it will break quite a few if not all of my scripts from the passed 2yrs. Before i update, is there a utility within the new version to convert older scripts or will this have to done manually?? Many thanks, rick
-
its a global option... as it states.. "Tools>Folder options>View>Apply to Allfolders" If your afraid to use it or unfamiliar with changing pc settings, dont use it.
-
Relative folders and fileGetLongName()
Rick replied to sshrum's topic in AutoIt General Help and Support
StringTrimRight(@ScriptDir,x) where x is so many characters to go back ?? -
RegWrite("HKEY_CLASSES_ROOT\Applications\" & @ScriptName, "NoStartPage","REG_SZ","") Will tell windows to never put @ScriptName it in the frequently used list. (a logoff & logon may be needed if its already there)
-
oops $Lines=StringSplit(StringReplace(FileRead("file1.txt"),@CR,""),@LF) For $x = 1 to $Lines[0]-1 $Split=StringSplit($Lines[$x],".") if IsArray($Split) AND $Split[2] = "001" then FileWrite("File2.txt",StringTrimLeft($Split[1],1) & @CRLF) Next
-
dont know if this helps, but... $Lines=StringSplit(StringReplace(FileRead("file1.txt"),@CR,""),@LF) For $x = 1 to $Lines[0]-1 $Split=StringSplit($Lines[$x],".") if IsArray($Split) And $Split[2] = "001" then FileWrite("File2.txt",$Split[1] & @CRLF) Next
-
bump
-
Have a look at the helpfile , its all in there.
-
true, no one likes change, but then thats the autoit progammers to decide not us, actually in a way its better as scripts and how it compiles is all self contained, it takes a while to get used to, but overall easier than the old way.
-
thats correct, thats how it works now, instead of creating an ini file you use something like this at the top of your script... #Region Compiler directives section #Compiler_OutFile= #Compiler_Icon= #Compiler_UseAnsi=n #Compiler_Res_Comment= #Compiler_Res_Description= #Compiler_Res_Fileversion= #Compiler_Res_FileVersion_AutoIncrement=y #Compiler_Allow_Decompile=n #Compiler_UseUpx=y #Compiler_Compression=2 #Compiler_Res_Language=2057 #Compiler_Res_LegalCopyright= #EndRegion and fill in the lines as specified in the old ini files. Search for Directives.au3 for more options.
-
MsgBox(0, "testing time and breakrow", 'Starttime:' & $starttime & @CR & 'Display number:' & $Number & @CR & 'EndTime:' & _DateTimeFormat( _NowCalc(),0))
-
re-install scite
-
ControlListView 'ViewChange' fails
Rick replied to bshoenhair's topic in AutoIt General Help and Support
I've had a play with this script and come up with the following solution... Opt('WinTitleMatchMode',2) Run('explorer "' & @TempDir & '"') WinWait('Temp','FolderView') WinActivate('Temp','FolderView') Global $Key=0, $Hwnd = WinGetHandle(WinGetTitle("Temp")) Global $RegKey="HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" If RegRead($RegKey, "WebView") = 1 Then $Key=1 if $Key=1 then UpdateExplorer(0) ; only needed to show screen with msgbox ControlListView('Temp','FolderView','SysListView321','ViewChange','list') if $Key=1 then UpdateExplorer(1) ; only needed to show screen with msgbox MsgBox(0, "","list",3) if $Key=1 then UpdateExplorer(0) ; only needed to show screen with msgbox ControlListView('Temp','FolderView','SysListView321','ViewChange','largeicons') if $Key=1 then UpdateExplorer(1) ; only needed to show screen with msgbox MsgBox(0, "","largeicons",3) if $Key=1 then UpdateExplorer(0) ; only needed to show screen with msgbox ControlListView('Temp','FolderView','SysListView321','ViewChange','details') if $Key=1 then UpdateExplorer(1) ; only needed to show screen with msgbox MsgBox(0, "","details",3) WinClose($hWnd) Func UpdateExplorer($On=0) RegWrite($RegKey, "WebView", "REG_DWORD", $On) DllCall("user32.dll", "long", "SendMessage", "hwnd", $hWnd, "int", 0x111, "int", 28931, "int", 0) EndFunc This way, it works irrespective of if "Use Windows Classic folders" is selected or not. -
it was written before v3.2 came out, to overcome it ... put .... $Dll = DllOpen("Wininet.dll") before any ftp'ing then.... DllClose($Dll) after.