Changeset 8549


Ignore:
Timestamp:
10/03/09 02:48:17 (2 years ago)
Author:
azawawi
Message:

[Padre] --desktop creates a shortcut on your Windows desktop :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Padre/script/padre

    r8548 r8549  
    7777    if($^O eq 'MSWin32') { 
    7878        require File::Temp; 
    79         my ( $temp, $tempfile ) = File::Temp::tempfile(); 
     79        my ( $temp, $tempfile ) = File::Temp::tempfile(SUFFIX => '.vbs'); 
    8080        print $temp <<'CODE'; 
    8181' Create a Padre shortcut on the current user's desktop  
     
    8787shortcut.WorkingDirectory = "c:\strawberry\perl\bin" 
    8888shortcut.Save 
     89MsgBox "Padre has created a shortcut on your desktop", vbOKOnly Or vbInformation, "Information" 
    8990CODE 
    9091        close $temp; 
Note: See TracChangeset for help on using the changeset viewer.