ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

[µo°Ý] Ãö©ó¥Îexcel vbaµo°T®§

[µo°Ý] Ãö©ó¥Îexcel vbaµo°T®§

¦U¦ì¦n

«Ü©êºp¤p§Ì³¡·|¼gµ{¦¡¡A¦ý¬O¾aµÛª©¤W¦U¦ì°ª¤â¸Ñ¨M¨ä¥L¤Hªº°ÝÃD
¤p§Ì´N¥u¦³¥Î¼Ò¥éªº¤è¦¡­×§ï¡A¥Ø«e·Q¤F¸Ñªº°ÝÃD¬O

«ç»ò¼Ë¦b¬Y­ÓÀx¦s®æ¦³Åܰʨì¬Y­Ó¼Æ­È«á¦p¡G­ì¥ý¼Æ­È¬°0  µM«áÅܰʨì¤j©ó 50
¦b³o­Ó®É­Ô¥Îvba¤è¦¡µo°e°T®§¨ì³q°T³nÅé ¦p¡Gline¡Bskype¡Bgoogle hangoutsµ¥µ¥

¦ýê©ó¯uªº¤£·|¼g¡A¤Wºô§ä¤F¦n´X¤Ñ¸ê®Æ³£¥u§ä¨ìµoemail¡A³£¨S¦³µo°T®§ªº¡A½Ð°Ýª©¤W¦³¤H¥i¸Ñµª¤p§ÌºÃ´b¶Ü ÁÂÁÂ

¦^´_ 18# fashionable3000

¤j¤j¦n
API Documentation ¤£¬O¤w¸g¼gªº«Ü²M·¡¤F¶Ü
¥¦¬O§â Line ©x¤èªº API «Ê¸Ë¦¨¤è«K¨ä¥L»y¨¥ª½¦Yªº dll
©Ò¥H¥¦¤£¬O¤°»ò¯}¸Ñªº

TOP

¦^´_ 18# fashionable3000

¥H¤W¬Ý°_¨ÓÀ³¸Ó¬O Python

·Qª¾¹Ddetail«ç»ò§@, ´N¥h¬Ý import ªºªF¦è§a

TOP

³Ìªñ¤]·Q§ËÃþ¦üªºµ{¦¡
¦³¬d¤F¤@¨Ç¸ê®Æ
·j´Mline.api«Ü¦hºô­¶³£«ü¦Vhttp://carpedm20.github.io/line/api/models.html#linemessage
»¡¬O¤j¯«´£¨Ñªº
¥H¤U¬Oºô­¶ªº¨ä¤¤¤@­Óµ{¦¡½X¡C

from line import LineClient, LineGroup, LineContact

try:
   client = LineClient("ID", "PASSWORD")
   #client = LineClient(authToken="AUTHTOKEN")
except:
   print "Login Failed"

while True:
   op_list = []

   for op in client.longPoll():
      op_list.append(op)

   for op in op_list:
      sender   = op[0]
      receiver = op[1]
      message  = op[2]

      msg = message.text
      receiver.sendMessage("[%s] %s" % (sender.name, msg))

°ÝÃD¤@:½Ð°Ý³o¬O¤°»ò»y¨¥?
°ÝÃD¤G: µ{¦¡½X¤¤LineClient¡A¬°¤°»ò¥L­Ì¤£¥Î¥ý«Å§i?
         https://www.youtube.com/watch?v=qwIlf1OpXwA(³o¬Oskypeªº¡A¤@¶}©l¦³¥ý¾É¤Japi
¡A©Ò¥H«Ü¦h¨ç¼Æ¤£¥Î«Å§i¡A´N¥i¥Hª½±µ¥Î)
°ÝÃD¤T:¼Ó¤W¦³´£¨ìline.api»Ý­n¥I¶O¡A¨º³o­Óºô­¶ªºµ{¦¡½XÁÙ¯à¥Î¶Ü?
°ÝÃD¥|:³o¤j¯«ªºapi¬O¦Û³Ðªº?¨º¦Û³Ðªº¤èªk¬O¤°»ò?¯}¸Ñline.exe¶Ü?

¦³¿ù½Ð«ü¥¿¡A§Æ±æ¯à±o¨ì¸Ñµª¡A·P¿E¤£ºÉ¡C

TOP

Public Declare Function SetCursorPos Lib "user32" (ByVal x As Long, ByVal y As Long) As Long
Private Declare Sub mouse_event Lib "user32" (ByVal dwFlags As Long, ByVal dx As Long, ByVal dy As Long, ByVal cButtons As Long, ByVal dwExtraInfo As Long)

Public Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long) 'For 32 Bit Systems


Public Function Orderfunction(neworder As Integer, oldorder As Integer) As Integer
    Dim myKey As Object
    Set myKey = CreateObject("WScript.Shell")
   

   a = SetCursorPos(20, 430) '²¾°Ê¦ÜLine¹ï¸Üµøµ¡
         mouse_event 2, 0, 0, 0, 0     '¤UÀ£¥ª·Æ¹«
         mouse_event 4, 0, 0, 0, 0     '©ñÃP¥ª·Æ¹«
           Sleep (500)
         myKey.SendKeys "Hello, I'm VBA message"
           Sleep (500)
         myKey.SendKeys "{ENTER}"
          Sleep (500)
         myKey.SendKeys "{ENTER}"
          Sleep (500)


¤p§Ì¥Î³Ì·M²Âªº¤èªk¼gªº¡A½Ð¯º¯Ç!!

TOP

¦^´_ 15# Ãt´ð©]¦Ð


¤j¤j¦n
§A²{¦b¥u¯à¥Î Skype ¥¦¦³¶}©ñ±µ¤f ¤£»Ý­n API
Line ªº±µ¤f¦L¶H¤¤­n¥Î $$ ¶R

TOP

sendkeys ¬Ý¤å³¹¬O¹q¸£¦n¹³¨S¿ìªk¾Þ±±¡A­nÂê©w¦ì¸mªº¼Ë¤l
¦ý¦]¬°§Ú¹q¸£ÁÙ¬O­n°Ê¡A©Ò¥H³o¤è¦¡¹ï§Ú¨Ó»¡ÁÙ¬O¤£¤Ó¦æ

