AutoIt Forums: Autoit Wrappers - AutoIt Forums

Jump to content

  • (15 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Autoit Wrappers Great additions to your script Rate Topic: ***** 17 Votes

#1 User is offline   Valuater 

  • ”Hobbyist” a passionate enjoyable activist
  • Icon
  • Group: AutoIt MVPs(MVP)
  • Posts: 10,729
  • Joined: 28-February 05
  • Location:Riverside, CA USA

Post icon  Posted 22 December 2005 - 08:39 AM

Page 1 - 12/21/2005
****************************************************************************

* = Newest * = Newer

Program Security

Protect and get Paid

30 Day Trial
Password Encryptor
UUID Generator
Decompile to Desktop

Delete Running Program
Notify and Name of any New Process Started

Allow only one Window
Add User Accounts
Check File Date to Current Date
Stop Program from Running Twice
Detect if System is Locked
*


Program Animations

Skins for your GUI

GUI Hole - Great!
Animated Gif

GUI Animate Display
Set Mouse Cursor Style
Round GUI Corners
Move A Maximized Window
Detect Window Flashing in TaskBar *
Custom GUI Cursor *


Controls

Get ALL Controls Information
Icon on Button with Text (made easy)
Picture Buttons ( great example )
Moving a Control ( in script )
Control Button by HotKey
If Radio or Checkbox is Checked
Control XP Style for Colors
Get Key State Pressed/Released
Two Tray Menus - Right & Left Click *


Controling Window/GUI

Center Window/GUI on Screen

Center - File Open/Save/Folder Dialog Box
Get Active Window (Title)(Text)
Get Active Window - Executable Path
Change Message Box button text
Move Message Box
Place InputBox OnTop
Run Program in CMD.exe Window with Changed Title.

Examples of using @Comspec
Window Active/Activate by Exe
Get Window Handle by PID

Move any Window - Click & Drag
*
Check if Mouse is over a GUI *



UpDates


Auto-request user to update
Locate Autoit/Beta Directory

Get the Latest Beta


Miscellaneous

File size difference before (au3) and after (exe)...
Re-Start your Program
Run any au3 File from Your Program

Get Wave Sound Volume
Reduce Memory Usage
Voice Read Text
Voice Read Text & Save to wav file
Create a "Quick Launch" Shortcut
Windows - copy with progress
Finding if an Application is Hung
Terminate a Script Right before a User Shuts-Down
Read the Last Line of a Text File
Create a Temporary File Name
OEM to ANSI & Reverse
Open Help file to a desired page

Calculate the distance between 2 points
Charactor Generator - chars (0-9, A-Z)
Get Last Error Message *


Strings and Arrays


Find a String within a String or Array
Regular Expressions to find something in an Array
Sort Arrays based on TRUE Numerical Order, including Decimals
Return Min or Max number from 1 or 2 Arrays

Check(when Exit), if Text is not equal Then, prompt the user to save or not save.
Identify duplicate values in arrays
Unique Array Filter

Remove a Line from a File
String Remove a Line
Remove blank lines from a File
Validate String & Validate IP Address *


Controling Screen/View


Toggle Internet Images On/Off

Draw a line on any Screen/Program
Toggle Monitor On/Off
Swith BGR to RGB Color
Mouse repel - keep mouse away from an area


Time Controls

User/System Idle time
Time to Thousandths of a second
Time Machine #1 - Start (program) in Minutes/seconds/miliseconds
Time Machine #2 - Start (program) in Hours & Minutes
Time Machine #3 - Start (program) on Day & Hour
12 Hour Time converter
Run a timed program daily


add your Favorites too!!

8)

This post has been edited by Valuater: 01 December 2008 - 06:12 PM

0

#2 User is offline   Valuater 

  • ”Hobbyist” a passionate enjoyable activist
  • Icon
  • Group: AutoIt MVPs(MVP)
  • Posts: 10,729
  • Joined: 28-February 05
  • Location:Riverside, CA USA

Posted 22 December 2005 - 09:24 AM

