Help - Search - Members - Calendar
Full Version: ASK For It !
InsanelyMac Forum > InsanelyMac Lounge > The X Labs > X-Scripts
Prasys
Hey guys and gals,


Since this is a new project , I would like your input. Thats right , just say what is your need and we might able to get that working , thus making your life easier. I am focusing on stuff that people do require [Please do not ask me for drivers and stuff like that] such as easy Kernel Updater and stuff like that. That makes our lifes even easier

So if you need something , dont panic , dont run around in circles. Just post it here and I will see if I could help you out with that


Thank you
boo50
hi. i have an PPTP internet connection throught VPN.
and i've made easy script what allow me to auto connect vpn after boot.
here's the code:
  • tell application "Internet Connect"
  • launch -- starts in background
  • try
  • connect
  • end try
  • quit
  • end tell
i make application with this code and just put it in dock and right-click - open at login, and remove it from dock.

i need a script, which will alllow me to reconnect my vpn, when disconnected.
can you help?
Rammjet
What if you left that script in the Dock and click on it. Will it reconnect then?
user2
I would like to see a generic installer that would allow the insertion of kexts specific to your system. For example the kext for your specific network card or audio. I have been playing around with adding packages to my install disk and this would be great. I have no idea how to implement something like this or if it's even possible but I envision something like and installer that you could select "show package contents" and have a user kexts folder that you could drop in all the kexts you wanted to install.
Rammjet
The way the install DVD works, it would be hard to make it simple and elegant for all users, but there might be an ugly approach.

I have been conceiving of an installer for newbies whereby you place files you want installed into a folder and run the install application. It looks at the folder and if it can tell where the file(s) go(es) (like a kext), it backs up the old kext and installs the new one and cleans up whatever (kext caches, permissions, etc). If it can't figure out where to install, it leaves the file in the folder and gives an error message. Alternately, it could ask the user where to put the file.

Now, real install packages run a script after installation called a postflight script. The postflight script could be modified to call my unelegant installer which then installs anything it finds in a particular folder. There would be no GUI involved - if it is in the folder, it gets installed.

A user or another app could open an iso file as read/write, add the command to the postfilight script, add the new install script to the iso in a particular location and add the folder of files to be installed in a particular location. Then save the iso. When the new DVD is run, the regular install takes place and then during the postflight cleanup phase, the other files get installed.
Hagar
that last suggesttion put me in mind of an idea I had a while back.. no idea how feasible, but if it were possible to have multiple kextcaches on the boot DVD, that could be selected by an option at bootup (or better still a menu) this would allow much wider hardware support for booting (& installing from) the DVD..

I have no clue how such a thing would be written, whether it could be integrated into com.Apple.boot.plist or whether it would have to be integrated into the bootsector...
errandwolfe
I don't think this would qualify as a script, but since I see the kernel heavy hitters are here, please I beg of you help us ATI x200 users get the video card working! There is a large user base that has the x200 on their laptops and for most of us we have everything BUT the x200 working. I am sorry but without QE/CI it just isnt a very functional OS. Even simple DVD playback is a major issue.

If there are any of you kings of the kernel out there who would be willing to take up the challenge, PM me and I can point you to all the information we have compiled so far.
NeSuKuN
I need an script/automator that makes safari bid at certain time for a certain item on eBay, possible?
user2
QUOTE(Rammjet @ Dec 12 2006, 03:08 PM) *
The way the install DVD works, it would be hard to make it simple and elegant for all users, but there might be an ugly approach.

I have been conceiving of an installer for newbies whereby you place files you want installed into a folder and run the install application. It looks at the folder and if it can tell where the file(s) go(es) (like a kext), it backs up the old kext and installs the new one and cleans up whatever (kext caches, permissions, etc). If it can't figure out where to install, it leaves the file in the folder and gives an error message. Alternately, it could ask the user where to put the file.

Now, real install packages run a script after installation called a postflight script. The postflight script could be modified to call my unelegant installer which then installs anything it finds in a particular folder. There would be no GUI involved - if it is in the folder, it gets installed.

