Save as JPEG Topic is solved

Get help with using AutoHotkey and its commands and hotkeys

Save as JPEG

05 Nov 2014, 23:35

I am trying to save publisher files as JPEGs and would like to create a one stroke shortcut to save as JPEG instead of pulling down the file, clicking save as, and then dropping down the menu of file types to select JPEG. What is the proper code to write for this?

Re: Save as JPEG

06 Nov 2014, 09:41

I am working in microsoft publisher 2010

Re: Save as JPEG  Topic is solved

06 Nov 2014, 10:36

You could try ... ctItem.htm but that probably won't work. As it is MS application it might be able to record a VB Script Macro in Publisher itself to do it and assign a hotkey to it - if that won't work you could try simple send method:

Just write down the KEYSTROKES you need to type to save the file as JPG, for example

- Alt-f to open the file menu
- s to select the save as submenu
- alt-t to select the filetype
- Down X times to select JPG or just the J key 3 times
- Enter to save
- send a file name + Enter again

If that works, use the to send those keystrokes.
Posts: 1760
Joined: 29 Sep 2013, 17:11

Re: Save as JPEG

06 Nov 2014, 15:28

Try this.
When the user presses F1 in Publisher, they will be prompted to enter a name of a file to SaveAs .jpg.

Code: [Select all] [Expand] [Download] (Script.ahk)GeSHi © Codebox Plus

Return to “Ask For Help”

Who is online

Users browsing this forum: Chadderz94, Flipeador, inseption86 and 42 guests