script to "save as"

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
mdurt
Junior Coder
Posts: 24
Joined: Mon Oct 11, 2004 11:41 pm

script to "save as"

Post by mdurt » Mon Nov 22, 2004 3:54 pm

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
Last edited by mdurt on Wed Feb 02, 2011 3:45 pm, edited 1 time in total.

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 » Mon Nov 22, 2004 4:12 pm

Check with Tech support for that program.

OR

Press ALT-PrtScrn.
Open Paint.
File, New.
Edit, Paste.
Cut/Crop as needed.
File, Save As *.jpg.
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!

mdurt
Junior Coder
Posts: 24
Joined: Mon Oct 11, 2004 11:41 pm

Post by mdurt » Mon Nov 29, 2004 3:42 pm

where do i find tech support on the page
________
medical marijuana dispensaries
Last edited by mdurt on Wed Feb 02, 2011 3:45 pm, edited 1 time in total.

mdurt
Junior Coder
Posts: 24
Joined: Mon Oct 11, 2004 11:41 pm

Post by mdurt » Mon Nov 29, 2004 4:11 pm

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
Last edited by mdurt on Wed Feb 02, 2011 3:45 pm, edited 1 time in total.

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Post by support » Mon Nov 29, 2004 4:46 pm

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.
MJT Net Support
[email protected]

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