A user or another app could open an iso file as read/write, add the command to the postfilight script, add the new install script to the iso in a particular location and add the folder of files to be installed in a particular location. Then save the iso. When the new DVD is run, the regular install takes place and then during the postflight cleanup phase, the other files get installed.


I love it.
Rammjet
QUOTE(NeSuKuN @ Dec 12 2006, 11:03 AM) *
I need an script/automator that makes safari bid at certain time for a certain item on eBay, possible?

There are some apps out there to do that function. Maybe they will work, like BidNoble and others - http://pure-mac.com/auctions.html
Kaspers
I require a reforming of the Wiki main page, you can't just browse to several pages, only way to do is the search..
This really needs to be updated to get the full experience of the Wiki.
user2
QUOTE(Rammjet @ Dec 12 2006, 03:08 PM) *
The way the install DVD works, it would be hard to make it simple and elegant for all users, but there might be an ugly approach.

I have been conceiving of an installer for newbies whereby you place files you want installed into a folder and run the install application. It looks at the folder and if it can tell where the file(s) go(es) (like a kext), it backs up the old kext and installs the new one and cleans up whatever (kext caches, permissions, etc). If it can't figure out where to install, it leaves the file in the folder and gives an error message. Alternately, it could ask the user where to put the file.

Now, real install packages run a script after installation called a postflight script. The postflight script could be modified to call my unelegant installer which then installs anything it finds in a particular folder. There would be no GUI involved - if it is in the folder, it gets installed.

A user or another app could open an iso file as read/write, add the command to the postfilight script, add the new install script to the iso in a particular location and add the folder of files to be installed in a particular location. Then save the iso. When the new DVD is run, the regular install takes place and then during the postflight cleanup phase, the other files get installed.


Rammjet could an exsisting installers postflight script be modifeid to add kexts to the install disk and is this something you are currently working on?
Rammjet
Yes, the postflight is only a shell script stored in the Resources folder of the package. It is not even in the compressed archive so it is easy to get to. An app would only have to add a single line to the shell script to call the new script that does the additional installations and cleanup.

I am not currently working on the installer I mentioned. It is a concept I have considered and put it on my list of possible things to do.
boo50
QUOTE
What if you left that script in the Dock and click on it. Will it reconnect then?

if connection established - nothing happen
if it disconnect - sure when i click - it connect again.
Neonkoala
Idea: Homebrew Software update
Description: A custom version of Apple's Software Update for HAckintosh users that uses a server to check for the latest updates (JaS 10.4.8 or new kernel for example) then the software downloads them via an integrated bittorrent client - ease of use to stop people using the official OS updates and hosing their system.

Just an idea... thoughts?
siddharth
can someone teach me how to create packages?
that would be great help....
JaccoH
Ok ok ..

Im asking:

Can someone please make a small tool to enable my Wifi? The card is detected but the radio is off. See this site for some linux code:

http://www.archernar.co.uk/acer_acpi/acer_acpi_main.html

tongue.gif Cant hurt to ask right? tomato.gif
dataslut
QUOTE(JaccoH @ Feb 11 2007, 10:55 AM) *
Ok ok ..

Im asking:

Can someone please make a small tool to enable my Wifi? The card is detected but the radio is off. See this site for some linux code:

http://www.archernar.co.uk/acer_acpi/acer_acpi_main.html

tongue.gif Cant hurt to ask right? tomato.gif


That would be awesome! can someone please port it?!
yoda75
First I'll start by saying that I know very sub-basic stuff about apple scripting. I was wondering if this would work. Would it be possible to write a script as part of the install DVD that could look at your hardware specs and automatically chose the right install packages for you? I was thinking that maybe the script could autorun system profiler and read your specs (can scripts read?) and then choose custom install items based on what system profiler said. Is this possible? If so, how hard would it be to integrate it into an install/live DVD?
TinFoil209
I'm with errandwolfe and 2nd the motion for x200 support. Tons of these laptops are floating around. Also it appears some new kext's from 10.4.10 circle around the ATI mobility's. Possibly help with the whole memory sharing thing?

I pray to the mac dev gods!

