Search found 63 matches

by sttrebo
26 Jul 2018, 16:08
Forum: Ask For Help
Topic: Custom Sort help
Replies: 2
Views: 57

Re: Custom Sort help

works perfect, thanks for you help.
by sttrebo
26 Jul 2018, 10:53
Forum: Ask For Help
Topic: Custom Sort help
Replies: 2
Views: 57

Custom Sort help

hi- I have a script that I use to monitor the status outputs on some test equipment. When there is an event, a line is added to a text file. The text file looks like this: Mac address followed by an error/status code and description. 00-C0-XX-XX-XX-XX > E5002: Temperature Hi Limit Exceeded 00-C0-YY-...
by sttrebo
09 Jul 2018, 14:49
Forum: Ask For Help
Topic: Evernote scripting
Replies: 0
Views: 63

Evernote scripting

I am working on a scrip that reads Outlook emails then modifies Evernote notes with specifics from the Outlook emails. As part of the script I open up Evernote and pause a short time to allow the user to select the note. I was curious if anyone could help with an idea I had. I want my script to paus...
by sttrebo
22 Jun 2018, 15:27
Forum: Ask For Help
Topic: Sleep command optimization help
Replies: 3
Views: 63

Re: Sleep command optimization help

hi-
thanks for your help. to your second point, yes.
on your first point: the ~= "D" is directory. i'm assuming i can just use "N" if it's a file ?

thanks for your help.
by sttrebo
22 Jun 2018, 14:55
Forum: Ask For Help
Topic: Sleep command optimization help
Replies: 3
Views: 63

Sleep command optimization help

hi- I have a fairly long script that does a number of file/directory create/reads/writes. for a number of them, i check if it exists then if it doesn't I create it. if it does exist, i just delete it's contents to start fresh. here is a sample of the code: IfNotExist, %AHK_Temp%\qtdadd\ { FileCreate...
by sttrebo
28 Feb 2018, 17:37
Forum: AutoHotkey v2 Development
Topic: A_ variables
Replies: 27
Views: 2133

Re: A_ variables

not sure if this has been requeted or not, if it has my apologies. any chance of having some user specified variables, A_Userxx, etc. Something that we could specify and then call from any script? this would give us the opportunity to read variable contents in different scripts without needing to us...
by sttrebo
31 Jan 2018, 19:17
Forum: Ask For Help
Topic: Outlook email SaveAs
Replies: 4
Views: 134

Re: Outlook email SaveAs

easier than I thought:
olItem.SaveAs(Storage_Dir "\" RegExReplace(olItem.Subject, "^(?:RE|FW): ") ".msg", 3)

removes the offending characters and any other I choose to add into the RE|FW etc string.

think i'm good to go. thanks for your help.
by sttrebo
31 Jan 2018, 17:08
Forum: Ask For Help
Topic: Outlook email SaveAs
Replies: 4
Views: 134

Re: Outlook email SaveAs

excellent, thanks. just need to add in a filter to remove invalid characters from the subjects and it'll be perfect. I use this in autohotkey: PSubject := RegExReplace(Subject,"^(?:RE|FW): ") PSubject := StrReplace(PSubject, "+", "_") any way of doing a similar thing he...
by sttrebo
31 Jan 2018, 13:54
Forum: Ask For Help
Topic: Outlook email SaveAs
Replies: 4
Views: 134

Outlook email SaveAs

I have a small script that I use with my task planning app. this script just writes the subject of the email to a text file. But i've been trying to get the script to also save the selected email outside of outlook. In essence, I want to do a saveas and save the email as a .msg (the link to that fil...
by sttrebo
31 Jan 2018, 12:33
Forum: Ask For Help
Topic: IfNotExist pause
Replies: 3
Views: 96

Re: IfNotExist pause

yes, caught that when i moved the iniwrite statement. but thanks.
by sttrebo
31 Jan 2018, 12:09
Forum: Ask For Help
Topic: IfNotExist pause
Replies: 3
Views: 96

Re: IfNotExist pause

oops, nevermind. found the problem with the script. dumb mistake, i needed to move the iniwrite line into the loop parse sequence. old age sucks sometimes...
by sttrebo
30 Jan 2018, 16:06
Forum: Ask For Help
Topic: IfNotExist pause
Replies: 3
Views: 96

IfNotExist pause

having a problem with a short piece of code. all it needs to do is check for the existence (or not) of a file then execute something. since the script is run over a network there is some delay in getting the response from the remote machine. here is the code: IfNotExist, %A_Temp%\AHK.txt { sleep, 50...
by sttrebo
10 Jan 2018, 11:51
Forum: Ask For Help
Topic: Problem with GUI Control
Replies: 7
Views: 207

Re: Problem with GUI Control

very nice, thanks for the help all. i really appreciate all of the comments and assistance.
by sttrebo
10 Jan 2018, 11:11
Forum: Ask For Help
Topic: Problem with GUI Control
Replies: 7
Views: 207

Re: Problem with GUI Control

my bad, this seems to work as I need. one thing though: when the n/a field is changed to the %Link% contents, the length of the field doesn't automatically change with the length of the variable. How can I make the length change as the length of the variable data changes? I can always put in a width...
by sttrebo
10 Jan 2018, 10:36
Forum: Ask For Help
Topic: Problem with GUI Control
Replies: 7
Views: 207

Re: Problem with GUI Control

thanks wolf_II, but doesn't seem to do anything. n/a stays n/a in the dialog box.
by sttrebo
09 Jan 2018, 16:38
Forum: Ask For Help
Topic: Problem with GUI Control
Replies: 7
Views: 207

Problem with GUI Control

I've got a script in process where I want to change the text in a GUI. https://www.dropbox.com/s/noqf9sgr8llnmx5/Capture.JPG?dl=0 i want to be able to select a file and have the 'n/a' be replaced by the filename. must be having a brain f**t because i can't seem to get it working. can someone show me...
by sttrebo
04 Jan 2018, 11:58
Forum: Ask For Help
Topic: program that copies a text and search for it in the browser
Replies: 2
Views: 120

Re: program that copies a text and search for it in the browser

this works good for me: #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensu...
by sttrebo
25 Nov 2017, 12:48
Forum: Ask For Help
Topic: Script needs updating, todo.txt
Replies: 0
Views: 94

Script needs updating, todo.txt

I am a big fan of todo.txt for my task managing. been using an old ahk script https://github.com/notbalanced/todo.txt-ahk for several years and it's been good. i wanted to get the script updated (haven't been able to get in touch with the original author). the changes it needs are a bit out of my sk...
by sttrebo
15 Nov 2017, 20:20
Forum: Ask For Help
Topic: library location
Replies: 11
Views: 506

Re: library location

I ended up putting this script together. It does several things for me: - finds my dropbox path, computer name (for ID purposes) and outputs that to a text file in %A_Temp%. I have other scripts that reads that file into variables. - then it checks for/creates a Lib directory and xcopys over files a...

Go to advanced search