AutoHotkey Community

It is currently May 27th, 2012, 12:50 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: July 17th, 2011, 11:00 am 
Offline

Joined: March 27th, 2008, 7:46 pm
Posts: 129
Location: France
Hello,
i'm using of HiEdit4.0.0.4-5 from majkinetor
disponible at http://www.autohotkey.com/forum/topic19141.html
    If a same file is to modified (by him or another program),
    the code EN_FILECHANGE functions well.
    :?: But how to have this PATH?

Code:
HE_onNotify(wparam, lparam, msg, hwnd) {
; ...the code EN_FILECHANGE
   if (code = EN_FILECHANGE) {
     traytip, , wpa;ram=%wparam% lparam=%lparam% msg=%msg% hwnd=%hwnd%
   }
; ...functions well.But How-to see this Path?
   

_________________
with ahk, all is different!...<img>


Report this post
Top
 Profile  
Reply with quote  
PostPosted: July 23rd, 2011, 9:10 am 
Offline

Joined: March 27th, 2008, 7:46 pm
Posts: 129
Location: France
:wink: très simplement my friend ...
:arrow:
Code:

HE_onNotify(wparam, lparam, msg, hwnd) {
;............
   if (code = EN_FILECHANGE)
   {   
      N :=NumGet(lparam+12)            ; Number Onglet
      fn:=HE_GetFileName(hEdit, N)      ; Get the Name of this Onglet
      traytip ,, File is changed Onglet N°%N%`nThe Path of this file:`n%fn%`n
      ; Make what you wan't with this information... msg for reload this file .....
      return
   }

;............


_________________
with ahk, all is different!...<img>


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Bing [Bot], BrandonHotkey, chaosad, jrav, MSN [Bot] and 20 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