Gun Power 1.1 apple script installer

Everything about GhRD and its mods.
Post Reply
|DAH|killermouse

Gun Power 1.1 apple script installer

Post by |DAH|killermouse » Wed Feb 18, 2004 11:06 am

hey, i have a question, can anyone tell me how they did this installer :?::?::?::?:
____________________________________________________________

Killermouse

Monoman
Site Admin
Site Admin
Posts: 2662
Joined: Sat Aug 16, 2003 11:26 pm
Location: Planet Bob
Contact:

Post by Monoman » Thu Feb 19, 2004 1:11 am

Do you want to know how to use the installer or how to make the installer?
Kansas....Like Paris Hilton: White, Flat, and Easy to Enter. -- Conan O'Brien

Masturbation is like procrastination, they're both great until you realize your screwing yourself.

MGM Discord | MGM Chat
MGM Sig

|DAH|killermouse

Post by |DAH|killermouse » Thu Feb 19, 2004 3:51 am

i wanna know how to create an installer like this .````:) :mrgreen:
and i cant open this file with apple script, to read how they did it :(
____________________________________________________________
Killermouse

Monoman
Site Admin
Site Admin
Posts: 2662
Joined: Sat Aug 16, 2003 11:26 pm
Location: Planet Bob
Contact:

Post by Monoman » Thu Feb 19, 2004 10:20 am

The reason you can't open it is that I saved the script as an application so AppleScript wouldn't start-up everytime the script was run. Creating it isn't very hard if you know the basic commands for AppleScript. The script just uses multiple move commands to transfer the files between folders.
Kansas....Like Paris Hilton: White, Flat, and Easy to Enter. -- Conan O'Brien

Masturbation is like procrastination, they're both great until you realize your screwing yourself.

MGM Discord | MGM Chat
MGM Sig

|DAH|killermouse

Post by |DAH|killermouse » Fri Feb 20, 2004 2:15 am

I know, and i know too the basics. But can you please send me a text file from this application ? killermouse@gmx.de (its .de beacause i live in germany)...

i love this smiley : .````:) :mrgreen: :mrgreen:
so, do you please send me a text file ?
____________________________________________________________
Killermouse .````:)

Monoman
Site Admin
Site Admin
Posts: 2662
Joined: Sat Aug 16, 2003 11:26 pm
Location: Planet Bob
Contact:

Post by Monoman » Fri Feb 20, 2004 2:14 pm

If you know the basics you should be able to copy the installer. Since I did the installer when I was testing out Applescript everything is very basic. I only use 4 commands: set, move, make, and display. I will write a small sample of what the installer uses. Below is everything I used in the installer except for the set command, set is only used if you are declaring a variable which I didn't need for the code below.

Code: Select all

tell application "Finder"
activate

make new folder at desktop

move folder "untitled folder" to trash

display dialog "The folder has been moved to the Trash."

end tell
Kansas....Like Paris Hilton: White, Flat, and Easy to Enter. -- Conan O'Brien

Masturbation is like procrastination, they're both great until you realize your screwing yourself.

MGM Discord | MGM Chat
MGM Sig

|DAH|killermouse

Post by |DAH|killermouse » Sun Feb 22, 2004 2:22 pm

lol ok, but how did you that like he show you the ghost recon demo folder and you place the files in ghost recon demo data/Mods/Origmiss/...
??? .````:) :mrgreen:
____________________________________________________________
Killermouse \ :) /

|DAH|killermouse

Post by |DAH|killermouse » Sun Feb 22, 2004 2:24 pm

lol, i got an great idea... you just send me the file in a formated text to :
killermouse@gmx.de ok ? :mrgreen: :mrgreen: :mrgreen: (great idea, dont you think ? :mrgreen:)
____________________________________________________________
Killermouse \ :) /

Monoman
Site Admin
Site Admin
Posts: 2662
Joined: Sat Aug 16, 2003 11:26 pm
Location: Planet Bob
Contact:

Post by Monoman » Sun Feb 22, 2004 6:44 pm

To choose the folder, just use that command.

Code: Select all

choose folder
The above code will bring up the prompt screen to have the user choose a folder.
Kansas....Like Paris Hilton: White, Flat, and Easy to Enter. -- Conan O'Brien

Masturbation is like procrastination, they're both great until you realize your screwing yourself.

MGM Discord | MGM Chat
MGM Sig

|DAH|killermouse

Post by |DAH|killermouse » Mon Feb 23, 2004 5:02 am

... LOL i know !!! but i dont know how to do that : the user select the folder Ghost Recon Demo Data and you place the files in Ghost Recon Demo Data/Mods/Origmiss... dont you understand me :?: :?: :?: :mrgreen: i just wanna know this :mrgreen: nothing else...
____________________________________________________________
Killermouse \ :) / ----)

Monoman
Site Admin
Site Admin
Posts: 2662
Joined: Sat Aug 16, 2003 11:26 pm
Location: Planet Bob
Contact:

Post by Monoman » Mon Feb 23, 2004 1:09 pm

If you combine all of the commands I have posted you would be able to do exactly what you want. Here are the steps needed to make an installer.

1. Choose the folder to install to.
2. Choose the folder that contains the files you want to install.
3. Move the files to the install folder.

Now I will write which command goes with which step.

1. Choose Folder command. You will need to use the Set command to store the folder's location.
2. Exactly the same as Step 1.
3. The Move command will transfer the files. You will use your stored folder location from steps 1 and 2 to move the files to the correct folders.
Kansas....Like Paris Hilton: White, Flat, and Easy to Enter. -- Conan O'Brien

Masturbation is like procrastination, they're both great until you realize your screwing yourself.

MGM Discord | MGM Chat
MGM Sig

|DAH|killermouse

Post by |DAH|killermouse » Wed Feb 25, 2004 1:18 am

...FORGET IT !!!! now i have already an installer... your help wasnt very good... :evil: :evil: :evil:

Monoman
Site Admin
Site Admin
Posts: 2662
Joined: Sat Aug 16, 2003 11:26 pm
Location: Planet Bob
Contact:

Post by Monoman » Wed Feb 25, 2004 10:18 am

You said you knew the basics of AppleScript. Also, I wasn't going to give the whole code to the installer I made. If you would of actually went over the code that I posted you would of been able to build the exact same installer I built. I doubt you know anything about AppleScript, which is the reason you had no idea what I was talking about when I posted the code.
Kansas....Like Paris Hilton: White, Flat, and Easy to Enter. -- Conan O'Brien

Masturbation is like procrastination, they're both great until you realize your screwing yourself.

MGM Discord | MGM Chat
MGM Sig

|DAH|killermouse

Post by |DAH|killermouse » Thu Feb 26, 2004 8:58 am

Man, you dont understand me, i just wanted that you just fucking send me the installer in a text formate to killermouse@gmx.de !!! but you just said some noob shit... i know more then only the basics of apple script... i readed the fucking guide and 2 books !!! but i just wanna have this fucking damn installer in a text format !!! :ass: :ass: :ass:

Monoman
Site Admin
Site Admin
Posts: 2662
Joined: Sat Aug 16, 2003 11:26 pm
Location: Planet Bob
Contact:

Post by Monoman » Thu Feb 26, 2004 9:17 am

If you really do know more than the basics then you should of been able to tell exactly what commands were being used and how to make the installer yourself.
Kansas....Like Paris Hilton: White, Flat, and Easy to Enter. -- Conan O'Brien

Masturbation is like procrastination, they're both great until you realize your screwing yourself.

MGM Discord | MGM Chat
MGM Sig

Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests