Ibrahim Posted February 9, 2008 Author Share Posted February 9, 2008 come on bert i don't need an english lessons i just need to get started and chech this script by Someone i don't remember his name but was from the examples section----and it creates a right click item for shortcuts to get it's target And why are u answering for Smashly???????? #NoTrayIcon $s_HKCRlnk = RegRead('HKCR\*', '') $slnkFile = RegRead('HKCR\' & $s_HKCRlnk & '\shell\Hide', '') If @error Then $i_Res = MsgBox(4+32+256, 'Hide', 'Add "Hide" item to shortcut context menus?') If $i_Res = 6 Then If Not RegWrite('HKCR\' & $s_HKCRlnk & '\shell\Hide', '', 'REG_SZ', '&Hide') Then MsgBox(16, 'Error', 'Error writing to registry') Exit EndIf RegWrite('HKCR\' & $s_HKCRlnk & '\shell\Hide\Command', '', 'REG_SZ', '"' & @ScriptFullPath & '" "%1"') EndIf Else $i_Res = MsgBox(4+32+256, 'Hide', 'Remove "Hide" item from shortcut context menus?') If $i_Res = 6 Then RegDelete('HKCR\' & $s_HKCRlnk & '\shell\Hide') EndIf EndIf $a_ShortcutInfo = FileGetShortcut($CmdLine[1]) If @error Then MsgBox(16, 'Error', 'Invalid shortcut file.') Exit EndIf If $a_ShortcutInfo[0] <> '' Then FileSetAttrib (Chr(34) & $CmdLine[1] & Chr(34),"+H") Else MsgBox(16, 'Error', 'Could not read shortcut file.') [font="Arial Black"]My Stuff[/font]UPnP Port Forwarding Final.GateWay InformationThe GateWay Watcher(detect speeofing)Rightclick Any file --->Hide/UnhideThe Tip WatcherA PanelShare WatcherThe Arp WatcherThe Online License Checker Link to comment Share on other sites More sharing options...
BrettF Posted February 9, 2008 Share Posted February 9, 2008 To do what you requested in post 16 is not currently possible with AutoIt. There was a reason I asked you to look up a compiled language. Because AutoIt is an interpreted language. Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
Ibrahim Posted February 10, 2008 Author Share Posted February 10, 2008 CHECK POST 21 PLEASE and tell me what u think,remember to put endif at the end f the script [font="Arial Black"]My Stuff[/font]UPnP Port Forwarding Final.GateWay InformationThe GateWay Watcher(detect speeofing)Rightclick Any file --->Hide/UnhideThe Tip WatcherA PanelShare WatcherThe Arp WatcherThe Online License Checker Link to comment Share on other sites More sharing options...
Richard Robertson Posted February 10, 2008 Share Posted February 10, 2008 You want to add something to the menu? Look up the registry codes. It is fully described somewhere in the MSDN. If you want to add a menu set that dynamically changes depending on the file? You need to write a SHELL EXTENSION. This must be COMPILED and contain specific functions to be exported. Then you have to install it to the operating system. Link to comment Share on other sites More sharing options...
Ibrahim Posted February 11, 2008 Author Share Posted February 11, 2008 thanks guys i think I'm gonna try some things first thanks all for ur help [font="Arial Black"]My Stuff[/font]UPnP Port Forwarding Final.GateWay InformationThe GateWay Watcher(detect speeofing)Rightclick Any file --->Hide/UnhideThe Tip WatcherA PanelShare WatcherThe Arp WatcherThe Online License Checker Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now