| Author |
Message |
Forum: Support Topic: MySQL database code conversion for unicode autohotkey_L |
| stansult |
|
Posted: November 16th, 2011, 12:26 am
|
|
Replies: 8 Views: 1138
|
| Hi guys! Any updates on library’s compatibility with autohotkey_L? I’m trying to use it, but unfortunately it crashes (dbConnect works, but dbQuery crashes the autohotkey_L). I tried to put some breakpoints, and found that (within dbQuery) first call (libmySQL.dll\mysql_query) doesn’t break anything... |
|
 |
Forum: Support Topic: ImageSearch fails on Amazon EC2 |
| stansult |
|
Posted: March 25th, 2011, 2:15 am
|
|
Replies: 0 Views: 140
|
| I have an Autohotkey script that uses ImageSearch a lot - actually, i have a bunch of my own functions that all use ImageSearch. It works fine when I run it on physical computers, but the search always fails when i run it on Amazon EC2 machine. I don't use Remote Desktop (because when I did, ImageSe... |
|
 |
Forum: Support Topic: MySQL database code conversion for unicode autohotkey_L |
| stansult |
|
Posted: February 25th, 2011, 6:02 am
|
|
Replies: 8 Views: 1138
|
| hi! thanks for the mysql.ahk :) i'm trying to use it, and get issue: right after i use dbConnect(host,user,password,database) with all correct values, it says: MySQL Error: Cannot connect to database Error 1045: Access denied for user 'user'@'host' (using password: YES) The thing is it shows... |
|
 |
Forum: Suggestions Topic: Max and Min as built-in math functions? |
| stansult |
|
Posted: May 5th, 2010, 2:47 am
|
|
Replies: 24 Views: 3871
|
| Hi guys I just found out that there's no these functions in Autohotkey (which is funny, since bunch of stuff like Abs, Round, Sincos etc. does exist). So as I needed it for my script, I had to write it myself. Maybe somebody will find it useful. It can be used in two ways - passing actual numeric pa... |
|
 |
Forum: Support Topic: Retrieve HTML page source (currently open page) |
| stansult |
|
Posted: April 13th, 2010, 10:31 pm
|
|
Replies: 4 Views: 508
|
| You can try using httpQuery : #Include httpQuery.ahk ; or whatever the path to the file is [color=darkred]ControlGetText[/color], url, Edit1, ahk_class IEFrame ; retrieves the URL from the active instance of IE html := UrlDownloadToVar(url) [color=darkred]MsgBox[/color] % html [color=darkre... |
|
 |
Forum: Support Topic: Retrieve HTML page source (currently open page) |
| stansult |
|
Posted: April 13th, 2010, 10:17 pm
|
|
Replies: 4 Views: 508
|
Leef_me wrote: :?: File-->Save As... thanks, I'll try it as a compromise... maybe it'll be better then 'view source'...
but maybe anyone knows some really silent/fast way, similar to UrlDownloadToFile? |
|
 |
Forum: Scripts Topic: [ARCHIVED THREAD] SciTE4AutoHotkey v2 Stable - Released. |
| stansult |
|
Posted: April 13th, 2010, 9:56 pm
|
|
Replies: 154 Views: 40746
|
| @stansult: SciTE uses configuration files (*.properties) instead of a GUI, so you have to edit the following line of AutoHotkey\SciTE\SciTEGlobal.properties: # Wrapping of long lines [color=red]wrap=0[/color] wrap.style=1... Thanks a lot, it works! Sorry, I forgot to answer immediately |
|
 |
Forum: Support Topic: Retrieve HTML page source (currently open page) |
| stansult |
|
Posted: April 13th, 2010, 9:50 pm
|
|
Replies: 4 Views: 508
|
| In my scripts I use two ways of getting HTML page source. The easiest one is UrlDownloadToFile. But when I am logged in to some site, UrlDownloadToFile still gives me the logged out page (I guess it kinda uses its own invisible browser instance). So instead what I use to get a source code of the act... |
|
 |
Forum: Support Topic: Explain please: If !pToken := Gdip_Startup() |
| stansult |
|
Posted: April 12th, 2010, 10:23 pm
|
|
Replies: 3 Views: 455
|
so, this one line is actually short way of writing those two:
Code: pToken := Gdip_Startup() If !pToken
right?
cool, thanks a lot guys!
i didn't know this way |
|
 |
Forum: Support Topic: Explain please: If !pToken := Gdip_Startup() |
| stansult |
|
Posted: April 12th, 2010, 9:38 pm
|
|
Replies: 3 Views: 455
|
| I just started using Gdip, and found that almost all examples use expression like that: If !pToken := Gdip_Startup() to start Gdip. I tried, it works fine, thanks! But I'm for sure missed something, because I can't understand why there's assignment operator ( := ) inside If statement? Can so... |
|
 |
Forum: Scripts Topic: [ARCHIVED THREAD] SciTE4AutoHotkey v2 Stable - Released. |
| stansult |
|
Posted: February 19th, 2010, 9:54 pm
|
|
Replies: 154 Views: 40746
|
| Guys, thank you very much for an awesome editor! I use it a lot :) Btw, do you plan to add some features from Notepad++? I mean, many text-editor things are a bit more convenient there (for example, working with vertical selection blocks). One more question - maybe i'm dumb, but i couldn't make SciT... |
|
 |
Forum: Support Topic: How to get the image size? |
| stansult |
|
Posted: December 24th, 2009, 10:21 pm
|
|
Replies: 6 Views: 417
|
| If you mean that the link goes to a text file ....? You use ctrl-a (select all) and then copy and paste it in your editor and save it as gdip.ahk This is the original link to tic's page: http://www.autohotkey.com/forum/viewtopic.php?t=32238&highlight=gdi+tic best of luck :) oh, thanks :) i mean... |
|
 |
Forum: Support Topic: How to get the image size? |
| stansult |
|
Posted: December 24th, 2009, 8:55 pm
|
|
Replies: 6 Views: 417
|
Thanks for advice, guys!
I think I'll try that tic
Update: Hm, link doesn't seem to work  |
|
 |
Forum: Support Topic: How to get the image size? |
| stansult |
|
Posted: December 24th, 2009, 3:53 am
|
|
Replies: 6 Views: 417
|
| I have a function that gets as a parameter the name of image file. In the function, I use that image file for ImageSearch (and it works :)). How can I (if there's way) get the images size ( x and y , in pixels), in order to use those x and y in the function? P.S. It's my 1st question here, so in adv... |
|
 |
| Sort by: |