api ³o°ÝÃD§Ú¦³¸ÕµÛ§ä¤å³¹¸Ñ¨M
¥i¥H²z¸Ñ¤å³¹·N«ä ¦ý§Ú¤£ª¾¹D­n«ç»ò¼g¤@°ïÅܼƦ]¼Æ ¬Ý¤£À´

¥Ø«e§Úı±o¤ñ¸û¦nªº¥i¯à´N¹³¬Ospy++ ¥i¥H§ä¨ìµøµ¡¥N½Xµ¥µ¥ªºÂê©w
¦Ü¤Ö§Ú·Q­n°Ê¹q¸£ªº±ø¥óÀ³¸Ó¤ñ¸û²Å¦X§Ú§a?

TOP

¦^´_ 13# Ãt´ð©]¦Ð

¤@¯ë¦³¨â­Ó¤è¦¡
1. sendkeys : ¤ñ¸û®e©ö¤W¤â, ¦ýÅܦ]¸û¦h
2. API: ¨CºØ³nÅé, ·|¦³¦U¦ÛªºAPI, ©Ò¥HÃø©ö«×»P§¹¾ã©Ê¤]¤£ºÉ¬Û¦P

¦ý³o³£¤@©w­n¼gµ{¦¡

TOP

¤Wºô§ä¤F¤@¤U¬ÛÃöªºspy++ªº¤å³¹
¦³¤U¸ü¤F³nÅé¡A¦ý°ÝÃD¨Ó¤F....
§Ú¤£·|¼gexcel vba...
¤£ª¾¹D¦³¨S¦³¦n¤ß¤H¤h¥i¥H±Ð¤@¤U

¥Ø«e·Q°µªº¨Æ
¤@¶}©l§ì¨ìµøµ¡(line,skypeµ¥µ¥³q°T³nÅ骺µøµ¡)
°²³]¬Oµøµ¡123¡A§Ú­n¦bexcel Àx¦s®æA1¡A·íA1­ì¥ý¬OªÅ¥Õ¡AµM«á¦³¤½¦¡¹Bºâ«áÅܦ¨1
Åܦ¨1¤§«á¡A§â³o­Ó1ªº¼Æ¦rµo°e¨ì³q°T³nÅé¤W¡A¤j­P¤W¬O³o¼Ë

¨º¦³¬Æ»ò»Ý­nªF¦è¡A¨Ò¦p¬Oµøµ¡¥N½Xµ¥µ¥ªº(§Ú¬ÝSPY¤å³¹¦n¹³­n³o­Ó¤§Ãþªº)
«Ü©êºp¦Û¨­¯à¤O¤£¨¬¥u¯à¦b³oÃä¸ß°Ý

TOP

·PÁ¨â¦ìªº¦^ÂСAÃö©ó²Ä¤@¦ì¤j­ô¦^´_ªº§Ú¦³¥h¬Ý¹L
¦ý¬Ý°_¨Ó²Ä¤G­Ó¥i¯à©Ê¤ñ¸û°ª¡A¦ý³¡·|¥Îspy++ªº³nÅé¡A¤£ª¾¹D¦p¦ó¨Ï¥Î
²Ä¤G¦ì¤j­ôªº¬O¡A¦pªG¨â­Ó³£­nªº¸Ü©O¡A¦³¸Ñ¨Mªº¤è¦¡¶Ü?

TOP

        ÀR«ä¦Û¦b : ¬°¤H³B¥@­n¤p¤ß²Ó¤ß¡A¦ý¤£­n¡u¤p¤ß²´¡v¡C
ªð¦^¦Cªí ¤W¤@¥DÃD