Prev Previous Post   Next Post Next
Old 30th March 2010, 18:32   #11
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
How about this:
code:
AddCustom [/icon path] application process callback

Usage:
code:
GetFunctionAddress $R0 IsMyAppRunning
LockedList::AddCustom /icon $PLUGINSDIR\icon.ico "My App" "myapp.exe" $R0

code:
Function IsMyAppRunning
Pop $R0 ; $R0 = myapp.exe in case you want to know
${If} [myapp is locking files]
Push true
${Else}
Push false
${EndIf}
FunctionEnd

Stu
Afrow UK is offline   Reply With Quote
 
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Tags
handle, plug-in

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump