Jump to content

Hide wireless utility at startup


  • Please log in to reply
46 replies to this topic

#21
iPho

iPho

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 230 posts
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! :)

#22
rlf

rlf

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,005 posts

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?

Post the Utility here and I will give it a shot.

#23
iPho

iPho

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 230 posts
There we are!
http://www.2shared.c...Utilityapp.html

- Thank you very much

#24
rlf

rlf

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,005 posts
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


#25
iPho

iPho

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 230 posts
thank you very much, i have a problem: i cannot see the wireless utility in the login elements panel on the user settings but the utility start at the mac startup. how can i make the utility not to boot at tiger startup?

#26
rlf

rlf

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,005 posts
As I said, the AppleScript starts the Wireless application. If you don't want it to start when you boot, remove the AppleScript app from the Login Items. Then to start the Wireless app, either double-click the AppleScript app which will start and hide the Wireless app or double-click the Wireless app which won't be hidden.

#27
iPho

iPho

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 230 posts
You have not understood me, sorry for bad my english.

you should remove the Wireless Network Utility from the Login Items in System Preferences


I cannot see it in the Login Items in System Preferences even if It loads at the startup.

#28
rlf

rlf

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,005 posts
But you added the AppleScript app to the Login Items, correct? The AppleScript app launches the Wireless Utility.

If you are still confused, take a screen shot of the Login Items and post it here.

#29
iPho

iPho

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 230 posts
I have not done anything. Do I have to remove the autologin of the network utility first? How can I do this if I cannot see it on the settings?

#30
rlf

rlf

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,005 posts
1. When you originally installed the Wireless Utility, did it use an installer? If it did, could you provide me with that installer? That way I can find where it put the startup files.

2. There are several places where startup/login files can exist:

/Library/LaunchAgents
/Library/LaunchDaemons
/Library/StartupItems
/System/Library/StartupItems
/Users/(you)/Library/LaunchAgents

3. If the autologin of the network utility is active, the AppleScript can't hide it at the right time. It might hide it before it has appeared or after it has been showing for a while. With the AppleScript starting the utility, it can hide it at just the right time.


Edit:
I think the startup file is this one: /Library/LaunchAgents/Wlan.Software

#31
iPho

iPho

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 230 posts
Sorry it is a realtek chipset non Broadcom. I have download the driver here, I don't remeber if it use an installer, I think yes.
Edit: I found the file, I have deleted it and now the app doesn't start at the startup. Now what do I have to do? Only to make the applescript?

#32
rlf

rlf

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,005 posts
The installer tells me where the files get installed, the app doesn't. But that is no longer a problem.

I examined the inside of the Wireless app you uploaded here and found out it was Realtek. Then I searched through Google and found where I could download a v2.0.1 installer. There are several different ones at the Realtek website for different chipsets. I don't know which chipset is yours, but each of the installers seem to install files with the same names.

So, examining the installer, I believe the startup file is:

/Library/LaunchAgents/Wlan.Software



Go to the folder /Library/LaunchAgents and find the file Wlan.Software. Back it up by dragging it to the Desktop and giving your password. Then go back to /Library/LaunchAgents and drag Wlan.Software to the Trash and give your password.



Then go to post #24 and follow my instructions.



I found the file, I have deleted it and now the app doesn't start at the startup. Now what do I have to do? Only to make the applescript?

Yes, make the AppleScript application. Save it with a name you choose in a location you choose. Then add it to the Login Items.

#33
iPho

iPho

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 230 posts
Hi thank you very much, the script works but unfortunatly I cannot hidden the apps at the startup and the utility open automatically? How can I do this?

#34
rlf

rlf

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,005 posts

Hi thank you very much, the script works but unfortunatly I cannot hidden the apps at the startup and the utility open automatically? How can I do this?

Well, the AppleScript app is supposed to hide the Wireless Utility as soon as it opens. But I could only test it in 10.5.8. It may not work in 10.4.11. When I read up on the commands, they all talked about working in 10.5.x. There was no mention of it working in 10.4.x. So, if the AppleScript is not hiding the Wireless Utility, I don't know anything else to do.

#35
pokenguyen

pokenguyen

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 451 posts
  • Gender:Male
The wireless utility does not start at start up, it opens when the USB Wifi is plugged in. If you don't plug the USB Wifi at startup, it won't open, and you can't open it. Plug the USB Wifi and it will automatically show up! I'm trying to find a application to move the icon from dock to menubar, but I think it's impossible...

#36
iPho

iPho

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 230 posts
Thank you, and for what regards my Hackintosh, is it possible to hide the applescript and ralink wireless utility from the dock before they close?

Ok I solved with DockDoger. Any other solution for the iMac G4 10.4.11 with a USB Wireless Adapter with Realtek RTL8188SU chipset?

- Thank you

#37
rlf

rlf

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,005 posts

Any other solution for the iMac G4 10.4.11 with a USB Wireless Adapter with Realtek RTL8188SU chipset?

The only thing I can think to try is this slight modification to the AppleScript:

tell application "Wireless Network Utility" to activate -- starts app
delay 0.5
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


#38
iPho

iPho

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 230 posts
Unfortunatly the script still doesn't work (it only closes the app after 20 seconds).
Any other idea?
For example to use a similar wireless utility that automatically hidden at the startup + the script to close it after 20 seconds?



#39
rlf

rlf

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,005 posts

For example to use a similar wireless utility that automatically hidden at the startup

I haven't heard of ANY wireless utility that automatically hides itself. And besides, it would probably not work with your wireless device.

#40
iPho

iPho

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 230 posts
Can you give me another script that ai try if it is compatible with Tiger?





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy