Search found 6690 matches

by Marcus Tettmar
Mon Jun 24, 2019 11:44 am
Forum: Technical / Scripting
Topic: vbs
Replies: 10
Views: 72

Re: vbs

Your code should be: VBStart Option Explicit Sub MoveFolder(Source,Dest) Dim fso Set fso = CreateObject("Scripting.FileSystemObject") fso.MoveFolder Source, Dest End Sub VBEND //C:\Users\Felix The Cat\Desktop\Move this folder //C:\Users\Felix The Cat\Desktop\Move here let>Source=%Desktop_Dir%\Move t...
by Marcus Tettmar
Mon Jun 24, 2019 11:42 am
Forum: Beginners
Topic: Image Recognition faster
Replies: 1
Views: 17

Re: Image Recognition faster

About the only way you can make it faster (other than use more powerful hardware) is to make the search area (the haystack) smaller. Using SCREEN will search the entire desktop area. If you have multiple large monitors at a very high resolution then clearly that is going to take a lot longer than se...
by Marcus Tettmar
Tue Jun 18, 2019 12:10 pm
Forum: Scripts and Tips
Topic: Find or Wait for Object then Click other object
Replies: 5
Views: 116

Re: Find or Wait for Object then Click other object

Can you explain what you mean?
by Marcus Tettmar
Tue Jun 18, 2019 12:10 pm
Forum: The Water Cooler
Topic: uiClick
Replies: 2
Views: 84

Re: uiClick

No idea, but uiClick performs the default action. What that is and how the software responds is down to the guys or gals who developed it. And to us it's a black box. So frankly I have no idea. That's automation for you. You try stuff and see what works. We can't usually see the code and therefore c...
by Marcus Tettmar
Tue Jun 18, 2019 12:08 pm
Forum: Beginners
Topic: Manual unlock after enabling AutoLogon
Replies: 5
Views: 152

Re: Manual unlock after enabling AutoLogon

I think it's expecting a local account. Instead of the domain try entering the PC name.
by Marcus Tettmar
Wed May 29, 2019 5:38 pm
Forum: Technical / Scripting
Topic: FindImagePos and return_offset
Replies: 3
Views: 113

Re: FindImagePos and return_offset

JPG aren't supported *AT ALL* in this function. The help file says: needle_bitmap should be a fully qualified path to a bitmap or png file (see MatchAlgorithm type below for supported image types). MatchAlgorithm goes on to say that EXACT *only* works with BMP files while CCOEFF works with PNG or BM...
by Marcus Tettmar
Wed May 29, 2019 5:36 pm
Forum: Beginners
Topic: Create a simple dialog with memo box
Replies: 2
Views: 78

Re: Create a simple dialog with memo box

Just do exactly that. Create a custom dialog. Put only a memo box on it.

Prior to showing the dialog load the file into a variable using ReadFile and then set the text of the memo with this variable using SetDialogProperty.
by Marcus Tettmar
Wed May 29, 2019 5:35 pm
Forum: Technical / Scripting
Topic: Secure Email Detection
Replies: 6
Views: 154

Re: Secure Email Detection

I'll look into the STAT thing. Unfortunately that's how POP3 works. Could you maybe make another POP3 account somewhere else, set up some kind of auto-forward (in Outlook or otherwise) so that email from the real account goes to the special account, then RetrievePOP3 from the new forwarded account a...
by Marcus Tettmar
Thu May 23, 2019 10:18 am
Forum: Technical / Scripting
Topic: Secure Email Detection
Replies: 6
Views: 154

Re: Secure Email Detection

Unfortunately as far as I am aware POP3 does not have the ability to know which emails have been read and which haven't. There's no SSL support for the Telnet commands. The server would probably want SSH for that anyway. But you could perhaps script winscp or putty or some other SSH client (winscp c...
by Marcus Tettmar
Sun May 05, 2019 10:11 am
Forum: Technical / Scripting
Topic: Excel Trouble
Replies: 9
Views: 448

Re: Excel Trouble

Not sure what is causing your error, but if you want to send your excel file and code to reproduce the issue to support (support AT mjtnet.com) we can try it here and see if we can get any debug info to work out what's happening.
by Marcus Tettmar
Fri May 03, 2019 8:46 am
Forum: Beginners
Topic: Suggestions Please - Excel Updates from other Excel Sheet
Replies: 1
Views: 225

Re: Suggestions Please - Excel Updates from other Excel Sheet

If this needs to happen from within Macro Scheduler I would have the macro loop through the sheet to find the part number. Just a simple loop. If within Excel then you have other options like the Find method.
by Marcus Tettmar
Wed Apr 17, 2019 4:53 pm
Forum: Technical / Scripting
Topic: Memo Stops Updating
Replies: 2
Views: 179

Re: Memo Stops Updating

Hi,

No, there's no limit at all. Not sure why this is happening. Perhaps try adding a small delay before the SetDialogProperty:

Wait>0.02
SetDialogProperty>Dialog1,MSMemo1,Text,Test Text

Does that help?
by Marcus Tettmar
Wed Apr 10, 2019 6:40 pm
Forum: Technical / Scripting
Topic: How do I execute and record an external Python script.
Replies: 5
Views: 224

Re: How do I execute and record an external Python script.

You can run via the command line using the RunProgram command. To get the output you could pipe to a text file and then read the text file back?
by Marcus Tettmar
Wed Mar 20, 2019 1:19 pm
Forum: Technical / Scripting
Topic: [Error] Can't Record Macros
Replies: 2
Views: 169

Re: [Error] Can't Record Macros

Odd. Have you tried restarting the software completely?
by Marcus Tettmar
Wed Mar 20, 2019 1:19 pm
Forum: Beginners
Topic: Multiple WaitScreenImage's
Replies: 3
Views: 156

Re: Multiple WaitScreenImage's

Use multiple FindImagePos commands in a loop.