AutoHotkey Community

It is currently May 27th, 2012, 11:03 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 43 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject:
PostPosted: April 10th, 2007, 11:04 am 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
v1.91
- hexa cursor moving bug fix
- sync scroll bug fix
- badly calculated offset fixed
- code is commented and polished
- added third (optional) parameter to start with specific tab open.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 10th, 2007, 2:27 pm 
Offline

Joined: February 14th, 2005, 4:05 pm
Posts: 4710
Location: Boulder, CO
If something is selected in the ASCII view, can you automatically select the corresponding hex digits, too? The other direction works, fine.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 10th, 2007, 3:20 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
Well, I could do that... I started once but it was borring so I stopped after deducing that such functionality is not very useful :?

_________________
Image


Last edited by majkinetor on April 10th, 2007, 8:06 pm, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 10th, 2007, 8:06 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
v1.95

- Structs tab implemented.

Notes: I used Structures.str file from the RosAsm. Look at this file to see the format of struct definition (every char is important). The format is like this:

Code:
[RECT:|left D|top D|right D|bottom D


but it can also look like this
Code:
[ACMFORMATCHOOSE:|cbStruct D|fdwStyle D|hwndOwner D|pwfx D|cbwfx D|pszTitle D|szFormatTag B ACMFORMATTAGDETAILS_FORMATTAG_CHARS|szFormat B ACMFORMATDETAILS_FORMAT_CHARS...


The latter will probably not work as only the first format is currently supported. The second contains some constants, like the blue one, which I can't use now...

U can use D, W and B now.

This file is pretty big, so feel free to remove uneeded structures or create your own.


To see integers that were there in version 1.0 just choose some struct containing only integers, like RECT or SIZE.

Image

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 11th, 2007, 11:27 am 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
v2.0 b1
- Reverse struct interpretation. Add - infront of struct name, for instance "-RECT" (thx skan)
- Tooltip to show struct members when current tab is not struct tab. You can toogle it in setup tab.
- Bug fix (inproper selection count, see pic above)
- Some minor improvements of struct tab.

NOTE: Example removed from the include file. You can't see it by executing HexView.ahk any more.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 12th, 2007, 4:02 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
v2.0 rc1

- Interface redesigned to add space for more tabs and options.
- Sync scrolling now works in ascii. If you move cursor in asci edit appropriate byte will be selected in hexa view. If you have tooltip ON you can see the decimal value of the byte that will be automaticaly selected by cursor moving.
- Options to set hex format for struct members and/or offset
- Show or hide header in struct list view (enable it to sort and move columns)
- Last active tab is now saved and restored on next run. You can override this by using pActiveTab parameter

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 13th, 2007, 9:30 am 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
v2.0 rc2
- Includes merged so you can include HexView easier. Package now includes:
    HexView.ahk - contains hexview include
    Structures.str - contains default structure list
    EXAMPLE.ahk - example of usage
- You can override struct list that is by default taken from the Structures.str file. If you don't want to use this file, or if you just want to override it in some situations, define HexView_structList global variable before calling HexView. The variable should contain struct definitions the same way like in file. For example:
    HexView_structList = [SIZE:|x D|y D`n[RECT:|a1 D|a2 D|a3 D|a4 D[/list]

- Some minor improvements.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 19th, 2007, 4:29 am 
Offline

Joined: February 14th, 2005, 4:05 pm
Posts: 4710
Location: Boulder, CO
A wish: could you change the first parameter to be an address? For viewing AHK variables only an & has to be added: HexView(&s, 132), but inspecting results of dllcalls, pointing to structures will become much easier.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: April 19th, 2007, 8:21 am 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
True.

Thx

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 8th, 2007, 2:00 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
v2.0
- Width can be changed now. Your last width is saved (so now you can see long struct names)
- Active selection is saved on exit and returned on next load (so your struct view is returned the way you left it)
- Changed first parameter to be address instead variable (Thx Laszlo)
- Double left click at the struct row copies row to clipbord
- New Option: copy entire row or just a value
- Double right click at the struct row displays text at the address

Code:
   txt := "You see me"
   l := 1

   VarSetCapacity(STRUCT, 16)
   InsertInteger(&txt, STRUCT)
   InsertInteger(l,   STRUCT, 4)

   HexView(&STRUCT, 16)
return
#include HexView.ahk


Image

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 26th, 2007, 1:54 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
version 3.0

See History on first page

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 19th, 2007, 1:13 pm 
Offline

Joined: May 24th, 2006, 2:49 pm
Posts: 4511
Location: Belgrade
v3.1

- Synchronised selection of hex and ascii edits reimplemented using
subclassing instead of timer. HexView doesn't create timer anymore and selection sync is real time.

_________________
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: January 29th, 2012, 5:05 pm 
Offline

Joined: January 23rd, 2012, 9:13 am
Posts: 18
To make HexView load I had to replace all occurrences of aMember[X] with aMember___X___ for any X


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 43 posts ]  Go to page Previous  1, 2, 3

All times are UTC [ DST ]


Who is online

Users browsing this forum: iDrug and 57 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group