[ code='text' ]    ( ExpandCollapse - Popup )
;Get Wav Sound Volume ; Author gafrost #include <GUIConstants.au3> MsgBox(0,"", _SoundGetWaveVolume()) Func _SoundGetWaveVolume()     Local $WaveVol = -1, $p, $ret     Const $MMSYSERR_NOERROR = 0     $p = DllStructCreate ("dword")     If @error Then         SetError(2)         Return -2     EndIf     $ret = DllCall("winmm.dll", "long", "waveOutGetVolume", "long", -1, "long", DllStructGetPtr ($p))     If ($ret[0] == $MMSYSERR_NOERROR) Then         $WaveVol = Round(Dec(StringRight(Hex(DllStructGetData ($p, 1), 8), 4)) / 0xFFFF * 100)     Else         SetError(1)     EndIf     $Struct=0     Return $WaveVol EndFunc;==>_SoundGetWaveVolume run("sndvol32.exe") WinWait("") ControlSend("Volume Control", "", "msctls_trackbar322", "{PGUP}") sleep(1000) ControlSend("Volume Control", "", "msctls_trackbar322", "{PGUP}") sleep(1000) ControlSend("Volume Control", "", "msctls_trackbar322", "{PGUP}") sleep(1000) ControlSend("Volume Control", "", "msctls_trackbar322", "{PGDN}") sleep(1000) ControlSend("Volume Control", "", "msctls_trackbar322", "{PGDN}") sleep(1000) ControlSend("Volume Control", "", "msctls_trackbar322", "{PGDN}") Global Const $TBM_GETPOS = $TWM_USER Func _GUICtrlSliderGetPos($h_slider)    Local $ret    $ret = DllCall("user32.dll", "int", "SendMessage", "hwnd", $h_slider, "int", $TBM_GETPOS, "int", 0, "int", 0)    Return $ret[0] EndFunc;==>_GUICtrlSliderGetPos  $ret = DllCall("user32.dll", "int", "SendMessage", "hwnd", $h_slider, "int", $TBM_GETPOS, "int", 0, "int", 0)


8)

This post has been edited by Valuater: 22 December 2005 - 09:24 AM

0

#3 User is offline   DaLiMan 

  • Mass Spammer!
  • PipPipPipPip
  • Group: Full Members
  • Posts: 386
  • Joined: 23-April 04
  • Location:The Netherlands

Posted 22 December 2005 - 04:10 PM

View PostValuater, on Dec 22 2005, 08:39 AM, said:

Page 1 - 12/21/2005
****************************************************************************
*******************************************************************************
[ code='text' ]    ( Popup )
;Animate Display *nice* addition ; Author ( under research )

***********************************************************************************


I thought it was Raindancer .... ^_^
http://www.autoitscript.com/forum/index.ph...indpost&p=84102
0

#4 User is offline   Valuater 

  • ”Hobbyist” a passionate enjoyable activist
  • Icon
  • Group: AutoIt MVPs(MVP)
  • Posts: 10,729
  • Joined: 28-February 05
  • Location:Riverside, CA USA

Posted 07 January 2006 - 07:37 AM

[ code='text' ]    ( Popup )
; Center Window on Screen ; Author cdkid and Valuater Func _Middle($win, $txt)     $size = WinGetClientSize($win, $txt)     Local $y = (@DesktopHeight / 2) - ($size[1] / 2)     Local $x = (@DesktopWidth / 2) - ($size[0] / 2)     Return WinMove($win, $txt, $x, $y) EndFunc  ;==>_Middle

0

#5 User is offline   Valuater 

  • ”Hobbyist” a passionate enjoyable activist
  • Icon
  • Group: AutoIt MVPs(MVP)
  • Posts: 10,729
  • Joined: 28-February 05
  • Location:Riverside, CA USA

Posted 07 January 2006 - 09:42 AM

