Search found 382 matches

by omar
Yesterday, 10:36
Forum: Ask For Help
Topic: 5000 lines in my hotkey file!
Replies: 1
Views: 90

5000 lines in my hotkey file!

I have zillions of textshortcuts I use. I have 5000 lines - that makes up maybe 1000 textshortcuts. I wanted to know is there a limit? Am I bogging down my computer resources loading the file? Sometimes it loads - but text shortcuts don't work - I simply reload - and it works. 1000 textshortcuts - I...
by omar
20 Aug 2019, 12:03
Forum: Ask For Help
Topic: How to get time and date as a string of numbers
Replies: 2
Views: 56

Re: How to get time and date as a string of numbers

Oooh, very nice 🙂

I tried:

Code: Select all

MsgBox % A_Now
FormatTime, TimeString, %A_Now%, dddd MMMM d, yyyy hh:mm:ss tt
MsgBox The specified date and time, when formatted, is %TimeString%.
Works a treat.
Thanks
by omar
20 Aug 2019, 11:59
Forum: Ask For Help
Topic: How to launch a program AND delete the autokey text
Replies: 5
Views: 80

Re: How to launch a program AND delete the autokey text

@Rohwedder you're a star 🙂
That's awesome.
I did read that page mentioned.
It just wasn't making sense to me.
Thanks.
by omar
20 Aug 2019, 11:55
Forum: Ask For Help
Topic: Shortcuts for launching programs
Replies: 6
Views: 137

Re: Shortcuts for launching programs

Thanks for the replies guys. The thing is, I actually want to open a specific file - not just the program. I thought I would keep my question simple when asking. 🙂 So... I want something like this: c:\program files\microsoft\word\word.exe d:\other path\another path\my file.docx. That's what I want t...
by omar
20 Aug 2019, 10:40
Forum: Ask For Help
Topic: Shortcuts for launching programs
Replies: 6
Views: 137

Shortcuts for launching programs

Say I want to launch Powerpoint or Word or Excel or something else.

How do I specify the path of the program?
I would like universal so I can take it to another computer and use the code there.

Thanks.
by omar
20 Aug 2019, 10:39
Forum: Ask For Help
Topic: How to launch a program AND delete the autokey text
Replies: 5
Views: 80

Re: How to launch a program AND delete the autokey text

@Rohwedder That's awesome.
What does the *X do?
I've never come across that before.

Just one problem...
The code runs as soon as I hit the last character.
I don't want this.
I want it to execute when the space bar is pressed at the end or the return key is pressed.

How can I get this?

Thanks.
by omar
20 Aug 2019, 10:35
Forum: Ask For Help
Topic: How to submit data to a website form?
Replies: 0
Views: 38

How to submit data to a website form?

I'm writing some code to call a URL and pass in some value on the URL. Something like: www.mydomain.com/?ID=abc&dateandtime=123434545. But then I thought... this is open and someone can read and intercept? The domain will be https - does that change anything? In anycase, I think it will be better if...
by omar
20 Aug 2019, 10:32
Forum: Ask For Help
Topic: How to get time and date as a string of numbers
Replies: 2
Views: 56

How to get time and date as a string of numbers

I need to store time in a table in a database.
Ideally, I would like to just have a string of numbers: 485432958743095.
How do I get in this format?
And what is the formula for decoding the time and date to readable format?

Thanks.
by omar
20 Aug 2019, 09:48
Forum: Ask For Help
Topic: How to launch a program AND delete the autokey text
Replies: 5
Views: 80

How to launch a program AND delete the autokey text

Say I want to launch notepad when I type: mynotepad.

How can I launch AND remove the text I typed?

Thanks.
by omar
19 Aug 2019, 12:13
Forum: Ask For Help
Topic: How to have many windows of browsers Topic is solved
Replies: 2
Views: 95

Re: How to have many windows of browsers Topic is solved

@Sir Teddy the First
Awesome
I just checked Windows Spy. I think that will do the trick for me. I didn't realise each tab would have a different title. 👍🏼
by omar
18 Aug 2019, 18:00
Forum: Ask For Help
Topic: How to have many windows of browsers Topic is solved
Replies: 2
Views: 95

How to have many windows of browsers Topic is solved

How can I have many windows if browsers and be able to detect which tab or window I am on? If i have 4 tabs open say... I could CTRL tab between the tabs and read the URL I suppose? Else, I could have open in separate windows - but how would I switch to the right window? (I don't want to have separa...
by omar
14 Aug 2019, 19:57
Forum: Ask For Help
Topic: How to read from my website
Replies: 0
Views: 86

How to read from my website

I need to read from my website. The output will be JUST plain text (no HTML). I also want to read values from my local machine and pass to the website. I was thinking of doing this: www.website.com/?myID=123abc¤tDateAndTime=1234567890. + a few other things (only 2 or 3 more). For the first par...
by omar
14 Aug 2019, 19:15
Forum: Ask For Help
Topic: How to scrape content javascript generated
Replies: 2
Views: 127

Re: How to scrape content javascript generated

that code looks magic.
i'll try out tmrw.
thanks.
by omar
14 Aug 2019, 10:40
Forum: Ask For Help
Topic: How to scrape content javascript generated
Replies: 2
Views: 127

How to scrape content javascript generated

I need to get content from a Chinese website. The first part is OK. I can get from the HTML. But then content further down the page is behind Javascript. I think the content only loads when you scroll down. How can I get to the contents? Just looking for some pointers. This is an example page: https...
by omar
06 Aug 2019, 20:13
Forum: Ask For Help
Topic: How to stop executing if include file fails
Replies: 1
Views: 102

How to stop executing if include file fails

I want to include a file.
If this fails, then I want code to stop executing.

How do I do this?

Thanks.
by omar
06 Aug 2019, 20:05
Forum: Ask For Help
Topic: Problem with Clipboard not being available
Replies: 2
Views: 168

Re: Problem with Clipboard not being available

awesome
thanks
trying out code now
by omar
06 Aug 2019, 17:51
Forum: Ask For Help
Topic: Image search not working
Replies: 3
Views: 105

Re: Image search not working

Thanks for the replies guys.
I think the best option might be to have multiple images, more than 2.
by omar
06 Aug 2019, 14:39
Forum: Ask For Help
Topic: Best way to have a plain config text file
Replies: 2
Views: 103

Best way to have a plain config text file

I want to make an exe of my AHK file and give to others. I want to have a plain text file that contains variables needed for the execution of the main file. This would contain simple variables that control positions of objects for example and other things. Like: windowXLocation = 200 sleepLength = 4...
by omar
06 Aug 2019, 06:31
Forum: Ask For Help
Topic: Image search not working
Replies: 3
Views: 105

Image search not working

I'm using AHK image search to find part of a on a web page and clicking it - the search box. It works! The problem is on a next page it doesn't. It's the same search box. I think it's bad designing on website. I'm guessing there is a color difference maybe. IMPORTANT : I don't want to use Selinum or...

Go to advanced search