Jump to content
48 posts in this topic

Recommended Posts

I have an app to connect to my wifi using my usb wireless adapter, it works great but I would like to hidden this app at the startup, infact now when I boot my computer It suddently load the app to connect to my wifi profile, is it possible to hide this app at the startup (still open since it's necessary to connect, but hidden infact it connects automatically to my network and so I don't need to do anything).

 

Thank you very much!

 

Ps I have checked the hidden check in the accout settings, however it continue to open the utility.

Navigate to System Preferences > Accounts > Login Items tab > Add the application you need to be launched at start-up > tick "Hide" check box. Now when the system starts up, the application should launch (appears briefly in Dock, then disappears from the dock, but still running in background).

I think that iPho is talking about the ralink wireless utility, I have the same problem. The application need to start on computer startup to connect to the network, after that the application can be closed and internet connection continue to work. I think we need a script of an application of Automator that kill the wireless utility after about 10 seconds from the initial connection. It's possible?

Thank you!

Navigate to System Preferences > Accounts > Login Items tab > Add the application you need to be launched at start-up > tick "Hide" check box. Now when the system starts up, the application should launch (appears briefly in Dock, then disappears from the dock, but still running in background).

 

 

 

USBWirelessUtility.app.zip

In fact the problem is that the application, that is necessary only on startup to connect to the network, consumes 20% of cpu and if closed the network work without problems. We need something that after that the wireless application connect the USB dongle to the network close wireless utility that become unecessary and uses a lot of cpu. Sorry for the english, i'm italian!

You can create an Applescript app to close the wireless utility. I have done this for my Engenius dongle which uses a version of the same wireless utility. The app is not smart - it doesn't know when the wireless utility has connected. Instead, it just waits 15 seconds (or whatever you set it to) and then closes the utility. You may have to give it more time to allow the utility to connect before closing it.

 

Go to the Utilities folder and open AppleScript Editor. Enter the following 4 lines into the editor:

 

tell application "USBWirelessUtility"
delay 15
quit
end tell

 

Click on the "Compile" button in the toolbar to check your typing.

 

Go to the File menu and select "Save…" (or Save As…)

 

In the dialog box that slides down, give the new app a name you like in the "Save As" field.

 

Set the folder where you want to save the app in the "Where" field.

 

Set "File Format" to "Application"

 

Click "Save"

 

Go to your Login Items in System Preferences and add your new app to them.

 

Reboot to test it out. If it quits too quickly, repeat the process and change the 15 seconds to something longer.

You can create an Applescript app to close the wireless utility. I have done this for my Engenius dongle which uses a version of the same wireless utility. The app is not smart - it doesn't know when the wireless utility has connected. Instead, it just waits 15 seconds (or whatever you set it to) and then closes the utility. You may have to give it more time to allow the utility to connect before closing it.

 

Go to the Utilities folder and open AppleScript Editor. Enter the following 4 lines into the editor:

 

tell application "USBWirelessUtility"
delay 15
quit
end tell

 

Click on the "Compile" button in the toolbar to check your typing.

 

Go to the File menu and select "Save…" (or Save As…)

 

In the dialog box that slides down, give the new app a name you like in the "Save As" field.

 

Set the folder where you want to save the app in the "Where" field.

 

Set "File Format" to "Application"

 

Click "Save"

 

Go to your Login Items in System Preferences and add your new app to them.

 

Reboot to test it out. If it quits too quickly, repeat the process and change the 15 seconds to something longer.

 

 

 

Yeahhhhhh!!!! It works!!! Thank you very much!

  • 2 weeks later...

Thank you very much, it works!

I have another question: I have also an iMac G4 with Tiger 10.4.11, and I am able to surf the Web with a Broadcom USB Wireless Adapter, and I have installed the Broadcom Utility (called Wireless Network Utility v.2.0.1) that has the same problem. Can you give me an utility that start hidden and a script that close it after 20 seconds? Thank you very much! :)

Note to readers: the AppleScript below is for the Broadcom Realtek app which is posted in posting #23 above.

 

OK, I have something to try. It works on 10.5.8. I don't know if it will work on 10.4.x. This one is slightly different from the previous version. This one starts the program, then hides it, then waits 20 seconds and quits the program. Because of this, you should remove the Wireless Network Utility from the Login Items in System Preferences. The icons in the Dock are still visible during this process. If you want to hide the icons in the Dock, you can edit the plists of the AppleScript app and of the Wireless Network Utility app as suggested in a previous post. Or you can take the apps and drag and drop them onto another app called Dock Dodger which will modify the plists for you. Do this only after you have tested the app and are sure it meets your requirements.

 

Dock Dodger: http://foggynoggin.com/dockdodger

 

Now, just like before, open AppleScript Editor and paste in the following code. Compile it to check the code. Save it as an application with any name you choose and any location you choose. Add the AppleScript app to the Login Items in System Preferences.

 

tell application "Wireless Network Utility" to activate -- starts app
tell application "System Events" to set visible of process "Wireless Network Utility" to false -- hides app
tell application "Wireless Network Utility" -- waits then quits app
delay 20
quit
end tell

×
×
  • Create New...