in network performance monitor program i want to save a chart as a jpeg. i dont get how to send instructions for it to sav as
________
Toyota Y engine specifications
script to "save as"
Moderators: JRL, Dorian (MJT support)
script to "save as"
Last edited by mdurt on Wed Feb 02, 2011 3:45 pm, edited 1 time in total.
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
Last edited by mdurt on Wed Feb 02, 2011 3:45 pm, edited 1 time in total.
actually, like any program how do i write a macro telling it to open "FILE"
then then pick a choice under 'FILE" and one choice would be to "export to jpg" then the box comes up asking it "file name" ANy_name.jpg and sav as
thats the last command
________
Triumph America
then then pick a choice under 'FILE" and one choice would be to "export to jpg" then the box comes up asking it "file name" ANy_name.jpg and sav as
thats the last command
________
Triumph America
Last edited by mdurt on Wed Feb 02, 2011 3:45 pm, edited 1 time in total.
All menus can be operated by the keyboard. Some people don't realise this. Press the ALT key while in an application with a menu and you'll notice the menu is highlighted. You'll also notice that one of the letters in each menu item is underlined. This is the shortcut key for that menu item. Once you've pressed ALT you can now press this character and that menu item will be enabled.
e.g. the File menu shortcut is always F (99.999% of the time - English versions of windows). So to activate it you would do ALT-F. The File menu will now appear. Each sub menu item will also have an underlined character. Press that key to invoke that menu item.
So, say S is the key for Save as. To invoke Save-As you would do:
ALT-F then S. In Macro Scheduler this can be done thus:
Press ALT
Send>fs
Release ALT
or
Press ALT
Send>f
Release ALT
Send>s
I prefer the first one because although strictly speaking the alt key doesn't have to remain pressed after the F has been sent it is neater and uses less lines of code.
Note; ALWAYS remember to release ALT if you have previously PRESSed it. Same goes for CTRL and SHIFT.
Some menu items often have other keyboard shortcuts. Open a menu and you'll see on the right keyboard shorcuts for some of the items. You can also send these. CTRL-S is often used for Save, so you could do:
Press CTRL
Send>s
Release CTRL
Look closely at the application you want to automate. Try pressing ALT and you'll see the short cut keys become underlined. Now you know what to send to automate it.
I would advise you read the beginners guide in the help file as it explains this approach and walks you through a simple example. Once you've done that it will become easier to automate any other application.
e.g. the File menu shortcut is always F (99.999% of the time - English versions of windows). So to activate it you would do ALT-F. The File menu will now appear. Each sub menu item will also have an underlined character. Press that key to invoke that menu item.
So, say S is the key for Save as. To invoke Save-As you would do:
ALT-F then S. In Macro Scheduler this can be done thus:
Press ALT
Send>fs
Release ALT
or
Press ALT
Send>f
Release ALT
Send>s
I prefer the first one because although strictly speaking the alt key doesn't have to remain pressed after the F has been sent it is neater and uses less lines of code.
Note; ALWAYS remember to release ALT if you have previously PRESSed it. Same goes for CTRL and SHIFT.
Some menu items often have other keyboard shortcuts. Open a menu and you'll see on the right keyboard shorcuts for some of the items. You can also send these. CTRL-S is often used for Save, so you could do:
Press CTRL
Send>s
Release CTRL
Look closely at the application you want to automate. Try pressing ALT and you'll see the short cut keys become underlined. Now you know what to send to automate it.
I would advise you read the beginners guide in the help file as it explains this approach and walks you through a simple example. Once you've done that it will become easier to automate any other application.
MJT Net Support
[email protected]
[email protected]