How can we help?

Saving your Ad-Hoc Network for Serato Remote on Mac

This guide will help Mac users create an application that sets up an Ad-Hoc network for you to the exact parameters you require. This will help you save time and create an Ad-Hoc network with the exact same settings every time for ease of connection.

This application was made for use with Mac OS 10.8, however it may work on other Mac OS versions. Big thank you to DJMark for the original script!

For this to work you also need to open "System Preferences", then select "Universal Access". In the bottom left hand corner of that window make sure that you have "Enable access for assistive devices" selected.

  • Now open up Applescript Editor, which you will find in Macintosh HD > Applications > Utilities.
  • Next, cut and paste the entire script below into the Applescript Editor window.
 

property CreateMenuName : "Create Network…"

property NetworkName : "Serato Ad-Hoc Network"

property NetworkPassword : "12345"


tell application "System Events"
tell process "SystemUIServer"
tell menu bar 1
set menu_extras to value of attribute "AXDescription" of menu bar items
repeat with the_menu from 1 to the count of menu_extras
if item the_menu of menu_extras contains "Wi-Fi" then exit repeat
end repeat
tell menu bar item the_menu
perform action "AXPress"
delay 0.2
perform action "AXPress" of menu item CreateMenuName of menu 1
end tell
end tell
repeat until exists window 1
delay 0.5
end repeat
tell window 1
set value of text field 1 to NetworkName
delay 0.5
click pop up button 1
delay 0.5
click menu item 10 of menu 1 of pop up button 1
delay 0.5
click pop up button 2
delay 0.5
click menu item 3 of menu 1 of pop up button 2
delay 0.5
set value of text field 2 to NetworkPassword
delay 0.5
set focused of text field 3 to true
set value of text field 3 to NetworkPassword
click button 1
end tell
end tell
end tell

 

Click run to test it out. The script will run, and should automatically create an Ad-Hoc network for you with the name "Serato Ad-Hoc Network" the password will be set to "12345". The network will be set to Wi-Fi channel 10 with a 40-bit WEP encryption key.

Once you have tested it and you are able to connect to the network with your iPad, in the AppleScript Editor, go to File > Save As. Give it a name you will remember e.g; "Serato Ad-Hoc Network" and make sure you are saving it under "Applications" and the file format is set to "Application".

Now to set up an Ad-Hoc network you only need to navigate to your applications and double click the application that we have just made.

If you would like the application to run every time you login to your account  open "System Preferences" then select "Users & Groups", go to "Login Items". Click on the "+" button below, navigate to where your newly-created application is and then select it. Now whenever you start up your Mac it will create an Ad-Hoc network for you saving you lots of time!

If you would like to set up a custom network name or password you can edit the following fields bolded below in these two lines of the code:

property NetworkName : "Serato Ad-Hoc Network"

property NetworkPassword : "12345"

For further assistance with setting up an Ad-Hoc Network, please read the Connecting Serato Remote article.