Jump to content











Photo
- - - - -

Hotkey


  • Please log in to reply
7 replies to this topic

#1 DarkPhoeniX

DarkPhoeniX

    Frequent Member

  • Team Reboot
  • 452 posts
  • Location:In the middle of nowhere
  • Interests:Interesting Things
  •  
    South Africa

Posted 16 April 2010 - 09:17 AM

I want to setup a hotkey for a program i made called SnapShot
It's made to take screen shots and save them to a specific file
The program works well i just want to setup the shortcut to run the program wen i pres the hotkeys
what script can i use to do this:
http://www.howtogeek...ff-the-monitor/
can Winbulder 080, vistape even do this?

#2 Galapo

Galapo

    Platinum Member

  • .script developer
  • 3841 posts
  •  
    Australia

Posted 16 April 2010 - 09:52 AM

Well, it's not up to WinBuilder or VistaPE to handle a specify hotkey specification in a project. That's up to the app and/or user wanting that.

Either you'll need to write you own app to register the hotkey combination you desire

http://msdn.microsof.....28VS.85).aspx
http://www.codeproje...hhotkeys01.aspx

or make use of some application that already does this, eg

http://www.rtmenu.co...ter-Hot-Key.htm

Regards,
Galapo.

#3 DarkPhoeniX

DarkPhoeniX

    Frequent Member

  • Team Reboot
  • 452 posts
  • Location:In the middle of nowhere
  • Interests:Interesting Things
  •  
    South Africa

Posted 17 April 2010 - 07:22 AM

Tankx Galapo,but i just thought tat i would just use the standard windows short cut key found when you pres propertys on a shortcut instead of a 3 person app...any way to do this?

#4 Galapo

Galapo

    Platinum Member

  • .script developer
  • 3841 posts
  •  
    Australia

Posted 17 April 2010 - 10:10 AM

I assume that'll involve some registry entry or something. You'll have to use RegShot or similar to monitor what changes occur when setting the required hotkey and then put this into a script.

Regards,
Galapo.

#5 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 17 April 2010 - 11:14 AM

I'm afraid it can't be done with CAPI commands. If i'm wrong someone please correct me.
But in PE1 native commands, it can be done.
Go in WB to 'Basic\Build\Build Model' and press the Help button, to get the full syntax description, for Shortcuts.

;)

#6 DarkPhoeniX

DarkPhoeniX

    Frequent Member

  • Team Reboot
  • 452 posts
  • Location:In the middle of nowhere
  • Interests:Interesting Things
  •  
    South Africa

Posted 17 April 2010 - 11:20 AM

Tankx Galapo,i will try this but i don't know if the shortcuts on a vistape works the same as on a normal vista.cos you cant right click or move it around the desktop.Maybe the functions in vistape is still there though.i will see this weekend and report my findings...on Monday

Thanx for the tip MedEvil i will see if i can find something

#7 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 17 April 2010 - 11:34 AM

Thanx for the tip MedEvil i will see if i can find something

As said, that just works for PE1 projects (XP, Win2k3).
If you want your script to work with VistaPE, it won't help.
Maybe you can use Autoit to create the shortcut on the bootet VistaPE. It works great on XP based projects.

Anyway the Shortcut Hotkeys require to work Explorer as Shell. Just in case. ;)

;)

#8 DarkPhoeniX

DarkPhoeniX

    Frequent Member

  • Team Reboot
  • 452 posts
  • Location:In the middle of nowhere
  • Interests:Interesting Things
  •  
    South Africa

Posted 19 April 2010 - 08:40 AM

Thanx Medevil , i made a .exe to run on the start up, but i will not to put the hotkey on for now..To many conditions to be met.So i thinc it will be called version 1




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users