Thank u!
enzobelmont
QUOTE(errandwolfe @ Dec 12 2006, 10:30 AM) *
I don't think this would qualify as a script, but since I see the kernel heavy hitters are here, please I beg of you help us ATI x200 users get the video card working! There is a large user base that has the x200 on their laptops and for most of us we have everything BUT the x200 working. I am sorry but without QE/CI it just isnt a very functional OS. Even simple DVD playback is a major issue.

If there are any of you kings of the kernel out there who would be willing to take up the challenge, PM me and I can point you to all the information we have compiled so far.


ONE MORE petition please......

X200.... we need QE/CI badly

thanks in advance.
enzobelmont
from post 4 from this thread...

http://forum.insanelymac.com/index.php?sho...c=57678&hl=


prasys said:

"I just gave up on it. Its useless to run OSX on that laptop

Therefore I still prefer my iBook...It still rocks"

it's a shame... we realy feel sad about the X200m current development...
enzobelmont
here's other petition:

USB devices working on X200, keeping Keyboard and synaptics (PS2) working as well.

capybara
i would like to see a page here [or in the wiki]
with 3 columns only:

Hardware_Component........... use_this_kext............. find_it_here.....................

[for example]
Intel 2011 wifi card ..............IO80211family.kext................................................
............................................from 10.4.7 update......... http://www.foo.com/downloads

imho this will be a real time saver! smile.gif
JeffroDH
I would like someone to port a kext for the Creative's X-Fi Cards. Failing this, could someone direct me to a location where I might learn how to write and modify kexts? I'll do it myself, but I can't find anywhere that gives a good tutorial. Gracias
PaxXx
There is a large user base that has the x200 on their laptops and for most of us we have everything BUT the x200 working. I am sorry but without QE/CI it just isnt a very functional OS.

Please help us ........... Thanks !!!!!!!!!!! wink.gif wink.gif wink.gif
tacoofabudda
I would love to get some instructions to change the system ID in profiler to Mac Pro!ThanksI would love to get some instructions to change the system ID in profiler to Mac Pro!ThanksI would love to get some instructions to change the system ID in profiler to Mac Pro!Thanks
Elnorel
I would love (as would countless others) that someone with knowledge/hax correct the kext file for AC97 audio for ALC653 codec.

My motherboard is Abit A8V-MX and it has integrated AC97 audio with ALC653 codec.
Im one of those people who at best hear 1 second,.. yes 1 second of audio, then silence after that.
Volume icon is present and I can freely change it. Yet there is no sound.


If I knew whats the catch I would try it myself. I edited the files, used other edited kexts plist.info IDs etc.... nothing worked.

People would offer to help with uploading a kext or two but it looked like they were uploading kexts from ALC655 which is sadly not the same as, nor does it work with ALC653.

My mac instalation works perfect, no complaints, but its a major problem since I cant use multimedia (music, movies etc.) and its a MAC. :/

========================================

I followed many different advices and read countles forums and posts that tackle this problem one way or another.
I notticed they are mostly for HD audio codecs tho. ALC653 is not HD.

On WIKI it has been confirmed that the sound works on A8v-MX with a Plist.info modification. I tried changing ID to mine without success. Maybe Im doing one important step wrong, I dont know, but I would appreciate any person who owns this motherboard or any other with ALC653 onboard.

Cheers rolleyes.gif
roneil4
Would a script to sleep/wake the system display before the login screen appears be possible? On my Latitude D630, graphics only work after sleeping/waking the display, so automatic login has to be enabled. I have written an applescript to sleep/wake the display, but it only works when run after login (as a login item), and makes use of the sleepdisplay application (made for imac users). For this reason, I know it should be fairly easy to make a shell script to do this, but I don't know how I could get it to run before login. I want to be able to login, because it adds security, and multiple people use this computer so I don't want them to have to let my account log in before logging out and logging back into their accounts. If it is possible, could someone help me make it or tell me how to make it? Thanks.
themacmeister
A real brain breaker here...

My 7012/1039 AC97 SiS Audio is ALWAYS at 50% volume on login. Would it be possible to write a small startup script to max out the volume on login?

many thanx if possible.

PM me if you need more details...
kdb424
I know you said no kexts, but there are tons of laptop mics that don't work. Can you try to help with that? That is one of the few reasons that people go back to windows. Stupid, huh?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.