Search found 19 matches

by ThiefUK
17 Sep 2018, 06:49
Forum: Ask For Help
Topic: FileRead Numbers Only Help.
Replies: 6
Views: 98

Re: FileRead Numbers Only Help.

Bump - Any help would be so grateful!

TLDR: I need a variable + to skip if the file is missing.

total1 + total2 + total3 + total4 (If total 2 was missing, continue to total 3 and 4, then show result).

Thanks!
by ThiefUK
17 Sep 2018, 02:07
Forum: Ask For Help
Topic: FileRead Numbers Only Help.
Replies: 6
Views: 98

Re: FileRead Numbers Only Help.

Fantastic, thank you! Just one last one. I have the outputvar (Numberonly) being generated across my script, example: FileReadline, readtestall1, \\ip-fs04\Studio\Documents\Studio Keypad\Studio Support Tool Dev\Reports\Stats\Approved\Keypad Stats Approved Chris %time%.txt, 1 FileReadline, readjack1,...
by ThiefUK
14 Sep 2018, 11:42
Forum: Ask For Help
Topic: FileRead Numbers Only Help.
Replies: 6
Views: 98

FileRead Numbers Only Help.

Hi All Long to Short - I have a stat tracker I've built for a keypad, this records key presses for different actions and logs them across different days into txt files per day. I need to compile all these .txt files into a 'Total Actions Made'. Finalcount = \\ip-fs04\Studio\Documents\Studio Keypad\S...
by ThiefUK
07 Sep 2018, 05:33
Forum: Ask For Help
Topic: File Append Count Help
Replies: 3
Views: 50

Re: File Append Count Help

Hi again, I'm having some trouble with the count being reset upon script restart, can anyone help? The text file writes perfectly and is laid out as I want - but all 3 variables (counts) that I have are being reset upon restarting the script and continuing to use it. I tried fileread, but am struggl...
by ThiefUK
05 Sep 2018, 08:23
Forum: Ask For Help
Topic: File Append Count Help
Replies: 3
Views: 50

Re: File Append Count Help

Hi All

Nevermind - this has been sorted.

I removed the output variable and replaced it with 'contents' for a full sweep and maintained the file delete.

Thanks!
by ThiefUK
05 Sep 2018, 07:40
Forum: Ask For Help
Topic: File Append Count Help
Replies: 3
Views: 50

File Append Count Help

Hi All I need a little help with this. Attempting to create a process that logs keypad key press counts. The keypad keys are all sorted, I just need the file append part. I'm to the stage where I can record these details, but I need all those details and key pressed logged in 1 text file, instead of...
by ThiefUK
10 Aug 2018, 04:02
Forum: Ask For Help
Topic: RegEx Help
Replies: 5
Views: 91

Re: RegEx Help

Hi Guys DesignOnline := StrReplace(Clipboard, "http://www.example.com/", "") Worked perfectly and retrieved all 3 results - but how do I separate and use all 3 results elsewhere? The results need to open a drive then are directed to a specified folder. So for example, "http:...
by ThiefUK
09 Aug 2018, 09:36
Forum: Ask For Help
Topic: RegEx Help
Replies: 5
Views: 91

RegEx Help

Hi All Bit stuck I'm afraid. I'm trying to extract multiple lines from a clipboard of the same string. Example: http://www.example.com/12345 http://www.example.com/45678 http://www.example.com/78900 I'm wanting all 3 values after the / Currently have: RegExMatch(Clipboard, "(?<=www.example.com/...
by ThiefUK
26 Mar 2018, 14:17
Forum: Ask For Help
Topic: Help! - if exist, run. Topic is solved
Replies: 3
Views: 106

Re: Help! - if exist, run. Topic is solved

Thank you BoBo.

The script failed to open the file however I've amended below which worked!

Code: [Select all]GeSHi © Codebox Plus

F10::
Send, ^c
Loop % clipboard . "\*.??g", 0 , 1
{
If A_LoopFileExt in jpg,msg
Run, % A_LoopFileFullPath
}
Return


