| 
| 
| 
| #208925 - 2014-05-16 08:31 PM  Re: Dropbox Status
[Re:  Lonkero] |  
| ShaneEP   MM club member
 
       
   Registered:  2002-11-29
 Posts: 2127
 Loc:  Tulsa, OK
 | 
Here is a screenshot of what I get on the XP machine.
Attachments
  Description:
 
 
 
 
 |  
| Top |  |  |  |  
| 
| 
| #208927 - 2014-05-16 08:42 PM  Re: Dropbox Status
[Re:  ShaneEP] |  
| ShaneEP   MM club member
 
       
   Registered:  2002-11-29
 Posts: 2127
 Loc:  Tulsa, OK
 | 
Here is the reg key exported from the XP machine (binary).
Attachments
IconStreams.zip  (280 downloads)
 Description:
 
 
 
 
 |  
| Top |  |  |  |  
| 
| 
| #208931 - 2014-05-16 08:53 PM  Re: Dropbox Status
[Re:  Lonkero] |  
| Lonkero   KiX Master Guru
 
       
 Registered:  2001-06-05
 Posts: 22346
 Loc:  OK
 | 
$regVal = readvalue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer TrayNotify","IconStreams") + readvalue("HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\TrayNotify","IconStreams")
messagebox(RegBinaryToString($regval),"",0)
get $
function RegBinaryToString($values)
   $strInfo = ""
   for $i=1 to Len($values) step 2
      $value = SubStr($values,$i,2)
      if $value<>0
         $strInfo=$strInfo + rot13(chr(Val("&"+$value)))
      endif
   next  
   $RegBinaryToString=$strInfo
EndFunction
;Function	Rot13()
;
;Author		AJH (Andrew Hayes)
;
;Action		Rot13 is an encryption method based on a Ceaser Cypher.
;		Text is encrypted by shifting it half the alphabet forwards
;		or backwards (dependant on which half of the alphabet it
;		is in). This means that the same Rot13 operation is used
;		to encrypt and decrypt the text.
;
;Syntax		$text = Rot13(<String> | <String Array>)
;
;Parameters 	One parameter, either a string or a string array.
;
;Remarks	Guvf vf n dhvpx ohg vafrpher grpuavdhr gung vf znvayl hfrq
;		gb uvqr uvagf be fcbvyref va grkg cbfgrq gb zrffntr obneqf
;		fb gubfr jub qb abg jnag gb ernq gurz pna nibvq qbvat fb.
;
;Returns	Encrypted / Decrypted String or String array.
;
;Requires 	Kixtart 4.10+
;
;Example(s)	$murderer = Rot13("Gur Ohgyre qvq vg!")
;
;Source
FUNCTION Rot13($s)
DIM $i,$c, $o,$u
$o=SetOption("CaseSensitivity","Off")
$u = (Ubound($s) >=0)
IF $u  $s=Join($s,@CRLF)  ENDIF
FOR $i = 1 TO Len($s)
  $c = Substr($s,$i,1)
  SELECT
    CASE $c >= 'a' AND $c <= 'm'
      $c = Chr(Asc($c)+13)
    CASE $c >= 'n' AND $c <= 'z'
      $c = Chr(Asc($c)-13)
  ENDSELECT
  $Rot13 = $Rot13+$c
NEXT
IF $u  $Rot13 = Split($Rot13,@CRLF)  ENDIF
$o=SetOption("CaseSensitivity",$o)
ENDFUNCTION
 now remember, this is completely unnecessary.
 what you actually want is to catch those dropbox messages and see what kind of bytes we are looking at.
 and then the 15 second execution drops to 1ms!
 
 
_________________________! download KiXnet |  
| Top |  |  |  |  
| 
| 
| #208933 - 2014-05-16 09:28 PM  Re: Dropbox Status
[Re:  ShaneEP] |  
| Lonkero   KiX Master Guru
 
       
 Registered:  2001-06-05
 Posts: 22346
 Loc:  OK
 | 
$string=readvalue()$=writeprofilestring("differs.txt","compare me","original",$string)
 $=writeprofilestring("differs.txt","compare me","converted",RegBinaryToString($regval))
 $=writeprofilestring("differs.txt","compare me","decyphered",Rot13RegBinaryToString($regval))
 
 and you might want to remove:
 if $value<>0
 
 as we would want the whole string.
 
 I found this technical documentation>
 
 The notification settings for the task tray are stored in the registry at HKCUSoftwareClassesLocal SettingsMicrosoftWindowsCurrentVersionTrayNotify in the IconStreams value as a binary registry key. Luckly for us, the organization of the key is not nearly as hard to understand as the Favorites Bar. The binary stream begins with a 20 byte header followed by X number of 1640 byte items where X is the number of items that have notification settings. Each 1640 byte block is comprised of at least (one of the sections is not fully decoded so it may be made up of 2 or more sections) 5 fixed byte width sections as follows:
 
 528 bytes – Path to the executable
 4 bytes – Notification visibility setting
 512 bytes – Last visible tooltip
 592 bytes - Unknown (Seems to have a second tool-tip embeded in it but the starting position in the block changes)
 4 bytes – ID?
 
 
from http://xtremeconsulting.com/blog/windows...ry-rabbit-hole/
 
 anyways, in the end, you want to look for cypher text version of dropbox.exe or wtf ever it is called since nobody cares to actually post this info.
 
 once found, read about 1kbytes and you have your status message.
 
_________________________! download KiXnet |  
| Top |  |  |  |  
| 
| 
| #208936 - 2014-05-16 10:01 PM  Re: Dropbox Status
[Re:  Lonkero] |  
| Allen   KiX Supporter
 
       
 Registered:  2003-04-19
 Posts: 4562
 Loc:  USA
 | 
Thanks for the effort so far guys...
 It does a little of both.  A balloon appears when files are added or deleted.  When it is synching there is no balloon, unless you put your mouse over it.
 
 It's like Dropbox purposely makes this information hard to get.  When I made the UDF to get the dropbox folder path, it was ridiculous what I had to do... http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=204938#Post204938
 |  
| Top |  |  |  |  
 Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart
 
 | 
| 
 
| 0 registered
and 739 anonymous users online. 
 | 
 |  |