Editor not opening

General Macro Scheduler discussion

Moderators: JRL, Dorian (MJT support)

Post Reply
User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Editor not opening

Post by Bob Hansen » Fri Apr 11, 2008 11:57 pm

Version 9.1.04 running on Win98 SE.

Opening Macro Scheduler from the Systray does not open a window.
The editor shows up as a new item on the Taskbar, but not as a window. This happens if the systray icon is double clicked or if it is right clicked, and then left clicked on Show.

Utilities cannot bring the program "to the front".
Right click on taskbar item only shows Close and Minimize, no option to Restore.

System has been restarted, program has not been reinstalled. Had been running fine until this past week. Customer called to say they could not use Macro Scheduler editor.

Any ideas?
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Sat Apr 12, 2008 1:37 am

A temp work around has been implemented:

Open Windows Explore, right click on the scriptfile.scp, select Edit, and Macro Scheduler opens for that script for editing. Still have no way to get back to the main Control Panel. Closing editor just ends up in the systray.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

User avatar
JRL
Automation Wizard
Posts: 3532
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Post by JRL » Sat Apr 12, 2008 5:54 am

Have you tried reinstalling?

Was the Macro Scheduler window moved off screen? If you use windows explorer and right click and edit can you add lines to look for the position of the Macro Scheduler window. Or simply add a movewindow to 0,0 in the editor. then save and right click and run the macro. If the Macro Scheduler window has gotten moved off screen this might bring it back

MoveWindow>Macro Scheduler 9*,0,0

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Sat Apr 12, 2008 6:28 am

Odd. Try removing these registry values:

HKEY_CURRENT_USER\Software\MJTNET\MSched - Left
HKEY_CURRENT_USER\Software\MJTNET\MSched - Top
HKEY_CURRENT_USER\Software\MJTNET\MSched - Width
HKEY_CURRENT_USER\Software\MJTNET\MSched - Height
HKEY_CURRENT_USER\Software\MJTNET\MSched - EditorHeight
HKEY_CURRENT_USER\Software\MJTNET\MSched - EditorWidth
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Sun Apr 13, 2008 2:48 am

Have not reinstalled, working from a remote location, cannot upload a new master to install, currently very limited, should have more resources on Monday, but need to work now....

Good ideas, I will check them out and see how they work. Don't think I will be able to edit registry, but can make and run macro to check window position. Hmm, can probable make macro to edit the registry, now that you gave me the idea of creating a macro to troubleshoot.

Thanks, I will be back with results....
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Sun Apr 13, 2008 3:12 am

Tried the following script:

Code: Select all

// Initial position
GoSub>GetPosition

// Restore window
WindowAction>0,Macro Scheduler
GoSub>GetPosition

// Maximize window
WindowAction>>1,Macro Scheduler
GoSub>GetPosition


SRT>GetPosition
GetWindowPos>Macro Scheduler,X,Y
MessageModal>Column=%X%, and Row=%Y%
End>GetPosition

With each of the three messages, I got the same positions of 400,300, center of the screen, minimized Editor, nothing visible on the desktop.

Will see what I can do with the registry.......

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Sun Apr 13, 2008 3:26 am

Was able to copy the registry values before I work to replace the values:
HKEY_CURRENT_USER//Software//MJTNET//MSched

"InstallPath"="C:\Program Files\MJT Net Ltd\Macro Scheduler"
"ShortCutFolder"="Macro Scheduler"
"DataDir"="C:\Data\Macro Scheduler"
"SetupSource"="\\BARBARA\C\MASTERS\MACROSCHED\MSSETUP_STDJHS9_1_04.EXE"
"StartMin"="1"
"CloseButtonMinimizes"="1"
"GridLines"="1"
"EditorHeight"=dword:000001b0
"EditorWidth"=dword:0000031d
"Top"="300"
"Left"="400"
"Height"="0"
"Width"="0"
"Col0"="-1"
"Col1"="50"
"Col2"="50"
"Col3"="50"
"Col4"="50"
"Col5"="50"
"Col6"="50"
"Split"="115"
"tbdp1"="0"
"tbdp2"="105"
"tbdp3"="187"
"tbdp4"="269"
"tbdp5"="351"
"RegCode"="xxxxxxxxxxxxxxxxxxx"
"TrayReminder"="1"
"MainMax"="0"
"Col7"="50"
"EditorMax"=dword:00000000
"EditorSplit"=dword:000000f9
Didn't know if the content might tell you something before I work to delete the values. May help diagnose the cause and save me some work.
Last edited by Bob Hansen on Sun Apr 13, 2008 5:29 am, edited 1 time in total.

User avatar
JRL
Automation Wizard
Posts: 3532
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Post by JRL » Sun Apr 13, 2008 4:20 am

Bob,
I think I see the problem. Your registry values for width and height are both 0 (zero). I exited Macro Scheduler, went into the registry, set width and height to 0. Now when I start Macro Scheduler and double click on the systray icon I get an entry in the taskbar but no Macro Scheduler main menu. If you can change those zeros to larger numbers I think your problem will be resolved.


Create a script with these two lines:

Code: Select all

RegistryWriteKey>HKEY_CURRENT_USER,Software\MJTNET\MSched,Width,300
RegistryWriteKey>HKEY_CURRENT_USER,Software\MJTNET\MSched,Height,300
Exit Macro Scheduler. Run the script by right clicking the file in Windows Explorer and clicking run. Start Macro Scheduler back up.

Let us know.

User avatar
Bob Hansen
Automation Wizard
Posts: 2475
Joined: Tue Sep 24, 2002 3:47 am
Location: Salem, New Hampshire, US
Contact:

Post by Bob Hansen » Sun Apr 13, 2008 5:28 am

Thanks JRL, for catching that before I even had a chance to read it!
And although I did not need to try Marcus' suggestion, that would also have fixed it for me.

First, that did fix the problem. Macro Scheduler opened up so I could resize and move it. Next time it opened just as it closed. Problem fixed!

But some funny stuff is now visible to me.
All of the macros are not showing, some groups are missing.
I checked the groups.ini and macros.dati files in the Macro Scheduler folder. Well, it seems that I also have those files in C:\MyDocuments\MacroScheduler\ folder. and those are the ones being read when Macro Scheduler opens.

That is actually showing now as the DataDir in the registry!
I think they did a recent installation over an older copy of Macro Scheduler, that may have caused these issues. But now that I see them, I can fix them.

Hmm, seems like XP type of registry structure, but this is a 98SE system. I will have to see if maybe they copied something from a backup from another system or some other source.

So how did the numbers get set to 0? And how did the DataDir change in the past hour? Questions at this time are rhetorical, gotta get back to work.

Thanks again for the suggestions, and the solution.

I owe you.....once again. :roll:
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts