Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Multi Functions
#3
do i need to put that line on the top ofall the functions like this below?

S1
__Handle+ __mutex_singlefunction ;;if __Handle is unknown identifier, replace to int
if(!__mutex_singlefunction) __mutex_singlefunction=CreateMutex(0 0 0)
if(WaitForSingleObject(__mutex_singlefunction 0)=WAIT_TIMEOUT) end
if(IsWindowVisible(child(15 "5" "Edit" win("New Text Document (7) - Notepad" "Notepad") 0x5)))
OnScreenDisplay "5"


S2
__Handle+ __mutex_singlefunction ;;if __Handle is unknown identifier, replace to int
if(!__mutex_singlefunction) __mutex_singlefunction=CreateMutex(0 0 0)
if(WaitForSingleObject(__mutex_singlefunction 0)=WAIT_TIMEOUT) end
if(IsWindowVisible(child(15 "10" "Edit" win("New Text Document (7) - Notepad" "Notepad") 0x5)))
OnScreenDisplay "10"


Messages In This Thread

Forum Jump:


Users browsing this thread: 7 Guest(s)