[ code='text' ]    ( ExpandCollapse - Popup )
; Center - File Open/Save/Folder Dialog Box ;Author - odklizec, MHz, Danny35d    If StringInStr($cmdlineraw, '/MoveWin') Then      $cmdlineraw = StringSplit(StringMid($cmdlineraw, StringInStr($cmdlineraw, '/MoveWin')), ':')      While 1          Select          Case WinExists($cmdlineraw[2])              $size=WinGetPos ($cmdlineraw[2])              $PosX=@DesktopWidth/2 - $size[2]/2              $PosY=@DesktopHeight/2 - $size[3]/2              WinMove($cmdlineraw[2], "", $PosX, $PosY)              WinActivate($cmdlineraw[2])              ExitLoop          EndSelect          Sleep(50)      WEnd      Exit  EndIf    $PID = _FindBrowseWin('Open file Dialog Box')  $Read_File = FileOpenDialog ( "Open file Dialog Box", @ScriptDir & "\", "AutoIt Files (*.au3)",3,@ScriptFullPath)  ProcessClose($PID)  $PID = _FindBrowseWin('Save file Dialog Box')  $Save_File = FileSaveDialog( "Save file Dialog Box", @ScriptDir, "Scripts (*.aut;*.au3)", 3)  ProcessClose($PID)  $PID = _FindBrowseWin('Browse for Folder')  FileSelectFolder("Choose a folder with plugins..", "","4","c:\")  ProcessClose($PID)    Func _FindBrowseWin($sTitle)      If @Compiled Then          Return(Run(@ScriptFullPath & ' /MoveWin:' & $sTitle))      Else          Return(Run(@AutoItExe & ' "' & @ScriptFullPath & '" /MoveWin:' & $sTitle))      EndIf  EndFunc


View PostCyberSlug, on Mar 17 2006, 05:46 AM, said:

SvenP posted a COM- based method here that happens to open up centered

Important Note: Rename CreateObject to ObjCreate so that the code runs under the current beta version of AutoIt.


Another ...

[ autoIt ]    ( ExpandCollapse - Popup )
; Author /dev/null $message = "Hold down Ctrl or Shift to choose multiple files." $filename = _MoveFileOpenDialog($message,300,300) $var = FileOpenDialog($message, @WindowsDir & "\", "Images (*.jpg;*.bmp)", 1 + 4 ) If @error Then     MsgBox(4096,"","No File(s) chosen") Else     $var = StringReplace($var, "|", @CRLF)     MsgBox(4096,"","You chose " & $var) EndIf FileDelete($filename) func _MoveFileOpenDialog($title,$posx,$posy)     Local $temp = EnvGet("temp")     Local $filename = $temp & "\move_file_open_dialog.au3"         Local $script = 'Global $title = "' & $title & '"' & @CRLF     $script &= 'Global $pos_x = ' & $posx & @CRLF     $script &= 'Global $pos_y = ' & $posy & @CRLF     $script &= 'AdlibEnable("_Move",10)' & @CRLF     $script &= 'while 1' & @CRLF     $script &= '    sleep(1000)' & @CRLF     $script &= 'wend' & @CRLF     $script &= 'Func _Move()' & @CRLF     $script &= '   if (WinActive($title)) Then' & @CRLF     $script &= '      WinMove($title,"",$pos_x,$pos_y)' & @CRLF     $script &= '      Exit' & @CRLF     $script &= '   EndIf' & @CRLF     $script &= 'EndFunc' & @CRLF     FileWrite($filename,$script)     ;MsgBox(0,"",$script & @CRLF & $filename)     Run(@AutoItExe & " /AutoIt3ExecuteScript " & $filename)     sleep(250)     Return $filename EndFunc


8)

This post has been edited by Valuater: 20 June 2007 - 03:38 AM

0

#6 User is offline   Valuater 

  • ”Hobbyist” a passionate enjoyable activist
  • Icon
  • Group: AutoIt MVPs(MVP)
  • Posts: 10,729
  • Joined: 28-February 05
  • Location:Riverside, CA USA

Posted 08 January 2006 - 10:24 PM

[ code='text' ]    ( Popup )
; Reduce memory usage ; Author wOuter ( mostly ) Func _ReduceMemory($i_PID = -1)         If $i_PID <> -1 Then         Local $ai_Handle = DllCall("kernel32.dll", 'int', 'OpenProcess', 'int', 0x1f0fff, 'int', False, 'int', $i_PID)         Local $ai_Return = DllCall("psapi.dll", 'int', 'EmptyWorkingSet', 'long', $ai_Handle[0])         DllCall('kernel32.dll', 'int', 'CloseHandle', 'int', $ai_Handle[0])     Else         Local $ai_Return = DllCall("psapi.dll", 'int', 'EmptyWorkingSet', 'long', -1)     EndIf         Return $ai_Return[0] EndFunc;==> _ReduceMemory()

0

#7 User is offline   Valuater 

  • ”Hobbyist” a passionate enjoyable activist
  • Icon
  • Group: AutoIt MVPs(MVP)
  • Posts: 10,729
  • Joined: 28-February 05
  • Location:Riverside, CA USA

Posted 12 January 2006 - 07:40 PM

[ code='text' ]    ( Popup )
; find a string within a string ; Author - This-is-me Func stringbetween($str, $start, $end)     $pos = StringInStr($str, $start)     If Not @error Then         $str = StringTrimLeft($str, $pos + StringLen($start) - 1)         $pos = StringInStr($str, $end)         If Not @error Then             $str = StringTrimRight($str, StringLen($str) - $pos + 1)             Return $str         EndIf     EndIf EndFunc


*************************************************************************

[ code='text' ]    ( Popup )
; find a string in an array ; Aurhor - SmOke_N Func _ReturnStringArraySearch(ByRef $n_Array, $f_FindString)     For $i = 1 To UBound($n_Array) - 1         If StringInStr($n_Array[$i], $f_FindString) Then Return $n_Array[$i]     Next EndFunc


8)

