Search found 71 matches

by DanielToward13
29 Jul 2017, 21:17
Forum: Ask For Help
Topic: [Solved] IAccessible - Accessible Objects
Replies: 9
Views: 3820

Re: [Solved] IAccessible - Accessible Objects

I am trying to click/toggle a button using ACC library. The code works but it returns an error after click: Error: 0x80004005 - Unspecified error Source: (null) Description: (null) HelpFile: (null) HelpContext: 0 Specifically: accDoDefaultAction Line# 133: Acc_Init() 134: objected := Acc_Get("Object...
by DanielToward13
29 Jul 2017, 10:01
Forum: Scripts and Functions
Topic: Record a WAV file with BASS.dll
Replies: 8
Views: 2659

Re: Record a WAV file with BASS.dll

Could you share the bass64.dll and the BASS LIB? I have tried three versions on the internet but they doesn't work. I could not find the 64bit DLL from https://www.un4seen.com
by DanielToward13
29 Jul 2017, 09:33
Forum: Ask For Help
Topic: Bass.ahk lib
Replies: 9
Views: 1912

Re: Bass.ahk lib

Thanks trust_me. is there any script to save the recorded audio?
What is the best choice to record both Mic and StereoMix (speaker) at the same time?

I could not find the BASS.DLL 64bit from https://www.un4seen.com/ Could you please share that with me?
by DanielToward13
29 Jul 2017, 08:12
Forum: Ask For Help
Topic: Bass.ahk lib
Replies: 9
Views: 1912

Re: Bass.ahk lib

The links are broken. Can you share the BASS Lib files?
Thanks.
by DanielToward13
29 Jul 2017, 07:08
Forum: Ask For Help
Topic: How do I speak HTTP with WinSock to create API Server?
Replies: 3
Views: 641

Re: How do I speak HTTP with WinSock to create API Server?

https://autohotkey.com/board/topic/53827-ahksock-a-simple-ahk-implementation-of-winsock-tcpip/ https://www.google.de/search?q=site%3Aautohotkey.com+server+winsock Winsock is a bare TCP/IP protocol and doesn't speak HTTP. Winsock proper does not provide a way for you to speak these protocols, becaus...
by DanielToward13
28 Jul 2017, 22:07
Forum: Scripts and Functions
Topic: AHKhttp - HTTP Server
Replies: 51
Views: 27002

Re: AHKhttp - HTTP Server

metacognition wrote:yes.
:thumbup: What are the steps to make it live on the internet? Only set the port in AHKsock and run the script?
by DanielToward13
28 Jul 2017, 22:00
Forum: Scripts and Functions
Topic: AHKhttp - HTTP Server
Replies: 51
Views: 27002

Re: AHKhttp - HTTP Server

Thanks for sharing.
is it possible to access this HTTP Server using its IP address and port on the internet? is it secure?
by DanielToward13
28 Jul 2017, 21:28
Forum: Ask For Help
Topic: How do I speak HTTP with WinSock to create API Server?
Replies: 3
Views: 641

How do I speak HTTP with WinSock to create API Server?

How to create a secure HTTP server using AHK?
is it possible to access the server on the internet using its IP and port? e.g. http://110.175.xxx.xx:8000/apiKey=abcd12345
The server should return some text only and the security is important.
by DanielToward13
31 May 2017, 09:55
Forum: Scripts and Functions
Topic: [Class] SQLiteDB - Update on 2019-12-12
Replies: 206
Views: 62976

Re: [Class] SQLiteDB - Update on 2016-03-28

How perform the below query in your library?

Code: Select all

SELECT body FROM table1 WHERE user IN ('id1', 'id2', 'id3')
It would be nice if I could put the IDs in an array and then perform the query.
by DanielToward13
30 May 2017, 15:14
Forum: Scripts and Functions
Topic: CreateFormData - Create "multipart/form-data" for http post (Updated:2019-01-13)
Replies: 26
Views: 14815

Re: CreateFormData - Creates "multipart/form-data" for http post

