PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #21 (permalink)  
Old 04-10-2010, 05:17 AM
codybear's Avatar
VIP Member
Offline
Pocket PC: HTC TouchPro2 CDMA
Carrier: Alltel (Verizon)
Location: Arizona
 
Join Date: Dec 2008
Posts: 1,863
Reputation: 2145
codybear is a VIPcodybear is a VIPcodybear is a VIPcodybear is a VIPcodybear is a VIPcodybear is a VIPcodybear is a VIPcodybear is a VIPcodybear is a VIPcodybear is a VIPcodybear is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Cab Making

You could use autohotkeyce to create an install file basically.
AHKCE = 100 times more powerful than mortscript, and its still in beta!!

You would only need to do something along the following lines:
Code:
IfExist file you want to delete here, look at autohotkey help file for syntax
   FileDelete, again, look at autohotkey help file for syntax

FileInstall, use this to tell the script what to install, and where. 

Exit
Then, when you use the correct syntax for fileinstall, and compile the script (which can be done right on your device), it'll actually include the files to be installed in that exe that is created.


Edit: you can also look in the documentation section of autohotkey.com for syntax.
Search the site for autohotkeyce and you'll find the thread with the port.
__________________
I spend most of my time at MobileUnderground.
(Now offering free FTP space to Developers & ROM Chefs willing to support their product at M.U. - Exclusivity not required! Also the home of the original Chefs' Corner, Cab Central, and more!)
My wm6.5 Vogue FAQ (Soon to be at M.U.)
Reply With Quote
This post has been thanked 1 times.
  #22 (permalink)  
Old 04-12-2010, 01:07 AM
sebo's Avatar
Regular 'Geeker
Offline
Pocket PC: TP2
Carrier: Sprint
 
Join Date: Feb 2008
Posts: 463
Reputation: 1644
sebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on rep
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Cab Making

Quote:
Originally Posted by DomSim View Post
glade to help! curious though, why do you want to get rid of that file each time?
i think the reason is it gets you "free" navigation
__________________
the internet is FREE..
search and you shall find..
Reply With Quote
  #23 (permalink)  
Old 04-12-2010, 10:45 AM
DomSim's Avatar
Halfway to VIP Status
Offline
Pocket PC: HTC Touch Pro2
Carrier: Sprint
 
Join Date: Nov 2008
Posts: 735
Reputation: 1960
DomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on rep
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Cab Making

^ oh, oops lol. im aiding and abetting..
Reply With Quote
  #24 (permalink)  
Old 04-12-2010, 04:05 PM
sebo's Avatar
Regular 'Geeker
Offline
Pocket PC: TP2
Carrier: Sprint
 
Join Date: Feb 2008
Posts: 463
Reputation: 1644
sebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on repsebo is halfway to VIP status based on rep
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Cab Making

i am getting unsuccessful error when trying to move a .lnk from one directory to another, says due to permissions.. so i checked the MS site and it says use "RemoveAttributes" the .lnk is a system file so i added "S" and "H" (just in case it's hidden).

Code:
<characteristic type="FileOperation">
    <characteristic type="\Windows\Start Menu\Programs\E-mail.lnk">
        <characteristic type="Move">
            <parm name="Source" value="\Windows\Start Menu\Programs\Messaging\E-mail.lnk" translation="install" />
            <parm name="RemoveAttributes" value="H" />
            <parm name="RemoveAttributes" value="S" />
        </characteristic>
    </characteristic>
</characteristic>
also tried one line for attributes:
Code:
<parm name="RemoveAttributes" value="S,H" />
same issue..

edit: actually i can delete the .lnk file but mysteriously i can't move or copy it from start menu\programs to start menu\programs\messaging, strange..

Last edited by sebo; 04-12-2010 at 05:28 PM.
Reply With Quote
  #25 (permalink)  
Old 04-12-2010, 06:24 PM
codybear's Avatar
VIP Member
Offline
Pocket PC: HTC TouchPro2 CDMA
Carrier: Alltel (Verizon)
Location: Arizona
 
Join Date: Dec 2008
Posts: 1,863
Reputation: 2145
codybear is a VIPcodybear is a VIPcodybear is a VIPcodybear is a VIPcodybear is a VIPcodybear is a VIPcodybear is a VIPcodybear is a VIPcodybear is a VIPcodybear is a VIPcodybear is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Cab Making

Quote:
Originally Posted by sebo View Post
i am getting unsuccessful error when trying to move a .lnk from one directory to another, says due to permissions.. so i checked the MS site and it says use "RemoveAttributes" the .lnk is a system file so i added "S" and "H" (just in case it's hidden).

Code:
<characteristic type="FileOperation">
    <characteristic type="\Windows\Start Menu\Programs\E-mail.lnk">
        <characteristic type="Move">
            <parm name="Source" value="\Windows\Start Menu\Programs\Messaging\E-mail.lnk" translation="install" />
            <parm name="RemoveAttributes" value="H" />
            <parm name="RemoveAttributes" value="S" />
        </characteristic>
    </characteristic>
</characteristic>
also tried one line for attributes:
Code:
<parm name="RemoveAttributes" value="S,H" />
same issue..

edit: actually i can delete the .lnk file but mysteriously i can't move or copy it from start menu\programs to start menu\programs\messaging, strange..
Try deleting and recreating it as a workaround.
Reply With Quote
  #26 (permalink)  
Old 04-13-2010, 12:02 AM
DomSim's Avatar
Halfway to VIP Status
Offline
Pocket PC: HTC Touch Pro2
Carrier: Sprint
 
Join Date: Nov 2008
Posts: 735
Reputation: 1960
DomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on repDomSim is halfway to VIP status based on rep
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Cab Making

or just change it in the initflashfiles.dat so it moves to where you want it in the first place.
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 10:54 PM.


Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com