This post has been edited by Valuater: 13 January 2006 - 12:27 AM

0

#8 User is offline   SmOke_N 

  • It's not what you know .... It's what you can prove!
  • Icon
  • Group: Moderators(Mod)
  • Posts: 14,970
  • Joined: 21-February 05
  • Location:UNITED STATES

Posted 12 January 2006 - 07:48 PM

Val!!... StringBetween()... I would have never hand looked at google if I hadn't been asked to help with that very subject a while back until you posted that.

This-Is-Me link: http://www.autoitscript.com/forum/index.ph...indpost&p=37172

Link to where we did several different ways:
http://www.autoitscript.com/forum/index.ph...718&mode=linear

The one I use (w0uter):
http://www.autoitscript.com/forum/index.ph...ndpost&p=136319

This post has been edited by SmOke_N: 13 January 2006 - 05:21 PM

0

#9 User is offline   Valuater 

  • ”Hobbyist” a passionate enjoyable activist
  • Icon
  • Group: AutoIt MVPs(MVP)
  • Posts: 10,729
  • Joined: 28-February 05
  • Location:Riverside, CA USA

Posted 14 January 2006 - 12:49 AM

[ code='text' ]    ( Popup )
; voice read text ; Author erifash ( and others ) _TalkOBJ("Speak this line of text") Func _TalkOBJ($s_text)     Local $o_speech     $o_speech = ObjCreate("SAPI.SpVoice")     $o_speech.Speak ($s_text)     $o_speech = "" EndFunc ;==>_TalkOBJ


8)

This post has been edited by Valuater: 14 January 2006 - 12:58 AM

0

#10 User is offline   WhiteCrow 

  • Member
  • Pip
  • Group: Full Members
  • Posts: 54
  • Joined: 16-May 05

Posted 14 January 2006 - 02:06 AM

I use this one quite often :)

Use regular expressions in an array.

[ code='text' ]    ( Popup )
; ; use regular expressions to find something in an array ; Author: WhiteCrow (but anyone couldve made it) ; Func _FindAny($start, $End, $s_array,  $reg_expression) For $Pos = $start To $End         $ip_regex=StringRegExp ( $s_array[$pos], $reg_expression, 1 ) if @error=0 then     If @extended=1 Then         Return $Pos         EndIf   endif Next Return -1 EndFunc


This just returns the position, i ussualy do something with $ip_regex to ;)

This post has been edited by WhiteCrow: 14 January 2006 - 02:13 AM

0

#11 User is offline   Valuater 

  • ”Hobbyist” a passionate enjoyable activist
  • Icon
  • Group: AutoIt MVPs(MVP)
  • Posts: 10,729
  • Joined: 28-February 05
  • Location:Riverside, CA USA

Posted 14 January 2006 - 08:41 PM

[ code='text' ]    ( Popup )
; Notify and Name of any new process started ; Author Valuater Dim $list = ProcessList() AdlibEnable("chk_Process") While 1     Sleep(20) WEnd Func chk_Process()     $list2 = ProcessList()     If $list2[0][0] > $list[0][0] Then         MsgBox(262208,"New Process", $list2[$list2[0][0]][0] & "  ")         $list[0][0] = $list2[0][0]     Else         $list[0][0] = $list2[0][0]    ; if you close processes - this resets the list     EndIf EndFunc


8)
0

#12 User is offline   Angelia 

  • Member
  • Pip
  • Group: Full Members
  • Posts: 19
  • Joined: 09-November 05
  • Location:NC

Posted 18 January 2006 - 08:15 PM

View PostValuater, on Jan 8 2006, 04:24 PM, said:

