Author Topic: clipboardsequencenumber ?  (Read 2046 times)

0 Members and 1 Guest are viewing this topic.

snownut2

  • Swamp Rat
  • Posts: 971
  • Bricscad 22 Ultimate
clipboardsequencenumber ?
« on: January 06, 2015, 08:10:18 PM »
Ok,  anyone have any idea how to use this Microsoft API function in LISP a application.  I am looking to check the sequence number prior to performing a function then again during the operation of the function to determine if anything was pasted to the clipboard during the running of the function.  Sorry if this seems trivial, I am not having any luck solving this task.

Lee Mac

  • Seagull
  • Posts: 12929
  • London, England
Re: clipboardsequencenumber ?
« Reply #1 on: January 07, 2015, 03:51:10 AM »
I have no experience working with that particular method, but to offer an alternative: how about comparing the content of the clipboard before & after running your function?

snownut2

  • Swamp Rat
  • Posts: 971
  • Bricscad 22 Ultimate
Re: clipboardsequencenumber ?
« Reply #2 on: January 07, 2015, 06:46:00 AM »
Lee, that's what I am looking to accomplish, the only way I found this could be done was with the sequence number, if you know of another method I'm all ears.

Lee Mac

  • Seagull
  • Posts: 12929
  • London, England
Re: clipboardsequencenumber ?
« Reply #3 on: January 07, 2015, 10:03:26 AM »
Lee, that's what I am looking to accomplish, the only way I found this could be done was with the sequence number, if you know of another method I'm all ears.

You could use MP's _GetClipBoardText function to check the content of the clipboard before & after running your function.

snownut2

  • Swamp Rat
  • Posts: 971
  • Bricscad 22 Ultimate
Re: clipboardsequencenumber ?
« Reply #4 on: January 07, 2015, 04:05:49 PM »
Thanks Lee i can work with that....

Lee Mac

  • Seagull
  • Posts: 12929
  • London, England
Re: clipboardsequencenumber ?
« Reply #5 on: January 08, 2015, 05:59:52 PM »
Thanks Lee i can work with that....

You're welcome!  :-)