Surely though something like this would work
?
(pardon my VB. not sure what you program in
)
code:
ElseIf sCommand = "xorgfiles" Then 'Yea I cut down the compare cos I can't remember lol
Call OrganizeFiles()
sResult = ""
ParseCommand = True
Exit Function
sorry, I dunno why it wouldn't, correct me if I'm stupid
(just say you program in C and I'll get my coat now
)
also if it takes alot of time why not place the function in another thread so your plugin could return ""?