topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • May 21, 2019, 02:34 PM
  • Proudly celebrating 13 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Ath [ switch to compact view ]

Pages: [1] 2 3 4 5 6 ... 134next
1
Are you actually asking about a phone-screen, pc-screen or screens in general?

2
It would be a standalone app -- I wonder if someone would consider making such a coding snack..
Well, AFAICS that's already done quite alright in the fine SysInternals utility ZoomIt

3
Clipboard Help+Spell / Re: Clipboard Help+Spell errors
« on: April 08, 2019, 01:38 AM »
You have removed any read/only attributes from your files?

4
General Software Discussion / Re: Screen change detector
« on: March 29, 2019, 06:14 AM »
I have come to the conclusion that what I want I can't get. :(
But you can go to a thrift shop or computer fair to buy a cheap second-hand secondary monitor for your computer, so the alternatives mentioned can be had for a small budget.

5
General Software Discussion / Re: Screen change detector
« on: March 26, 2019, 09:27 AM »
that will monitor a specific window even when it is not in focus and I have another window open.
It is not guaranteed that the window content is updated if another window is (partially) covering it, so that might be quite a challenge... and maybe a little less if you can place that window visible and uncovered. And then there is a chance that the application detects it doesn't have focus and lowers/ceases the screen update frequency.

6
Copenhagen interpretation of travel: Is someone out there in no specific location until you see them again?

^ you really lost me there
that lost me as a native speaker too... might be to do with some 'Copenhagen' scientific theory or something (?)
I was kinda thinking of the Stockholm syndrome, but that might just be me... :-[

7
Living Room / Re: When you make your 100'th Post
« on: March 07, 2019, 01:50 PM »
And while we were all busy, Wraith808 passed the 10,000 post mark, but not a sound was heard... :D

Screenshot - 7-03-2019 , 20_46_45.png

8
Have you tried ProcessTamer?
The first SuperUser answer in this question suggests that... ;D ;D ;D

9
General Software Discussion / Re: UTP cable pin-outs confusion
« on: March 03, 2019, 01:05 PM »
Hm, intriquing question. Like you I've mostly made utp cables (and coax before that) myself. I'd declare it nearly impossible for the pinout to change from cat5 to cat6 to cat7, as the cables are backward compatible. And I've not found any evidence for changes in pinout, so far.

Having said that, I have a few possible causes for your 'color confusion':
  • The cables are possibly made by unexperienced/uninterested people, and they just 'made it work' by creating a 1:1 connection, regardless of wire pairs (simple wiretest equipment can't detect pairing, only correct connections)
  • The wires have a non-color-related pairing (highly unlikely though), you'd have to cut open a cable to verify

When aiming for cat6/cat7 speeds, I'd verify that the cables are pair-connected as required (and ideally shielded as well) to avoid hard to debug networking issues. The shielding requirements for cat6/cat7 make it quite hard to make these yourself, unless you have access to the professional tools for crimping that type of cable.

10
I'll start with a question: Who's problem are you solving here?

And a proposed design of how to avoid this:
  • The application should provide a configurable base-path to a file-upload directory.
  • When uploading a file it should be given a unique name as it is stored in a (nested) directory structure from the base-path (I think it should not be stored as a blob in the database). The directories should be nested to avoid thousands of files in a single directory.
  • The database should store this path and filename, relative from the base-path, so for retrieval they can be appended and downloaded.
  • The database should store the name/title of the file, initially set to the original filename, without any path information, and probably also include date/time and size info. The extension of the file should remain as initially uploaded.

11
I've modified the original download from the Skrommel site to support your request, and also updated the documentation in the ini file (source and sample ini in the attached zip file)
No compiled exe is provided, so you'll have to have AutoHotKey installed on your computer.

Modification: The pixelcolor can now optionally be prefixed with an exclamation mark, like !FFFFFF, so the pixel is watched for being not-equal to that color. The message should probably be adjusted accordingly.

NB: There is no support for setting this option from using the Add alarm... option from the context menu, but it can easily be set as the ini file is opened after adding an alarm.

Code: Autohotkey [Select]
  1. ;PixelNotifier.ahk
  2. ; Watches a screen pixel for a specific color, and notifies the user when it occurs.
  3. ;Skrommel @2005
  4. ; 2019-03-02 Ath: Added inverted check by prefixing the pixelcolor with !
  5.  
  6.  
  7. SysGet,workarea,MonitorWorkArea
  8.  
  9. applicationname=PixelNotifier
  10.  
  11. Gosub,READINI
  12. Gosub,ACTIVATEALL
  13.  
  14. Loop,%alarmscount%
  15. {
  16.   Sleep,500
  17.   If active_%A_Index%=0
  18.     Continue
  19.   If triggered_%A_Index%=1
  20.     Continue
  21.   x:=alarms_%A_Index%_1
  22.   y:=alarms_%A_Index%_2
  23.   pixelcolor:=alarms_%A_Index%_3
  24.   StringLeft,invert,pixelcolor,1
  25.   If invert = !
  26.   {
  27.         checkInvert=1
  28.         StringTrimLeft,pixelcolor,pixelcolor,1
  29.   }
  30.   relative:=alarms_%A_Index%_4
  31.   If relative=1
  32.     CoordMode,Pixel,Screen
  33.   Else
  34.     CoordMode,Pixel,Relative
  35.   PixelGetColor,readpixelcolor,x,y,RGB
  36.   StringTrimLeft,readpixelcolor,readpixelcolor,2
  37.   If checkInvert = 1
  38.   {
  39.         If readpixelcolor=%pixelcolor%
  40.           Continue
  41.   }
  42.   else
  43.   {
  44.         If readpixelcolor<>%pixelcolor%
  45.           Continue
  46.   }
  47.   triggered_%A_Index%=1
  48.   message:=alarms_%A_Index%_5
  49.   fullscreencolor:=alarms_%A_Index%_6
  50.   Gui,%A_Index%:+Owner -Resize -SysMenu -MinimizeBox -MaximizeBox -Disabled +Caption +Border -ToolWindow
  51.   Gui,%A_Index%:Color,%fullscreencolor%
  52.   Gui,%A_Index%:Add,Button,X320 Y240 Default GOK_%A_Index%,%message%
  53.   Gui,%A_Index%:Show,X-4 Y-4 W%workareaRight% H%workareaBottom%,%applicationname% %A_Index%
  54.   SetTimer,TRIGGERED_%A_Index%,5000
  55.   Gosub,TRIGGERED_%A_Index%    
  56. }
  57.  
  58.  
  59. TRIGGERED_9:
  60. triggered=9
  61. Goto,TRIGGERED
  62. TRIGGERED_8:
  63. triggered=8
  64. Goto,TRIGGERED
  65. TRIGGERED_7:
  66. triggered=7
  67. Goto,TRIGGERED
  68. TRIGGERED_6:
  69. triggered=6
  70. Goto,TRIGGERED
  71. TRIGGERED_5:
  72. triggered=5
  73. Goto,TRIGGERED
  74. TRIGGERED_4:
  75. triggered=4
  76. Goto,TRIGGERED
  77. TRIGGERED_3:
  78. triggered=3
  79. Goto,TRIGGERED
  80. TRIGGERED_2:
  81. triggered=2
  82. Goto,TRIGGERED
  83. TRIGGERED_1:
  84. triggered=1
  85. Goto,TRIGGERED
  86. TRIGGERED:
  87. sound:=alarms_%triggered%_7
  88. SoundPlay,%sound%
  89. ;WinSet,Top,,%applicationname% %triggered%
  90. WinActivate,%applicationname% %triggered%
  91. Return
  92.  
  93.  
  94. OK_9:
  95. ok=9
  96. OK_8:
  97. ok=8
  98. OK_7:
  99. ok=7
  100. OK_6:
  101. ok=6
  102. OK_5:
  103. ok=5
  104. OK_4:
  105. ok=4
  106. OK_3:
  107. ok=3
  108. OK_2:
  109. ok=2
  110. OK_1:
  111. ok=1
  112. SetTimer,TRIGGERED_%ok%,Off
  113. active_%ok%=0
  114. Gosub,TRAYMENU
  115. Return
  116.  
  117.  
  118. TOGGLE_9:
  119. TOGGLE_8:
  120. TOGGLE_7:
  121. TOGGLE_6:
  122. TOGGLE_5:
  123. TOGGLE_4:
  124. TOGGLE_3:
  125. TOGGLE_2:
  126. TOGGLE_1:
  127. menu:=A_ThisMenuItemPos-2
  128. If active_%menu%=0
  129. {
  130.   active_%menu%=1
  131.   triggered_%menu%=0
  132.   Gosub,TRAYMENU
  133. }
  134. Else
  135. {
  136.   Gosub,OK_%menu%
  137. }
  138. Return
  139.  
  140.  
  141. Gosub,DEACTIVATEALL
  142. {
  143.   CoordMode,Pixel,Screen
  144.   CoordMode,Mouse,Screen
  145.   MouseGetPos,sx,sy
  146.   PixelGetColor,readpixelcolor,sx,sy,RGB
  147.   StringTrimLeft,readpixelcolor,readpixelcolor,2
  148.   CoordMode,Mouse,Relative
  149.   ToolTip,Color:`t%readpixelcolor%`nScreenCoord:`t%sx% %sy%`nWindowCoord:`t%x% %y%`n`nPress`tto add`n1=`tScreenCoord`n2=`tWindowCoord`nEsc=Cancel
  150.   GetKeyState,screen,1,P
  151.   If screen=D
  152.   {
  153.     FileAppend,`n%sx%`,%sy%`,%readpixelcolor%`,1`,Message`,FFFFFF`,C:\Windows\Ding.wav,%applicationname%.ini
  154.     ToolTip,
  155.     Gosub,SETTINGS
  156.     Break  
  157.   }
  158.   GetKeyState,window,2,P
  159.   If window=D
  160.   {
  161.     FileAppend,`n%x%`,%y%`,%readpixelcolor%`,2`,Message`,FFFFFF`,C:\Windows\Ding.wav,%applicationname%.ini
  162.     ToolTip,
  163.     Gosub,SETTINGS
  164.     Break  
  165.   }
  166.   GetKeyState,esc,Esc,P
  167.   If esc=D
  168.   {
  169.     ToolTip,
  170.     Break
  171.   }
  172. }
  173. Return
  174.  
  175.  
  176. SETTINGS:
  177. Gosub,DEACTIVATEALL
  178. Gosub,READINI
  179. Run,%applicationname%.ini
  180. Return
  181.  
  182.  
  183. READINI:
  184. IfNotExist,%applicationname%.ini
  185. {
  186. ini=`;%applicationname%.ini
  187. ini=%ini%`n`;
  188. ini=%ini%`n`;Syntax:
  189. ini=%ini%`n`;
  190. ini=%ini%`n`;x,y,pixelcolor,relative,message,fullscreencolor,sound
  191. ini=%ini%`n`;
  192. ini=%ini%`n`; x                               Horizontal positon of the pixel to watch
  193. ini=%ini%`n`; y                               vertical positon of the pixel to watch
  194. ini=%ini%`n`; pixelcolor=[!]000000-FFFFFF     RGB-color of the pixel to watch
  195. ini=%ini%`n`;                                 If the RGB color is optionally prefixed with an exclamation mark,
  196. ini=%ini%`n`;                                 like !FFFFFF, the pixel is watched for being not-equal to that color
  197. ini=%ini%`n`; relative=1,2                    Find pixel relative to 1=the screen or 2=the active window
  198. ini=%ini%`n`; message                         The message to display
  199. ini=%ini%`n`; fullscreencolor=000000-FFFFFF   Color of the fullscreen notification
  200. ini=%ini%`n`; sound                           Path to the WAV-file
  201. ini=%ini%`n`;
  202. ini=%ini%`n`;Example:
  203. ini=%ini%`n`;
  204. ini=%ini%`n`;0,0,FFFFFF,White color detected!,0,0000FF,C:\Windows\Media\Ding.wav
  205. ini=%ini%`n`;  Watches the screenposition 0,0 for the color white and plays a sound and
  206. ini=%ini%`n`;  displays a blue message window with the text White color detected!
  207. ini=%ini%`n
  208. ini=%ini%`n200,200,FFFFFF,1,White color detected!,0000FF,C:\Windows\Media\Ding.wav
  209. ini=%ini%`n400,400,FFFFFF,1,White color detected!,FF0000,C:\Windows\Media\Ding.wav
  210. FileAppend,%ini%,%applicationname%.ini
  211. ini=
  212. }
  213. alarmscount=0
  214. Loop,Read,%applicationname%.ini
  215. {
  216.     Continue
  217.     Continue
  218.   alarmscount+=1
  219.   StringSplit,alarms_%alarmscount%_,A_LoopReadLine,`,
  220. }
  221. Return
  222.  
  223.  
  224. TRAYMENU:
  225. Menu,Tray,NoStandard
  226. Menu,Tray,DeleteAll
  227. Menu,Tray,Add,%applicationname%,TOGGLE
  228. Menu,Tray,Add,
  229. Loop,%alarmscount%
  230. {
  231.   message:=alarms_%A_Index%_5
  232.   Menu,Tray,Add,&%A_Index%:%message%,TOGGLE_%A_Index%
  233.   If active_%A_Index%=1
  234.     Menu,Tray,Check,&%A_Index%:%message%
  235. }
  236. Menu,Tray,Add,
  237. Menu,Tray,Add,&Enable All,ACTIVATEALL
  238. Menu,Tray,Add,&Disable All,DEACTIVATEALL
  239. Menu,Tray,Add,
  240. Menu,Tray,Add,&Add alarm...,Add
  241. Menu,Tray,Add,&Edit alarms...,SETTINGS
  242. Menu,Tray,Add,
  243. Menu,Tray,Add,&About...,ABOUT
  244. Menu,Tray,Add,E&xit,EXIT
  245. Menu,Tray,Default,%applicationname%
  246. Menu,Tray,Tip,%applicationname%
  247. Return
  248.  
  249.  
  250. TOGGLE:
  251. Pause,Toggle
  252. Return
  253.  
  254.  
  255. ACTIVATEALL:
  256. Loop,%alarmscount%
  257. {
  258.   active_%A_Index%=1
  259.   triggered_%A_Index%=0
  260.   Gosub,TRAYMENU
  261. }
  262. Return
  263.  
  264.  
  265. DEACTIVATEALL:
  266. Loop,%alarmscount%
  267. {
  268.   SetTimer,TRIGGERED_%A_Index%,Off
  269.   Gui,%A_Index%:Destroy
  270.   active_%A_Index%=0
  271.   triggered_%A_Index%=0
  272.   Gosub,TRAYMENU
  273. }
  274. Return
  275.  
  276.  
  277. ABOUT:
  278. Gui,99:Margin,20,20
  279. Gui,99:Add,Picture,xm Icon1,%applicationname%.exe
  280. Gui,99:Font,Bold
  281. Gui,99:Add,Text,x+10 yp+10,%applicationname% v1.0
  282. Gui,99:Add,Text,y+10,Watches a screen pixel for a specific color, and notifies the user when it occurs.
  283. Gui,99:Add,Text,y+5,- Change settings using Settings in the tray menu
  284. Gui,99:Add,Text,y+5,- Shows a message, plays a sound and fills the whole screen with color
  285.  
  286. Gui,99:Add,Picture,xm y+20 Icon5,%applicationname%.exe
  287. Gui,99:Font,Bold
  288. Gui,99:Add,Text,x+10 yp+10,1 Hour Software by Skrommel
  289. Gui,99:Add,Text,y+10,For more tools, information and donations, please visit
  290. Gui,99:Font,CBlue Underline
  291. Gui,99:Add,Text,y+5 G1HOURSOFTWARE,www.1HourSoftware.com
  292.  
  293. Gui,99:Add,Picture,xm y+20 Icon7,%applicationname%.exe
  294. Gui,99:Font,Bold
  295. Gui,99:Add,Text,x+10 yp+10,DonationCoder
  296. Gui,99:Add,Text,y+10,Please support the contributors at
  297. Gui,99:Font,CBlue Underline
  298. Gui,99:Add,Text,y+5 GDONATIONCODER,www.DonationCoder.com
  299.  
  300. Gui,99:Add,Picture,xm y+20 Icon6,%applicationname%.exe
  301. Gui,99:Font,Bold
  302. Gui,99:Add,Text,x+10 yp+10,AutoHotkey
  303. Gui,99:Add,Text,y+10,This tool was made using the powerful
  304. Gui,99:Font,CBlue Underline
  305. Gui,99:Add,Text,y+5 GAUTOHOTKEY,www.AutoHotkey.com
  306.  
  307. Gui,99:Show,,%applicationname% About
  308. hCurs:=DllCall("LoadCursor","UInt",NULL,"Int",32649,"UInt") ;IDC_HAND
  309. OnMessage(0x200,"WM_MOUSEMOVE")
  310. Return
  311.  
  312. 1HOURSOFTWARE:
  313.  Run,http://www.1hoursoftware.com,,UseErrorLevel
  314. Return
  315.  
  316. DONATIONCODER:
  317.  Run,http://www.donationcoder.com,,UseErrorLevel
  318. Return
  319.  
  320. AUTOHOTKEY:
  321.  Run,http://www.autohotkey.com,,UseErrorLevel
  322. Return
  323.  
  324. 99GuiClose:
  325.  Gui,99:Destroy
  326.   OnMessage(0x200,"")
  327.   DllCall("DestroyCursor","Uint",hCur)
  328. Return
  329.  
  330. WM_MOUSEMOVE(wParam,lParam)
  331. {
  332.   Global hCurs
  333.   MouseGetPos,,,,ctrl
  334.   If ctrl in Static9,Static13,Static17
  335.     DllCall("SetCursor","UInt",hCurs)
  336.   Return
  337. }
  338. Return
  339.  
  340.  

12
The problem is that i can't trust in any supplier. I prefer to trust in customers . So I am delaying the decission until I find a really understanding customer.
Sorry if I sound a little harsh (and I may be repeating myself...), but why are you asking for approval (that's what it sounds like to me, instead of advice), and already order the goods without waiting for or taking any of the tips you can have here?
If that's you way of proceeding, then just tell us what you bought, including photos, and why,
Spoiler
without cluttering the forum with endless rants and irrelevant info.

>:(

13
Living Room / Re: Looking for smartphone
« on: February 27, 2019, 01:06 AM »
if he travels outside the EU, in this case a dual SIM phone comes in handy
That's one of the features of the Nokia 6.1, and it has a Qualcomm (Snapdragon 630) soc ;)

14
Living Room / Re: Looking for smartphone
« on: February 26, 2019, 01:32 PM »
I've been quite happy with the Nokia 6.1 (64 GB model) I bought last year. I searched on amazon.de and found the 32 GB model here that should fit the budget. I assume you can pick a different color for a similar price, if desired.
It has a decent processor and quit fair battery life (2+ days on light use), and all modern stuff like usb-c, 3.5mm audioplug, no notch and a (fast) fingerprint scanner on the back.

15
Living Room / Re: When you make your 100'th Post
« on: February 25, 2019, 12:45 PM »
How the hell do you guys find this stuff?

Well, you have to find joy in spotting special numbers and see the synchronicity displayed in them ;D



I'll post my own 3333rd post in style

Screenshot - 25-02-2019 , 19_47_09.png

16
Living Room / Re: When you make your 100'th Post
« on: February 24, 2019, 03:02 AM »
A couple of matching numbers, while posting in the same thread, and signed up in the same year, but also one notable difference...

Screenshot - 24-02-2019 , 09_57_27.png

17
I want to learn.
I was aiming for 'learning by example', but ok:

You should probably use the mail merge feature of Word, it involves getting the data from Excel sheet(s). There are plenty manuals/guides available on the internet, you can use google to find one.
You might want to add some calculated fields in your Excel sheet that hold the counts/calculations you requested, and you already seem to know the formulas involved.

18
Can you attach a real sample of the xls file here, so we can determine the structure, and you describe what exact elements you need the report to operate on?

19
Living Room / Re: Review Pendrive Microdrive usb 3.0 128 GB
« on: February 15, 2019, 12:39 PM »
H2testw is the way to go, read this review of that and similar tools.

20
Well, Windows 10 puts a default transparent shadow around any non-maximized window of ca. 5-10 pixels. That is most likely what you are seeing. You probably can't 'fix' it as it isn't broken, but designed that way.

21
General Software Discussion / Re: Full Windows 10 on Raspberry Pi 3!
« on: February 14, 2019, 12:50 PM »
Well, MS has been working on an ARM version of Windows since Windows-RT, and we all saw how successful that was... not. :'(

22
General Software Discussion / Re: Full Windows 10 on Raspberry Pi 3!
« on: February 14, 2019, 01:28 AM »
Maybe speeds will improve as better drivers are released for faster access to the SD card or possible GPU acceleration.
Well, after I tried one of the first IoT releases of Windows, specifically made for the RPi, I found it to be so dreadfully slow that I gave up on it. So while I appreciate your efforts, I'm not inclined to even try to get it working. And about the anticipated speed improvements: Keep on dreaming hoping :up:

23
Post New Requests Here / Re: NetTraffic xml export to Excel
« on: February 13, 2019, 03:17 PM »
Well, I mocked up a batchfile, using xmlstarlet to be downloaded here, that converts all "NetTraffic <date-time>.xml" files of current directory into a single NetTrafficAll.csv file.

(Used the PowerShell highlighter as Batch isn't supported by the board)
You'll need to adjust the path to the xml.exe file, and check the other settings as 'documented'
NOTE: No data-conversions done here, Excel can do that better and easier
Code: PowerShell [Select]
  1. @echo off
  2. :: Set the relative path to your xmlstarlet install:
  3. set XML=..\Downloads\XML\xmlstarlet-1.6.1\xml.exe
  4. :: Change filemask if desired
  5. set "FILEMASK=NetTraffic 2*.xml"
  6. :: Change result outputfile as desired, keep the .csv extension, when adding spaces, surround with quotes like FILEMASK
  7. set OUTFILE=NetTrafficAll.csv
  8. :: Add StatHour to this list if desired
  9. set "ELEMENTS=StatYear StatMonth StatDay"
  10. :: Choose csv separator, either , (comma) or ; (semicolon)
  11. set CSVSEP=;
  12.  
  13. set XMLARG1=sel -T -t -m NetTraffic/
  14. set XMLARG2=/key -v "concat('
  15. set XMLARG3=%CSVSEP%',@ts,'%CSVSEP%',@tm,'%CSVSEP%',@dl,'%CSVSEP%',@ul,'%CSVSEP%',@dx,'%CSVSEP%',@dy)" -n
  16.  
  17. :: Write header
  18. echo Period%CSVSEP%ts%CSVSEP%tm%CSVSEP%dl%CSVSEP%du%CSVSEP%dx%CSVSEP%dy>"%OUTFILE%"
  19. :: Loop all files from FILEMASK
  20. for %%F in ("%FILEMASK%") do (
  21. echo File: %%F
  22. :: Fetch all configured elements
  23. for %%G in (%ELEMENTS%) do (
  24. %XML% %XMLARG1%%%G%XMLARG2%%%G%XMLARG3% "%%F" >>"%OUTFILE%"
  25. )
  26. )

NOTE2: The csv file will be fully replaced each run of the script!

24
Post New Requests Here / Re: NetTraffic xml export to Excel
« on: February 13, 2019, 01:44 PM »
Thanks for sharing. And I'm happy my educated guess about the ts field was quite close :-[

Can you attach an original xml file to a reply? Scraping it from your messages doesn't provide the original structure, you seem to have taken clips from a webbrowser (the dashes in front of the <Stat elements give it away ;)) (Finally downloaded NetTraffic and did a testrun 8))

25
N.A.N.Y. 2019 / Re: NANY 2019: TextWorx - Universal Text Manipulator
« on: February 13, 2019, 01:33 PM »
Ath - I've added your base64 encode string function.
And it works like a charm, thanks :Thmbsup:

Pages: [1] 2 3 4 5 6 ... 134next