Thanks!
by ThiefUK
23 Mar 2018, 11:42
Forum: Ask For Help
Topic: Help! - if exist, run. Topic is solved
Replies: 3
Views: 106

Help! - if exist, run. Topic is solved

Hi All Having some trouble with second part of my script. Currently: F10:: Loop, %clipboard%\*.* ,0,1 { if A_LoopFileExt in jpg,msg msgbox, found! } Which is scanning a copied path for a msg and jpg but then I want to run (open) said found files. I tried a, run, %clipboard%\*msg but it failed to loc...
by ThiefUK
20 Mar 2018, 09:13
Forum: Ask For Help
Topic: Outlook M.Reply Help
Replies: 7
Views: 220

Re: Outlook M.Reply Help

You know what, after 2 weeks of trying and moments after posting this I cracked it... :) Code here for future users. olApp := ComObjActive("Outlook.Application") try olItem := olApp.ActiveWindow.CurrentItem catch olItem := olApp.ActiveExplorer.Selection.Item(1) if (olItem.Class = 43) olMai...
by ThiefUK
20 Mar 2018, 08:50
Forum: Ask For Help
Topic: Outlook M.Reply Help
Replies: 7
Views: 220

Re: Outlook M.Reply Help

Thanks FG!

I'm sorry to bump this - but how would I add attachments?

I've tried quite a few combinations from olReplyAllItem.Attachments.Add, olReplyAllItem.Attachments but they are not recognized, I'm a little unsure how to add a PDF attachment via HTML, can you help?

Thanks!
by ThiefUK
28 Feb 2018, 17:30
Forum: Ask For Help
Topic: GUI Picture Help!
Replies: 2
Views: 123

Re: GUI Picture Help!

Bump :)
by ThiefUK
28 Feb 2018, 11:43
Forum: Ask For Help
Topic: GUI Picture Help!
Replies: 2
Views: 123

GUI Picture Help!

Afternoon All This has plagued me for an absolute age, and forum searches haven't helped! Whenever I link up a picture to my GUI it turns out incredibly pixelated no matter what resolution I save the file out at. Gui, Add, Pic, hidden vstatic1 x0 y-3 w550 h-1, \\ip-fs04 The picture is 300 DPI and fr...
by ThiefUK
15 Feb 2018, 09:02
Forum: Ask For Help
Topic: Outlook M.Reply Help
Replies: 7
Views: 220

Re: Outlook M.Reply Help

That's fantastic and worked perfectly - but there is a problem with adding a :

olReplyAllItem.body :=

To the script, as this replaces the whole thread.

Is there a way to keep the thread I'm replying to and add a reply as I would a normal 'reply' email?

Thanks again,
by ThiefUK
14 Feb 2018, 09:03
Forum: Ask For Help
Topic: Outlook M.Reply Help
Replies: 7
Views: 220

Re: Outlook M.Reply Help

Hi Guys

Any help here would be so grateful -

I've attempted to extract code from here - https://github.com/ahkon/MS-Office-COM- ... strict.ahk

With little success.
by ThiefUK
13 Feb 2018, 11:29
Forum: Ask For Help
Topic: Outlook M.Reply Help
Replies: 7
Views: 220

Outlook M.Reply Help

Hi All I'm trying to generate a reply using COM (I believe it's called) - I've been attempting m.reply but I'm unsure if that works. Currently: m := ComObjActive("Outlook.Application").CreateItem(0) m.To := m.Subject := m.display But that always opens a brand new page. I need to generate a...
by ThiefUK
25 Jul 2017, 10:32
Forum: Ask For Help
Topic: Clipboard Text Msg (Variable)
Replies: 1
Views: 101

Clipboard Text Msg (Variable)

Hi Guys I'm a .. newbie to this so go easy. I'm trying to use the following code to scan the selected window for an order number (in our case a web number) which can come through as web1234567, for example. I need to scan the selected page (outlook in my case), copy to clipboard and display the orde...

Go to advanced search