[ code='text' ]    ( Popup )
; Reduce memory usage ; Author wOuter ( mostly ) Func _ReduceMemory($i_PID = -1)         If $i_PID <> -1 Then         Local $ai_Handle = DllCall("kernel32.dll", 'int', 'OpenProcess', 'int', 0x1f0fff, 'int', False, 'int', $i_PID)         Local $ai_Return = DllCall("psapi.dll", 'int', 'EmptyWorkingSet', 'long', $ai_Handle[0])         DllCall('kernel32.dll', 'int', 'CloseHandle', 'int', $ai_Handle[0])     Else         Local $ai_Return = DllCall("psapi.dll", 'int', 'EmptyWorkingSet', 'long', -1)     EndIf         Return $ai_Return[0] EndFunc;==> _ReduceMemory()



dumb question... but how does this work???
0

#13 User is offline   Valuater 

  • ”Hobbyist” a passionate enjoyable activist
  • Icon
  • Group: AutoIt MVPs(MVP)
  • Posts: 10,729
  • Joined: 28-February 05
  • Location:Riverside, CA USA

Posted 06 February 2006 - 10:03 AM

[ code='text' ]    ( ExpandCollapse - Popup )
; Locate Autoit/Beta Directory ; Author - MHz MsgBox(0, 'AutoIt Directory returned', _DirAutoIt('Beta')) Func _DirAutoIt($version = 'Prod')     Switch $version         Case 'Prod'             Switch True                 Case FileExists(@ProgramFilesDir & '\AutoIt3')                     Return @ProgramFilesDir & '\AutoIt3'                 Case RegRead('HKLM\SOFTWARE\AutoIt v3\AutoIt', 'InstallDir')                     Return RegRead('HKLM\SOFTWARE\AutoIt v3\AutoIt', 'InstallDir')             EndSwitch         Case 'Beta'             Switch True                 Case FileExists(@ProgramFilesDir & '\AutoIt3\Beta')                     Return @ProgramFilesDir & '\AutoIt3\Beta'                 Case RegRead('HKLM\SOFTWARE\AutoIt v3\AutoIt', 'betaInstallDir')                     Return RegRead('HKLM\SOFTWARE\AutoIt v3\AutoIt', 'betaInstallDir')             EndSwitch     EndSwitch     If $version = 'Prod' Then $version = 'Public Release'       Return FileSelectFolder('Locate AutoIt Directory  (' & $version & ' version)', @HomeDrive) EndFunc


thx
8)

This post has been edited by Valuater: 06 February 2006 - 10:04 AM

0

#14 User is offline   Valuater 

  • ”Hobbyist” a passionate enjoyable activist
  • Icon
  • Group: AutoIt MVPs(MVP)
  • Posts: 10,729
  • Joined: 28-February 05
  • Location:Riverside, CA USA

Posted 06 February 2006 - 10:07 AM

[ code='text' ]    ( Popup )
; Get the Latest Beta ; Author - Valuater #include <INet.au3> $NBeta = _INetGetSource('http://www.autoitscript.com/autoit3/files/beta/autoit/') For $x = 500 to 104 Step -1     If StringInStr( $NBeta, "autoit-v3.1.1."& $x & "-beta-Setup.exe") Then         $NBeta = "autoit-v3.1.1."& $x & "-beta-Setup.exe"         ExitLoop     EndIf     If $x <= 105 Then         MsgBox(262208, "Beta Error", "No File Found.   ", 5)         Return     EndIf Next MsgBox(0,'',$NBeta) ; use InetGet()


8)
0

#15 User is offline   ning 

  • Member
  • Pip
  • Group: Full Members
  • Posts: 89
  • Joined: 08-June 05

Posted 06 February 2006 - 03:14 PM

The Animate Display thing is an absolute stroke of genius! I presume the '1000' in each call is the time to take. Thanks a lot - that's going in my slideshow program.

ben
0

#16 User is offline   leecole 

  • Member
  • Pip
  • Group: Full Members
  • Posts: 62
  • Joined: 26-June 05

Posted 06 February 2006 - 08:03 PM

View PostValuater, on Jan 13 2006, 03:49 PM, said:

[ code='text' ]    ( Popup )
; voice read text ; Author erifash ( and others ) _TalkOBJ("Speak this line of text") Func _TalkOBJ($s_text)     Local $o_speech     $o_speech = ObjCreate("SAPI.SpVoice")     $o_speech.Speak ($s_text)     $o_speech = "" EndFunc;==>_TalkOBJ


8)

I use _Talkobj() in a lot of apps, that often attempt to speak at the same time, and I have had to use the following to avoid an AutoIt error: Checking @error or for $o_speech=0 did not work, but this does.

