Add the following flags: -objc-all_load - xcode4

Followed this link to add flags (Objc-all_load) :: http://experitest.com/studio/help2/WebHelp/index.htm#page=Connect_iOS_(iPhone,iPad)_-_for_NON-jailbroken_device.htm
But its not properly shown how to add that In Xcode -- Xcode>build settings>Other Linker Flags>Objc-all_load.

Navigate and find the "Other Linker Flags" then just double click on it. Once there you can just push the "+" button in the popover to add your flag (Objc-all_load).

Related

How to click on visible text under a class?

I created an AutoIt script for a program that has a navigator bar
like this :
Using Au3Info.exe I'm getting following info:
So the problem is Encode tab is active and I want the script to click on the Decode tab, but Au3Info.exe is only identifying the navigator bar :
I'm only getting mouse coordinates or Visible Text for both tabs. I tried :
Run("C:\Users\Dumpty\Desktop\Selenium\WebPconvPortable\WebPconv.exe")
WinWaitActive("Romeolight WebPconv")
Sleep(3000)
ControlFocus("Romeolight WebPconv", "", "WindowsForms10.Window.8.app.0.378734a62")
ControlClick("Romeolight WebPconv", "", "[CLASS:WindowsForms10.Window.8.app.0.378734a62;CONTROLCLICK COORDS:165, 9]")
I tried to click using mouse coordinates too but that's not working either.
You can try MouseClick as you have object position available.
Go to AutoIt v3 Window info and select the Mouse tab.
get the position mentioned over of object. and use in below code.
Below is code you can try:
Run("C:\Users\Dumpty\Desktop\Selenium\WebPconvPortable\WebPconv.exe")
WinWaitActive("Romeolight WebPconv")
Sleep(3000)
MouseClick("left",0,51)==> use actual value
Please let me know if this worked.

Unable to find control

I want to find and click a button using Autoit. I tried AutoIt Window Information Tool but the button is not recognized so ControlClick() fails.
The button is active on the current window but Send("Enter") does not work. Tried using MouseClick() but the window does not appear in the same place every time, and I tried this script:
$hWnd = WinWait("vcredist_x86")
WinWaitActive("vcredist_x86")
ControlClick($hWnd, "", "[CLASS FROM AUTOITINFO]", "Left", 1)
but neither of them works. Is there any other way to identify and click the button?
If both version of AutoItWindowInfo(32 and 64bit) don't "see" the control you need to automate, here is what you can do:
Method 1 - Sending keystrokes:
Activate the window with WindowActivate
Send a number of TABs until the control is focused(if its not initially)
Send ENTER or SPACE
Method 2 - MouseClick:
Activate the window
Get the coordinates of a control relative to the application window(position the window at 0,0. Open Autoit Window Info, click on Mouse tab and get the position of the button). That position is usually always the same
When your code is running it must get the window position with WinGetPos and then add control position you got in step 2. That's your clicking position.
Method 3 - PixelSearch(If the control has unique color):
Get the desired color with AutoIt Window Info(mouse tab)
Search it using PixelSearch
Click the coords you got
Method 4 - ImageSearch:
Get ImageSearch UDF and DLL
Make a picture of the button
Search and click it
NOTE: Sometimes you need to give your script Admin rights in order to automate certain windows.
When AutoIt Window Information Tool failed me I had success using the text property of the button/ui control:
ControlClick($hwin, '', '[CLASS:Button; TEXT:Cancel]')
Experiment with "&" in front of one of the characters (underlined by Windows to indicate an Alt + key shortcut), so try "&Cancel" instead of "Cancel". If that fails try ControlFocus() first:
ControlFocus($hwin, '', '[CLASS:Button; TEXT:Cancel]')
ControlClick($hwin, '', '[CLASS:Button; TEXT:Cancel]')
Inspecting .exe files for GUI resources (using Resource Hacker for example) may expose text/properties of a control. Example:

Atom - disable single key binding

How can I disable a single key binding such as ctrl-alt-= in Atom?
I'm using the QWERTZ keyboard layout, so that I execute pane:increase-size when I type a '\'.
Open settings with File > Settings
Click Keybindings
Filter the list by typing ctrl-alt-= in the search box.
Click the clipboard icon next to the shortcut. This will copy the shortcut definition to your clipboard.
Click the hyperlinked text your keymap file.
Paste in the contents of the clipboard.
Replace 'pane:increase-size' with the value 'unset!'
Now ctrl-alt-= will not do anything.
EDIT: 'unset!' was previously null, see this atom discussion for details.
EDIT2: To fix issues with many non-QWERTY keyboard layouts, check out the keyboard-localization package for Atom.
Fix from #Monkey worked, here's the code from my keymap.cson for fixing backslash.
'atom-workspace atom-text-editor:not([mini])':
'ctrl-alt-[': 'unset!'
EDIT:
I'm using the QWERTZ keyboard layout.

Xcode4 commit message - how to turn of auto-correction

Can it be turned off ? If yes: how ?
For instance it keeps changing "refactor" to "refractor".
When i correct it - Xcode changes it back (oO).
Look in System Preferences, Languages and text, Text tab, there is a checkbox for auto-correction.

next/previous word in flex builder

The felx builder (on eclipse) next/previous word command, usually bound to CTRL-RIGHTARROW on OPTION-RIGHTARROW on the mac, doesn't stop for ":" and "." and in a few other cases.
It's clearly a wrong behaviour for action script development!
How can I change it?
Here is the fix:
http://www.visible-form.com/blog/mac-eclipse-word-boundary-issue-fix/
"Go to System Preferences > Language & Text > Text, and set the ‘Word Break’ dropdown to ‘English, United States (Computer)’."
Remember Quit Flex Builder and restart it. If this doesn't work, try restarting the OS.
This option is missing in Mavericks… you can fix it with:
defaults write .GlobalPreferences AppleTextBreakLocale en_US_POSIX

Resources