I need to upload a file (photo, audio, etc) to my API using multipart/form-data. I am using your code and it uploads the photo successfully but at the end I get the below error: What are the settings that needs to be changed? How can I get the response from my API after uploading the file? (The resp...
by DanielToward13
29 May 2017, 06:28
Forum: Scripts and Functions
Topic: Get the URL of the current (active) browser tab
Replies: 137
Views: 78231

Re: Get the URL of the current (active) browser tab

Thanks atnbueno, great script. There is a bug and I don't know how to fix the problem. If I opened two Chrome windows (each with different tabs), the script works well but once I add a new blank tab and press the ^+!u then the script will return the previous active tab URL and after that it get stuc...
by DanielToward13
29 May 2017, 05:37
Forum: Ask For Help
Topic: grab current tab URL in Chrome browser Topic is solved
Replies: 1
Views: 401

grab current tab URL in Chrome browser Topic is solved

I want to grab the current tab URL in Chrome browser when the user press Ctrl+Shift+Y keys. Since Chrome doesn't support COM, what are the possible ways to get the URL?
by DanielToward13
28 May 2017, 16:13
Forum: Ask For Help
Topic: How to loop through nested objects?
Replies: 6
Views: 1726

Re: How to loop through nested objects?

I just found Lexikos's solution but his method works only if I have not yet created the object. is this problem still unsolved? I couldn't bring jeeswg's method to work. Lexikos's methos: https://autohotkey.com/board/topic/61792-ahk-l-for-loop-in-order-of-key-value-pair-creation/?p=389662 jeeswg's m...
by DanielToward13
28 May 2017, 13:58
Forum: Ask For Help
Topic: How to loop through nested objects?
Replies: 6
Views: 1726

Re: How to loop through nested objects?

Thanks Kon. It seems that AHK enumerate the key's content alphanumerically. In PHP, keys can keep both numeric and string contents. Is there a way to change the order?
by DanielToward13
28 May 2017, 12:35
Forum: Ask For Help
Topic: How to loop through nested objects?
Replies: 6
Views: 1726

How to loop through nested objects?

How to retrieve all the keys and values while we don't know the keys? The incoming objects are nested and I need to retrieve them in order as below: { "update_id": 564654654, "message": { "message_id": 515, "from": { "id": 6514651651, "first_name": "test", "username": "test", "language_code": "en" }...
by DanielToward13
27 May 2017, 18:50
Forum: Ask For Help
Topic: Save object to DB challenge
Replies: 0
Views: 305

Save object to DB challenge

I have more than 20 types of objects and due to some reasons each type might have some missed key, value pairs. I want to save them to MySQL as below: insert Type1 objects in Table1 insert Type2 objects in Table2 insert Type3 objects in Table3,... My problem is that when I have some missing (key, va...
by DanielToward13
26 May 2017, 10:29
Forum: Ask For Help
Topic: What is the equivalent of php's print_r() in AHK? Topic is solved
Replies: 4
Views: 999

Re: What is the equivalent of php's print_r() in AHK? Topic is solved

Thanks HotKeyIt. You have been a great help. I had some unknown objects that I couldn't figure them out. This helped me to retrieve them based on their structure.
by DanielToward13
26 May 2017, 05:34
Forum: Ask For Help
Topic: Bookmark manager for Chrome browser
Replies: 5
Views: 1705

Re: Bookmark manager for Chrome browser

I need to save the content of the pages and take screenshots. Even though AHK can solve the auto-login problem, it's not user friendly.
by DanielToward13
26 May 2017, 05:23
Forum: Ask For Help
Topic: What is the equivalent of php's print_r() in AHK? Topic is solved
Replies: 4
Views: 999

What is the equivalent of php's print_r() in AHK? Topic is solved

I want to see human-readable information about an object. What are the keys, values and the structure. I exactly need the equivalent of PHP's print_r() function. PHP Code: <pre> <?php $a = array ('a' => 'apple', 'b' => 'banana', 'c' => array ('x', 'y', 'z')); print_r ($a); ?> </pre> Output: <pre> Ar...

Go to advanced search