Auto-launching other applications with iTunes
i recently download itunesMenu, a little app that displays currently playing song in the menubar. at the minute i've got it in my startup apps, but my startup is getting a little sluggish so i'm trying to reduce what i have in there. also even if its at the bottom of the startup list, it opens before other apps that i have in my menubar, which is annoying because as it scrolls it moves the other icons.
i was wondering if anyone knows of a way whereby i can get itunesMenu to automatically launch everytime i launch itunes?
thanks in advance
What worked for me:
Connect iPhone
Open iTunes
Click to select iPhone on left side
Uncheck Open iTunes when this iPhone is connected
Click Apply in the lower right corner
Click Sync in the lower right corner
Click to check Open iTunes when this iPhone is connected
This should open a pop-up window asking to install iTunes Helper. Be sure to click to install iTunes Helper
Click Apply in the lower right corner
Click Sync in the lower right corner
Unplug iPhone
Click iTunes | Exit
Connect iPhone via USB connector and iTunes should launch
Similar Messages
-
Here is the case:
OS environment: Windows 7
There are two user accounts in my system, standard user "S" and administrator account "A", and there is a windows service running with "Local System" privilege.
Now i logged-in with account "S", and i want to launch an application with elevated administrator account "A" from that service program, so here is the code snippet:
int LaunchAppWithElevatedPrivilege (
LPTSTR lpszUsername, // client to log on
LPTSTR lpszDomain, // domain of client's account
LPTSTR lpszPassword, // client's password
LPTSTR lpCommandLine // command line to execute e.g. L"C:\\windows\\regedit.exe"
DWORD dwExitCode = 0;
HANDLE hToken = NULL;
HANDLE hFullToken = NULL;
HANDLE hPrimaryFullToken = NULL;
HANDLE lsa = NULL;
BOOL bResult = FALSE;
LUID luid;
MSV1_0_INTERACTIVE_PROFILE* profile = NULL;
DWORD err;
PTOKEN_GROUPS LocalGroups = NULL;
DWORD dwLength = 0;
DWORD dwSessionId = 0;
LPVOID pEnv = NULL;
DWORD dwCreationFlags = 0;
PROCESS_INFORMATION pi = {0};
STARTUPINFO si = {0};
__try
if (!LogonUser( lpszUsername,
lpszDomain,
lpszPassword,
LOGON32_LOGON_INTERACTIVE,
LOGON32_PROVIDER_DEFAULT,
&hToken))
LOG_FAILED(L"GetTokenInformation failed!");
__leave;
if( !GetTokenInformation(hToken, (TOKEN_INFORMATION_CLASS)19, (VOID*)&hFullToken,
sizeof(HANDLE), &dwLength))
LOG_FAILED(L"GetTokenInformation failed!");
__leave;
if(!DuplicateTokenEx(hFullToken, MAXIMUM_ALLOWED, NULL,
SecurityIdentification, TokenPrimary, &hPrimaryFullToken))
LOG_FAILED(L"DuplicateTokenEx failed!");
__leave;
DWORD dwSessionId = 0;
WTS_SESSION_INFO* sessionInfo = NULL;
DWORD ndSessionInfoCount;
bResult = WTSEnumerateSessions(WTS_CURRENT_SERVER_HANDLE, 0, 1, &sessionInfo, &ndSessionInfoCount);
if (!bResult)
dwSessionId = WTSGetActiveConsoleSessionId();
else
for(unsigned int i=0; i<ndSessionInfoCount; i++)
if( sessionInfo[i].State == WTSActive )
dwSessionId = sessionInfo[i].SessionId;
if(0 == dwSessionId)
LOG_FAILED(L"Get active session id failed!");
__leave;
if(!SetTokenInformation(hPrimaryFullToken, TokenSessionId, &dwSessionId, sizeof(DWORD)))
LOG_FAILED(L"SetTokenInformation failed!");
__leave;
if(CreateEnvironmentBlock(&pEnv, hPrimaryFullToken, FALSE))
dwCreationFlags |= CREATE_UNICODE_ENVIRONMENT;
else
pEnv=NULL;
if (! ImpersonateLoggedOnUser(hPrimaryFullToken) )
LOG_FAILED(L"ImpersonateLoggedOnUser failed!");
__leave;
si.cb= sizeof(STARTUPINFO);
si.lpDesktop = L"winsta0\\default";
bResult = CreateProcessAsUser(
hPrimaryFullToken, // client's access token
NULL, // file to execute
lpCommandLine, // command line
NULL, // pointer to process SECURITY_ATTRIBUTES
NULL, // pointer to thread SECURITY_ATTRIBUTES
FALSE, // handles are not inheritable
dwCreationFlags, // creation flags
pEnv, // pointer to new environment block
NULL, // name of current directory
&si, // pointer to STARTUPINFO structure
&pi // receives information about new process
RevertToSelf();
if (bResult && pi.hProcess != INVALID_HANDLE_VALUE)
WaitForSingleObject(pi.hProcess, INFINITE);
GetExitCodeProcess(pi.hProcess, &dwExitCode);
else
LOG_FAILED(L"CreateProcessAsUser failed!");
__finally
if (pi.hProcess != INVALID_HANDLE_VALUE)
CloseHandle(pi.hProcess);
if (pi.hThread != INVALID_HANDLE_VALUE)
CloseHandle(pi.hThread);
if(LocalGroups)
LocalFree(LocalGroups);
if(pEnv)
DestroyEnvironmentBlock(pEnv);
if(hToken)
CloseHandle(hToken);
if(hFullToken)
CloseHandle(hFullToken);
if(hPrimaryFullToken)
CloseHandle(hPrimaryFullToken);
return dwExitCode;
I passed in username and password of account "A" to method "LaunchAppWithElevatedPrivilege", and also the application i want to launch, e.g. "C:\windows\regedit.exe", but when i run the service program, i found it do launch
"regedit.exe" with elevated account "A", but the content of regedit.exe is pure back. screenshot as below:
Can anyone help me on this?You code is not dealing with the DACL access to Winsta0\Default. Only the LocalSystem account will have full access and the interactively logged on user which is why regedit is not displaying properly. You'll need to grant access to your user.
You also need to deal with UAC since that code is going to give you a non-elevated token via LogonUser(). You need to get the full token via a call to GetTokenInformation() + TokenLinkedToken.
thanks
Frank K [MSFT]
Follow us on Twitter, www.twitter.com/WindowsSDK. -
Launching an application with midlet?
Hi,
I'm total beginner with j2me and need help. I know it is possible to launch an application with midlet with platformRequest, but how is it done?
Could anyone give me a simple example?
Thx.Hi,
If you are using a WTK2.0 version you can simulate this command.
add below line to system.config file in wtk20/lib dir
com.sun.midp.midlet.platformRequestCommand: "C:\Program Files\Internet Explorer\IEXPLORE.EXE"
invoke the command by
midlet.platformRequest("http://java.sun.com");
cheers
phani -
I am unable to sync my all iphone application with itunes..
I am unable to sync my all iphone application with itunes..
are they missing, or are you out of space?
-
Can I get airplay to work on other applications than Itunes on my Macbook Pro?, How
How to get airplay to work on macbookpro, on other applications than Itunes?
How to get airplay to work on macbookpro, on other applications than Itunes?
-
Error syncing applications with ITunes
Hi all,
I have an IPad WIFI 32Gb with the firm 3.2.2 and the new iTunes 10 on a PC computer with windows 7 32b.
I am finding a strange problem with iTunes: when I connect the IPad, ITunes is automatically initiated and the sync + backup is initiated by the program finishing without any problem.
If I have some updates for the applications, they are downloaded to the PC and when I initiate a new sync to get them into the IPad I got an error: applications file not found (something similar). In the IPad any application works now and I need to restore the backup to recover it. After that, everything works fine. But I need to download the updates from the iPad directly.
This error is the same always with the new iTunes 10. I also restored the complete iPad, but the problem is the same, then I think it is a problem with the iTunes.
What is your recommendation? Delete the sync history, delete the applications cache???
Thanks in advance.Hi and welcome...
If I have some updates for the applications, they are downloaded to the PC
No. Updates for apps are available from the iPad, not your PC.
If you don't want iTunes to launch automatically when you connect your iPad, select the Summary tab in the menu. Deselect: Open iTunes when this iPad is connected
When updates are available on your iPad, that's where you do the update. Just syncing your Apps from iTunes does not update the software.
Carolyn -
Microsoft Office Files Auto Launch when Application is Opened
Every time I launch Excel I have several files that auto launch. I have searched for these files using spotlight and see that these files have somehow gotten saved with the application. With the open file I go to File>Properties>General Tab it shows the location of the file (see below). However, in Finder when I try to find this location I am unable to. When I go to /Users/BTaylor/ there is no Library. I must go to the hard drive to locate Library. Then once in Library when I select Application Support/Microsoft/ there is no Office. I know it has to exist. Anyone have any ideas how I find this location in Mavricks?
Hi Kappy, I do not have that option in Excel Preference.
Here is the version of MS Office I am running:
Also, your image came through as a .png file and I was only able to view in Preview, not in the discussion box. -
Launching an application with a PS script
Hi everybody,
I'm an absolute beginner with PowerShell, so please be patient :-)
I'm going to write my first script for PowerShell. The script core concerns an external software I need to launch. This is a typical code for a batch file:
cd case_path
echo "macro" | "app_path"app.exe case.ext 2>&1 >> log
It results in:
- go to the folder containing the 'case' to launch (just a file containing settings)
- run the case with application.exe, execute the 'internal macro' and generate a log file
I'm able to run the application with
Invoke-Item app_path\app.exe
but I can't run the specific case (and the internal macro too). Could you help me, the batch script as a starting point?OK, I'm here again, just for feedback and sharing (are there other newbies out there?)
I made some tests with both methods (thanks Fred and jrv!).
method cmd /c
$FS_path = $env:fsinstall + '\bin\win32\'
$case_path = '.\f1'
$cmdString = 'cd ' + $case_path + ' && echo "res" | "' + $FS_path + '"xfsflow doubleSkegCase.fme 2>&1 >> log.txt'
method Start-Process
$FS_path = $env:fsinstall + '\bin\win32\xfsflow'
$args = '-c "res" doubleSkegCase.fme'
$FS_case = '.\f1'
$sim=@{
FilePath = $FS_path
ArgumentList = $args
WorkingDirectory = $FS_case
RedirectStandardOutput = "$FS_case\log.txt"
Start-Process @sim -noNewWindow -wait
just two more questions:
1. is it possible to get rid of the standard error output? I'd like to have no error messages in the terminal or as a file
2. I'd like to make the macro "res" in the ArgumentList
as a variable, but I'm not able to. I guess the problem concerns escape characters or similar, could you help me? -
Failed to launch JavaFX application with native bundle exe
Hi,
I have created a JavaFX application, and created its native bundle using Ant. When I am trying to launch application using Jar from bundle created with double click, it successfully launching my application. But when I am trying double click on MyApplication.exe (say), it throwing JavaFX Launcher Error *"Exception while running Application"*.
I have searched about this issue, I found about jre, so I did replace jre from *"C:\Program Files\Java\jdk1.7.0_10\jre"* to my application bundle folder -- *\bundles\MyApplication\runtime\jre*, then I tried to launch exe with double click, it successfully launched.
I have compared both jre, there are many missing jar, exe, dll and some properties files I found.
I have these environment settings -
JAVA_HOME -- C:\Program Files\Java\jdk1.7.0_10
JREFX_HOME -- C:\Program Files\Oracle\JavaFX 2.2 Runtime
Path contains an entry of C:\Program Files\Java\jdk1.7.0_10\bin JAVA_HOME and JREFX_HOME are used as in my build.xml to take ant-javafx.jar and jfxrt.jar --
${env.JAVA_HOME}/lib/ant-javafx.jar
${env.JREFX_HOME}/lib/jfxrt.jarMy steps to create bundle are -
<target name="CreatingExe" depends="SignedJar">
<fx:deploy width="800" height="600" nativeBundles="all" outdir="${OutputPath}" outfile="${app.name}">
<fx:info title="${app.title}"/>
<fx:application name="${app.title}" mainClass="${main.class}"/>
<fx:resources>
<fx:fileset dir="${OutputPath}" includes="*.jar"/>
<fx:fileset dir="${WorkingFolder}/temp"/>
</fx:resources>
</fx:deploy>
</target>What more needed in build.xml so that application launch correctly with exe ?
ThanksYou code is not dealing with the DACL access to Winsta0\Default. Only the LocalSystem account will have full access and the interactively logged on user which is why regedit is not displaying properly. You'll need to grant access to your user.
You also need to deal with UAC since that code is going to give you a non-elevated token via LogonUser(). You need to get the full token via a call to GetTokenInformation() + TokenLinkedToken.
thanks
Frank K [MSFT]
Follow us on Twitter, www.twitter.com/WindowsSDK. -
How to run others applications with abap commands
Is there a mothed that can use it to run an application with abap statement?
for example: how to open a text file in program with abap command?
thank you very much.CALL FUNCTION '<b>WS_EXECUTE'</b>
EXPORTING
DOCUMENT = ' '
CD = ' '
<b>COMMANDLINE</b> = ''
INFORM = ' '
<b> PROGRAM </b> = 'NOTEPAD'
STAT = ' '
WINID = ' '
OSMAC_SCRIPT = ' '
OSMAC_CREATOR = ' '
WIN16_EXT = ' '
EXEC_RC = ' '
IMPORTING
RBUFF =
EXCEPTIONS
FRONTEND_ERROR = 1
NO_BATCH = 2
PROG_NOT_FOUND = 3
ILLEGAL_OPTION = 4
GUI_REFUSE_EXECUTE = 5
OTHERS = 6
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Here...
In the <b>CommandLine</b> you can give the path where the file is located like for Example
C:\Test\Hello.txt.
In the <b>Program</b> you need to give the application that you want to open that file.
if helpful reward points...
Regards,
Vivekananda Varma Dandu -
How will i do my apps will not lose to other pc with itunes
how will i do my apps will not lose to other pc with itunes
How to back up your media in iTunes
-
Memory effect of launching other applications
Investigating a memory leak (turned out to be caused by obtaining ques and then not releasing them...) I noticed a little thing; no matter what an LV application does the task manager will report that it grabs more and more memory everytime another application is launched (e.g. if a simple LV app when first launched has a stable memory use of 12516 KB and a new session of Internet Explorer is started the memory usage of the LV app is reported to jump to 12524...if a second LV app is launched as well the memory of the original LV app jumps again, now to 12564, and it goes on and on...).
Does anyone know what the background for this is?
I'm using LV7 and LV 6.1 on WinXP.
MTOHi Mads,
I have detected the same for LV6i on WinNTSP6a with IE 5.5.
It seems it does not occur with notepad or paint or it would occupy less then 1K in the LV application.
Waldemar
Waldemar
Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions -
Calling a Logic from a other application with differents selection
Hello,
I got the following issue.
I have 2 applications A and B. One logic in application B should be called remotly from A. But the application doesn't share the same dimensions.
The issue is in the selection set. The user should choose sevral members from a dimension (let's call it Dim_B) that isn't use in A. When I launch the DTSX, I got the message :
"Could not find member list. You need to install an ApplicationSet. You can install an application Set by logging on to OutlookSoft for excel"
I guess it's because my dimension DIM_B isn't part of the set of Application A.
When a launch the dtsx from B there is no issue. But the user should be able to launch it from Application A
Do you have an idea ?
Thanks in advance.
Best Regards
DamienThe procedure apex_cdc.enable_table_capture i created myself with no authid mentioned explicitly, so it uses definer rights, by default.
BUt this procedure is simply a wrapper for sys.dbms_cdc_publish.create_change_table.
When I look on the security model for this sys.dbms_cdc_publish, i see it runs under invoker rights. (http://www.psoug.org/reference/dbms_cdc_publish.html).
The code is like this:
CREATE OR REPLACE PROCEDURE enable_table_capture
i_owner IN VARCHAR2,
i_change_table_name IN VARCHAR2,
i_change_set_name IN VARCHAR2,
i_change_source IN VARCHAR2,
i_source_schema IN VARCHAR2,
i_source_table IN VARCHAR2,
i_column_type_list IN VARCHAR2
IS
BEGIN
EXECUTE IMMEDIATE 'alter session set REMOTE_DEPENDENCIES_MODE=SIGNATURE';
EXECUTE IMMEDIATE 'begin add_log@orcl01(i_tableName => ''G''); end;';
sys.DBMS_CDC_PUBLISH.CREATE_CHANGE_TABLE(
owner => i_owner,
change_table_name => i_change_table_name,
change_set_name => i_change_set_name,
source_schema => i_source_schema,
source_table => i_source_table,
column_type_list => i_column_type_list,
capture_values => 'both',
rs_id => 'y',
row_id => 'n',
user_id => 'n',
timestamp => 'y',
object_id => 'n',
source_colmap => 'n',
target_colmap => 'y',
options_string => NULL);
END enable_table_capture; -
How can my java program launch other applications?
can anyone link me, provide some keywords, or information on how a java program can execute another program... for example, a button click would launch acrobat, firefox, or (in particular) another java application.
don't read all that much fantasy.
I've read Eddings' Belgariad and Malloreon, which I really liked at the time but which are not even in the same league as GRRM. The characters are much more one-dimensional, and the plot gets cornier as you go along.
IVE READ BELGARIOD... AGREE THAT IT WAS PRETTY SHALLOW AND I READ IT AFTER LOTR SO IT WAS SUCH A PALE RIPOFF IN COMPARISON
His Elenium and Tamuli series were a little better, but still far from Ice and Fire.
Tolkein, of course, but you've probably heard of him. :-)
Donaldson's Mirror of Her Dreams and A Man Rides through were good.
HAVENT READ THESE, WILL ADD TO MY LIST, THANKS!
Terry Brooks' Shanara series is supposed to be pretty good, and I think Anne McCaffery's Dragonriders of Pern series is considered to be among the classics, but I've never read either one.
READ SOME BROOKS AND FOUND IT SHALLOW LIKE EDDINGS. HAVE READ MCCAFFERY BUT NOT DRAGONRIDERS, AND THE TRILOGY I READ WAS OK BUT THE TONE WAS REALLY GOOFY. A GROUP OF REFUGES ON A NEW PLANET AT A TIME WHEN THE HUMAN RACE IS ENSLAVED BY ALIENS, AND THE BOOK SEEMED TO FOCUS ON HOW FUN BUILDING A CAMP WAS ON THE NEW PLANET AND EVERYONE WAS REALLY PEPPY WHICH FELT ODD GIVEN THE CIRCUMSTANCES OF THE SETTING.
Michael Moorcock's Elric series was very good, also very dark. It was kind of... I don't know... odd. Like you'd want to light up a bong and put on some Floyd while reading it.
HAVENT READ EITHER, ANOTHER FOR THE LIST, THANKS AGAIN!
There's another series of 2 or 3 books that I read a few years ago and really liked, but I can't for the life of me remember the author, the books, any characters names...
P.S. If you want to talk about a nag of a female character, you gotta love (as in hate) Cersei. She gets her on POV in Feast. Good stuff.
YEAH I LIKE CERSEI ACTUALLY. GRRM IS GOOD IN HOW THERE REALLY IS NO MAIN CHARACTER AND EVERYONE IS VERY EXCITING TO READ. RJ ON THE OTHERHAND HAS A DEFINATE CENTRAL CHARACTER TO THE PLOT, AND CHAPTER AFTER CHAPTER OF SOME OF THE FEMALE POV'S GOT AGGRAVATING ESPECIALLY WHEN THEY NAG SO MUCH THE TRUER HEROS OF THE STORY (MY OPINION)... ITS LIKE, SHUT YOUR MOUTH AND LET THEM SAVE THE DAY ALREADY... HEHE... BUT YOU'LL SEE OR HAVE A DIFFERENT OPINION ENTIRELY.
to you i recommend orson scott card... you've probably read ender's game but he has some really good fantasy too... the homecoming series (first book call of earth or memory of earth) was really good, and the alvin maker series is ok plotwise but the characters are incredible... i found a lot of humor and witty dialog in that series and enjoyed it immensely. anyways, thanks again for the list additions, will read feast of crows first, hopefully soon. glad to hear you're liking it... some reviews on amazon weren't stellar. -
I have an older imac. It works well but I can't open a lot of files/applications or even reply to emails on updated hotmail version. My os is 10.2.8 and I am using 2.0.0.20. My OS can't handle later versions. I can't buy latest upgrade from MAC (snow leopard or whatever latest is) because my computer not compatible with higher/newer upgrades. I want to use my computer but be able to have hotmail work and open pics etc. I don't know what to do.
== This happened ==
Every time Firefox opened
== Today is when I can no longer reply with hotmail, they ask me to upgrade to newer but need higher firefox to do so.Following the Hotmail update by Microsoft, they have dropped support for Firefox 2, and now require at least Firefox 3, which will not run on your OS. Hotmail now requires at least Safari 4 so that is not an option for you either.
There are a couple of browsers you could try, they are not specifically mentioned on the system requirements for Hotmail so I can not guarantee that they will work. The first is [http://www.opera.com/download/?os=mac&ver=9.64&local=y Opera 9.64] (Opera 10 will not run on your OS) and [http://www.icab.de/dl.php iCab 4.8]
Maybe you are looking for
-
Upgrade power mac 6500/225 running 8.5 to 9.1(poss?
Can anyone tell me if I can upgrade my power pc 6500/225 running 8.5 with upgraded memory to 96MB to run 9.1. If so, what are the steps to take.
-
I can't view a very important file on neither of my devices
I had never had a problem with Acrobat.com before. I modified a very important file on June 6th and saved to my Acrobat.com For the past week, I haven't been able to open up the file from either of my devices. Theres no preview available and it t
-
I've noticed a stutter or jitter in the movies on DVDs I've created using iDVD 08. The effect is as if some frames had been periodically dropped throughout the entire movie. The problem does not exist in the original iMovie 08 video or the video view
-
Remove Information message for maximum rates check program
When we set a maximum rate, we put that a business reason is required. This is working correctly but I am getting an information message u201CIf necessary, split up the receipt to not exceed the maximum rateu201D . The customer would like to remove t
-
TS3274 my ipad wont connect to my router, yet three pc's will
I see my WiFi network and yet not able to connect. My three PC's can and I have double checked passwords, etc, Any idea someone. Thanksfor your time