WhiteStar
Active Members-
Posts
59 -
Joined
-
Last visited
WhiteStar's Achievements
Wayfarer (2/7)
4
Reputation
-
Autoit SysInfo Clock v0.9.9.7 build 2014-08-27 beta
WhiteStar replied to UEZ's topic in AutoIt Example Scripts
Looks Good UEZ but I think I would have opted for a hover text but that's just me... It appears now, that with Windows 8.1 Update, the different Cores will be monitorable and concurrent apps ( > 2) will also be monitorable. That's always been a Pet Peeve of mine to be able to watch concurrent apps, their CPU, RAM usage etc... Without having to use some heavy commercial app that is not worth the effort. How much progress MS has made is yet to be seen but I'm not holding my breath on that as they have gone a bit pear shaped as of late.- 58 replies
-
- system info
- gdi+
- (and 8 more)
-
Autoit SysInfo Clock v0.9.9.7 build 2014-08-27 beta
WhiteStar replied to UEZ's topic in AutoIt Example Scripts
I ran the executable file not source code. I'm obviously using an AMD 8-Core CPU and the Escape Key does work. I did make the suggestion of adding a hovertext to the menu choices which would indicate to use the ESC key to exit the About info. Hope there will be a new complete AutoIT package released soon... starting to look like a bit of a patch to patch to patch for updating.- 58 replies
-
- system info
- gdi+
- (and 8 more)
-
Autoit SysInfo Clock v0.9.9.7 build 2014-08-27 beta
WhiteStar replied to UEZ's topic in AutoIt Example Scripts
Hey UEZ.... Escape does cancel it ! Maybe a HoverText over the "About button" would be in order.... As for my current Temps as noted above... I have to use liquid cooling (Arctic Cooler) + 2x200mm, 3x80mm fans and even with that have seen into the 50C range occasionally when running the full Virtual World software systems... Highend graphics pushing 70-90 Frames per Second heats up pretty much all graphics cards & CPU's. Must say that I love my compile times now though... compiling over 2 million lines of C# + libs etc only takes a blustery 6 seconds on SSD. Just thinking out loud & stirring ideas... The Analogue Clock would have to become a "Clock Wall" I suppose if you were to add in temps etc... Either way, in Analogue I think it would look pretty cool. In Digital maybe a display similar to a digital watch with 4 buttons to switch face-mode... Or possibly an analogue "Modal" button to switch between displaying RAM/CPU/Temps on the same face. WS- 58 replies
-
- system info
- gdi+
- (and 8 more)
-
Autoit SysInfo Clock v0.9.9.7 build 2014-08-27 beta
WhiteStar replied to UEZ's topic in AutoIt Example Scripts
Hey UEZ... I really like this, very spiffy little tool ! Thanks. I just downloaded it and ran it and discovered a couple of "foibles". Everything appears fine on my system and I like the analogue display, looks sharp. One problem I had was, If you click on "About" though, there is no way to stop it without using Task Mangler to force the app to close. Not even exit works off the taskbar. Have you considered doing a Digital Version of this ? I wonder if it is possible to have "Temp Display" as well for CPU & Video Cards ?? (Kind of like how Speccy can show the temps). That is something I run into often working with extremely heavy graphics apps and video production. Maybe it's my system, so here is the main system I use, which isn't quite the average box on the street... Operating System: Windows 8 Pro 64-bit CPU: AMD FX-8350 16 °C Vishera 32nm Technology (4.0Ghz 8 core) RAM: 32.0GB Dual-Channel DDR3 @ 668MHz (9-9-9-24) Motherboard: ASUSTeK COMPUTER INC. M5A99X EVO R2.0 (Socket 942) 33 °C Graphics: 47LV4400 (1920x1080@60Hz) 2048MB NVIDIA GeForce GTX 660 (ASUStek Computer Inc) 30 °C Hard Drives: 224GB TOSHIBA MKNSSDCR240GB (SSD) 27 °C 699GB Seagate ST750LX003-1AC154 (SATA) 25 °C Optical Drives: PIONEER BD-RW BDR-208D Audio: Realtek High Definition Audio Thanks Again for the great work UEZ WS- 58 replies
-
- system info
- gdi+
- (and 8 more)
-
Another on the Comment the hell out of it group. I tend to stick to more descriptive naming conventions and sometimes will drop my pseudo code as I am thinking through the processes.. makes it a heap loads easier. Tidy it all up after I'm done writing it and leave in the important comments. While developing something, Id say my average is 20-25% +/- comment to code, cleaned about 10% maybe.
-
Libertarian reacted to a post in a topic: 7zip command line - batch archive testing script
-
I work with OpenSimulator which is a Virtual World Simulator software... (It can be a game but it's a whole lot more). The code is written in C# -Net Framework and is cross platform from Windows to Linux/Mac with MONO. Memory usage is always a problem as the server can use up a lot of system resources and it's not uncommon to hit the RAM Limits of 32-Bit operating systems. In fact, I am using AutoIT to write a GUI front end manager application to manage the operations, functions, installs, upgrades etc of the server software. I believe what you may be seeking more information on is LAA or Large Address Aware, which allows a 32bit Application to use up to 3GB of ram on a 32-bit Windows or 4GB of Ram on a 64-bit Windows. I wrote up a quick doc for OpenSimulator & Aurora-Sim on how to patch for the executable's to enable LAA. I'll include a txt doc here on patching for LAA. This "may" be of assistance in helping you find what you are looking for. There is reference links which might be helpful... This Doc is below: FYI if someone is pondering Forum Rules: OpenSimulator is NOT a game. It is an Immersive Virtual World environment with simulations. For more information feel free to look here @ http://opensimulator.org/wiki/Main_Page Some Helpful extra info on PAE / LAA: There is a registry key you could test against, I believe this varies between Versions but here is a link: http://technet.microsoft.com/en-us/library/cc783646#w2k3tr_pae_tools_beys Also checking against the boot.ini which is also dependent on Win Version but more info @ http://support.microsoft.com/kb/888137 Hope it Helps, Good Luck WhiteStar ---- Inserted Test Doc ---- Patching OpenSim.exe & OpenSim.32BitLaunch.exe to allow them to access more RAM in Windows Systems. WHY ? An application running in 32Bit Mode on Windows can only access access 2GB Ram Total by default. As seen with OpenSim, this can can easily be reached when you throw in enough prims, scripts & users. The Solution is to patch the EXE to make it aware and to adjust 32-Bit windows to accomodate that (x64 is already capable). When a 32-bit application is Large Address Aware, it can access up to 4GB on x64 operating systems and up to 3GB on x86. 64-bit Windows, require no modifications to the operating system to benefit from the Patched EXE files. 32-bit Windows, require some adjustments and they vary according to Version of Windows. Linux/Mono do not appear affected by Large Address Aware patched exe's *** Still needs thorough verification. *** How-To Patch EXE Method 1) If you have Visual Studio 2008/2010 and/or C++ Express COPY your OpenSim.exe / OpenSim.32BitLaunch.exe to a safe place (backup) Copy again to a separate Working Directory (the ones you will patch) Open a Command Prompt (CMD) and change directory to that working dir run Following Command: OpenSim.32BitLaunch.exe REFERENCE for EDITBIN http://msdn.microsoft.com/en-us/library/xd3shwhf.aspx Method 2) (maybe simpler and does not require C++ be installed) http://forums.techpowerup.com/showthread.php?t=112556 Above has an APPLICATION in the first posting which makes patching your executables easy. See Thread in the link for details. Windows Mods Required (not applicable to 64bit) ****************************************************************** *** WARNING - FOLLOW THE DIRECTIONS AND BACKUP BACKUP BACKUP ! *** ****************************************************************** WIN-XP Ensure you have View All Files & System Files enabled. In the root of C:\ you will see a file named "boot.ini" MAKE A BACKUP COPY OF IT somewhere safe ! Edit it with NotePad (you must be admin priviledged) and ADD the /3GB switch as shown below It will look similar to this example: [boot loader] timeout=30 default=multi(0)disk(0)rdisk(0)partition(2)\WINNT [operating systems] multi(0)disk(0)rdisk(0)partition(2)\WINNT="????" /3GB Where: "????" in the example can be the programmatic name of the operating system versions shown below: Windows XP Professional / Windows Server 2003 / Windows Server 2003 Enterprise Edition / Windows Server 2003 Datacenter Edition. REFERENCE: http://www.microsoft.com/whdc/system/platform/server/pae/paemem.mspx WIN-VISTA Vista uses BCDedit. A powerful yet potentially Very dangerous tool ! Open a Command Prompt (CMD) Make a New Directory to preserve a BACKUP of the System Store & change dir there. Example: md c:\BCDbackup then cd c:\BCDbackup NEXT run the follow command IN BCDbackup: bcdedit /export MyFileName Where MyFileName is something simple like MyBCD NEXT run the following command: BCDEDIT /Set INCREASEUSERVA 3072 NOTE: That is the Maximum assuming you have that much RAM and don't even try to make it more, the result would be not pleasant. !! RESTORING IN CASE OF ISSUES !! The following command imports the data from C:\Data\BCD Backup into the system store: bcdedit /import "c:\BCDbackup\MyBCD" REFERENCE for BCDedit: http://download.microsoft.com/download/9/c/5/9c5b2167-8017-4bae-9fde-d599bac8184a/BCDedit_reff.docx WIN-7+ (Nothing Required, support is already there and better implemented) *** CLOSING NOTES *** ********************* By Patching the EXE files, they will use up to 4GB Ram on 64Bit or 3GB on 32bit. This will not force the system and won't cause harm if the the system does not have the RAM. Modifying Win-XP & Vista (especially Vista) is a risk you have to measure for yourself. These are well documented and known to work as you can see with the provided reference info. Effects on Linux / Mono: None have been noted by anyone using patched EXE files as Linux Handles memory differently but it is still subject to specific 32Bit limitations for 32Bit flavours. Additional REFERENCE INFORMATION http://msdn.microsoft.com/en-us/library/windows/desktop/aa366796(v=vs.85).aspx http://www.microsoft.com/whdc/system/platform/server/pae/paemem.mspx http://support.microsoft.com/default.aspx?scid=889654 (shows mem capabilities & page sizing) http://bilbroblog.com/wow64/hidden-secrets-of-w0w64-ndash-large-address-space/
-
Windows User files back up and restore
WhiteStar replied to BrewManNH's topic in AutoIt Example Scripts
A friendly FYI A note in regards to Win-8 Release. If you attempt to relocate c:Users<username>AppData or any contents within, things "will" break. Mostly Metro-Apps. A fix is expected some time in the future, likely before SP-1 but uncertain. This changed a little between how Vista/Win-7 handled it which was also a little different in XP. To verify what can be moved, look into the properties of the related directories/folders under c:Users<username>. If you see the option for "Locations" in the Properties, then they can be moved but use caution. Hope it helps WS -
I've just grabbed this UDF as it would address a number of FW issues I have to deal with pertaining to an install & management app I am working on. My Dev & Test system is Win-7/64 but I also have Vista-32 & XP-32 on separate machines for testing... I have been working with an alternative method of creating Firewall rules, opening specific ports, TCP & UDP as required. Some points I've hit with this UDF. (possibly [Keyboard <-> Chair interface] failure but unlikely) For testing purposes I made a mini applet with #RequireAdmin otherwise it doesn't work ... Might suggest making a note for that in the first posting as not everyone would likely be aware of that little detail. _AddAuthorizedApp("App-Test", "D:MynewAppBinMyApp.exe", 2, 0, True) creates an InBound rule perfectly does not create an Outbound rule. Possibly a switch for Inbound / Outbound rule does not address specific ports for App-Test. opening a specific app and allowing it to use only certain ports IE ports:9000-9002 TCP / UDP or ALL (Security being a point here) _AddPort("MyTestPort", 9999, 0, 6, "True") does not appear to add any ports to any previous in/out bound rules it creates a separate rule for the specified port. does not specify which rule to add it to (for example App-Test) if created above. Also does not specify which excutable to allow it for, as it just opens the port to all apps which would be a potential security issue. _ListAuthorizedApps() lists previously manually configed apps and App-Test and does this nicely _ListAuthorizedPorts() shows "All Authorized Applications" (line 334) which should show "All Authorized Ports" Sample C# code which shows using the netsh to accomplish adding an app with specified ports, protocol (tcp/udp), in/out bound static public void OpenFirewallPort(string ruleName, int portNumber) { switch (Environment.OSVersion.Version.Major) { // Is Windows XP running (Windows NT 5)? case 5: // Opening port for both TCP and UDP : removing eventual existing rule then creating new one RunShellCommand("netsh firewall delete portopening all " + portNumber.ToString()); RunShellCommand("netsh firewall add portopening all " + portNumber.ToString()); break; // Is Windows Vista running (Windows NT 6)? case 6: // Opening port for TCP : removing eventual existing rule then creating new one RunShellCommand("netsh advfirewall firewall delete rule name=" + ruleName + " dir=in protocol=tcp localport=" + portNumber.ToString()); RunShellCommand("netsh advfirewall firewall add rule name=" + ruleName + " dir=in action=allow enable=yes protocol=tcp localport=" + portNumber.ToString()); // Opening port for UDP : removing eventual existing rule then creating new one RunShellCommand("netsh advfirewall firewall delete rule name=" + ruleName + " dir=in protocol=udp localport=" + portNumber.ToString()); RunShellCommand("netsh advfirewall firewall add rule name=AAA_MyTest dir=in action=allow enable=yes protocol=udp localport=8002-8005,8007,9000-9010" + portNumber.ToString()); break; } } Thanks for the great work ! Hope my suggestions / thoughts help, WhiteStar
- 37 replies
-
- windows firewall
- udf
-
(and 1 more)
Tagged with:
-
Mikeman27294 reacted to a post in a topic: 12:00PM April 18 2012
-
12:00PM April 18 2012
WhiteStar replied to ScriptMasterFlex's topic in AutoIt General Help and Support
Get a job working on Norton ? -
Right on the money I was using RGB instead of BGR.... I been using RGB for things forever but I'm sure there is some good reason for BGR. I found this Snippet to make life easier http://www.autoitscript.com/wiki/Snippets_(_Graphics_)#SwitchColor.28.29_.7E_Author_-_RazerM Thanks for all the help, Much appreciated.
-
Thanks BrewManNH, That seems to do the trick for the most part. There is an unpleasant side effect though. At first, I thought it was because I use USkins.dll and skin my app but after commenting that out the issue still occurs. see below; I'm using HTML Safe Colour Charts: http://www.w3schools.com/html/html_colors.asp & http://www.tayloredmktg.com/rgb/ & http://www.febooti.com/products/iezoom/online-help/html-color-names-safe-color-chart.html which are identical for the values. So I know I'm not confused, even rechecked with PaintNET for a sanity check. For an error, I want to set "0xFF0000" which is RED but ... it shows up as Blue and much closer to "0000FF" ! BUT this get's even MORE fun !!! Oivey... If I put in "0x0000FF" I get the RED that I was after but that is the Safe Code for the Blue ! SO.... Now I'm totally confused with the colour rendering in AutoIT... What's the scoop ? Thanks
-
Good Day folks, I've searched the forums and found some old articles related to this and did not want to bring back a necro post. The _GUICtrlStatusBarSetBKColor($handle, $icolor) will not work on Vista or Win/7, unless it's set to XPtheme or so it seems. Has a fix or work around been sorted for this function. Maybe an alternative way of doing it ? I use a status bar to dialog ongoing processes to the users. I'd like to be able to set 1 of 3 colours depending on the status dialog: 1) normal, 2) yellow (warn) & 3) Red (error) in order to draw attention to the dialog. I am already using icons "_GUICtrlStatusBar_SetIcon($StatusBar1, 0, 0, ".\Images\" & $iconfile)" which is fine BUT does not attract enough attention should there be an error. Below is the code that I found that does work, as long as you flip to XPTheme which is not an option. PS: I tried using the [ AutoIt ] button in the editor menu to post the code here but it refuses to post and when I try to cancel it says "options changed" so I just posted it with manually putting that code highlighting in. A wee bug in the forum software or ( Keyboard<->Chair ) interface issue ? Thanks in Advance for the help WhiteStar
-
Zedna, Will this be incorporated into the next release of AutoIT ? The current Beta is moving right along and seems fairly close to becoming a release and I was just wondering. Thanks WhiteStar
-
[solved] GuiCtrlCreate... with 2 GUIs
WhiteStar replied to cramaboule's topic in AutoIt GUI Help and Support
You may want to have a look at this article if your using multiple Gui's. It will save you a lot of headaches which I had till I found the article. http://www.autoitscript.com/wiki/Managing_Multiple_GUIs -
Creating script for autostart xampp
WhiteStar replied to ctl's topic in AutoIt General Help and Support
Maybe your unaware of it, but you can use the XAMPP Manager and set MySql and/or Apache to run as service, this will autostart MySql & Apache on system startup. If your going to run XAMPP Apache remember that it is set to "no security" by default & the first thing you should do is rename or delete the WebDAV directory. By the way, the latest XAMPP has come a long way in making it easier to secure as they enhanced the interface considerably.