Do
Sleep(100)
Local $o_speech = ObjCreate ("SAPI.SpVoice")
Until IsObj ($o_speech)
0

#17 User is offline   w0uter 

  • resreveR nA
  • PipPipPipPipPipPipPip
  • Group: Full Members
  • Posts: 2,262
  • Joined: 11-January 05
  • Location:The Netherlands

Posted 06 February 2006 - 11:01 PM

Never use IsObj to check for sucessfull creation.

Its in the helpfile!
0

#18 User is offline   theguy0000 

  • Benevolent Dictator
  • PipPipPipPipPipPipPip
  • Group: Full Members
  • Posts: 3,748
  • Joined: 19-August 05
  • Location:Colorado, USA

Posted 07 February 2006 - 12:59 AM

View PostWhiteCrow, on Jan 13 2006, 06:06 PM, said:

I use this one quite often :)

Use regular expressions in an array.

[ code='text' ]    ( Popup )
; ; use regular expressions to find something in an array ; Author: WhiteCrow (but anyone couldve made it) ; Func _FindAny($start, $End, $s_array,  $reg_expression) For $Pos = $start To $End         $ip_regex=StringRegExp ( $s_array[$pos], $reg_expression, 1 ) if @error=0 then     If @extended=1 Then         Return $Pos         EndIf   endif Next Return -1 EndFunc


This just returns the position, i ussualy do something with $ip_regex to ;)

now, that was useful. I managed to make an _ArraySearchWithWildcards with it :)

edit: ok, _ArraySearchWithWildcrads didnt work... <_<

This post has been edited by theguy0000: 07 February 2006 - 03:34 AM

0

#19 User is offline   Valuater 

  • ”Hobbyist” a passionate enjoyable activist
  • Icon
  • Group: AutoIt MVPs(MVP)
  • Posts: 10,729
  • Joined: 28-February 05
  • Location:Riverside, CA USA

Posted 17 February 2006 - 05:55 AM

[ code='text' ]    ( ExpandCollapse - Popup )
; ArraySortNum(ByRef $nArray, $Ascending = 0, $Start = 1) ; Sorts arrays based on TRUE Numerical Order, including Decimals : Author - SmOke_N #include <Array.au3> ; Example sort Array created with StringSplit. $avArray = StringSplit("6,8,10,4,2,13,12,129,106.1,106.4",",") ArraySortNum($avArray, 1) _ArrayDisplay( $avArray, "Sorted Desc starting at 1" ) Func ArraySortNum(ByRef $nArray, $Ascending = 0, $Start = 1)     For $i = $Start To UBound($nArray) - 2         Local $SE = $i         If $Ascending = 0 Then             For $x = $i To UBound($nArray) - 1                 If Number($nArray[$SE]) < Number($nArray[$x]) Then $SE = $x             Next         Else             For $x = $i To UBound($nArray) - 1                 If Number($nArray[$SE]) > Number($nArray[$x]) Then $SE = $x             Next         EndIf         Local $HLD = $nArray[$i]         $nArray[$i] = $nArray[$SE]         $nArray[$SE] = $HLD     Next EndFunc


thanks... SmOke

OR.................

[ code='text' ]    ( Popup )
; Author JdeB #include <Array.au3> $result = StringSplit(".125,555,011,6,72,-333", ",") For $x = 1 To UBound($result) -1     $result[$x] = Number($result[$x]) Next _ArraySort($result, 1, 1) _ArrayDisplay($result,"list")


Thanks... JdeB

8)

This post has been edited by Valuater: 14 April 2006 - 05:43 PM

0

#20 User is offline   Valuater 

  • ”Hobbyist” a passionate enjoyable activist
  • Icon
  • Group: AutoIt MVPs(MVP)
  • Posts: 10,729
  • Joined: 28-February 05
  • Location:Riverside, CA USA

Posted 24 February 2006 - 10:32 PM

[ code='text' ]    ( Popup )
; create a "Quick Launch" Shortcut ; Author CyberSlug ; Tested on Windows XP $userQuickLaunchPath = @AppDataDir & "\Microsoft\Internet Explorer\Quick Launch" $globalQuickLaunchPath = @AppDataCommonDir & "\Microsoft\Internet Explorer\Quick Launch" $shortcutTarget = @WindowsDir & "\notepad.exe";pick whatever you want FileCreateshortcut($shortcutTarget, $userQuickLaunchPath & "\Notepad.lnk")


8)
0

  • (15 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users