Search found 85 matches

by obfusc88
Fri May 11, 2012 7:44 am
Forum: Technical / Scripting
Topic: RegEx multi line syntax
Replies: 6
Views: 5139

RegEx multi line syntax

I am trying to remove lines that begin with " WriteLn("Line " (without quotes) from a file with thousands of lines. Cannot get it to work. I am sure the problem is with the modifier (?m) . I have tried (?-m), have changed $ to \n, have included and removed the ^. Can anyone see the problem? Here is ...
by obfusc88
Thu Sep 01, 2011 12:32 am
Forum: Technical / Scripting
Topic: No Window Name available
Replies: 23
Views: 19155

Hmmm, that sounds too obvious to work! :roll:

Again, won't be able to try these latest suggestions for at least another day, but I think I will try this one first. The Lclick should set the focus on the window, then Press>Enter will do the trick.

Thanks again for the suggestion.
by obfusc88
Wed Aug 31, 2011 5:20 pm
Forum: Technical / Scripting
Topic: No Window Name available
Replies: 23
Views: 19155

Thanks for that suggestion, but cannot try for another day. Suspect it will not have an effect. It seems that this OS check is looking at the dates of the OS kernel and a user dll file. If later than compiled date of xxcopy then warning is triggered, and real xxcopy is not run yet. Will let you know...
by obfusc88
Tue Aug 30, 2011 5:53 pm
Forum: Technical / Scripting
Topic: No Window Name available
Replies: 23
Views: 19155

Only luck is bad luck.

Press>ENTER did not work
Using /YY did not work
Using /WV0 did not work.

The java script sounds interesting, again, I think that is what I need, something to call from another program to pass the AnyKey value.

Thanks for all the suggestions.
by obfusc88
Tue Aug 30, 2011 11:43 am
Forum: Technical / Scripting
Topic: No Window Name available
Replies: 23
Views: 19155

I googled for ConsoleWindowClass and found a question similar to mine, how to send text to this type object. On this site: http://www.vbforums.com/archive/index.php/t-380589.html I found the following code that fixed the problem for that person. [DllImport("user32", EntryPoint = "FindWindowA")] priv...
by obfusc88
Tue Aug 30, 2011 11:20 am
Forum: Technical / Scripting
Topic: No Window Name available
Replies: 23
Views: 19155

My version does not support ProcessEnd. My version does support WaitScreenImage. That sounds like a good idea to replace WaitWindowOpen It's not the wait/delay that is the problem, it is setting the focus to do the Send/Press. But both suggestions above will only provide the delay so I know the wind...
by obfusc88
Mon Aug 29, 2011 4:05 am
Forum: Technical / Scripting
Topic: No Window Name available
Replies: 23
Views: 19155

1. No trailing spaces, but thanks. 2. Never thought of GetWindowsList. I just tried that, and the name that appears is C:\Windows\system32\cmd.exe. But not available to MS tools. But this does not work: WaitWindowOpen>C:\Windows\system32\cmd.exe* It does not work with WaitWindowOpen>cmd.exe* either....
by obfusc88
Sun Aug 28, 2011 5:46 pm
Forum: Technical / Scripting
Topic: No Window Name available
Replies: 23
Views: 19155

Nope.

I have tried all variations of the command line, with and without the path segments, with and without the "*".
by obfusc88
Sat Aug 27, 2011 1:55 am
Forum: Technical / Scripting
Topic: No Window Name available
Replies: 23
Views: 19155

No Window Name available

I am running a script that calls a program whose window name I cannot capture. I was trying to use WaitWindowOpen, but that did not work. So I tried using GetActiveWindow, and FindWindowWithText, but they all failed. So, I turned on Tools/System Windows Monitor and found that the "window" is really ...
by obfusc88
Thu Aug 04, 2011 7:23 pm
Forum: Technical / Scripting
Topic: DBQuery - Acquire Variable Name
Replies: 10
Views: 11365

Some of your variables may be created in, or the result of queries. Can you use SQL commands to get a list of all stored queries, then parse the queries to get the names of those variables?
by obfusc88
Thu Aug 04, 2011 7:08 pm
Forum: Technical / Scripting
Topic: Full screen image display
Replies: 6
Views: 6799

Full screen image display

Using Macro Scheduler 11.1.20 on Windows 7 Professional 32 bit system. I just used the following code, a modification of what Marcus had provided in 2007. But it is causing me problems. Here is the code: GetScreenRes>w,h Dialog>Dialog2 Caption=MyDialog Width=10 Height=10 Top=0 Left=0 Image=q:data\im...
by obfusc88
Thu Dec 09, 2010 12:55 am
Forum: Technical / Scripting
Topic: RenameFile bug in XP?
Replies: 1
Views: 3375

I just posted a similar problem here: http://www.mjtnet.com/forum/viewtopic.php?p=29191#29191

I used MoveFile as a temporary work around.
by obfusc88
Thu Dec 09, 2010 12:38 am
Forum: Technical / Scripting
Topic: Rename leaves original file
Replies: 2
Views: 4731

Rename leaves original file

I have tried to rename a file, but the original file still remains in the folder. Using Macro Scheduler 11.1.20 on XPPro-SP3 Here is a simple sample...... Month>mm Day>dd Year>yyyy Let>Today=%yyyy%%mm%%dd% Let>SourceFolder=N:\Data\Db Let>FileName=EXPORTS Let>FileExt=ASC Let>FullFileName=%FileName%.%...
by obfusc88
Wed Nov 24, 2010 9:44 pm
Forum: Technical / Scripting
Topic: Need URL from email body in background processing
Replies: 5
Views: 6940

Thank you Bob for the info about Eudora.

I have downloaded The Bat! and hope to try that over the weekend. I have also made a request to Mozilla to add SaveAs and Print as filters to version 4 of Thunderbird.

Not sure what I will do yet, but Macro Scheduler will make it all happen.
by obfusc88
Tue Nov 23, 2010 2:51 am
Forum: Technical / Scripting
Topic: Need URL from email body in background processing
Replies: 5
Views: 6940

Other things I recently tried: Looked for Thunderbird AddOns to Save Emails or send to Lightning Calendar, no AddOns found to do that. In AOL, tried to forward to C:\Temp\filename, but system rejected as invalid address. Tried to forward to C:\Temp\filename@127.0.0.1, but system rejected as invalid ...
Sign up to our newsletter for free automation tips, tricks & discounts