AutoHotkey Community

It is currently May 23rd, 2012, 5:11 am

All times are UTC [ DST ]


Search found 174 matches
Search these results:

Author Message

 Forum: Support   Topic: Xpath help needed

 Post subject: Xpath help needed
Posted: Yesterday, 9:40 pm 

Replies: 0
Views: 14


OK, so I have written the following code: #include xpath.ahk #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting dir...

 Forum: Support   Topic: Questions about unicode

 Post subject: Re: Questions about unicode
Posted: May 20th, 2012, 4:13 pm 

Replies: 6
Views: 46


Excellent, thank you. Now working perfectly and I have crafted a script to do what I wanted to do. Thanks [VxE].

 Forum: Support   Topic: Questions about unicode

 Post subject: Re: Questions about unicode
Posted: May 19th, 2012, 8:25 pm 

Replies: 6
Views: 46


If the codes actually look like "&#abcd;", then this function can handle them: http://www.autohotkey.com/community/viewtopic.php?f=2&t=73279 Well, they are actually preceded by \u, not &#, but I'm sure that could be converted easily enough. Thanks, I will look into this and se...

 Forum: Support   Topic: Questions about unicode

 Post subject: Questions about unicode
Posted: May 19th, 2012, 6:23 pm 

Replies: 6
Views: 46


I want to create a script that will take a file containing hex codes representing unicode characters and replace them with said unicode characters. Is that possible?

For example, it would take the hex number 6b63 and replace it with the Chinese character 正.

Is there a way to do this with AHK?

 Forum: Support   Topic: HP Laptop acts as though Ctrl key is permanently pressed

Posted: December 19th, 2011, 8:20 pm 

Replies: 9
Views: 443


It's an ugly solution, but this should "fix" it: Thanks SifJar. Where would I put that? One of the .ini files? I'm much more familiar with Linux/Unix than with Windows, but I'm happy to give it a try. Winston as dave_100 explained, run it as an AHK script. I thought that was what you were...

 Forum: Support   Topic: HP Laptop acts as though Ctrl key is permanently pressed

Posted: December 16th, 2011, 11:10 pm 

Replies: 9
Views: 443


It's an ugly solution, but this should "fix" it: Ctrl::Return ^a::Return ^b::Return ^c::Return ^d::Return ^e::Return ^f::Return ^g::Return ^h::Return ^i::Return ^j::Return ^k::Return ^l::Return ^m::Return ^n::Return ^o::Return ^p::Return ^q::Return ^r::Return ^s::Return ^t::Return ^u::Retu...

 Forum: Support   Topic: How To open a file for viewing, ie JPG files

Posted: December 15th, 2011, 11:56 pm 

Replies: 14
Views: 431


Try

Code:
run, %comspec% C:\path\to\image.JPG


It might work.

 Forum: Support   Topic: Generating filenames in format "VID_####"

Posted: December 8th, 2011, 12:07 am 

Replies: 5
Views: 143


Thanks for the responses, I'll try that tomorrow. I'm glad that leef_me doesn't seem to understand why it didn't work, that means I can't have been too stupid :wink:

 Forum: Support   Topic: Generating filenames in format "VID_####"

Posted: December 7th, 2011, 9:56 pm 

Replies: 5
Views: 143


Hi all, I have been trying to generate file names in the format "VID_####" (VID_0001, VID_0002 etc.), by checking if a name exists and then using the next. This is the code I have: ;generate file name loop { if A_Index < 10 FileNumber := 000 . A_Index if A_Index >= 10 && A_Ind...

 Forum: Support   Topic: Reading tags from an MP4 video

Posted: November 9th, 2011, 9:01 pm 

Replies: 2
Views: 148


Thanks, I'll try it and see if it works :D

 Forum: Support   Topic: Reading tags from an MP4 video

Posted: November 8th, 2011, 8:20 pm 

Replies: 2
Views: 148


Does anyone know of a way to read tags from an MP4 video file? Basically I just want to get the "Title" tag, and so I can rename the video accordingly. I don't mind if it's via a command line tool or whatever, but I haven't been able to find anything yet, and it'd be very appreciated.

 Forum: Support   Topic: PNG24: any chance?

Posted: November 5th, 2011, 11:32 pm 

Replies: 4
Views: 151


Well, I hope it'll help with what you're asking. I'm not completely sure I understand what you're asking, but I think you want to make an image into a GUI?

If not, GDI+ may still help. If you just want to display an image within a GUI, I think GDI+ should make that possible too.

 Forum: Support   Topic: Getting Caps Lock toggle state

Posted: November 5th, 2011, 9:24 pm 

Replies: 10
Views: 222


[color=red]$[/color]Media_Prev:: if [color=red]([/color]GetKeyState("CapsLock", "T") = 1[color=red])[/color] send, {F5} else send, {Media_Prev} return Excellent, that worked. Thanks :) What does the "$" do?

 Forum: Support   Topic: Getting Caps Lock toggle state

Posted: November 5th, 2011, 8:30 pm 

Replies: 10
Views: 222


Yeah, I already tried that and it works. But the code I posted above does not :( Seems strange to me. Guess I'm stuck with it the way it is.

 Forum: Support   Topic: performing actions from a .txt file

Posted: November 5th, 2011, 8:29 pm 

Replies: 3
Views: 123


Could you not just rename the file to .AHK and run it? Or you want to do each line one at a time? If the later, try something like this Loop, read, example.txt { FileAppend, %A_LoopReadLine%, run.ahk Run, run.ahk FileDelete, run.ahk } And add whatever you want to the loop to pause between ...
Sort by:  
Page 1 of 12 [ Search found 174 matches ]


All times are UTC [ DST ]


Powered by phpBB® Forum Software © phpBB Group