| Author |
Message |
Topic: [function] httpQuery GET and POST requests - update 0.3.6 |
rulfzid
Replies: 232
Views: 78286
|
Forum: Scripts & Functions Posted: Sat Oct 17, 2009 4:28 am Subject: [function] httpQuery GET and POST requests - update 0.3.6 |
I'm not really sure why it wasn't working, maybe something with the SSL?
Because i modified ahklerners UrlGetContents to accept headers (; define the HTTP headers
headers =
(Ltrim
X-EBAY- ... |
Topic: [some code] WININET Functions & UrlGetContents |
rulfzid
Replies: 15
Views: 7132
|
Forum: Scripts & Functions Posted: Sat Oct 17, 2009 4:21 am Subject: [some code] WININET Functions & UrlGetContents |
I modified UrlGetContents slightly so I could add custom headers to the request (it's very slight, just added the bits in red):
UrlGetContents(sUrl,sUserName="",sPassword="" ... |
Topic: [function] httpQuery GET and POST requests - update 0.3.6 |
rulfzid
Replies: 232
Views: 78286
|
Forum: Scripts & Functions Posted: Fri Oct 16, 2009 3:52 pm Subject: [function] httpQuery GET and POST requests - update 0.3.6 |
Try this for request:; define the XML request
request =
(LTrim
<?xml version='1.0' encoding='utf-8'?>
<GeteBayOfficialTimeRequest xmlns="urn:ebay:apis:eBLBas ... |
Topic: [function] httpQuery GET and POST requests - update 0.3.6 |
rulfzid
Replies: 232
Views: 78286
|
Forum: Scripts & Functions Posted: Fri Oct 16, 2009 6:55 am Subject: [function] httpQuery GET and POST requests - update 0.3.6 |
I've got a bunch of books I'm trying to unload, and half.com (ebay) has an XML API where i can automatically list them.
I've been reading through their docs and playing with httpQuery, but I can't ... |
Topic: Performance junkie |
rulfzid
Replies: 3
Views: 931
|
Forum: General Chat Posted: Mon Jul 13, 2009 11:45 pm Subject: Performance junkie |
| I think it depends on what you're doing. From another page on This page links to two benchmarks I've used to evaluate computer performance ever since 1980. They focus on things which matter to me—floa ... |
Topic: Challenge: translate rosettacode - Was promoting autohotkey |
rulfzid
Replies: 415
Views: 24026
|
Forum: General Chat Posted: Sun May 31, 2009 12:16 pm Subject: Doubly linked list |
This code is moderately tested. I'd appreciate it if anybody would take a look at it/poke at it before i put it up on the rosetta code list.
With some inspiration and ideas from animeaime's ; http ... |
Topic: Help with scope issues for NumPut/NumGet |
rulfzid
Replies: 5
Views: 411
|
Forum: Ask for Help Posted: Sat May 30, 2009 11:11 pm Subject: Help with scope issues for NumPut/NumGet |
@SKAN & @ Lexikos
Thanks for the insights. I think I've figured out how to get around what I want - I'm using the winapi heap memory functions. |
Topic: Help with scope issues for NumPut/NumGet |
rulfzid
Replies: 5
Views: 411
|
Forum: Ask for Help Posted: Sat May 30, 2009 3:58 am Subject: Help with scope issues for NumPut/NumGet |
Unless you use Static n / Global n in Func3() the variable content is lost when the function returns.
Then how does it get the right content at offset 4, and "kind of close" with the offs ... |
Topic: Help with scope issues for NumPut/NumGet |
rulfzid
Replies: 5
Views: 411
|
Forum: Ask for Help Posted: Sat May 30, 2009 3:20 am Subject: Help with scope issues for NumPut/NumGet |
| See the code examples. The three functions ostensibly all do the same thing, but func3 ends up yielding a different result. I don't understand why. When I compared the the return value before and afte ... |
Topic: Challenge: translate rosettacode - Was promoting autohotkey |
rulfzid
Replies: 415
Views: 24026
|
Forum: General Chat Posted: Fri May 29, 2009 11:07 pm Subject: Greates common divisor |
; http://rosettacode.org/wiki/Greatest_common_divisor
GCD_iterative(a, b)
{
While (b)
{
t := b
b := Mod(a, b)
a := t
}
retur ... |
Topic: Challenge: translate rosettacode - Was promoting autohotkey |
rulfzid
Replies: 415
Views: 24026
|
Forum: General Chat Posted: Fri May 29, 2009 9:13 pm Subject: Knuth shuffle |
; http://rosettacode.org/wiki/Knuth_shuffle
; http://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle
list1 := "1,2,3,4,5,6,7,8,9,10"
list2 := "alpha,beta,gamma,d ... |
Topic: What is the difference? |
rulfzid
Replies: 5
Views: 421
|
Forum: Ask for Help Posted: Tue Apr 28, 2009 6:17 am Subject: What is the difference? |
The first value is numeric (base 10) and the second value is hexadecimal (base 16)
Try:
msgbox % 0xB5007C+0
They're just different ways of representing numbers. In general, when working with ... |
Topic: how to make listbox auto scrolling down... |
rulfzid
Replies: 1
Views: 372
|
Forum: Ask for Help Posted: Tue Apr 28, 2009 5:13 am Subject: how to make listbox auto scrolling down... |
enter:
ControlSetText, %CRoom%, %room%, mini ZPY
ControlClick, %EnterB%, mini ZPY
settimer, getcet, 1500
Return
Getcet:
ControlGetText, Status, %Static%, mini ZPY
GuiControl,, chat, % ... |
Topic: Class library (OOP) - Help Thread |
rulfzid
Replies: 92
Views: 10815
|
Forum: Ask for Help Posted: Mon Apr 27, 2009 8:01 am Subject: Class library (OOP) - Help Thread |
| Just to clarify, user-defined values are not part of the class' ahk file. Rather, they are extensions to a class as specified by the user. These values / functions can differ between projects, and p ... |
Topic: Class library (OOP) - Help Thread |
rulfzid
Replies: 92
Views: 10815
|
Forum: Ask for Help Posted: Mon Apr 27, 2009 6:11 am Subject: Class library (OOP) - Help Thread |
| Another question - if I use a class in a script, must I destroy the object before the script exits, or will that memory automatically be cleared up? |
| |